/*
Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
Click nbfs://nbhost/SystemFileSystem/Templates/Other/CascadeStyleSheet.css to edit this template
*/
/* 
    Created on : 18. feb. 2026, 12:23:44
    Author     : urossr
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

:root {
    --secondary: #FF6B6B;
    --accent: #bd3579;
    --text-light: #FFFFFF;
    --space-dark: #0a0a1a;
    --space-purple: #1a1a3e;
}

:root {
    /* Colors */
    --primary: #9f66a7;
    --primary-light: #b485bb;
    --primary-dark: #8a5591;
    --accent-coral: #FF6B6B;
    --accent-coral-light: #ff8a8a;
    --accent-berry: #bd3579;
    --bg-soft: #F8F3FA;
    --card-surface: #FFFFFF;
    --text-primary: #2E2E2E;
    --text-secondary: #6E6E6E;
    --divider: #E6DAED;

    /* Spacing */
    --space-xs: 4px;
    --space-s: 8px;
    --space-m: 16px;
    --space-l: 24px;
    --space-xl: 40px;
    --space-xxl: 64px;

    /* Border Radius */
    --radius-s: 12px;
    --radius-m: 20px;
    --radius-l: 28px;
    --radius-xl: 36px;

    /* Shadows */
    --shadow-soft: 0px 4px 14px rgba(0,0,0,0.08);
    --shadow-medium: 0px 10px 24px rgba(0,0,0,0.12);
    --shadow-floating: 0px 20px 40px rgba(0,0,0,0.14);

    /* Container */
    --container-width: 1440px;
    --container-margin: 80px;
}

body {
    font-family: 'Quicksand', sans-serif;
    
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--text-light);
}

body.page-template-page-naslovna{
    background: var(--space-dark);    
}

/* Zvezdnato ozadje */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    animation: twinkle var(--duration) ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: var(--opacity); transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.8); }
}

/* Glavna vsebina */
.page-template-page-naslovna .container {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

/* Planet container */
.planet-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

#planet-container {
    width: 300px;
    height: 300px;
    cursor: grab;
    position: relative;
}

#planet-container:active {
    cursor: grabbing;
}

/* Sij okoli planeta */
.planet-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(90, 45, 99, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.3; }
}

/* Naslov */
.title {
    font-family: 'Baloo 2', cursive;
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 800;
    text-align: center;
    margin-top: 2rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 4px 20px rgba(90, 45, 99, 0.4));
    animation: titleAppear 1s ease-out 0.5s both;
}

@keyframes titleAppear {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.subtitle {
    font-family: 'Quicksand', sans-serif;
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-weight: 500;
    text-align: center;
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.8);
    animation: titleAppear 1s ease-out 0.8s both;
}

/* Gumb */
.cta-button {
    margin-top: 3rem;
    padding: 1rem 3rem;
    font-family: 'Baloo 2', cursive;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--space-dark);
    background: linear-gradient(135deg, var(--primary), #9f66a7);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(255, 217, 61, 0.4);
    animation: titleAppear 1s ease-out 1.1s both;
    text-decoration: none;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 40px rgba(90, 45, 99, 0.4);
}

.cta-button:active {
    transform: translateY(0) scale(0.98);
}

/* Dekorativni elementi */
.shooting-star {
    position: fixed;
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, white, transparent);
    animation: shoot 3s ease-in-out infinite;
    opacity: 0;
}

.shooting-star:nth-child(1) {
    top: 20%;
    left: -100px;
    animation-delay: 0s;
}

.shooting-star:nth-child(2) {
    top: 40%;
    left: -100px;
    animation-delay: 2s;
}

.shooting-star:nth-child(3) {
    top: 60%;
    left: -100px;
    animation-delay: 4s;
}

@keyframes shoot {
    0% {
        transform: translateX(0) translateY(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    100% {
        transform: translateX(calc(100vw + 200px)) translateY(100px);
        opacity: 0;
    }
}

/* Info sekcija */
.info-section {
    margin-top: 4rem;
    text-align: center;
    max-width: 600px;
    animation: titleAppear 1s ease-out 1.4s both;
}

.info-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
}

/* Nalaganje */
.loading-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Baloo 2', cursive;
    color: var(--primary);
    font-size: 1rem;
}

