/* =========================================
   HyperCube - Warm Fantasy RPG Theme
   Golden Hour Aesthetic
   ========================================= */

/* CSS Variables - Warm Fantasy Palette */
:root {
    /* Primary - Metallic Gold/Bronze */
    --gold: #d4a44c;
    --gold-light: #e8c376;
    --gold-dark: #b8862e;
    --bronze: #cd7f32;

    /* Secondary - Deep Maroon/Red */
    --maroon: #722f37;
    --maroon-dark: #5a252c;
    --maroon-light: #8b3a44;
    --crimson: #6b1c23;

    /* Accent Colors */
    --accent-blue: #3b9eff;
    --accent-blue-light: #6bb8ff;
    --accent-blue-glow: rgba(59, 158, 255, 0.5);
    --accent-purple: #8b5cf6;
    --accent-purple-light: #a78bfa;
    --accent-purple-glow: rgba(139, 92, 246, 0.5);

    /* Tertiary - Earthy Tones */
    --wood-dark: #2d1f14;
    --wood: #4a3728;
    --stone: #4a5568;
    --stone-blue: #374151;
    --forest: #2d4a3e;

    /* Atmosphere - Golden Hour */
    --sky-warm: #f5a962;
    --sky-peach: #ffcba4;
    --sky-glow: #ffd89b;
    --atmosphere: rgba(255, 180, 100, 0.15);

    /* Neutrals */
    --bg-dark: #1a1410;
    --bg-darker: #0f0c09;
    --text-light: #faf5ef;
    --text-muted: rgba(250, 245, 239, 0.7);
    --text-dim: rgba(250, 245, 239, 0.5);

    /* Effects */
    --glow-gold: 0 0 20px rgba(212, 164, 76, 0.5);
    --glow-maroon: 0 0 15px rgba(114, 47, 55, 0.5);
    --shadow-deep: 0 4px 20px rgba(0, 0, 0, 0.5);

    /* Spacing */
    --header-height: 60px;
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-darker);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Cinzel', serif;
    font-weight: 600;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* =========================================
   HEADER - Semi-Transparent Bar
   ========================================= */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    background: rgba(15, 12, 9, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(212, 164, 76, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.nav-left,
.nav-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Centered Nav Home Logo */
.nav-home-btn {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    transition: all 0.3s ease;
}

.nav-home-btn img {
    height: 36px;
    width: auto;
    filter: drop-shadow(0 0 8px rgba(212, 164, 76, 0.4));
    transition: all 0.3s ease;
}

.nav-home-btn:hover img {
    transform: scale(1.1);
    filter: drop-shadow(0 0 15px rgba(212, 164, 76, 0.7));
}

/* Navigation Buttons - Fantasy RPG Style */
.nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    font-family: 'Cinzel', serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
    /* Hexagonal/pointed shape using clip-path */
    clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, 8px 100%, 0 50%);
}

/* Primary Nav Buttons - Worn Metal/Leather */
.nav-btn-primary {
    background:
        /* Leather texture effect */
        radial-gradient(ellipse at 30% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        linear-gradient(180deg,
            var(--maroon-light) 0%,
            var(--maroon) 30%,
            var(--maroon-dark) 70%,
            #3d1a1f 100%);
    color: var(--text-light);
    border: none;
    box-shadow:
        inset 0 2px 3px rgba(255, 255, 255, 0.15),
        inset 0 -3px 6px rgba(0, 0, 0, 0.4),
        0 3px 8px rgba(0, 0, 0, 0.5);
    text-shadow:
        0 0 10px rgba(212, 164, 76, 0.5),
        0 2px 2px rgba(0, 0, 0, 0.8);
}

/* Metal frame border */
.nav-btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, 8px 100%, 0 50%);
    background: linear-gradient(180deg,
        var(--gold-light) 0%,
        var(--gold-dark) 50%,
        #5a4520 100%);
    z-index: -1;
    padding: 2px;
}

/* Inner cut for border effect */
.nav-btn-primary::after {
    content: '';
    position: absolute;
    inset: 2px;
    clip-path: polygon(7px 0, calc(100% - 7px) 0, 100% 50%, calc(100% - 7px) 100%, 7px 100%, 0 50%);
    background:
        radial-gradient(ellipse at 30% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        linear-gradient(180deg,
            var(--maroon-light) 0%,
            var(--maroon) 30%,
            var(--maroon-dark) 70%,
            #3d1a1f 100%);
    z-index: -1;
}

.nav-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow:
        inset 0 2px 3px rgba(255, 255, 255, 0.2),
        inset 0 -3px 6px rgba(0, 0, 0, 0.4),
        0 6px 16px rgba(0, 0, 0, 0.6),
        0 0 20px rgba(212, 164, 76, 0.3);
    text-shadow:
        0 0 15px rgba(212, 164, 76, 0.8),
        0 0 30px rgba(212, 164, 76, 0.4),
        0 2px 2px rgba(0, 0, 0, 0.8);
}

.nav-btn-primary:hover::before {
    background: linear-gradient(180deg,
        #fff5cc 0%,
        var(--gold) 50%,
        var(--gold-dark) 100%);
}

.nav-btn-primary:active {
    transform: translateY(1px);
    box-shadow:
        inset 0 3px 8px rgba(0, 0, 0, 0.5),
        0 1px 3px rgba(0, 0, 0, 0.4);
}

/* Gold/Store Button - Enchanted Gold Plaque */
.nav-btn-gold {
    background:
        /* Metal highlights */
        radial-gradient(ellipse at 30% 0%, rgba(255, 255, 255, 0.5) 0%, transparent 40%),
        radial-gradient(ellipse at 70% 100%, rgba(0, 0, 0, 0.3) 0%, transparent 40%),
        linear-gradient(180deg,
            #ffe4a0 0%,
            var(--gold) 20%,
            var(--gold-dark) 80%,
            #8b6914 100%);
    color: #2d1a0f;
    border: none;
    box-shadow:
        inset 0 2px 4px rgba(255, 255, 255, 0.5),
        inset 0 -3px 6px rgba(0, 0, 0, 0.3),
        0 4px 12px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(212, 164, 76, 0.4);
    text-shadow: 0 1px 0 rgba(255, 230, 150, 0.8);
    font-weight: 800;
    animation: goldEnchant 3s ease-in-out infinite;
}

@keyframes goldEnchant {
    0%, 100% {
        box-shadow:
            inset 0 2px 4px rgba(255, 255, 255, 0.5),
            inset 0 -3px 6px rgba(0, 0, 0, 0.3),
            0 4px 12px rgba(0, 0, 0, 0.5),
            0 0 15px rgba(212, 164, 76, 0.3);
    }
    50% {
        box-shadow:
            inset 0 2px 4px rgba(255, 255, 255, 0.5),
            inset 0 -3px 6px rgba(0, 0, 0, 0.3),
            0 4px 12px rgba(0, 0, 0, 0.5),
            0 0 25px rgba(212, 164, 76, 0.6);
    }
}

/* Ornate metal frame */
.nav-btn-gold::before {
    content: '';
    position: absolute;
    inset: 0;
    clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, 8px 100%, 0 50%);
    background: linear-gradient(180deg,
        #6b4c1a 0%,
        #3d2a0f 50%,
        #2a1a08 100%);
    z-index: -1;
    padding: 3px;
}

/* Decorative rivets/studs */
.nav-btn-gold::after {
    content: '';
    position: absolute;
    inset: 3px;
    clip-path: polygon(6px 0, calc(100% - 6px) 0, 100% 50%, calc(100% - 6px) 100%, 6px 100%, 0 50%);
    background:
        /* Rivet accents */
        radial-gradient(circle at 12px 50%, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.1) 2px, transparent 3px),
        radial-gradient(circle at calc(100% - 12px) 50%, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.1) 2px, transparent 3px),
        /* Metal base */
        radial-gradient(ellipse at 30% 0%, rgba(255, 255, 255, 0.5) 0%, transparent 40%),
        linear-gradient(180deg,
            #ffe4a0 0%,
            var(--gold) 20%,
            var(--gold-dark) 80%,
            #8b6914 100%);
    z-index: -1;
}

.nav-btn-gold:hover {
    transform: translateY(-2px) scale(1.03);
    animation: none;
    box-shadow:
        inset 0 2px 4px rgba(255, 255, 255, 0.6),
        inset 0 -3px 6px rgba(0, 0, 0, 0.3),
        0 8px 20px rgba(0, 0, 0, 0.5),
        0 0 35px rgba(212, 164, 76, 0.7),
        0 0 60px rgba(212, 164, 76, 0.3);
}

.nav-btn-gold:active {
    transform: translateY(1px) scale(0.98);
    animation: none;
    box-shadow:
        inset 0 4px 10px rgba(0, 0, 0, 0.4),
        0 2px 6px rgba(0, 0, 0, 0.4),
        0 0 15px rgba(212, 164, 76, 0.4);
}

/* Font Awesome icons in nav */
.nav-btn i {
    font-size: 1rem;
    transition: all 0.2s ease;
    filter: drop-shadow(0 0 3px currentColor);
}

.nav-btn:hover i {
    transform: scale(1.1);
    filter: drop-shadow(0 0 6px currentColor);
}

/* Nav Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-dropdown-arrow {
    font-size: 0.7rem !important;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .nav-dropdown-arrow,
.nav-dropdown.active .nav-dropdown-arrow {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 180px;
    background: rgba(15, 12, 9, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 164, 76, 0.3);
    border-radius: 8px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 20px rgba(212, 164, 76, 0.1);
    z-index: 1001;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.active .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    color: var(--text-muted);
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.nav-dropdown-menu a:hover {
    background: rgba(212, 164, 76, 0.15);
    color: var(--gold);
}

.nav-dropdown-menu a i {
    width: 18px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--gold);
    opacity: 0.7;
}

.nav-dropdown-menu a:hover i {
    opacity: 1;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--gold);
    transition: all 0.3s ease;
}

/* =========================================
   HERO - Full Screen Immersive
   ========================================= */

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Background Image */
.hero-background {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Vignette Overlay - Dark Tint */
.hero-vignette {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-vignette::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.hero-vignette::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, transparent 25%),
        linear-gradient(0deg, rgba(15, 12, 9, 1) 0%, transparent 40%),
        radial-gradient(ellipse at center, transparent 20%, rgba(0, 0, 0, 0.4) 100%);
}

/* =========================================
   MAGICAL BACKGROUND EFFECTS
   ========================================= */

/* Floating Magical Particles - Lightweight */
.particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--gold-light);
    border-radius: 50%;
    will-change: transform, opacity;
    box-shadow: 0 0 6px 2px rgba(212, 164, 76, 0.8);
    animation: floatUp 15s infinite linear;
}

