/* ==========================================
   CSS Variables & Reset
   ========================================== */
:root {
    /* Colors - Dark Theme with Rose/Gold Accents */
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-tertiary: #1a1a25;
    --bg-card: #15151f;

    --text-primary: #ffffff;
    --text-secondary: #b8b8c0;
    --text-muted: #6b6b75;

    --accent-primary: #c9a050;
    --accent-secondary: #9b3a3a;
    --accent-glow: rgba(201, 160, 80, 0.3);

    --border-color: rgba(255, 255, 255, 0.1);
    --border-accent: rgba(201, 160, 80, 0.3);

    /* Typography */
    --font-heading: 'Cinzel', serif;
    --font-body: 'Raleway', sans-serif;

    /* Spacing */
    --section-padding: 100px 0;
    --container-width: 1200px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

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

/* ==========================================
   Utility Classes
   ========================================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.accent {
    color: var(--accent-primary);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), #d4af61);
    color: var(--bg-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--accent-glow);
}

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

.btn-outline:hover {
    background: var(--accent-primary);
    color: var(--bg-primary);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1rem;
}

/* Discord Button */
.btn-discord {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #5865F2;
    color: #fff;
    border: none;
    padding: 10px 18px;
    font-size: 0.85rem;
    border-radius: 6px;
}

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

.discord-icon {
    width: 18px;
    height: 18px;
}

/* Play Now Button - Premium Style */
.btn-play {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #c9a050 0%, #f4d03f 50%, #c9a050 100%);
    background-size: 200% 200%;
    color: #0a0a0f;
    border: none;
    padding: 10px 22px;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    animation: shimmer 3s ease-in-out infinite;
    box-shadow:
        0 0 20px rgba(201, 160, 80, 0.4),
        0 0 40px rgba(201, 160, 80, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-play::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    animation: shine 2s ease-in-out infinite;
}

.btn-play:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow:
        0 0 30px rgba(201, 160, 80, 0.6),
        0 0 60px rgba(201, 160, 80, 0.3),
        0 10px 30px rgba(0, 0, 0, 0.3);
}

.play-icon {
    font-size: 0.7rem;
    filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.3));
}

@keyframes shimmer {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes shine {
    0% {
        left: -100%;
    }
    50%, 100% {
        left: 100%;
    }
}

/* Header CTA Group - Account + Play Now */
.header-cta-group {
    display: flex;
    align-items: stretch;
    height: 100%;
}

/* Mobile menu CTA clone - hidden on desktop */
.mobile-menu-cta {
    display: none;
}

/* Account Header Button */
.btn-account-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 35px;
    background: linear-gradient(180deg, #1a1a25 0%, #12121a 50%, #1a1a25 100%);
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none;
    border-left: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
}

.btn-account-header::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(201, 160, 80, 0.3), transparent);
}