/* Responsivnost */
@media (max-width: 768px) {
    #planet-container {
        width: 250px;
        height: 250px;
    }

    .planet-glow {
        width: 270px;
        height: 270px;
    }

    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 1.1rem;
    }
}

/* Orbita - majhne lune */
.orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    border-radius: 50%;
    pointer-events: none;
    animation: orbitRotate 20s linear infinite;
}

@keyframes orbitRotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.mini-moon {
    position: absolute;
    width: 15px;
    height: 15px;
    background: linear-gradient(135deg, #feb4d4, #bd3579);
    border-radius: 50%;
    box-shadow: inset -3px -3px 6px rgba(0,0,0,0.3);
}

.mini-moon:nth-child(1) {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.mini-moon:nth-child(2) {
    bottom: 20%;
    right: 5%;
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, var(--accent), #fd8329);
}


/* ========================================
DESIGN TOKENS - UI KIT
======================================== */


/* ========================================
   ZGODBENA STRAN
======================================== */


body.page-template-page-zgodba {
    font-family: 'Quicksand', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: var(--text-primary);
    background: var(--card-surface);
    line-height: 1.6;
}

/* ========================================
   TYPOGRAPHY
======================================== */
.heading-hero {
    font-family: 'Baloo 2', cursive;
    font-size: 64px;
    font-weight: 700;
    line-height: 1.1;
}

.heading-section {
    font-family: 'Baloo 2', cursive;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
}

.heading-card {
    font-family: 'Baloo 2', cursive;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
}

.text-subtitle {
    font-family: 'Quicksand', sans-serif;
    font-size: 20px;
    font-weight: 500;
}

.text-body {
    font-family: 'Quicksand', sans-serif;
    font-size: 16px;
    font-weight: 400;
}

.text-small {
    font-family: 'Quicksand', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: var(--text-secondary);
}

/* ========================================
   CONTAINER & GRID
======================================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-margin);
}

/* ========================================
   NAVIGATION
======================================== */
.nav {
    height: 80px;
    background: var(--card-surface);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: var(--shadow-soft);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-margin);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: 'Baloo 2', cursive;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: var(--space-s);
}

.nav-logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--accent-berry));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    list-style: none;
}

.nav-link {
    font-family: 'Quicksand', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-coral);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--primary);
    color: white;
    padding: var(--space-m) var(--space-l);
    border-radius: var(--radius-l);
    font-family: 'Quicksand', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Mobile menu toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: 0.3s;
}

/* ========================================
   HERO SECTION
======================================== */
.hero {
    padding-top: calc(80px + var(--space-xxl));
    padding-bottom: var(--space-xxl);
    background: linear-gradient(180deg, var(--bg-soft) 0%, var(--card-surface) 100%);
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xxl);
    align-items: center;
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-block;
    background: var(--accent-coral);
    color: white;
    padding: var(--space-s) var(--space-m);
    border-radius: var(--radius-s);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: var(--space-l);
}

.hero-title {
    color: var(--accent-berry);
    margin-bottom: var(--space-l);
}

.hero-description {
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    max-width: 480px;
}

.hero-buttons {
    display: flex;
    gap: var(--space-m);
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-image-wrapper {
    position: relative;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-berry) 100%);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-floating);
}

.hero-book-placeholder {
    width: 100%;
    aspect-ratio: 3/4;
    background: var(--card-surface);
    border-radius: var(--radius-m);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-medium);
}

.hero-book-placeholder span {
    font-family: 'Baloo 2', cursive;
    font-size: 32px;
    color: var(--primary);
}

.hero-book-placeholder small {
    color: var(--text-secondary);
    margin-top: var(--space-s);
}

/* Floating elements */
.floating-star {
    position: absolute;
    font-size: 24px;
    animation: float 3s ease-in-out infinite;
}

.floating-star:nth-child(1) { top: 10%; left: -20px; animation-delay: 0s; }
.floating-star:nth-child(2) { top: 60%; right: -30px; animation-delay: 1s; }
.floating-star:nth-child(3) { bottom: 20%; left: 10%; animation-delay: 0.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(10deg); }
}