@keyframes floatUp {
    0% { opacity: 0.9; transform: translateY(0) translateX(0); }
    100% { opacity: 0.9; transform: translateY(-110vh) translateX(var(--drift, 10px)); }
}

/* 20 particles scattered across the screen with varied starting positions */
.particle-1 { left: 3%; top: 15%; --drift: -15px; animation-delay: -2s; animation-duration: 14s; }
.particle-2 { left: 8%; top: 67%; --drift: 20px; animation-delay: -8s; animation-duration: 16s; }
.particle-3 { left: 14%; top: 34%; --drift: -10px; animation-delay: -5s; animation-duration: 13s; }
.particle-4 { left: 19%; top: 89%; --drift: 25px; animation-delay: -12s; animation-duration: 15s; }
.particle-5 { left: 25%; top: 45%; --drift: -18px; animation-delay: -3s; animation-duration: 17s; }
.particle-6 { left: 31%; top: 12%; --drift: 12px; animation-delay: -9s; animation-duration: 14s; }
.particle-7 { left: 36%; top: 78%; --drift: -22px; animation-delay: -6s; animation-duration: 16s; }
.particle-8 { left: 42%; top: 56%; --drift: 15px; animation-delay: -11s; animation-duration: 13s; }
.particle-9 { left: 47%; top: 23%; --drift: -8px; animation-delay: -1s; animation-duration: 15s; }
.particle-10 { left: 53%; top: 91%; --drift: 18px; animation-delay: -7s; animation-duration: 14s; }
.particle-11 { left: 58%; top: 38%; --drift: -20px; animation-delay: -4s; animation-duration: 16s; }
.particle-12 { left: 64%; top: 62%; --drift: 10px; animation-delay: -10s; animation-duration: 17s; }
.particle-13 { left: 69%; top: 8%; --drift: -12px; animation-delay: -13s; animation-duration: 13s; }
.particle-14 { left: 74%; top: 84%; --drift: 22px; animation-delay: -2.5s; animation-duration: 15s; }
.particle-15 { left: 79%; top: 29%; --drift: -16px; animation-delay: -8.5s; animation-duration: 14s; }
.particle-16 { left: 84%; top: 71%; --drift: 14px; animation-delay: -5.5s; animation-duration: 16s; }
.particle-17 { left: 88%; top: 47%; --drift: -25px; animation-delay: -11.5s; animation-duration: 13s; }
.particle-18 { left: 92%; top: 19%; --drift: 8px; animation-delay: -0.5s; animation-duration: 15s; }
.particle-19 { left: 95%; top: 58%; --drift: -14px; animation-delay: -6.5s; animation-duration: 17s; }
.particle-20 { left: 98%; top: 82%; --drift: 20px; animation-delay: -3.5s; animation-duration: 14s; }

/* Embers - simplified */
.embers {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.ember {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #ffb070;
    border-radius: 50%;
    will-change: transform, opacity;
    box-shadow: 0 0 4px 1px rgba(255, 150, 80, 0.9);
    animation: floatEmber 12s infinite linear;
}

@keyframes floatEmber {
    0% { opacity: 0.8; transform: translateY(0) translateX(0); }
    100% { opacity: 0.8; transform: translateY(-115vh) translateX(var(--ember-drift, 30px)); }
}

.ember-1 { left: 6%; top: 72%; --ember-drift: 40px; animation-delay: -3s; animation-duration: 11s; }
.ember-2 { left: 18%; top: 28%; --ember-drift: -35px; animation-delay: -7s; animation-duration: 13s; }
.ember-3 { left: 32%; top: 85%; --ember-drift: 50px; animation-delay: -1s; animation-duration: 10s; }
.ember-4 { left: 45%; top: 41%; --ember-drift: -25px; animation-delay: -9s; animation-duration: 12s; }
.ember-5 { left: 59%; top: 63%; --ember-drift: 45px; animation-delay: -4s; animation-duration: 14s; }
.ember-6 { left: 71%; top: 17%; --ember-drift: -40px; animation-delay: -10s; animation-duration: 11s; }
.ember-7 { left: 83%; top: 54%; --ember-drift: 30px; animation-delay: -6s; animation-duration: 13s; }
.ember-8 { left: 94%; top: 79%; --ember-drift: -20px; animation-delay: -2s; animation-duration: 12s; }

/* Light Rays - static, no animation for performance */
.light-rays {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    opacity: 0.5;
}

.light-rays::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 10%;
    width: 40%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255, 200, 100, 0.1) 50%, transparent);
    transform: rotate(20deg);
}

.light-rays::after {
    content: '';
    position: absolute;
    top: -50%;
    right: 5%;
    width: 35%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255, 180, 80, 0.08) 50%, transparent);
    transform: rotate(-18deg);
}

/* Mist - single layer, simplified */
.mist {
    position: absolute;
    width: 100%;
    height: 30%;
    bottom: 0;
    left: 0;
    pointer-events: none;
    background: linear-gradient(0deg, rgba(15, 12, 9, 0.9) 0%, transparent 100%);
}

.mist-1 { opacity: 0.8; }
.mist-2 { display: none; }

/* Ambient glow - static for performance */
.hero-background::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 40%, rgba(212, 164, 76, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Centered Hero Content */
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 24px;
    margin-top: -5vh;
}

/* Main Logo - Floating with Glow Effect */
.logo-wrapper {
    margin-bottom: 32px;
    animation: logoFloat 4s ease-in-out infinite;
}

.main-logo {
    max-width: 320px;
    width: 100%;
    height: auto;
    filter:
        drop-shadow(0 0 20px rgba(184, 134, 46, 0.6))
        drop-shadow(0 0 40px rgba(166, 115, 30, 0.4))
        drop-shadow(0 0 60px rgba(139, 90, 20, 0.2));
    animation: logoGlow 3s ease-in-out infinite alternate;
}

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