.btn-account-header:hover {
    background: linear-gradient(180deg, #252530 0%, #1a1a25 50%, #252530 100%);
    color: var(--accent-primary);
}

.btn-account-header:hover .account-icon {
    stroke: var(--accent-primary);
}

.account-icon {
    width: 22px;
    height: 22px;
    stroke: var(--text-secondary);
    transition: stroke 0.3s ease;
}

/* Play Now Header Button - Full Height */
.btn-play-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 50px;
    background: linear-gradient(180deg, #c9a050 0%, #a8863f 50%, #c9a050 100%);
    background-size: 100% 200%;
    color: #0a0a0f;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    animation: shimmer-vertical 3s ease-in-out infinite;
    box-shadow:
        -5px 0 30px rgba(201, 160, 80, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.btn-play-header::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: shine-vertical 2.5s ease-in-out infinite;
}

.btn-play-header:hover {
    padding: 0 50px;
    background: linear-gradient(180deg, #d4af61 0%, #c9a050 50%, #d4af61 100%);
    box-shadow:
        -10px 0 40px rgba(201, 160, 80, 0.5),
        0 0 30px rgba(201, 160, 80, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-play-header .play-icon {
    font-size: 1rem;
    filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.3));
}

@keyframes shimmer-vertical {
    0%, 100% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 0% 100%;
    }
}

@keyframes shine-vertical {
    0% {
        top: -100%;
    }
    50%, 100% {
        top: 100%;
    }
}

/* ==========================================
   Particle Effects
   ========================================== */
#particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

/* Fire Spark Particles */
.spark-particle {
    position: absolute;
    pointer-events: none;
    border-radius: 50%;
    opacity: 0;
    animation: rise ease-out forwards, flicker 0.1s ease-in-out infinite alternate;
    will-change: transform, opacity;
}

/* Bright spark variant */
.spark-particle.spark-bright {
    animation: riseBright ease-out forwards, flickerBright 0.08s ease-in-out infinite alternate;
}

/* Ember variant - larger, slower */
.spark-particle.ember {
    animation: riseEmber ease-in-out forwards, flickerEmber 0.15s ease-in-out infinite alternate;
}

/* Main rise animation */
@keyframes rise {
    0% {
        opacity: 0;
        transform: translateY(0) translateX(0) scale(0.5);
    }
    5% {
        opacity: var(--flicker, 0.8);
        transform: translateY(-2vh) translateX(5px) scale(1);
    }
    20% {
        opacity: 1;
        transform: translateY(calc(var(--travel, 80vh) * -0.2)) translateX(var(--drift2, 20px)) scale(0.9);
    }
    50% {
        opacity: 0.7;
        transform: translateY(calc(var(--travel, 80vh) * -0.5)) translateX(calc(var(--drift, 50px) * 0.6)) scale(0.6);
    }
    80% {
        opacity: 0.3;
        transform: translateY(calc(var(--travel, 80vh) * -0.8)) translateX(var(--drift, 50px)) scale(0.3);
    }
    100% {
        opacity: 0;
        transform: translateY(calc(var(--travel, 80vh) * -1)) translateX(calc(var(--drift, 50px) * 1.2)) scale(0.1);
    }
}

/* Bright particles rise faster */
@keyframes riseBright {
    0% {
        opacity: 0;
        transform: translateY(0) translateX(0) scale(0.3);
    }
    3% {
        opacity: 1;
        transform: translateY(-1vh) translateX(3px) scale(1.2);
    }
    15% {
        opacity: 0.9;
        transform: translateY(calc(var(--travel, 80vh) * -0.15)) translateX(var(--drift2, 15px)) scale(1);
    }
    40% {
        opacity: 0.5;
        transform: translateY(calc(var(--travel, 80vh) * -0.4)) translateX(calc(var(--drift, 40px) * 0.5)) scale(0.5);
    }
    100% {
        opacity: 0;
        transform: translateY(calc(var(--travel, 80vh) * -0.7)) translateX(var(--drift, 40px)) scale(0);
    }
}

/* Embers rise slower and float more */
@keyframes riseEmber {
    0% {
        opacity: 0;
        transform: translateY(0) translateX(0) scale(0.8);
    }
    8% {
        opacity: 0.9;
        transform: translateY(-3vh) translateX(-10px) scale(1);
    }
    25% {
        opacity: 1;
        transform: translateY(calc(var(--travel, 80vh) * -0.25)) translateX(calc(var(--drift2, 30px) * 0.8)) scale(0.95);
    }
    50% {
        opacity: 0.8;
        transform: translateY(calc(var(--travel, 80vh) * -0.5)) translateX(calc(var(--drift, 60px) * 0.4)) scale(0.8);
    }
    75% {
        opacity: 0.4;
        transform: translateY(calc(var(--travel, 80vh) * -0.75)) translateX(calc(var(--drift, 60px) * 0.9)) scale(0.5);
    }
    100% {
        opacity: 0;
        transform: translateY(calc(var(--travel, 80vh) * -1)) translateX(var(--drift, 60px)) scale(0.2);
    }
}

/* Flicker animations for realistic fire effect */
@keyframes flicker {
    0% {
        opacity: var(--flicker, 0.8);
        filter: blur(0.5px) brightness(1);
    }
    100% {
        opacity: calc(var(--flicker, 0.8) * 0.7);
        filter: blur(0.8px) brightness(1.2);
    }
}

@keyframes flickerBright {
    0% {
        opacity: 1;
        filter: blur(0.3px) brightness(1.3);
    }
    100% {
        opacity: 0.85;
        filter: blur(0.5px) brightness(1.5);
    }
}

@keyframes flickerEmber {
    0% {
        opacity: var(--flicker, 0.9);
        filter: blur(1px) brightness(0.9);
    }
    100% {
        opacity: calc(var(--flicker, 0.9) * 0.85);
        filter: blur(1.2px) brightness(1.1);
    }
}


/* ==========================================
   Header / Navigation
   ========================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    z-index: 100;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-normal);
    display: flex;
    align-items: stretch;
}

.header-container {
    display: flex;
    align-items: center;
    padding: 0 20px;
    flex: 1;
}

.main-nav {
    position: fixed;
    left: 50%;
    top: 0;
    height: 70px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    z-index: 101;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    transition: var(--transition-normal);
}

.nav-links a:hover {
    color: var(--text-primary);
}

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

.header-actions {
    display: flex;
    gap: 15px;
}

.header-actions .btn {
    padding: 10px 20px;
    font-size: 0.85rem;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-normal);
}

/* ==========================================
   Hero Section
   ========================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('../images/bg.jpg') center center / cover no-repeat;
    background-attachment: fixed;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(180deg,
            rgba(10, 10, 15, 0.7) 0%,
            rgba(10, 10, 15, 0.5) 50%,
            rgba(10, 10, 15, 0.9) 100%),
        radial-gradient(ellipse at center,
            transparent 0%,
            rgba(10, 10, 15, 0.8) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 20px;
    text-shadow: 0 0 40px rgba(201, 160, 80, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 50px;
    letter-spacing: 2px;
}

/* Countdown */
.countdown-container {
    margin-bottom: 50px;
}

.countdown-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border-accent);
    padding: 20px 25px;
    border-radius: 8px;
    min-width: 90px;
}