/* ========================================
   BUTTONS
======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-s);
    padding: var(--space-m) var(--space-l);
    border-radius: var(--radius-l);
    font-family: 'Quicksand', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-secondary {
    background: transparent;
    color: var(--accent-coral);
    border: 2px solid var(--accent-coral);
}

.btn-secondary:hover {
    background: var(--accent-coral);
    color: white;
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--accent-berry);
    padding: var(--space-s) 0;
}

.btn-ghost:hover {
    color: var(--primary);
}

/* ========================================
   SECTIONS
======================================== */
.section {
    padding: var(--space-xxl) 0;
}

.section-soft {
    background: var(--bg-soft);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.section-title {
    color: var(--accent-berry);
    margin-bottom: var(--space-m);
}

.section-subtitle {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   FEATURE CARDS
======================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-l);
}

.feature-card {
    background: var(--card-surface);
    border-radius: var(--radius-xl);
    padding: var(--space-l);
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-floating);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-l);
    font-size: 36px;
}

.feature-title {
    color: var(--text-primary);
    margin-bottom: var(--space-s);
}

.feature-description {
    color: var(--text-secondary);
}

/* ========================================
   PRODUCT CARDS (Books, Games)
======================================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-l);
}

.product-card {
    background: var(--card-surface);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-floating);
}

.product-image {
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-berry) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
}

.product-content {
    padding: var(--space-l);
}

.product-tag {
    display: inline-block;
    background: var(--bg-soft);
    color: var(--primary);
    padding: var(--space-xs) var(--space-s);
    border-radius: var(--radius-s);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: var(--space-s);
}

.product-title {
    color: var(--text-primary);
    margin-bottom: var(--space-s);
}

.product-description {
    color: var(--text-secondary);
    margin-bottom: var(--space-m);
}

/* ========================================
   GAME CARD (Horizontal)
======================================== */
.game-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    background: var(--card-surface);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.game-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-floating);
}