@keyframes logoGlow {
    0% {
        filter:
            drop-shadow(0 0 20px rgba(184, 134, 46, 0.5))
            drop-shadow(0 0 40px rgba(166, 115, 30, 0.3))
            drop-shadow(0 0 60px rgba(139, 90, 20, 0.15));
    }
    100% {
        filter:
            drop-shadow(0 0 25px rgba(184, 134, 46, 0.8))
            drop-shadow(0 0 50px rgba(166, 115, 30, 0.5))
            drop-shadow(0 0 80px rgba(139, 90, 20, 0.3));
    }
}

/* Primary CTA Button - Hexagonal Fantasy RPG Style (matching navbar) */
.cta-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px 60px;
    min-width: 340px;
    font-family: 'Cinzel', serif;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold-light);
    background:
        /* Diamond pattern overlay */
        repeating-linear-gradient(
            45deg,
            transparent 0px,
            transparent 10px,
            rgba(0, 0, 0, 0.15) 10px,
            rgba(0, 0, 0, 0.15) 11px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent 0px,
            transparent 10px,
            rgba(0, 0, 0, 0.15) 10px,
            rgba(0, 0, 0, 0.15) 11px
        ),
        /* Inner glow */
        radial-gradient(ellipse at 50% 0%, rgba(255, 200, 150, 0.15) 0%, transparent 50%),
        /* Base gradient - more contrast */
        linear-gradient(180deg,
            #a04050 0%,
            #8b3a44 15%,
            #6b2530 40%,
            #4a1820 70%,
            #2a0c10 100%);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    /* More ornate pointed shape */
    clip-path: polygon(
        20px 0%, calc(100% - 20px) 0%,
        100% 50%,
        calc(100% - 20px) 100%, 20px 100%,
        0% 50%
    );
    box-shadow:
        inset 0 2px 4px rgba(255, 180, 150, 0.2),
        inset 0 -4px 8px rgba(0, 0, 0, 0.5),
        0 6px 20px rgba(0, 0, 0, 0.6);
    text-shadow:
        0 0 10px rgba(255, 200, 100, 0.8),
        0 0 20px rgba(212, 164, 76, 0.5),
        0 2px 3px rgba(0, 0, 0, 0.9);
    z-index: 1;
}

/* Ornate gold frame border */
.cta-button::before {
    content: '';
    position: absolute;
    inset: 0;
    clip-path: polygon(
        20px 0%, calc(100% - 20px) 0%,
        100% 50%,
        calc(100% - 20px) 100%, 20px 100%,
        0% 50%
    );
    background: linear-gradient(180deg,
        #ffe066 0%,
        var(--gold-light) 20%,
        var(--gold) 50%,
        var(--gold-dark) 80%,
        #6b4a1a 100%);
    z-index: -1;
    padding: 4px;
    animation: ctaFrameGlow 3s ease-in-out infinite;
}

@keyframes ctaFrameGlow {
    0%, 100% {
        filter: brightness(1) drop-shadow(0 0 12px rgba(212, 164, 76, 0.5));
    }
    50% {
        filter: brightness(1.25) drop-shadow(0 0 25px rgba(255, 200, 100, 0.9));
    }
}

/* Inner panel with pattern */
.cta-button::after {
    content: '';
    position: absolute;
    inset: 4px;
    clip-path: polygon(
        17px 0%, calc(100% - 17px) 0%,
        100% 50%,
        calc(100% - 17px) 100%, 17px 100%,
        0% 50%
    );
    background:
        /* Diamond pattern */
        repeating-linear-gradient(
            45deg,
            transparent 0px,
            transparent 10px,
            rgba(0, 0, 0, 0.12) 10px,
            rgba(0, 0, 0, 0.12) 11px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent 0px,
            transparent 10px,
            rgba(0, 0, 0, 0.12) 10px,
            rgba(0, 0, 0, 0.12) 11px
        ),
        /* Highlight */
        radial-gradient(ellipse at 50% 0%, rgba(255, 180, 130, 0.2) 0%, transparent 40%),
        /* Base */
        linear-gradient(180deg,
            #a04050 0%,
            #8b3a44 15%,
            #6b2530 40%,
            #4a1820 70%,
            #2a0c10 100%);
    z-index: -1;
}

.cta-button:hover {
    transform: translateY(-4px) scale(1.03);
    color: #fff5e0;
    box-shadow:
        inset 0 2px 4px rgba(255, 200, 150, 0.3),
        inset 0 -4px 8px rgba(0, 0, 0, 0.5),
        0 10px 30px rgba(0, 0, 0, 0.7),
        0 0 40px rgba(255, 180, 100, 0.3);
    text-shadow:
        0 0 15px rgba(255, 220, 150, 1),
        0 0 30px rgba(255, 180, 100, 0.7),
        0 2px 3px rgba(0, 0, 0, 0.9);
}

.cta-button:hover::before {
    animation: none;
    background: linear-gradient(180deg,
        #fff8e0 0%,
        #ffe066 20%,
        var(--gold-light) 50%,
        var(--gold) 80%,
        var(--gold-dark) 100%);
    filter: brightness(1.35) drop-shadow(0 0 30px rgba(255, 200, 100, 1));
}

.cta-button:hover::after {
    background:
        /* Diamond pattern */
        repeating-linear-gradient(
            45deg,
            transparent 0px,
            transparent 10px,
            rgba(0, 0, 0, 0.1) 10px,
            rgba(0, 0, 0, 0.1) 11px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent 0px,
            transparent 10px,
            rgba(0, 0, 0, 0.1) 10px,
            rgba(0, 0, 0, 0.1) 11px
        ),
        /* Brighter highlight */
        radial-gradient(ellipse at 50% 30%, rgba(255, 200, 150, 0.25) 0%, transparent 50%),
        /* Lighter base on hover */
        linear-gradient(180deg,
            #b85060 0%,
            #a04050 20%,
            #7b2a38 50%,
            #5a1c25 80%,
            #3a1015 100%);
}

.cta-button:active {
    transform: translateY(2px) scale(0.98);
    transition: all 0.1s ease;
    box-shadow:
        inset 0 4px 10px rgba(0, 0, 0, 0.5),
        0 2px 6px rgba(0, 0, 0, 0.4);
    text-shadow:
        0 0 10px rgba(212, 164, 76, 0.5),
        0 2px 2px rgba(0, 0, 0, 0.8);
}

.cta-button:active::before {
    filter: brightness(0.9);
}

/* Icon styling for CTA button */
.cta-button i {
    font-size: 1.2rem;
    transition: all 0.2s ease;
    filter: drop-shadow(0 0 5px currentColor);
}

.cta-button:hover i {
    transform: scale(1.15);
    filter: drop-shadow(0 0 10px currentColor);
}

.cta-text {
    transition: opacity 0.2s ease;
}

.cta-copied {
    position: absolute;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.cta-button.copied .cta-text {
    opacity: 0;
}

.cta-button.copied .cta-copied {
    opacity: 1;
}

/* Click to Copy Hint */
.cta-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gold);
    opacity: 0.7;
    transition: all 0.3s ease;
    animation: hintPulse 2s ease-in-out infinite;
}

.cta-hint i {
    font-size: 0.9rem;
    animation: hintBounce 1.5s ease-in-out infinite;
}

@keyframes hintPulse {
    0%, 100% {
        opacity: 0.5;
        text-shadow: 0 0 5px rgba(212, 164, 76, 0.3);
    }
    50% {
        opacity: 0.9;
        text-shadow: 0 0 15px rgba(212, 164, 76, 0.6);
    }
}

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

.cta-button:hover + .cta-hint {
    opacity: 1;
    color: var(--gold-light);
    text-shadow: 0 0 20px rgba(212, 164, 76, 0.8);
    animation: none;
}

.cta-button:hover + .cta-hint i {
    animation: none;
    transform: scale(1.1);
}

/* Player Info - Dynamic Text Below CTA */
.player-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.status-indicator {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(74, 222, 128, 0.5);
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(0.9); }
}

.player-text {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* Scroll Hint */
.scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.6;
    animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    position: relative;
}

.scroll-wheel {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--gold);
    border-radius: 2px;
    animation: scrollWheel 1.5s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

@keyframes scrollWheel {
    0%, 100% { opacity: 1; top: 8px; }
    50% { opacity: 0.3; top: 16px; }
}

/* =========================================
   SECTIONS - Below the Fold
   ========================================= */

.section {
    padding: 100px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-title {
    font-family: 'Cinzel Decorative', 'Cinzel', serif;
    font-size: clamp(2rem, 4vw, 2.75rem);
    text-align: center;
    margin-bottom: 60px;
    color: var(--gold);
    text-shadow: 0 2px 20px rgba(212, 164, 76, 0.3);
}

/* News Section */
.section-news {
    background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.news-card {
    background: linear-gradient(180deg, rgba(45, 31, 20, 0.8) 0%, rgba(26, 20, 16, 0.9) 100%);
    border: 1px solid rgba(212, 164, 76, 0.2);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
    box-shadow: var(--glow-gold);
}

.news-image {
    height: 180px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-body {
    padding: 24px;
}

.news-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--maroon);
    color: var(--gold-light);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.news-body h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--text-light);
}

.news-body p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Features Section */
.section-features {
    background: var(--bg-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.feature {
    text-align: center;
    padding: 32px 24px;
    background: rgba(45, 31, 20, 0.4);
    border: 1px solid rgba(212, 164, 76, 0.15);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature:hover {
    border-color: var(--gold);
    background: rgba(45, 31, 20, 0.6);
    transform: translateY(-4px);
}

.feature-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--bronze) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--glow-gold);
}

.feature-icon i {
    font-size: 1.75rem;
    color: var(--wood-dark);
}

.feature h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: var(--gold-light);
}