.countdown-value {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-primary);
    line-height: 1;
}

.countdown-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 8px;
}

.countdown-separator {
    font-size: 2rem;
    color: var(--accent-primary);
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.mouse {
    display: block;
    width: 26px;
    height: 42px;
    border: 2px solid var(--text-muted);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0%, 100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    50% {
        opacity: 0.5;
        transform: translateX(-50%) translateY(10px);
    }
}

/* ==========================================
   Features Section
   ========================================== */
.features-section {
    padding: var(--section-padding);
    background:
        radial-gradient(ellipse at 0% 0%, rgba(201, 160, 80, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 100% 100%, rgba(155, 58, 58, 0.08) 0%, transparent 50%),
        linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 50%, var(--bg-secondary) 100%);
    position: relative;
    overflow: hidden;
}


.features-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 160, 80, 0.3), transparent);
}

.features-section .container {
    max-width: 1400px;
}

.about-section .container {
    max-width: 1400px;
}

.media-section .container {
    max-width: 1400px;
}

/* Bento Grid Layout */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 250px);
    gap: 25px;
}

.bento-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
    cursor: pointer;
}

.bento-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: var(--accent-primary);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(201, 160, 80, 0.2);
}

.bento-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: linear-gradient(
        180deg,
        rgba(10, 10, 15, 0.4) 0%,
        rgba(10, 10, 15, 0.6) 50%,
        rgba(10, 10, 15, 0.9) 100%
    );
    transition: all 0.4s ease;
}

.bento-card:hover .bento-overlay {
    background: linear-gradient(
        180deg,
        rgba(10, 10, 15, 0.2) 0%,
        rgba(10, 10, 15, 0.5) 50%,
        rgba(10, 10, 15, 0.85) 100%
    );
}

.bento-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px;
    z-index: 2;
    transform: translateY(10px);
    transition: transform 0.4s ease;
}

.bento-card:hover .bento-content {
    transform: translateY(0);
}

.bento-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
    padding: 10px;
    background: rgba(201, 160, 80, 0.2);
    border-radius: 12px;
    border: 1px solid rgba(201, 160, 80, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.bento-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(201, 160, 80, 0.5));
}

.bento-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 10px;
    letter-spacing: 1px;
    color: var(--text-primary);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.bento-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    opacity: 0.9;
}

/* Bento Card Sizes */
.bento-large {
    grid-column: span 2;
    grid-row: span 1;
}

.bento-tall {
    grid-column: span 1;
    grid-row: span 2;
}

.bento-wide {
    grid-column: span 2;
    grid-row: span 1;
}

/* Large card specific */
.bento-large .bento-content,
.bento-wide .bento-content {
    padding: 30px;
}

.bento-large .bento-title,
.bento-wide .bento-title {
    font-size: 1.5rem;
}

.bento-large .bento-desc,
.bento-wide .bento-desc {
    font-size: 1rem;
    max-width: 80%;
}

/* Tall card specific */
.bento-tall .bento-content {
    padding: 25px;
}

.bento-tall .bento-icon {
    width: 45px;
    height: 45px;
}