.game-image {
    height: 100%;
    min-height: 250px;
    background: linear-gradient(135deg, var(--accent-coral) 0%, var(--accent-berry) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 72px;
}

.game-content {
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.game-title {
    color: var(--text-primary);
    margin-bottom: var(--space-s);
}

.game-description {
    color: var(--text-secondary);
    margin-bottom: var(--space-l);
}

.game-features {
    display: flex;
    gap: var(--space-m);
    margin-bottom: var(--space-l);
}

.game-feature {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--text-secondary);
    font-size: 14px;
}

.game-feature-icon {
    color: var(--accent-coral);
}

/* ========================================
   BLOG CARDS
======================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-l);
}

.blog-card {
    background: var(--card-surface);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-floating);
}

.blog-image {
    width: 100%;
    height: 200px;
    background: var(--bg-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    position: relative;
    overflow: hidden;
}

.blog-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(159, 102, 167, 0.3), rgba(189, 53, 121, 0.3));
}

.blog-content {
    padding: var(--space-l);
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: var(--space-m);
    margin-bottom: var(--space-s);
}

.blog-category {
    color: var(--accent-coral);
    font-weight: 600;
    font-size: 14px;
}

.blog-date {
    color: var(--text-secondary);
    font-size: 14px;
}

.blog-title {
    color: var(--text-primary);
    margin-bottom: var(--space-s);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-excerpt {
    color: var(--text-secondary);
    margin-bottom: var(--space-m);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ========================================
   CTA SECTION
======================================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-berry) 100%);
    padding: var(--space-xxl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '✨';
    position: absolute;
    top: 20%;
    left: 10%;
    font-size: 40px;
    opacity: 0.3;
    animation: float 4s ease-in-out infinite;
}

.cta-section::after {
    content: '🌟';
    position: absolute;
    bottom: 20%;
    right: 10%;
    font-size: 40px;
    opacity: 0.3;
    animation: float 4s ease-in-out infinite 1s;
}

.cta-title {
    color: white;
    margin-bottom: var(--space-m);
}

.cta-subtitle {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-xl);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    background: white;
    color: var(--primary);
}

.cta-button:hover {
    background: var(--bg-soft);
    transform: translateY(-2px);
    box-shadow: var(--shadow-floating);
}

/* ========================================
   FOOTER
======================================== */
.footer {
    background: var(--text-primary);
    color: white;
    padding: var(--space-xxl) 0 var(--space-l);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    font-family: 'Baloo 2', cursive;
    font-size: 28px;
    font-weight: 700;
    color: white;
    margin-bottom: var(--space-m);
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-title {
    font-family: 'Baloo 2', cursive;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: var(--space-m);
}

.footer-links {
    list-style: none;
}

.footer-link {
    margin-bottom: var(--space-s);
}

.footer-link a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-link a:hover {
    color: var(--accent-coral);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-l);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.footer-social {
    display: flex;
    gap: var(--space-m);
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--accent-coral);
    transform: translateY(-3px);
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 1024px) {
    :root {
        --container-margin: 40px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-description {
        margin: 0 auto var(--space-xl);
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        max-width: 400px;
        margin: 0 auto;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .game-card {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --container-margin: 24px;
    }

    .heading-hero {
        font-size: 40px;
    }

    .heading-section {
        font-size: 32px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: var(--space-l);
        box-shadow: var(--shadow-medium);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .features-grid,
    .products-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        max-width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-m);
    }
}



/* ========================================
   DESIGN TOKENS - UI KIT
======================================== */
:root {
    /* Colors */
    --primary: #9f66a7;
    --primary-light: #b485bb;
    --primary-dark: #8a5591;
    --accent-coral: #FF6B6B;
    --accent-coral-light: #ff8a8a;
    --accent-berry: #bd3579;
    --bg-soft: #F8F3FA;
    --card-surface: #FFFFFF;
    --text-primary: #2E2E2E;
    --text-secondary: #6E6E6E;
    --divider: #E6DAED;

    /* Spacing */
    --space-xs: 4px;
    --space-s: 8px;
    --space-m: 16px;
    --space-l: 24px;
    --space-xl: 40px;
    --space-xxl: 64px;

    /* Border Radius */
    --radius-s: 12px;
    --radius-m: 20px;
    --radius-l: 28px;
    --radius-xl: 36px;

    /* Shadows */
    --shadow-soft: 0px 4px 14px rgba(0,0,0,0.08);
    --shadow-medium: 0px 10px 24px rgba(0,0,0,0.12);
    --shadow-floating: 0px 20px 40px rgba(0,0,0,0.14);

    /* Container */
    --container-width: 1440px;
    --container-margin: 80px;
}

/* ========================================
   RESET & BASE
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Quicksand', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: var(--text-primary);
    background: var(--card-surface);
    line-height: 1.6;
}

/* ========================================
   TYPOGRAPHY
======================================== */
.heading-hero {
    font-family: 'Baloo 2', cursive;
    font-size: 56px;
    font-weight: 700;
    line-height: 1.15;
}

.heading-section {
    font-family: 'Baloo 2', cursive;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
}

.heading-card {
    font-family: 'Baloo 2', cursive;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
}

.text-subtitle {
    font-family: 'Quicksand', sans-serif;
    font-size: 20px;
    font-weight: 500;
}

.text-body {
    font-family: 'Quicksand', sans-serif;
    font-size: 16px;
    font-weight: 400;
}

.text-small {
    font-family: 'Quicksand', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: var(--text-secondary);
}

/* ========================================
   CONTAINER
======================================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-margin);
}

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--container-margin);
}

/* ========================================
   NAVIGATION
======================================== */
.nav {
    height: 80px;
    background: var(--card-surface);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: var(--shadow-soft);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-margin);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: 'Baloo 2', cursive;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: var(--space-s);
}

.nav-logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--accent-berry));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    list-style: none;
}

.nav-link {
    font-family: 'Quicksand', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-coral);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--primary);
    color: white;
    padding: var(--space-m) var(--space-l);
    border-radius: var(--radius-l);
    font-family: 'Quicksand', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: 0.3s;
}