.feature p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* =========================================
   FOOTER
   ========================================= */

.footer {
    background: var(--bg-darker);
    border-top: 1px solid rgba(212, 164, 76, 0.15);
    padding: 48px 0 32px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
}

.footer-logo {
    height: 48px;
    width: auto;
    margin-bottom: 8px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-copy {
    padding-top: 24px;
    border-top: 1px solid rgba(212, 164, 76, 0.1);
    width: 100%;
}

.footer-copy p {
    color: var(--text-dim);
    font-size: 0.8rem;
}

/* =========================================
   NEW CONTENT SECTIONS
   ========================================= */

/* Section Subtitle */
.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: -40px auto 50px;
    line-height: 1.6;
}

/* Two Worlds Section */
.section-worlds {
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
}

.worlds-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.world-card {
    background: linear-gradient(180deg, rgba(45, 31, 20, 0.6) 0%, rgba(26, 20, 16, 0.8) 100%);
    border: 1px solid rgba(212, 164, 76, 0.2);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.world-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 20px rgba(212, 164, 76, 0.15);
}

.world-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.world-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(26, 20, 16, 0.9) 100%);
}

.world-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.world-card:hover .world-image img {
    transform: scale(1.05);
}

.world-content {
    padding: 28px 32px 32px;
    text-align: center;
}

.world-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.75rem;
    color: var(--gold);
    margin-bottom: 8px;
}

.world-tag {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(212, 164, 76, 0.15);
    color: var(--gold-light);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.world-content > p {
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.6;
}

.world-stats {
    list-style: none;
    text-align: left;
}

.world-stats li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-top: 1px solid rgba(212, 164, 76, 0.1);
    color: var(--text-light);
    font-size: 0.95rem;
}

.world-stats li i {
    color: var(--gold);
    width: 20px;
    text-align: center;
}

.world-stats li strong {
    color: var(--gold-light);
}

/* Classes Section */
.section-classes {
    background: var(--bg-darker);
}

.classes-showcase {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    align-items: start;
}

.stats-panel {
    background: linear-gradient(180deg, rgba(45, 31, 20, 0.8) 0%, rgba(26, 20, 16, 0.9) 100%);
    border: 1px solid rgba(212, 164, 76, 0.25);
    border-radius: 12px;
    padding: 28px;
}

.stats-panel h4 {
    font-family: 'Cinzel', serif;
    color: var(--gold);
    font-size: 1rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.stat-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    border-left: 3px solid var(--gold);
    transition: all 0.2s ease;
}

.stat-item:hover {
    background: rgba(212, 164, 76, 0.1);
    transform: translateX(4px);
}

.stat-item i {
    color: var(--gold);
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
}

.stat-item span {
    color: var(--text-light);
    font-weight: 500;
}