/* Responsive Bento Grid */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

    .bento-card {
        min-height: 220px;
    }

    .bento-large,
    .bento-wide {
        grid-column: span 2;
    }

    .bento-tall {
        grid-column: span 1;
        grid-row: span 1;
    }
}

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .bento-card {
        min-height: 220px;
        border-radius: 14px;
    }

    .bento-card:hover {
        transform: none;
    }

    .bento-large,
    .bento-wide,
    .bento-tall {
        grid-column: span 1;
        grid-row: span 1;
    }

    .bento-content {
        transform: translateY(0);
        padding: 15px;
    }

    .bento-icon {
        width: 38px;
        height: 38px;
        padding: 7px;
        margin-bottom: 10px;
        border-radius: 8px;
    }

    .bento-title {
        font-size: 1rem;
        margin-bottom: 6px;
    }

    .bento-desc {
        font-size: 0.78rem;
        line-height: 1.4;
    }

    .bento-large .bento-content,
    .bento-wide .bento-content {
        padding: 15px;
    }

    .bento-large .bento-title,
    .bento-wide .bento-title {
        font-size: 1rem;
    }

    .bento-large .bento-desc,
    .bento-wide .bento-desc {
        font-size: 0.78rem;
        max-width: 100%;
    }
}

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

    .bento-card {
        min-height: 180px;
    }
}

/* ==========================================
   About Section
   ========================================== */
.about-section {
    padding: var(--section-padding);
    background:
        linear-gradient(180deg, rgba(201, 160, 80, 0.3) 0%, transparent 1px, transparent 100%),
        radial-gradient(ellipse at 80% 20%, rgba(201, 160, 80, 0.1) 0%, transparent 40%),
        radial-gradient(ellipse at 20% 80%, rgba(155, 58, 58, 0.06) 0%, transparent 40%),
        var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(201, 160, 80, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.about-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(155, 58, 58, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text .section-title {
    text-align: left;
    margin-bottom: 30px;
}

.about-description {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.about-list {
    margin-top: 30px;
}

.about-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.about-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
}

.about-image .image-placeholder {
    aspect-ratio: 16/10;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.2rem;
}

/* ==========================================
   Classes Section
   ========================================== */
.classes-section {
    padding: var(--section-padding);
    background:
        radial-gradient(ellipse at 50% 0%, rgba(201, 160, 80, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 0% 50%, rgba(155, 58, 58, 0.05) 0%, transparent 40%),
        radial-gradient(ellipse at 100% 50%, rgba(155, 58, 58, 0.05) 0%, transparent 40%),
        linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 20%, var(--bg-secondary) 80%, var(--bg-primary) 100%);
    position: relative;
    overflow: hidden;
}

.classes-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 160, 80, 0.3), transparent);
}

.classes-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 160, 80, 0.3), transparent);
}

/* Class Wheel Layout */
.class-wheel-container {
    position: relative;
    width: 100%;
    max-width: 700px;
    height: 700px;
    margin: 0 auto;
}

/* Center Display */
.wheel-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 220px;
    height: 220px;
    background: linear-gradient(180deg, var(--bg-tertiary) 0%, var(--bg-card) 100%);
    border: 2px solid var(--border-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 0 60px rgba(201, 160, 80, 0.2);
}

.center-glow {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 160, 80, 0.15) 0%, transparent 70%);
    pointer-events: none;
    animation: pulse-glow 3s ease-in-out infinite;
}

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

.center-content {
    text-align: center;
    padding: 20px;
    z-index: 2;
}

.center-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.center-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(201, 160, 80, 0.5));
}

.center-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--accent-primary);
    margin-bottom: 8px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.center-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
    transition: all 0.3s ease;
}