/* ========================================
   ARTICLE HERO
======================================== */
.article-hero {
    padding-top: calc(80px + var(--space-xxl));
    padding-bottom: var(--space-xl);
    background: var(--bg-soft);
}

.article-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.article-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-s);
    margin-bottom: var(--space-l);
    flex-wrap: wrap;
}

.article-breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.article-breadcrumb a:hover {
    color: var(--primary);
}

.article-breadcrumb span {
    color: var(--text-secondary);
    font-size: 14px;
}

.article-category {
    display: inline-block;
    background: var(--accent-coral);
    color: white;
    padding: var(--space-xs) var(--space-m);
    border-radius: var(--radius-s);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: var(--space-l);
}

.article-title {
    color: var(--accent-berry);
    margin-bottom: var(--space-l);
}

.article-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-l);
    flex-wrap: wrap;
    margin: 20px 0; 
}

.article-meta-item {
    display: flex;
    align-items: center;
    gap: var(--space-s);
    color: var(--text-secondary);
    font-size: 14px;
}

.article-meta-icon {
    font-size: 16px;
}

.article-author {
    display: flex;
    align-items: center;
    gap: var(--space-s);
}

.article-author-avatar {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary), var(--accent-berry));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
}

/* ========================================
   FEATURED IMAGE
======================================== */
.article-featured-image {
    margin-top: calc(-1 * var(--space-xl));
    margin-bottom: var(--space-xxl);
}

.article-featured-image-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 var(--space-l);
}

.article-image {
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-berry) 100%);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-floating);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    position: relative;
    overflow: hidden;
}

.article-image::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    animation: shimmer 8s linear infinite;
}

@keyframes shimmer {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ========================================
   ARTICLE CONTENT
======================================== */
.article-content {
    padding-bottom: var(--space-xxl);
}

.article-body {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-primary);
}

.article-body p {
    margin-bottom: var(--space-l);
}

.article-body h2 {
    font-family: 'Baloo 2', cursive;
    font-size: 32px;
    font-weight: 700;
    color: var(--accent-berry);
    margin-top: var(--space-xxl);
    margin-bottom: var(--space-l);
}

.article-body h3 {
    font-family: 'Baloo 2', cursive;
    font-size: 24px;
    font-weight: 600;
    color: var(--primary);
    margin-top: var(--space-xl);
    margin-bottom: var(--space-m);
}

.article-body ul,
.article-body ol {
    margin-bottom: var(--space-l);
    padding-left: var(--space-l);
}

.article-body li {
    margin-bottom: var(--space-s);
}

.article-body a {
    color: var(--accent-coral);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.article-body a:hover {
    border-bottom-color: var(--accent-coral);
}

.article-body blockquote {
    margin: var(--space-xl) 0;
    padding: var(--space-l) var(--space-xl);
    background: var(--bg-soft);
    border-left: 4px solid var(--accent-coral);
    border-radius: 0 var(--radius-m) var(--radius-m) 0;
    font-style: italic;
    color: var(--text-secondary);
}

.article-body img {
    width: 100%;
    border-radius: var(--radius-m);
    margin: var(--space-xl) 0;
    box-shadow: var(--shadow-soft);
}

/* Highlight box */
.highlight-box {
    background: linear-gradient(135deg, rgba(159, 102, 167, 0.1), rgba(189, 53, 121, 0.1));
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    margin: var(--space-xl) 0;
    border: 2px solid var(--divider);
}

.highlight-box-title {
    font-family: 'Baloo 2', cursive;
    font-size: 20px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: var(--space-m);
    display: flex;
    align-items: center;
    gap: var(--space-s);
}

/* ========================================
   ARTICLE FOOTER
======================================== */
.article-footer {
    border-top: 1px solid var(--divider);
    padding-top: var(--space-xl);
    margin-top: var(--space-xl);
}

.article-tags {
    display: flex;
    align-items: center;
    gap: var(--space-s);
    flex-wrap: wrap;
    margin-bottom: var(--space-xl);
}

.article-tags-label {
    font-weight: 600;
    color: var(--text-secondary);
    margin-right: var(--space-s);
}

.article-tag {
    background: var(--bg-soft);
    color: var(--primary);
    padding: var(--space-xs) var(--space-m);
    border-radius: var(--radius-s);
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.article-tag:hover {
    background: var(--primary);
    color: white;
}

.article-share {
    display: flex;
    align-items: center;
    gap: var(--space-m);
}

.article-share-label {
    font-weight: 600;
    color: var(--text-secondary);
}

.article-share-buttons {
    display: flex;
    gap: var(--space-s);
}

.article-share-btn {
    width: 44px;
    height: 44px;
    background: var(--bg-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
}

.article-share-btn:hover {
    background: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

/* ========================================
   AUTHOR BOX
======================================== */
.author-box {
    background: var(--bg-soft);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    margin: var(--space-xxl) 0;
    display: flex;
    gap: var(--space-l);
    align-items: center;
}

.author-box-avatar {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary), var(--accent-berry));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    flex-shrink: 0;
}

.author-box-content {
    flex: 1;
}

.author-box-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: var(--space-xs);
}

.author-box-name {
    font-family: 'Baloo 2', cursive;
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-s);
}