.class-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.class-feature {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    background: linear-gradient(135deg, rgba(45, 31, 20, 0.5) 0%, rgba(26, 20, 16, 0.7) 100%);
    border: 1px solid rgba(212, 164, 76, 0.15);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.class-feature:hover {
    border-color: var(--gold);
    transform: translateX(4px);
}

.class-feature > i {
    font-size: 1.5rem;
    color: var(--gold);
    margin-top: 4px;
}

.class-feature h4 {
    font-family: 'Cinzel', serif;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.class-feature p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Items Section */
.section-items {
    background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
}

.items-showcase {
    margin-bottom: 50px;
}

.item-examples {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.item-card {
    background: linear-gradient(180deg, rgba(45, 31, 20, 0.6) 0%, rgba(26, 20, 16, 0.8) 100%);
    border: 1px solid rgba(212, 164, 76, 0.2);
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.item-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.item-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.item-icon i {
    font-size: 1.75rem;
    color: var(--text-light);
}

.item-icon.sword {
    background: linear-gradient(135deg, #4a90d9 0%, #2563eb 100%);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

.item-icon.staff {
    background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
}

.item-icon.bow {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    box-shadow: 0 4px 15px rgba(22, 163, 74, 0.4);
}

.item-card h4 {
    font-family: 'Cinzel', serif;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.item-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Crafting System */
.crafting-system {
    background: linear-gradient(180deg, rgba(45, 31, 20, 0.5) 0%, rgba(26, 20, 16, 0.7) 100%);
    border: 1px solid rgba(212, 164, 76, 0.2);
    border-radius: 16px;
    padding: 40px;
}

.crafting-system > h3 {
    font-family: 'Cinzel', serif;
    color: var(--gold);
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.crafting-skills {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

.craft-skill {
    text-align: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.craft-skill:hover {
    background: rgba(212, 164, 76, 0.1);
    transform: translateY(-2px);
}

.craft-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(212, 164, 76, 0.3);
}

.craft-icon i {
    font-size: 1.5rem;
    color: var(--wood-dark);
}

.craft-skill h4 {
    font-family: 'Cinzel', serif;
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 6px;
}

.craft-skill p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.crafting-note {
    text-align: center;
    color: var(--gold-light);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Dungeons Section */
.section-dungeons {
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.section-dungeons::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 100%, rgba(114, 47, 55, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.dungeon-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 40px;
}

.dungeon-stat {
    text-align: center;
    padding: 40px 24px;
    background: linear-gradient(180deg, rgba(114, 47, 55, 0.3) 0%, rgba(45, 31, 20, 0.5) 100%);
    border: 1px solid rgba(212, 164, 76, 0.2);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.dungeon-stat:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
    box-shadow: 0 8px 32px rgba(114, 47, 55, 0.3);
}

.dungeon-number {
    font-family: 'Cinzel Decorative', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 8px;
    text-shadow: 0 0 20px rgba(212, 164, 76, 0.5);
}

.dungeon-label {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

.dungeon-stat > p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.dungeon-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.dungeon-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(45, 31, 20, 0.5);
    border: 1px solid rgba(212, 164, 76, 0.15);
    border-radius: 30px;
}

.dungeon-feature i {
    color: var(--gold);
    font-size: 1rem;
}

.dungeon-feature span {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
}

/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 768px) {
    :root {
        --header-height: 56px;
    }

    .nav {
        justify-content: center;
    }

    .nav-left,
    .nav-right {
        display: none;
    }

    .nav.active .nav-left,
    .nav.active .nav-right {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: rgba(15, 12, 9, 0.95);
        padding: 16px;
        border-bottom: 1px solid rgba(212, 164, 76, 0.2);
    }

    .nav.active .nav-left {
        top: var(--header-height);
    }

    .nav.active .nav-right {
        top: calc(var(--header-height) + 140px);
    }

    .mobile-toggle {
        display: flex;
    }

    .nav-home-btn {
        display: none;
    }

    .main-logo {
        max-width: 280px;
    }

    .cta-button {
        padding: 14px 36px;
        font-size: 0.95rem;
        min-width: 280px;
    }

    .cta-button i {
        font-size: 1rem;
    }

    .nav-btn {
        padding: 10px 18px;
        font-size: 0.75rem;
    }

    /* Simplify complex clip-paths on mobile */
    .nav-btn-gold::before,
    .nav-btn-gold::after {
        clip-path: polygon(6px 0, calc(100% - 6px) 0, 100% 50%, calc(100% - 6px) 100%, 6px 100%, 0 50%);
    }

    .nav-btn-gold {
        animation: none;
    }

    .section {
        padding: 60px 0;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .feature {
        padding: 24px 16px;
    }

    /* Worlds Section - Tablet */
    .worlds-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .world-image {
        height: 180px;
    }

    .world-content {
        padding: 24px;
    }

    /* Classes Section - Tablet */
    .classes-showcase {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .stats-panel {
        order: -1;
    }

    /* Items Section - Tablet */
    .item-examples {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .crafting-skills {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .crafting-system {
        padding: 28px 20px;
    }

    /* Dungeons Section - Tablet */
    .dungeon-features {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .dungeon-stat {
        padding: 28px 16px;
    }

    .dungeon-number {
        font-size: 2.75rem;
    }

    .dungeon-info {
        gap: 16px;
    }

    .dungeon-feature {
        padding: 10px 18px;
    }

    .section-subtitle {
        font-size: 1rem;
        margin: -30px auto 40px;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .cta-button {
        min-width: 240px;
        padding: 12px 28px;
        font-size: 0.85rem;
        letter-spacing: 1px;
    }

    .cta-button i {
        font-size: 0.9rem;
    }

    /* Worlds Section - Mobile */
    .world-image {
        height: 150px;
    }

    .world-content {
        padding: 20px;
    }

    .world-card h3 {
        font-size: 1.5rem;
    }

    /* Classes Section - Mobile */
    .stats-panel {
        padding: 20px;
    }

    .stat-item {
        padding: 10px 12px;
        gap: 10px;
    }

    .class-feature {
        padding: 16px;
        gap: 14px;
        flex-direction: column;
        text-align: center;
    }

    .class-feature > i {
        margin-top: 0;
    }

    /* Items Section - Mobile */
    .item-examples {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .item-card {
        padding: 24px 20px;
    }

    .crafting-skills {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .crafting-system {
        padding: 24px 16px;
    }

    .crafting-system > h3 {
        font-size: 1.25rem;
    }

    .craft-skill {
        padding: 20px;
    }

    /* Dungeons Section - Mobile */
    .dungeon-features {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .dungeon-stat {
        padding: 24px 20px;
    }

    .dungeon-number {
        font-size: 2.5rem;
    }

    .dungeon-info {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .dungeon-feature {
        width: 100%;
        justify-content: center;
    }

    .section-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
        margin-bottom: 40px;
    }

    .section-subtitle {
        font-size: 0.9rem;
        margin: -25px auto 30px;
        padding: 0 10px;
    }
}

/* =========================================
   ANIMATIONS
   ========================================= */

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

.fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* Subtle parallax ready class */
.parallax-bg {
    will-change: transform;
}

/* =========================================
   REDUCED MOTION & PERFORMANCE
   ========================================= */

/* Reduce particles on mobile for performance */
@media (max-width: 768px) {
    /* Show only half the particles on mobile */
    .particle:nth-child(even) {
        display: none;
    }

    .ember:nth-child(even) {
        display: none;
    }

    .light-rays {
        opacity: 0.3;
    }
}

/* =========================================
   STORE PAGE STYLES
   ========================================= */

/* Store Hero */
.store-hero {
    padding: 140px 0 60px;
    background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
    text-align: center;
    position: relative;
}

.store-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(212, 164, 76, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.store-logo-link {
    display: inline-block;
    margin-bottom: 24px;
}

.store-logo {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(184, 134, 46, 0.5));
    transition: transform 0.3s ease;
}

.store-logo-link:hover .store-logo {
    transform: scale(1.05);
}

.store-title {
    font-family: 'Cinzel Decorative', serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--gold);
    margin-bottom: 12px;
    text-shadow: 0 2px 20px rgba(212, 164, 76, 0.4);
}

.store-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.store-notice {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(212, 164, 76, 0.1);
    border: 1px solid rgba(212, 164, 76, 0.2);
    border-radius: 30px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.store-notice i {
    color: var(--gold);
}

.store-notice code {
    background: rgba(0, 0, 0, 0.3);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: monospace;
    color: var(--gold-light);
}

/* Store Navigation */
.store-nav-section {
    background: var(--bg-dark);
    padding: 24px 0;
    border-bottom: 1px solid rgba(212, 164, 76, 0.15);
    position: sticky;
    top: var(--header-height);
    z-index: 100;
}

.store-categories {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.store-cat-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(45, 31, 20, 0.5);
    border: 1px solid rgba(212, 164, 76, 0.2);
    border-radius: 30px;
    color: var(--text-muted);
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.store-cat-btn:hover {
    background: rgba(212, 164, 76, 0.1);
    border-color: var(--gold);
    color: var(--text-light);
}

.store-cat-btn.active {
    background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 100%);
    border-color: var(--gold);
    color: var(--bg-darker);
}

.store-cat-btn i {
    font-size: 1rem;
}

/* Store Items Section */
.store-items-section {
    background: var(--bg-darker);
    padding: 60px 0 80px;
}

.store-category {
    margin-bottom: 60px;
}

.store-category:last-child {
    margin-bottom: 0;
}

.category-title {
    font-family: 'Cinzel', serif;
    font-size: 1.75rem;
    color: var(--gold);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.category-title i {
    font-size: 1.5rem;
}

.category-desc {
    color: var(--text-muted);
    margin-bottom: 32px;
}

.store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

/* Store Item Card */
.store-item {
    background: linear-gradient(180deg, rgba(45, 31, 20, 0.6) 0%, rgba(26, 20, 16, 0.8) 100%);
    border: 1px solid rgba(212, 164, 76, 0.2);
    border-radius: 16px;
    padding: 32px 28px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.store-item:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 20px rgba(212, 164, 76, 0.15);
}

/* Item Badge */
.item-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    padding: 6px 14px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 20px;
}

.item-badge.popular {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--bg-darker);
}

.item-badge.value {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
}

.item-badge.premium {
    background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
    color: white;
}

/* Item Icon */
.item-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.item-icon.hypergem {
    background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
}

.item-icon.sponzor-bronze {
    background: linear-gradient(135deg, #cd7f32 0%, #a0522d 100%);
    box-shadow: 0 4px 20px rgba(205, 127, 50, 0.4);
}

.item-icon.sponzor-silver {
    background: linear-gradient(135deg, #c0c0c0 0%, #808080 100%);
    box-shadow: 0 4px 20px rgba(192, 192, 192, 0.4);
}

.item-icon.sponzor-gold {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    box-shadow: 0 4px 20px rgba(212, 164, 76, 0.4);
}

.item-icon.bundle {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
}

.item-icon.bundle-premium {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4);
}

.item-icon.other {
    background: linear-gradient(135deg, var(--maroon) 0%, var(--crimson) 100%);
    box-shadow: 0 4px 20px rgba(114, 47, 55, 0.4);
}

/* Item Image (for gem packages) */
.item-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    border-radius: 12px;
    overflow: hidden;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.store-item:hover .item-image img {
    transform: scale(1.05);
}

/* Hypergem items purple theme */
.store-item[data-category="hypergemy"] {
    background: linear-gradient(180deg, rgba(30, 10, 50, 0.9) 0%, rgba(20, 5, 35, 0.95) 100%);
    border-color: rgba(168, 85, 247, 0.5);
}

.store-item[data-category="hypergemy"]:hover {
    border-color: rgba(192, 132, 252, 0.8);
    box-shadow: 0 8px 40px rgba(139, 92, 246, 0.3);
}

/* Hypergemy category title */
#cat-hypergemy .category-title {
    color: #c4b5fd;
}

#cat-hypergemy .category-title i {
    color: #a855f7;
}

#cat-hypergemy .category-desc {
    color: rgba(196, 181, 253, 0.7);
}

.store-item[data-category="hypergemy"] {
    padding: 24px 20px;
}

.store-item[data-category="hypergemy"] .item-image {
    width: 120px;
    height: 120px;
    margin-bottom: 15px;
}

.store-item[data-category="hypergemy"] h3 {
    color: #e9d5ff;
}

.store-item[data-category="hypergemy"] .item-price {
    color: #c4b5fd;
}

.store-item[data-category="hypergemy"] .buy-btn {
    background: linear-gradient(135deg, #9333ea 0%, #7c3aed 100%);
}

.store-item[data-category="hypergemy"] .buy-btn:hover {
    background: linear-gradient(135deg, #a855f7 0%, #8b5cf6 100%);
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.5);
}

.store-item h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

.item-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

/* Item Features List */
.item-features {
    list-style: none;
    text-align: left;
    margin-bottom: 20px;
    padding: 16px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.item-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

.item-features li i {
    color: var(--gold);
    width: 18px;
    text-align: center;
}

/* Item Price */
.item-price {
    font-family: 'Cinzel', serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 8px;
}

.item-price span {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 400;
}

.item-old-price {
    font-size: 1rem;
    color: var(--text-dim);
    text-decoration: line-through;
    margin-bottom: 8px;
}

.item-bonus {
    font-size: 0.85rem;
    color: #22c55e;
    font-weight: 600;
    margin-bottom: 16px;
}

/* Buy Button */
.buy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    border: none;
    border-radius: 10px;
    color: var(--bg-darker);
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.buy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 164, 76, 0.4);
}

.buy-btn:active {
    transform: translateY(0);
}

/* Payment Section */
.store-payment-section {
    background: var(--bg-dark);
    padding: 60px 0;
}

.payment-info {
    background: linear-gradient(180deg, rgba(45, 31, 20, 0.5) 0%, rgba(26, 20, 16, 0.7) 100%);
    border: 1px solid rgba(212, 164, 76, 0.2);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
}

.payment-info h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.payment-methods {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.payment-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 40px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
}

.payment-method i {
    font-size: 2rem;
    color: var(--gold);
}

.payment-method span {
    font-weight: 600;
    color: var(--text-light);
}

.payment-method small {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.payment-note {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.payment-note i {
    color: var(--gold);
}

.payment-note a {
    color: var(--gold);
    text-decoration: underline;
}

.payment-note a:hover {
    color: var(--gold-light);
}

/* Store Responsive */
@media (max-width: 768px) {
    .store-hero {
        padding: 120px 0 40px;
    }

    .store-logo {
        max-width: 150px;
    }

    .store-notice {
        flex-direction: column;
        text-align: center;
    }

    .store-categories {
        gap: 8px;
    }

    .store-cat-btn {
        padding: 10px 16px;
        font-size: 0.75rem;
    }

    .store-cat-btn span {
        display: none;
    }

    .store-grid {
        grid-template-columns: 1fr;
    }

    .payment-methods {
        flex-direction: column;
        gap: 16px;
    }

    .payment-method {
        padding: 16px 24px;
    }
}

@media (max-width: 480px) {
    .store-item {
        padding: 24px 20px;
    }

    .item-icon {
        width: 64px;
        height: 64px;
        font-size: 1.5rem;
    }

    .item-price {
        font-size: 1.5rem;
    }

    .payment-info {
        padding: 24px 16px;
    }
}

/* =========================================
   SUBPAGE STYLES (Nábor, Pravidla, A-Team)
   ========================================= */

/* Page Body */
.page-body {
    padding-top: var(--header-height);
}

/* Page Hero */
.page-hero {
    position: relative;
    padding: 80px 0 60px;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(212, 164, 76, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.page-logo-link {
    display: inline-block;
    margin-bottom: 24px;
}

.page-logo {
    max-width: 180px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(184, 134, 46, 0.5));
    transition: transform 0.3s ease;
}

.page-logo-link:hover .page-logo {
    transform: scale(1.05);
}

.page-title {
    font-family: 'Cinzel Decorative', serif;
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--gold);
    margin-bottom: 12px;
    text-shadow: 0 2px 20px rgba(212, 164, 76, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.page-title i {
    font-size: 0.9em;
}

.page-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Page Content */
.page-content {
    padding: 60px 0 80px;
    background: var(--bg-darker);
    min-height: 50vh;
}

/* Page Footer */
.page-footer {
    background: var(--bg-darker);
    border-top: 1px solid rgba(212, 164, 76, 0.15);
    padding: 32px 0;
    text-align: center;
}

.page-footer p {
    color: var(--text-dim);
    font-size: 0.85rem;
}

/* Content Card */
.content-card {
    background: linear-gradient(180deg, rgba(45, 31, 20, 0.6) 0%, rgba(26, 20, 16, 0.8) 100%);
    border: 1px solid rgba(212, 164, 76, 0.2);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 40px;
}

.content-card.highlight-card {
    text-align: center;
    border-color: rgba(212, 164, 76, 0.3);
    background: linear-gradient(180deg, rgba(212, 164, 76, 0.1) 0%, rgba(26, 20, 16, 0.8) 100%);
}

.content-card.highlight-card p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* CTA Button (subpages) */
.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    border: none;
    border-radius: 10px;
    color: var(--bg-darker);
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 164, 76, 0.4);
}

.cta-btn:active {
    transform: translateY(0);
}

/* =========================================
   NÁBOR PAGE - POSITIONS GRID
   ========================================= */

.positions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 60px;
}

.position-card {
    background: linear-gradient(180deg, rgba(45, 31, 20, 0.6) 0%, rgba(26, 20, 16, 0.8) 100%);
    border: 1px solid rgba(212, 164, 76, 0.2);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
}

.position-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 20px rgba(212, 164, 76, 0.1);
}

.position-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.75rem;
    color: white;
}

.position-icon.helper {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
}

.position-icon.builder {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4);
}

.position-icon.technik {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    box-shadow: 0 4px 20px rgba(75, 85, 99, 0.4);
}

.position-icon.content-dev {
    background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
}

.position-card h2 {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 24px;
}

.position-duties,
.position-requirements {
    margin-bottom: 20px;
}

.position-duties h3,
.position-requirements h3 {
    font-family: 'Cinzel', serif;
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.position-duties h3 i,
.position-requirements h3 i {
    color: var(--gold);
    font-size: 0.9rem;
}

.position-duties ul,
.position-requirements ul {
    list-style: none;
}

.position-duties li,
.position-requirements li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(212, 164, 76, 0.1);
}

.position-duties li:last-child,
.position-requirements li:last-child {
    border-bottom: none;
}

.position-duties li::before {
    content: '•';
    position: absolute;
    left: 8px;
    color: var(--gold);
}

.position-requirements li::before {
    content: '';
}

.req-mandatory,
.req-recommended {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-right: 8px;
}

.req-mandatory {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.req-recommended {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

/* Apply Section */
.apply-section {
    text-align: center;
    padding: 48px;
    background: linear-gradient(180deg, rgba(212, 164, 76, 0.1) 0%, rgba(26, 20, 16, 0.8) 100%);
    border: 1px solid rgba(212, 164, 76, 0.3);
    border-radius: 16px;
}

.apply-section h2 {
    font-family: 'Cinzel', serif;
    font-size: 1.75rem;
    color: var(--gold);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.apply-section p {
    color: var(--text-muted);
    margin-bottom: 24px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* =========================================
   PRAVIDLA PAGE - RULES
   ========================================= */

.rules-content {
    max-width: 900px;
    margin: 0 auto;
}

.rules-section {
    margin-bottom: 48px;
}

.rules-section h2 {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(212, 164, 76, 0.3);
    display: flex;
    align-items: center;
    gap: 12px;
}

.rules-section h2 i {
    font-size: 1.25rem;
}

.rule-item {
    background: linear-gradient(180deg, rgba(45, 31, 20, 0.4) 0%, rgba(26, 20, 16, 0.6) 100%);
    border: 1px solid rgba(212, 164, 76, 0.15);
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 16px;
    display: flex;
    gap: 16px;
    transition: all 0.3s ease;
}

.rule-item:hover {
    border-color: rgba(212, 164, 76, 0.4);
    transform: translateX(4px);
}

.rule-item:last-child {
    margin-bottom: 0;
}

.rule-number {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--bg-darker);
}

.rule-content h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 6px;
}

.rule-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.rule-content p strong {
    color: var(--gold-light);
}

/* Rules Note */
.rules-note {
    text-align: center;
    padding: 32px;
    background: rgba(114, 47, 55, 0.15);
    border: 1px solid rgba(114, 47, 55, 0.3);
    border-radius: 12px;
    margin-top: 48px;
}

.rules-note p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.rules-note i {
    color: var(--maroon-light);
    margin-right: 8px;
}

/* =========================================
   A-TEAM PAGE - TEAM MEMBERS
   ========================================= */

.team-content {
    padding-bottom: 100px;
}

.team-section {
    margin-bottom: 48px;
}

.team-rank {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    margin-bottom: 24px;
    padding: 16px 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.team-rank i {
    font-size: 1.25rem;
}

.team-rank.owner {
    background: linear-gradient(135deg, rgba(153, 27, 27, 0.3) 0%, rgba(127, 29, 29, 0.2) 100%);
    border: 1px solid rgba(185, 28, 28, 0.4);
    color: #dc2626;
}

.team-rank.admin {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(248, 113, 113, 0.1) 100%);
    border: 1px solid rgba(248, 113, 113, 0.3);
    color: #f87171;
}

.team-rank.moderator {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2) 0%, rgba(139, 92, 246, 0.1) 100%);
    border: 1px solid rgba(168, 85, 247, 0.3);
    color: #a855f7;
}

.team-rank.helper {
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.2) 0%, rgba(250, 204, 21, 0.1) 100%);
    border: 1px solid rgba(234, 179, 8, 0.3);
    color: #facc15;
}

.team-rank.technik {
    background: linear-gradient(135deg, rgba(132, 204, 22, 0.2) 0%, rgba(163, 230, 53, 0.1) 100%);
    border: 1px solid rgba(132, 204, 22, 0.3);
    color: #a3e635;
}

.team-rank.builder {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(96, 165, 250, 0.1) 100%);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #60a5fa;
}

.team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.team-card {
    width: 280px;
    flex-shrink: 0;
    background: linear-gradient(180deg, rgba(45, 31, 20, 0.6) 0%, rgba(26, 20, 16, 0.8) 100%);
    border: 1px solid rgba(212, 164, 76, 0.2);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 20px rgba(212, 164, 76, 0.1);
}

.team-card.owner-card {
    border-color: rgba(185, 28, 28, 0.4);
    background: linear-gradient(180deg, rgba(153, 27, 27, 0.15) 0%, rgba(26, 20, 16, 0.8) 100%);
}

.team-card.owner-card:hover {
    border-color: #dc2626;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 20px rgba(185, 28, 28, 0.2);
}

.team-card.admin-card {
    border-color: rgba(248, 113, 113, 0.3);
    background: linear-gradient(180deg, rgba(239, 68, 68, 0.1) 0%, rgba(26, 20, 16, 0.8) 100%);
}

.team-card.admin-card:hover {
    border-color: #f87171;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 20px rgba(248, 113, 113, 0.2);
}

.team-card.moderator-card {
    border-color: rgba(168, 85, 247, 0.3);
    background: linear-gradient(180deg, rgba(168, 85, 247, 0.1) 0%, rgba(26, 20, 16, 0.8) 100%);
}

.team-card.moderator-card:hover {
    border-color: #a855f7;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 20px rgba(168, 85, 247, 0.2);
}

.team-card.helper-card {
    border-color: rgba(234, 179, 8, 0.3);
    background: linear-gradient(180deg, rgba(234, 179, 8, 0.1) 0%, rgba(26, 20, 16, 0.8) 100%);
}

.team-card.helper-card:hover {
    border-color: #facc15;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 20px rgba(234, 179, 8, 0.2);
}

.team-card.technik-card {
    border-color: rgba(132, 204, 22, 0.3);
    background: linear-gradient(180deg, rgba(132, 204, 22, 0.1) 0%, rgba(26, 20, 16, 0.8) 100%);
}

.team-card.technik-card:hover {
    border-color: #a3e635;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 20px rgba(132, 204, 22, 0.2);
}

.team-card.builder-card {
    border-color: rgba(59, 130, 246, 0.3);
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.1) 0%, rgba(26, 20, 16, 0.8) 100%);
}

.team-card.builder-card:hover {
    border-color: #60a5fa;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 20px rgba(59, 130, 246, 0.2);
}

.team-avatar {
    position: relative;
    margin-bottom: 20px;
    display: inline-block;
}

.avatar-body {
    height: 150px;
    width: auto;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}

.avatar-head {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    border: 3px solid rgba(212, 164, 76, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.team-info h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.35rem;
    color: var(--text-light);
    margin-bottom: 6px;
}

.team-role {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(212, 164, 76, 0.15);
    color: var(--gold-light);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.owner-card .team-role {
    background: rgba(185, 28, 28, 0.2);
    color: #dc2626;
}

.admin-card .team-role {
    background: rgba(248, 113, 113, 0.2);
    color: #f87171;
}

.moderator-card .team-role {
    background: rgba(168, 85, 247, 0.2);
    color: #a855f7;
}

.helper-card .team-role {
    background: rgba(234, 179, 8, 0.2);
    color: #facc15;
}

.technik-card .team-role {
    background: rgba(132, 204, 22, 0.2);
    color: #a3e635;
}

.builder-card .team-role {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
}

.team-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.no-members {
    color: var(--text-dim);
    font-style: italic;
    padding: 20px;
    text-align: center;
    width: 100%;
}

/* Team CTA */
.team-cta {
    text-align: center;
    padding: 48px;
    background: linear-gradient(180deg, rgba(212, 164, 76, 0.1) 0%, rgba(26, 20, 16, 0.8) 100%);
    border: 1px solid rgba(212, 164, 76, 0.3);
    border-radius: 16px;
    margin-top: 40px;
}

.team-cta h2 {
    font-family: 'Cinzel', serif;
    font-size: 1.75rem;
    color: var(--gold);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.team-cta p {
    color: var(--text-muted);
    margin-bottom: 24px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Dropdown Active State for Subpages */
.nav-dropdown-menu a.active {
    background: rgba(212, 164, 76, 0.2);
    color: var(--gold);
}

/* =========================================
   AUTHENTICATION PAGES
   ========================================= */

.auth-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.auth-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 60px;
    background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
    position: relative;
}

.auth-content::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 20%, rgba(212, 164, 76, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.auth-container {
    width: 100%;
    max-width: 420px;
    position: relative;
    z-index: 1;
}

.auth-logo-link {
    display: block;
    text-align: center;
    margin-bottom: 32px;
}

.auth-logo {
    max-width: 160px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(184, 134, 46, 0.5));
    transition: transform 0.3s ease;
}

.auth-logo-link:hover .auth-logo {
    transform: scale(1.05);
}

.auth-card {
    background: linear-gradient(180deg, rgba(45, 31, 20, 0.8) 0%, rgba(26, 20, 16, 0.95) 100%);
    border: 1px solid rgba(212, 164, 76, 0.25);
    border-radius: 16px;
    padding: 40px 36px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.auth-title {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    color: var(--gold);
    text-align: center;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.auth-title i {
    font-size: 1.25rem;
}

/* Auth Form */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    position: relative;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

.form-group label i {
    color: var(--gold);
    font-size: 0.85rem;
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(212, 164, 76, 0.2);
    border-radius: 8px;
    color: var(--text-light);
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input::placeholder {
    color: var(--text-dim);
}

.form-group input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 164, 76, 0.15);
}

.form-group input[type="password"] {
    padding-right: 48px;
}

.password-toggle {
    position: absolute;
    right: 14px;
    top: 38px;
    background: none;
    border: none;
    color: var(--text-dim);
    cursor: pointer;
    padding: 4px;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: var(--gold);
}

.input-hint {
    display: block;
    font-size: 0.75rem;
    color: var(--text-dim);
    margin-top: 6px;
}

/* Password Strength */
.password-strength {
    height: 4px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 2px;
    margin-top: 8px;
    overflow: hidden;
}

.strength-bar {
    height: 100%;
    width: 0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.checkbox-label input {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(212, 164, 76, 0.4);
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-label input:checked + .checkmark {
    background: var(--gold);
    border-color: var(--gold);
}

.checkbox-label input:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid var(--bg-darker);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label a {
    color: var(--gold);
    text-decoration: underline;
}

.checkbox-label a:hover {
    color: var(--gold-light);
}

.forgot-link {
    font-size: 0.9rem;
    color: var(--gold);
    transition: color 0.3s ease;
}

.forgot-link:hover {
    color: var(--gold-light);
}

/* Auth Button */
.auth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    border: none;
    border-radius: 10px;
    color: var(--bg-darker);
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 164, 76, 0.4);
}

.auth-btn:active {
    transform: translateY(0);
}

/* Auth Divider */
.auth-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(212, 164, 76, 0.2);
}

.auth-divider span {
    font-size: 0.85rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Discord Button */
.discord-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 24px;
    background: #5865F2;
    border: none;
    border-radius: 10px;
    color: white;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.discord-btn:hover {
    background: #4752c4;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(88, 101, 242, 0.4);
}

.discord-btn i {
    font-size: 1.25rem;
}

/* Auth Switch */
.auth-switch {
    text-align: center;
    margin-top: 24px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.auth-switch a {
    color: var(--gold);
    font-weight: 600;
    text-decoration: underline;
}

.auth-switch a:hover {
    color: var(--gold-light);
}

/* Auth Notification */
.auth-notification {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.auth-notification.error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
}

.auth-notification.success {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #4ade80;
}

/* User Menu (for logged in state) */
.nav-auth-link.logged-in {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-avatar {
    width: 28px;
    height: 28px;
    border-radius: 4px;
    border: 2px solid var(--gold);
}

.user-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 240px;
    background: rgba(15, 12, 9, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 164, 76, 0.3);
    border-radius: 12px;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    z-index: 1001;
    overflow: hidden;
}

.user-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-menu-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(212, 164, 76, 0.1);
    border-bottom: 1px solid rgba(212, 164, 76, 0.15);
}

.user-menu-header img {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    border: 2px solid var(--gold);
}

.user-menu-header strong {
    display: block;
    color: var(--text-light);
    font-family: 'Cinzel', serif;
}

.user-menu-header span {
    font-size: 0.8rem;
    color: var(--text-dim);
}

.user-menu-links {
    padding: 8px 0;
}

.user-menu-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.user-menu-links a:hover {
    background: rgba(212, 164, 76, 0.1);
    color: var(--gold);
}

.user-menu-links a i {
    width: 18px;
    text-align: center;
    color: var(--gold);
    opacity: 0.7;
}

.user-menu-links a:hover i {
    opacity: 1;
}

/* Auth Page Responsive */
@media (max-width: 480px) {
    .auth-content {
        padding: 100px 16px 40px;
    }

    .auth-card {
        padding: 32px 24px;
    }

    .auth-title {
        font-size: 1.25rem;
    }

    .form-options {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* =========================================
   VOTING PAGE
   ========================================= */

.voting-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 48px;
}

.voting-card {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 28px 32px;
    background: linear-gradient(180deg, rgba(45, 31, 20, 0.6) 0%, rgba(26, 20, 16, 0.8) 100%);
    border: 1px solid rgba(212, 164, 76, 0.25);
    border-radius: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.voting-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 0% 50%, rgba(212, 164, 76, 0.1) 0%, transparent 50%);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.voting-card:hover {
    border-color: var(--gold);
    transform: translateX(8px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 20px rgba(212, 164, 76, 0.1);
}

.voting-card.on-cooldown {
    border-color: rgba(100, 100, 100, 0.3);
    background: linear-gradient(180deg, rgba(40, 40, 40, 0.4) 0%, rgba(26, 26, 26, 0.6) 100%);
}

.voting-card.on-cooldown::before {
    opacity: 0;
}

.voting-card.on-cooldown:hover {
    transform: none;
    box-shadow: none;
    border-color: rgba(100, 100, 100, 0.3);
}

.voting-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--bg-darker);
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(212, 164, 76, 0.3);
    transition: all 0.3s ease;
}

.voting-card:hover .voting-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(212, 164, 76, 0.5);
}

.voting-card.on-cooldown .voting-icon {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    box-shadow: none;
}

.voting-info {
    flex: 1;
}

.voting-info h2 {
    font-family: 'Cinzel', serif;
    font-size: 1.35rem;
    color: var(--text-light);
    margin-bottom: 4px;
}

.voting-card.on-cooldown .voting-info h2 {
    color: var(--text-muted);
}

.voting-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.voting-card.on-cooldown .voting-info p {
    color: var(--text-dim);
}

.voting-status {
    text-align: center;
    min-width: 100px;
}

.cooldown-timer {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    color: var(--gold);
    font-weight: 600;
}

.voting-card.on-cooldown .cooldown-timer {
    color: #f87171;
}

.voting-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    border: none;
    border-radius: 10px;
    color: var(--bg-darker);
    font-family: 'Cinzel', serif;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    flex-shrink: 0;
    animation: voteGlow 2s ease-in-out infinite;
}

@keyframes voteGlow {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(212, 164, 76, 0.3);
    }
    50% {
        box-shadow: 0 4px 25px rgba(212, 164, 76, 0.6);
    }
}

.voting-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(212, 164, 76, 0.5);
}

.voting-btn.disabled {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    color: var(--text-dim);
    cursor: not-allowed;
    animation: none;
    box-shadow: none;
}

.voting-btn.disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Voting Rewards */
.voting-rewards {
    text-align: center;
    padding: 40px;
    background: linear-gradient(180deg, rgba(212, 164, 76, 0.08) 0%, rgba(26, 20, 16, 0.6) 100%);
    border: 1px solid rgba(212, 164, 76, 0.2);
    border-radius: 16px;
}

.voting-rewards h2 {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.rewards-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.reward-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 32px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.reward-item:hover {
    background: rgba(212, 164, 76, 0.1);
    transform: translateY(-4px);
}

.reward-item i {
    font-size: 2rem;
    color: var(--gold);
}

.reward-item span {
    font-family: 'Cinzel', serif;
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 600;
}

/* Voting Responsive */
@media (max-width: 768px) {
    .voting-card {
        flex-wrap: wrap;
        padding: 24px;
        gap: 16px;
    }

    .voting-icon {
        width: 56px;
        height: 56px;
        font-size: 1.25rem;
    }

    .voting-info {
        flex: 1 1 calc(100% - 80px);
    }

    .voting-info h2 {
        font-size: 1.15rem;
    }

    .voting-status {
        order: 4;
        width: 100%;
        text-align: left;
    }

    .voting-btn {
        order: 3;
        width: auto;
    }

    .rewards-grid {
        gap: 20px;
    }

    .reward-item {
        padding: 16px 24px;
    }
}

@media (max-width: 480px) {
    .voting-card {
        flex-direction: column;
        text-align: center;
    }

    .voting-info {
        flex: none;
        width: 100%;
    }

    .voting-status {
        text-align: center;
    }

    .voting-btn {
        width: 100%;
        justify-content: center;
    }

    .rewards-grid {
        flex-direction: column;
        gap: 12px;
    }

    .reward-item {
        flex-direction: row;
        justify-content: center;
    }

    .reward-item i {
        font-size: 1.5rem;
    }
}

/* =========================================
   SUBPAGE RESPONSIVE
   ========================================= */

@media (max-width: 768px) {
    .page-hero {
        padding: 60px 0 40px;
    }

    .page-logo {
        max-width: 140px;
    }

    .page-title {
        flex-direction: column;
        gap: 8px;
    }

    .positions-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .position-card {
        padding: 24px;
    }

    .apply-section,
    .team-cta {
        padding: 32px 24px;
    }

    .rule-item {
        flex-direction: column;
        gap: 12px;
        padding: 16px 20px;
    }

    .rule-number {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .team-card {
        padding: 24px;
    }

    .avatar-body {
        height: 120px;
    }

    .avatar-head {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 480px) {
    .page-content {
        padding: 40px 0 60px;
    }

    .content-card {
        padding: 24px 20px;
    }

    .content-card.highlight-card p {
        font-size: 1rem;
    }

    .position-icon {
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
    }

    .position-card h2 {
        font-size: 1.25rem;
    }

    .rules-section h2 {
        font-size: 1.25rem;
    }

    .team-rank {
        font-size: 1.25rem;
        padding: 12px 16px;
    }
}

/* Respect user's reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .particle,
    .ember {
        animation: none !important;
        display: none;
    }

    .nav-btn-gold {
        animation: none !important;
    }

    .cta-button::before {
        animation: none !important;
    }

    .logo-wrapper {
        animation: none !important;
    }

    .main-logo {
        animation: none !important;
    }
}