/* Class Wheel */
.class-wheel {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.wheel-item {
    position: absolute;
    width: 100px;
    height: 100px;
    background: linear-gradient(180deg, var(--bg-tertiary) 0%, var(--bg-card) 100%);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.wheel-item:hover {
    transform: scale(1.15);
    border-color: var(--accent-primary);
    box-shadow: 0 0 30px rgba(201, 160, 80, 0.4), 0 10px 30px rgba(0, 0, 0, 0.4);
    z-index: 20;
}

img.wheel-icon {
    width: 45px;
    height: 45px;
    object-fit: contain;
    margin-bottom: 5px;
    filter: drop-shadow(0 0 5px rgba(201, 160, 80, 0.3));
    transition: filter 0.3s ease;
}

.wheel-item:hover img.wheel-icon {
    filter: drop-shadow(0 0 10px rgba(201, 160, 80, 0.6));
}

.wheel-label {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.wheel-item:hover .wheel-label {
    color: var(--accent-primary);
}

/* Position items in a circle (8 items, 45 degrees apart) */
.wheel-item:nth-child(1) { top: 0%; left: 50%; transform: translateX(-50%); }
.wheel-item:nth-child(2) { top: 14.6%; left: 85.4%; transform: translate(-50%, -50%); }
.wheel-item:nth-child(3) { top: 50%; left: 100%; transform: translate(-100%, -50%); }
.wheel-item:nth-child(4) { top: 85.4%; left: 85.4%; transform: translate(-50%, -50%); }
.wheel-item:nth-child(5) { top: 100%; left: 50%; transform: translate(-50%, -100%); }
.wheel-item:nth-child(6) { top: 85.4%; left: 14.6%; transform: translate(-50%, -50%); }
.wheel-item:nth-child(7) { top: 50%; left: 0%; transform: translateY(-50%); }
.wheel-item:nth-child(8) { top: 14.6%; left: 14.6%; transform: translate(-50%, -50%); }

/* Hover state adjustments */
.wheel-item:nth-child(1):hover { transform: translateX(-50%) scale(1.15); }
.wheel-item:nth-child(2):hover { transform: translate(-50%, -50%) scale(1.15); }
.wheel-item:nth-child(3):hover { transform: translate(-100%, -50%) scale(1.15); }
.wheel-item:nth-child(4):hover { transform: translate(-50%, -50%) scale(1.15); }
.wheel-item:nth-child(5):hover { transform: translate(-50%, -100%) scale(1.15); }
.wheel-item:nth-child(6):hover { transform: translate(-50%, -50%) scale(1.15); }
.wheel-item:nth-child(7):hover { transform: translateY(-50%) scale(1.15); }
.wheel-item:nth-child(8):hover { transform: translate(-50%, -50%) scale(1.15); }

/* Connecting lines (optional decorative) */
.class-wheel::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 400px;
    height: 400px;
    transform: translate(-50%, -50%);
    border: 1px dashed rgba(201, 160, 80, 0.2);
    border-radius: 50%;
    pointer-events: none;
}

/* Responsive */
@media (max-width: 768px) {
    .class-wheel-container {
        max-width: 500px;
        height: 500px;
    }

    .wheel-center {
        width: 150px;
        height: 150px;
    }

    .center-icon {
        width: 50px;
        height: 50px;
    }

    .center-title {
        font-size: 1rem;
    }

    .center-desc {
        font-size: 0.75rem;
    }

    .wheel-item {
        width: 70px;
        height: 70px;
    }

    img.wheel-icon {
        width: 35px;
        height: 35px;
    }

    .wheel-label {
        font-size: 0.55rem;
    }

    .class-wheel::before {
        width: 280px;
        height: 280px;
    }
}

@media (max-width: 480px) {
    .class-wheel-container {
        max-width: 350px;
        height: 350px;
    }

    .wheel-center {
        width: 120px;
        height: 120px;
    }

    .center-icon {
        width: 40px;
        height: 40px;
    }

    .center-title {
        font-size: 0.85rem;
    }

    .center-desc {
        font-size: 0.65rem;
        display: none;
    }

    .wheel-item {
        width: 55px;
        height: 55px;
    }

    img.wheel-icon {
        width: 28px;
        height: 28px;
        margin-bottom: 2px;
    }

    .wheel-label {
        font-size: 0.45rem;
    }

    .class-wheel::before {
        width: 200px;
        height: 200px;
    }
}

/* ==========================================
   Media / Gallery Section
   ========================================== */
.media-section {
    padding: var(--section-padding);
    background:
        radial-gradient(ellipse at 30% 100%, rgba(201, 160, 80, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 0%, rgba(155, 58, 58, 0.06) 0%, transparent 50%),
        var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.media-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 160, 80, 0.3), transparent);
}

/* Gallery Slider */
.gallery-slider {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

.slider-container {
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    min-width: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

/* Slider Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(10, 10, 15, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-arrow:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: var(--bg-primary);
    box-shadow: 0 0 20px rgba(201, 160, 80, 0.4);
}

.slider-arrow svg {
    width: 24px;
    height: 24px;
}

.slider-prev {
    left: -25px;
}

.slider-next {
    right: -25px;
}

/* Slider Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    border: 2px solid var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot:hover {
    border-color: var(--accent-primary);
}

.slider-dot.active {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    box-shadow: 0 0 10px rgba(201, 160, 80, 0.5);
}

/* Responsive Slider */
@media (max-width: 1024px) {
    .slider-prev {
        left: 10px;
    }

    .slider-next {
        right: 10px;
    }

    .slide img {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .slider-container {
        border-radius: 10px;
    }

    .slider-arrow {
        width: 36px;
        height: 36px;
    }

    .slider-arrow svg {
        width: 18px;
        height: 18px;
    }

    .slide img {
        height: 250px;
    }

    .slider-dots {
        margin-top: 15px;
        gap: 8px;
    }

    .slider-dot {
        width: 8px;
        height: 8px;
    }
}

@media (max-width: 480px) {
    .slide img {
        height: 220px;
    }

    .slider-arrow {
        width: 35px;
        height: 35px;
    }
}

/* ==========================================
   Community Section
   ========================================== */
.community-section {
    padding: var(--section-padding);
    background:
        radial-gradient(ellipse at 50% 100%, rgba(201, 160, 80, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 0% 0%, rgba(155, 58, 58, 0.08) 0%, transparent 40%),
        radial-gradient(ellipse at 100% 0%, rgba(155, 58, 58, 0.08) 0%, transparent 40%),
        linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
    position: relative;
    overflow: hidden;
}

.community-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(201, 160, 80, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.community-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 160, 80, 0.3), transparent);
}

.community-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.stat-item {
    text-align: center;
    padding: 40px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: var(--transition-normal);
}

.stat-item:hover {
    border-color: var(--border-accent);
    transform: translateY(-5px);
}

.stat-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.community-cta {
    text-align: center;
}

/* ==========================================
   Footer
   ========================================== */
.main-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .logo-text {
    margin-bottom: 15px;
    display: inline-block;
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-links h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.footer-credit {
    color: var(--accent-primary);
    transition: all 0.3s ease;
}

.footer-credit:hover {
    color: #d4af61;
    text-shadow: 0 0 10px rgba(201, 160, 80, 0.5);
}

/* ==========================================
   Responsive Design
   ========================================== */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 180px);
    }

    .gallery-item.large {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    .section-header {
        margin-bottom: 35px;
    }

    /* Reduce section padding on mobile */
    .features-section,
    .about-section,
    .media-section,
    .community-section {
        padding: 60px 0;
    }

    .hero-section {
        background-attachment: scroll;
        min-height: 100svh;
    }

    .hero-content {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
        letter-spacing: 1px;
    }

    .countdown-container {
        margin-bottom: 30px;
    }

    .countdown-title {
        font-size: 0.8rem;
        letter-spacing: 2px;
        margin-bottom: 12px;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        transform: none;
        height: auto;
        background: var(--bg-secondary);
        border-top: 1px solid var(--border-color);
        padding: 25px 20px;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        z-index: 200;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    }

    .main-nav.open {
        display: flex;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 18px;
    }

    .header-container {
        justify-content: space-between;
    }

    .header-cta-group {
        display: none;
    }

    .mobile-menu-cta {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 10px;
        padding-top: 15px;
        border-top: 1px solid var(--border-color);
    }

    .mobile-menu-cta .btn-account-header {
        padding: 12px 20px;
        border-left: none;
        border-radius: 6px;
        justify-content: center;
        font-size: 0.85rem;
    }

    .mobile-menu-cta .btn-account-header::after {
        display: none;
    }

    .mobile-menu-cta .btn-play-header {
        padding: 12px 20px;
        border-radius: 6px;
        font-size: 0.85rem;
        box-shadow: none;
        animation: none;
    }

    .mobile-menu-cta .btn-play-header .play-icon {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-text .section-title {
        text-align: center;
        margin-bottom: 20px;
    }

    .about-description {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }

    .about-list {
        margin-top: 20px;
    }

    .about-list li {
        margin-bottom: 10px;
        font-size: 0.9rem;
    }

    .about-screenshot {
        border-radius: 10px;
    }

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

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

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

    .main-footer {
        padding: 50px 0 25px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        margin-bottom: 30px;
    }

    .footer-logo {
        height: 40px;
    }

    .footer-tagline {
        font-size: 0.85rem;
    }

    .footer-links h4 {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }

    .footer-links a {
        font-size: 0.85rem;
    }

    .countdown {
        gap: 6px;
    }

    .countdown-item {
        min-width: 0;
        flex: 1;
        padding: 12px 8px;
        border-radius: 6px;
    }

    .countdown-value {
        font-size: 1.6rem;
    }

    .countdown-label {
        font-size: 0.6rem;
        letter-spacing: 1px;
        margin-top: 5px;
    }

    .countdown-separator {
        font-size: 1.4rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .hero-buttons .btn-large {
        padding: 14px 35px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
        letter-spacing: 2px;
    }

    .hero-subtitle {
        font-size: 0.85rem;
        margin-bottom: 25px;
    }

    .countdown-container {
        margin-bottom: 25px;
    }

    .countdown-item {
        padding: 10px 6px;
    }

    .countdown-value {
        font-size: 1.3rem;
    }

    .countdown-separator {
        font-size: 1.1rem;
    }

    .hero-buttons .btn-large {
        padding: 12px 30px;
        font-size: 0.85rem;
        width: 100%;
        text-align: center;
    }

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

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .gallery-item.large {
        grid-column: span 1;
    }

    .gallery-item .image-placeholder {
        height: 200px;
    }

    .community-stats {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .features-section,
    .about-section,
    .media-section,
    .community-section {
        padding: 45px 0;
    }

    .section-header {
        margin-bottom: 25px;
    }

    .about-description {
        font-size: 0.88rem;
    }

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

    .footer-social {
        justify-content: center;
    }

    .main-footer {
        padding: 40px 0 20px;
    }

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

/* ==========================================
   Download Modal
   ========================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: linear-gradient(180deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
    border: 1px solid var(--border-accent);
    border-radius: 16px;
    padding: 40px;
    max-width: 600px;
    width: 90%;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5), 0 0 40px rgba(201, 160, 80, 0.1);
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
}

.modal-close:hover {
    color: var(--accent-primary);
    transform: rotate(90deg);
}

.modal-header {
    text-align: center;
    margin-bottom: 35px;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.modal-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
}

.download-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.download-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 25px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.download-card:hover {
    border-color: var(--accent-primary);
    background: rgba(201, 160, 80, 0.05);
    transform: translateX(5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.download-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-primary), #d4af61);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.download-icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--bg-primary);
}

.download-info {
    flex: 1;
}

.download-info h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.download-info p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 5px;
}

.download-size {
    color: var(--accent-primary);
    font-size: 0.8rem;
    font-weight: 600;
}

@media (max-width: 480px) {
    .modal-content {
        padding: 30px 20px;
    }

    .modal-title {
        font-size: 1.5rem;
    }

    .download-card {
        padding: 15px;
        gap: 15px;
    }

    .download-icon {
        width: 45px;
        height: 45px;
    }

    .download-icon svg {
        width: 22px;
        height: 22px;
    }
}

/* ==========================================
   Social Widget (Floating)
   ========================================== */
.social-widget {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 99;
    padding: 15px 10px;
    background: rgba(18, 18, 26, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.social-widget-btn {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.social-widget-btn svg {
    width: 22px;
    height: 22px;
    transition: transform 0.3s ease;
}

.social-widget-btn:hover {
    transform: scale(1.15);
    border-color: currentColor;
}

.social-widget-btn:hover svg {
    transform: scale(1.1);
}

/* Discord */
.social-widget-btn.discord:hover {
    background: #5865F2;
    color: #fff;
    box-shadow: 0 0 20px rgba(88, 101, 242, 0.5);
}

/* YouTube */
.social-widget-btn.youtube:hover {
    background: #FF0000;
    color: #fff;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
}

/* Twitter/X */
.social-widget-btn.twitter:hover {
    background: #000;
    color: #fff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* Facebook */
.social-widget-btn.facebook:hover {
    background: #1877F2;
    color: #fff;
    box-shadow: 0 0 20px rgba(24, 119, 242, 0.5);
}

/* Instagram */
.social-widget-btn.instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #fff;
    box-shadow: 0 0 20px rgba(225, 48, 108, 0.5);
}

/* Social widget toggle - hidden on desktop */
.social-widget-toggle {
    display: none;
}

/* Mobile: collapsed share toggle */
@media (max-width: 768px) {
    .back-to-top {
        display: none !important;
    }

    .social-widget {
        left: auto;
        right: 20px;
        top: auto;
        bottom: 20px;
        transform: none;
        flex-direction: column-reverse;
        padding: 0;
        gap: 0;
        background: none;
        border: none;
        box-shadow: none;
        border-radius: 0;
        align-items: center;
    }

    .social-widget .social-widget-btn {
        width: 0;
        height: 0;
        overflow: hidden;
        opacity: 0;
        margin: 0;
        border: none;
        transition: all 0.2s ease;
    }

    .social-widget-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        background: var(--accent-primary);
        color: var(--bg-primary);
        border: none;
        border-radius: 50%;
        cursor: pointer;
        box-shadow: 0 4px 15px rgba(201, 160, 80, 0.4);
        transition: all 0.3s ease;
        order: -1;
    }

    .social-widget-toggle svg {
        width: 22px;
        height: 22px;
    }

    .social-widget-toggle:hover {
        transform: scale(1.1);
        box-shadow: 0 6px 20px rgba(201, 160, 80, 0.5);
    }

    .social-widget.open {
        gap: 8px;
    }

    .social-widget.open .social-widget-btn {
        width: 42px;
        height: 42px;
        opacity: 1;
        overflow: visible;
        background: var(--bg-secondary);
        border-radius: 50%;
        border: 1px solid var(--border-color);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    }

    .social-widget.open .social-widget-btn svg {
        width: 18px;
        height: 18px;
    }
}

/* ==========================================
   Image Specific Styles
   ========================================== */

/* Header Logo */
.header-logo-img {
    height: 40px;
    width: auto;
}

/* Hero Logo */
.hero-logo {
    max-width: 400px;
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 30px rgba(201, 160, 80, 0.3));
}

/* Feature Icons */
.feature-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(201, 160, 80, 0.3));
}

/* Class/Race Icons */
.class-icon img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    border-radius: 50%;
    border: 2px solid var(--border-accent);
    padding: 5px;
    background: var(--bg-card);
}

/* About Screenshot */
.about-screenshot {
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* Gallery Images */
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
    border: 1px solid var(--border-color);
}

.gallery-item:hover img {
    transform: scale(1.05);
    border-color: var(--border-accent);
}

/* Footer Logo */
.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 15px;
}

/* Footer Social Links */
.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social .social-link {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-social .social-link svg {
    width: 18px;
    height: 18px;
    fill: var(--text-secondary);
    transition: all 0.3s ease;
}

.footer-social .social-link:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    transform: translateY(-3px);
}

.footer-social .social-link:hover svg {
    fill: var(--bg-primary);
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-credit a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-credit a:hover {
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }
}

/* 5 Column Classes Grid */
.classes-grid.five-cols {
    grid-template-columns: repeat(5, 1fr);
}

@media (max-width: 1024px) {
    .classes-grid.five-cols {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-logo {
        max-width: 280px;
    }

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

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

    .hero-logo {
        max-width: 220px;
    }
}

/* ==========================================
   Back to Top Button
   ========================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--bg-secondary);
    border: 1px solid rgba(201, 160, 80, 0.3);
    border-radius: 50%;
    cursor: pointer;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top svg {
    width: 20px;
    height: 20px;
    color: var(--accent-primary);
}

.back-to-top:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    transform: translateY(-3px);
}

.back-to-top:hover svg {
    color: var(--bg-primary);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

/* ==========================================
   Page Transitions
   ========================================== */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.page-transition.active {
    opacity: 1;
    pointer-events: all;
}

/* Page fade in on load */
body {
    animation: pageLoad 0.5s ease;
}

@keyframes pageLoad {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ==========================================
   Language Widget
   ========================================== */
.language-widget {
    position: relative;
    z-index: 98;
}

.language-toggle {
    width: 38px;
    height: 26px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.language-toggle:hover {
    border-color: var(--accent-primary);
}

.language-toggle .toggle-flag {
    width: 100%;
    height: 100%;
    display: block;
}

.language-dropdown {
    position: absolute;
    top: 50px;
    left: 0;
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 8px 0;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.language-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    color: var(--text-secondary);
    text-decoration: none;
    font-family: 'Raleway', sans-serif;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.language-option:hover {
    background: rgba(201, 160, 80, 0.1);
    color: var(--text-primary);
}

.language-option.active {
    color: var(--accent-primary);
}

.flag-icon {
    width: 22px;
    height: 15px;
    border-radius: 2px;
    flex-shrink: 0;
}

/* Hide Google Translate elements */
.goog-te-banner-frame,
.goog-te-balloon-frame,
#goog-gt-tt,
.goog-te-gadget,
.goog-tooltip,
.goog-tooltip:hover,
.goog-te-menu-value,
.goog-te-menu-frame,
#google_translate_element,
.skiptranslate,
.goog-te-spinner-pos,
.goog-te-ftab-frame {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    opacity: 0 !important;
}

body {
    top: 0 !important;
    position: static !important;
}

html.translated-ltr, html.translated-rtl {
    margin-top: 0 !important;
}

html.translated-ltr body, html.translated-rtl body {
    margin-top: 0 !important;
    padding-top: 0 !important;
    top: 0 !important;
}

.goog-text-highlight {
    background: none !important;
    box-shadow: none !important;
}

iframe.goog-te-banner-frame {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

.goog-te-banner-frame.skiptranslate {
    display: none !important;
}

/* Mobile */
@media (max-width: 768px) {
    .language-toggle {
        width: 32px;
        height: 22px;
    }
}