.author-box-bio {
    color: var(--text-secondary);
    font-size: 15px;
}

/* ========================================
   RELATED POSTS
======================================== */
.related-posts {
    background: var(--bg-soft);
    padding: var(--space-xxl) 0;
}

.related-posts-title {
    text-align: center;
    color: var(--accent-berry);
    margin-bottom: var(--space-xl);
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-l);
}

.related-card {
    background: var(--card-surface);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    text-decoration: none;
}

.related-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-floating);
}

.related-card-image {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, var(--primary), var(--accent-berry));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
}

.related-card-content {
    padding: var(--space-l);
}

.related-card-category {
    color: var(--accent-coral);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.related-card-title {
    font-family: 'Baloo 2', cursive;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-s);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-card-date {
    color: var(--text-secondary);
    font-size: 13px;
}

/* ========================================
   CTA SECTION
======================================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-berry) 100%);
    padding: var(--space-xxl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '✨';
    position: absolute;
    top: 20%;
    left: 10%;
    font-size: 40px;
    opacity: 0.3;
    animation: float 4s ease-in-out infinite;
}

.cta-section::after {
    content: '🌟';
    position: absolute;
    bottom: 20%;
    right: 10%;
    font-size: 40px;
    opacity: 0.3;
    animation: float 4s ease-in-out infinite 1s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.cta-title {
    color: white;
    margin-bottom: var(--space-m);
}

.cta-subtitle {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-xl);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-s);
    padding: var(--space-m) var(--space-l);
    border-radius: var(--radius-l);
    font-family: 'Quicksand', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.cta-button {
    background: white;
    color: var(--primary);
}

.cta-button:hover {
    background: var(--bg-soft);
    transform: translateY(-2px);
    box-shadow: var(--shadow-floating);
}

/* ========================================
   FOOTER
======================================== */
.footer {
    background: var(--text-primary);
    color: white;
    padding: var(--space-xxl) 0 var(--space-l);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    font-family: 'Baloo 2', cursive;
    font-size: 28px;
    font-weight: 700;
    color: white;
    margin-bottom: var(--space-m);
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-title {
    font-family: 'Baloo 2', cursive;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: var(--space-m);
}

.footer-links {
    list-style: none;
}

.footer-link {
    margin-bottom: var(--space-s);
}

.footer-link a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-link a:hover {
    color: var(--accent-coral);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-l);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.footer-social {
    display: flex;
    gap: var(--space-m);
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--accent-coral);
    transform: translateY(-3px);
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 1024px) {
    :root {
        --container-margin: 40px;
    }

    .heading-hero {
        font-size: 44px;
    }

    .related-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .author-box {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    :root {
        --container-margin: 24px;
    }

    .heading-hero {
        font-size: 36px;
    }

    .article-body h2 {
        font-size: 26px;
    }

    .article-image {
        height: 300px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: var(--space-l);
        box-shadow: var(--shadow-medium);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .related-posts-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        max-width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-m);
    }

    .article-meta {
        flex-direction: column;
        gap: var(--space-m);
    }

    .article-share {
        flex-direction: column;
    }
}