/* ============================================
   HAHFUN - Gaming Company Website
   Inspired by Mihoyo Design Aesthetics
   ============================================ */

:root {
    /* Colors - Dark Theme - Purple Pink Gaming Theme */
    --color-primary: #a855f7;
    --color-primary-dark: #9333ea;
    --color-primary-light: #c084fc;
    --color-secondary: #ec4899;
    --color-secondary-dark: #db2777;
    --color-secondary-light: #f472b6;
    --color-accent: #f59e0b;
    --color-text: #e5e7eb;
    --color-text-muted: #9ca3af;
    --color-bg: #0a0a0f;
    --color-bg-secondary: #111118;
    --color-bg-tertiary: #1a1a24;
    --color-border: rgba(255, 255, 255, 0.1);
    --color-overlay: rgba(10, 10, 15, 0.9);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Orbitron', 'Inter', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(168, 85, 247, 0.4);
    --shadow-glow-pink: 0 0 20px rgba(236, 72, 153, 0.4);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--color-text);
    background-color: var(--color-bg);
    background-image: 
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(168, 85, 247, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 80% 50% at 50% 100%, rgba(236, 72, 153, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 20% 50%, rgba(168, 85, 247, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 50%, rgba(236, 72, 153, 0.1) 0%, transparent 50%),
        linear-gradient(180deg, rgba(10, 10, 15, 0.8) 0%, rgba(17, 17, 24, 0.9) 100%);
    background-attachment: fixed;
    background-size: 100% 100%;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(168, 85, 247, 0.03) 2px, rgba(168, 85, 247, 0.03) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(236, 72, 153, 0.03) 2px, rgba(236, 72, 153, 0.03) 4px);
    pointer-events: none;
    z-index: 0;
    will-change: opacity;
    animation: gridPulse 8s ease-in-out infinite;
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.5; }
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

img[loading="lazy"] {
    content-visibility: auto;
}

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

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ============================================
   Navigation
   ============================================ */

.global-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.9);
    background-image: 
        linear-gradient(180deg, rgba(168, 85, 247, 0.1) 0%, transparent 100%);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    transition: var(--transition-base);
    position: relative;
}

.global-nav::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(168, 85, 247, 0.5) 20%, 
        rgba(236, 72, 153, 0.5) 80%, 
        transparent);
    animation: navGlow 3s ease-in-out infinite;
}

@keyframes navGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.global-nav.scrolled {
    background: rgba(10, 10, 15, 0.98);
    background-image: 
        linear-gradient(180deg, rgba(168, 85, 247, 0.15) 0%, transparent 100%);
    box-shadow: var(--shadow-md), 0 0 20px rgba(168, 85, 247, 0.1);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.brand-logo {
    font-family: var(--font-display);
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    letter-spacing: 3px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.nav-link {
    position: relative;
    padding: var(--spacing-xs) var(--spacing-sm);
    font-weight: 500;
    color: var(--color-text-muted);
    transition: var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-text);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transition: var(--transition-base);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

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

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

/* ============================================
   Hero Section
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 120% 80% at 20% 15%, rgba(168, 85, 247, 0.35) 0%, rgba(168, 85, 247, 0.15) 30%, transparent 60%),
        radial-gradient(ellipse 120% 80% at 80% 85%, rgba(236, 72, 153, 0.35) 0%, rgba(236, 72, 153, 0.15) 30%, transparent 60%),
        radial-gradient(ellipse 100% 70% at 50% 50%, rgba(168, 85, 247, 0.25) 0%, rgba(236, 72, 153, 0.15) 40%, transparent 70%),
        radial-gradient(ellipse 90% 60% at 10% 60%, rgba(59, 130, 246, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse 90% 60% at 90% 40%, rgba(236, 72, 153, 0.25) 0%, transparent 50%);
    background-size: 200% 200%;
    filter: blur(80px);
    opacity: 0;
    animation: heroFadeIn 1.5s ease-out 0.3s forwards, gradientMove 15s ease-in-out infinite, gradientPulse 8s ease-in-out infinite;
    will-change: background-position, opacity, filter;
}

@keyframes gradientMove {
    0%, 100% {
        background-position: 0% 0%, 100% 100%, 50% 50%, 10% 60%, 90% 40%;
    }
    25% {
        background-position: 30% 20%, 70% 80%, 60% 40%, 20% 50%, 80% 50%;
    }
    50% {
        background-position: 100% 100%, 0% 0%, 50% 50%, 15% 70%, 85% 30%;
    }
    75% {
        background-position: 70% 80%, 30% 20%, 40% 60%, 5% 55%, 95% 45%;
    }
}

@keyframes gradientPulse {
    0%, 100% {
        filter: blur(80px);
        opacity: 1;
    }
    50% {
        filter: blur(100px);
        opacity: 0.9;
    }
}

@keyframes heroFadeIn {
    to {
        opacity: 1;
    }
}

@keyframes parallaxDrift {
    0% {
        transform: translate3d(-1%, 0, 0) scale(1);
    }
    40% {
        transform: translate3d(1.25%, -1.25%, 0) scale(1.02);
    }
    70% {
        transform: translate3d(0.5%, 1%, 0) scale(1.015);
    }
    100% {
        transform: translate3d(-1%, 0, 0) scale(1);
    }
}

@keyframes parallaxDriftReverse {
    0% {
        transform: translate3d(1%, 0.5%, 0) scale(1);
    }
    45% {
        transform: translate3d(-1.25%, 1%, 0) scale(1.018);
    }
    80% {
        transform: translate3d(0.75%, -1%, 0) scale(1.01);
    }
    100% {
        transform: translate3d(1%, 0.5%, 0) scale(1);
    }
}

@keyframes particleTwinkle {
    0% {
        opacity: 0.55;
        filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.25));
    }
    50% {
        opacity: 0.95;
        filter: drop-shadow(0 0 18px rgba(236, 72, 153, 0.35));
    }
    100% {
        opacity: 0.55;
        filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.25));
    }
}

@keyframes particleTwinkleSoft {
    0% {
        opacity: 0.35;
    }
    40% {
        opacity: 0.7;
    }
    70% {
        opacity: 0.45;
    }
    100% {
        opacity: 0.35;
    }
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
    mix-blend-mode: screen;
    animation: 
        particlesFadeIn 2s ease-out 0.8s forwards,
        parallaxDrift 45s ease-in-out infinite;
    will-change: transform, opacity;
    backface-visibility: hidden;
}

/* 大型优雅粒子 - 主要装饰 */
.hero-particles::before {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(255, 215, 0, 0.4) 30%, rgba(168, 85, 247, 0.3) 60%, transparent 85%);
    border-radius: 50%;
    mix-blend-mode: screen;
    box-shadow: 
        /* 大型优雅粒子 - 圆形光晕效果 */
        150px 180px 0 0 rgba(255, 215, 0, 0.2),
        150px 180px 18px 10px rgba(255, 215, 0, 0.12),
        150px 180px 36px 18px rgba(168, 85, 247, 0.15),
        150px 180px 64px 24px rgba(168, 85, 247, 0.08),
        
        450px 120px 0 0 rgba(255, 255, 255, 0.25),
        450px 120px 20px 10px rgba(255, 255, 255, 0.15),
        450px 120px 38px 18px rgba(236, 72, 153, 0.12),
        450px 120px 64px 24px rgba(236, 72, 153, 0.06),
        
        750px 280px 0 0 rgba(255, 215, 0, 0.18),
        750px 280px 18px 12px rgba(255, 215, 0, 0.1),
        750px 280px 36px 22px rgba(168, 85, 247, 0.14),
        750px 280px 58px 30px rgba(168, 85, 247, 0.07),
        
        1050px 150px 0 0 rgba(255, 255, 255, 0.22),
        1050px 150px 16px 8px rgba(255, 255, 255, 0.13),
        1050px 150px 34px 16px rgba(236, 72, 153, 0.16),
        1050px 150px 52px 24px rgba(236, 72, 153, 0.08),
        
        300px 380px 0 0 rgba(255, 215, 0, 0.15),
        300px 380px 18px 12px rgba(255, 215, 0, 0.09),
        300px 380px 34px 22px rgba(168, 85, 247, 0.12),
        300px 380px 54px 30px rgba(168, 85, 247, 0.06),
        
        900px 420px 0 0 rgba(255, 255, 255, 0.2),
        900px 420px 18px 10px rgba(255, 255, 255, 0.12),
        900px 420px 32px 18px rgba(236, 72, 153, 0.15),
        900px 420px 56px 26px rgba(236, 72, 153, 0.07),
        
        640px 60px 0 0 rgba(255, 255, 255, 0.24),
        640px 60px 16px 10px rgba(255, 255, 255, 0.15),
        640px 60px 30px 18px rgba(168, 85, 247, 0.12),
        640px 60px 48px 24px rgba(236, 72, 153, 0.08),
        
        1020px 320px 0 0 rgba(255, 215, 0, 0.19),
        1020px 320px 18px 10px rgba(255, 215, 0, 0.11),
        1020px 320px 34px 20px rgba(168, 85, 247, 0.13),
        1020px 320px 54px 26px rgba(236, 72, 153, 0.07),
        
        420px 460px 0 0 rgba(255, 255, 255, 0.22),
        420px 460px 16px 10px rgba(255, 255, 255, 0.13),
        420px 460px 32px 20px rgba(168, 85, 247, 0.11),
        420px 460px 48px 26px rgba(236, 72, 153, 0.06),
        
        1180px 80px 0 0 rgba(255, 215, 0, 0.17),
        1180px 80px 14px 8px rgba(255, 215, 0, 0.1),
        1180px 80px 30px 16px rgba(168, 85, 247, 0.12),
        1180px 80px 48px 22px rgba(236, 72, 153, 0.06);
    
    animation: 
        elegantFloat1 25s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite,
        particleTwinkle 14s ease-in-out 1s infinite alternate;
    filter: blur(0.3px);
    will-change: transform, opacity;
}

/* 中型精致粒子 - 次要装饰 */
.hero-particles::after {
    content: '';
    position: absolute;
    width: 2.5px;
    height: 2.5px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.9) 0%, rgba(255, 215, 0, 0.3) 40%, rgba(168, 85, 247, 0.4) 70%, transparent 90%);
    border-radius: 50%;
    mix-blend-mode: screen;
    box-shadow: 
        /* 中型精致粒子 - 圆形光晕 */
        250px 220px 0 0 rgba(255, 255, 255, 0.3),
        250px 220px 12px 6px rgba(255, 255, 255, 0.18),
        250px 220px 26px 12px rgba(168, 85, 247, 0.15),
        
        550px 80px 0 0 rgba(255, 215, 0, 0.25),
        550px 80px 14px 8px rgba(255, 215, 0, 0.14),
        550px 80px 28px 16px rgba(236, 72, 153, 0.12),
        
        850px 320px 0 0 rgba(255, 255, 255, 0.28),
        850px 320px 12px 6px rgba(255, 255, 255, 0.16),
        850px 320px 24px 12px rgba(168, 85, 247, 0.14),
        
        1150px 200px 0 0 rgba(255, 215, 0, 0.22),
        1150px 200px 14px 8px rgba(255, 215, 0, 0.13),
        1150px 200px 28px 16px rgba(236, 72, 153, 0.16),
        
        200px 450px 0 0 rgba(255, 255, 255, 0.26),
        200px 450px 10px 6px rgba(255, 255, 255, 0.15),
        200px 450px 22px 14px rgba(168, 85, 247, 0.12),
        
        1000px 480px 0 0 rgba(255, 215, 0, 0.2),
        1000px 480px 14px 8px rgba(255, 215, 0, 0.11),
        1000px 480px 28px 16px rgba(236, 72, 153, 0.14),
        
        580px 300px 0 0 rgba(255, 255, 255, 0.24),
        580px 300px 12px 6px rgba(255, 255, 255, 0.14),
        580px 300px 24px 12px rgba(168, 85, 247, 0.13),
        
        880px 160px 0 0 rgba(255, 215, 0, 0.2),
        880px 160px 14px 8px rgba(255, 215, 0, 0.12),
        880px 160px 26px 14px rgba(236, 72, 153, 0.11),
        
        320px 520px 0 0 rgba(255, 255, 255, 0.2),
        320px 520px 12px 8px rgba(255, 255, 255, 0.12),
        320px 520px 24px 14px rgba(168, 85, 247, 0.1),
        
        1120px 420px 0 0 rgba(255, 215, 0, 0.18),
        1120px 420px 14px 8px rgba(255, 215, 0, 0.11),
        1120px 420px 26px 14px rgba(236, 72, 153, 0.09);
    
    animation: 
        elegantFloat2 30s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite,
        particleTwinkleSoft 11s ease-in-out 0.5s infinite;
    filter: blur(0.25px);
    will-change: transform, opacity;
}

/* 优雅的浮动动画 - 大型粒子 */
@keyframes elegantFloat1 {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        opacity: 0.65;
    }
    20% {
        transform: translate(50px, -65px) scale(1.12) rotate(5deg);
        opacity: 0.8;
    }
    40% {
        transform: translate(25px, -115px) scale(0.98) rotate(-3deg);
        opacity: 0.75;
    }
    60% {
        transform: translate(-35px, -85px) scale(1.08) rotate(4deg);
        opacity: 0.82;
    }
    80% {
        transform: translate(-15px, -40px) scale(1.02) rotate(-2deg);
        opacity: 0.7;
    }
    100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        opacity: 0.65;
    }
}

/* 优雅的浮动动画 - 中型粒子 */
@keyframes elegantFloat2 {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        opacity: 0.55;
    }
    25% {
        transform: translate(-45px, -55px) scale(1.18) rotate(-4deg);
        opacity: 0.75;
    }
    50% {
        transform: translate(35px, -100px) scale(0.92) rotate(3deg);
        opacity: 0.65;
    }
    75% {
        transform: translate(45px, -75px) scale(1.1) rotate(-2deg);
        opacity: 0.8;
    }
    100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        opacity: 0.55;
    }
}

/* 粒子淡入动画 */
@keyframes particlesFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* 次要粒子层 - 微妙的背景装饰 */
.hero-particles-secondary {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
    mix-blend-mode: screen;
    animation: 
        particlesFadeIn 2.5s ease-out 1.2s forwards,
        parallaxDriftReverse 60s ease-in-out infinite;
    will-change: transform, opacity;
    backface-visibility: hidden;
}

.hero-particles-secondary::before {
    content: '';
    position: absolute;
    width: 1.5px;
    height: 1.5px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.6) 0%, rgba(168, 85, 247, 0.3) 60%, transparent 100%);
    border-radius: 50%;
    box-shadow: 
        /* 小型精致粒子 - 圆形光晕 */
        180px 250px 0 0 rgba(255, 255, 255, 0.3),
        180px 250px 0 6px rgba(168, 85, 247, 0.15),
        
        480px 180px 0 0 rgba(255, 215, 0, 0.25),
        480px 180px 0 6px rgba(236, 72, 153, 0.12),
        
        780px 340px 0 0 rgba(255, 255, 255, 0.28),
        780px 340px 0 6px rgba(168, 85, 247, 0.14),
        
        1080px 210px 0 0 rgba(255, 215, 0, 0.22),
        1080px 210px 0 6px rgba(236, 72, 153, 0.16),
        
        330px 430px 0 0 rgba(255, 255, 255, 0.26),
        330px 430px 0 6px rgba(168, 85, 247, 0.13),
        
        930px 470px 0 0 rgba(255, 215, 0, 0.24),
        930px 470px 0 6px rgba(236, 72, 153, 0.15),
        
        120px 320px 0 0 rgba(255, 255, 255, 0.2),
        120px 320px 0 6px rgba(168, 85, 247, 0.1),
        
        680px 90px 0 0 rgba(255, 215, 0, 0.18),
        680px 90px 0 6px rgba(236, 72, 153, 0.12),
        
        1040px 380px 0 0 rgba(255, 255, 255, 0.22),
        1040px 380px 0 6px rgba(168, 85, 247, 0.12),
        
        760px 460px 0 0 rgba(255, 215, 0, 0.2),
        760px 460px 0 6px rgba(236, 72, 153, 0.11),
        
        260px 520px 0 0 rgba(255, 255, 255, 0.18),
        260px 520px 0 6px rgba(168, 85, 247, 0.09),
        
        1160px 130px 0 0 rgba(255, 215, 0, 0.17),
        1160px 130px 0 6px rgba(236, 72, 153, 0.1);
    
    animation: 
        elegantFloat3 35s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite,
        particleTwinkleSoft 9s ease-in-out 0.6s infinite alternate;
    filter: blur(0.2px);
    will-change: transform, opacity;
}

.hero-particles-secondary::after {
    content: '';
    position: absolute;
    width: 1px;
    height: 1px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.5) 0%, rgba(168, 85, 247, 0.25) 70%, transparent 100%);
    border-radius: 50%;
    box-shadow: 
        /* 微型粒子 - 圆形光晕 */
        220px 300px 0 0 rgba(255, 255, 255, 0.2),
        220px 300px 0 4px rgba(168, 85, 247, 0.1),
        
        520px 230px 0 0 rgba(255, 215, 0, 0.18),
        520px 230px 0 4px rgba(236, 72, 153, 0.09),
        
        820px 390px 0 0 rgba(255, 255, 255, 0.19),
        820px 390px 0 4px rgba(168, 85, 247, 0.11),
        
        1120px 260px 0 0 rgba(255, 215, 0, 0.17),
        1120px 260px 0 4px rgba(236, 72, 153, 0.1),
        
        370px 480px 0 0 rgba(255, 255, 255, 0.16),
        370px 480px 0 4px rgba(168, 85, 247, 0.08),
        
        970px 520px 0 0 rgba(255, 215, 0, 0.15),
        970px 520px 0 4px rgba(236, 72, 153, 0.09),
        
        140px 420px 0 0 rgba(255, 255, 255, 0.14),
        140px 420px 0 4px rgba(168, 85, 247, 0.08),
        
        620px 520px 0 0 rgba(255, 255, 255, 0.16),
        620px 520px 0 4px rgba(236, 72, 153, 0.08),
        
        780px 40px 0 0 rgba(255, 215, 0, 0.17),
        780px 40px 0 4px rgba(168, 85, 247, 0.09);
    
    animation: 
        elegantFloat4 40s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite,
        particleTwinkleSoft 7s ease-in-out infinite;
    filter: blur(0.15px);
    will-change: transform, opacity;
}

/* 优雅的浮动动画 - 小型粒子 */
@keyframes elegantFloat3 {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.4;
    }
    30% {
        transform: translate(45px, -70px) scale(1.25);
        opacity: 0.65;
    }
    60% {
        transform: translate(-35px, -120px) scale(0.85);
        opacity: 0.5;
    }
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.4;
    }
}

/* 优雅的浮动动画 - 微型粒子 */
@keyframes elegantFloat4 {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    35% {
        transform: translate(-40px, -55px) scale(1.3);
        opacity: 0.55;
    }
    70% {
        transform: translate(35px, -95px) scale(0.8);
        opacity: 0.4;
    }
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: var(--spacing-lg) var(--spacing-md);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.hero-text {
    max-width: 600px;
}

.hero-eyebrow {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-primary-light);
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: var(--color-text);
}

.gradient-text {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary), var(--color-primary));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    text-shadow: 
        0 0 20px rgba(168, 85, 247, 0.3),
        0 0 40px rgba(236, 72, 153, 0.2);
    animation: gradientShift 3s ease infinite, textGlow 2s ease-in-out infinite;
}

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

@keyframes textGlow {
    0%, 100% {
        text-shadow: 
            0 0 20px rgba(168, 85, 247, 0.3),
            0 0 40px rgba(236, 72, 153, 0.2);
    }
    50% {
        text-shadow: 
            0 0 30px rgba(168, 85, 247, 0.5),
            0 0 60px rgba(236, 72, 153, 0.4),
            0 0 80px rgba(168, 85, 247, 0.2);
    }
}

.hero-description {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    opacity: 0;
    transform: translateY(30px);
    animation: heroImageFadeIn 1s ease-out 0.6s forwards;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    will-change: transform, opacity;
}

@keyframes heroImageFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-image-wrapper:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-lg), 0 0 50px rgba(168, 85, 247, 0.6), 0 0 100px rgba(236, 72, 153, 0.3);
}

.hero-image-wrapper:hover .hero-image-overlay {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(236, 72, 153, 0.2));
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-image-wrapper:hover .hero-image {
    transform: scale(1.05);
}

.hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(236, 72, 153, 0.1));
    pointer-events: none;
    transition: background 0.4s ease;
    opacity: 0.8;
    animation: overlayPulse 4s ease-in-out infinite;
}

@keyframes overlayPulse {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 0.9;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: var(--spacing-md);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--color-text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    z-index: 1;
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(180deg, var(--color-primary), transparent);
    animation: scrollPulse 2s ease infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

/* ============================================
   Buttons
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(168, 85, 247, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md), 0 0 20px rgba(168, 85, 247, 0.4), 0 0 40px rgba(236, 72, 153, 0.2);
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-lg), 
                0 0 30px rgba(168, 85, 247, 0.6), 
                0 0 60px rgba(236, 72, 153, 0.3),
                0 0 90px rgba(168, 85, 247, 0.2);
    border-color: rgba(236, 72, 153, 0.5);
    animation: buttonPulse 1.5s ease-in-out infinite;
}

@keyframes buttonPulse {
    0%, 100% {
        box-shadow: var(--shadow-lg), 
                    0 0 30px rgba(168, 85, 247, 0.6), 
                    0 0 60px rgba(236, 72, 153, 0.3),
                    0 0 90px rgba(168, 85, 247, 0.2);
    }
    50% {
        box-shadow: var(--shadow-lg), 
                    0 0 40px rgba(168, 85, 247, 0.8), 
                    0 0 80px rgba(236, 72, 153, 0.5),
                    0 0 120px rgba(168, 85, 247, 0.3);
    }
}

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

.btn-secondary:hover {
    transform: translateY(-2px) scale(1.02);
    border-color: var(--color-primary);
    color: var(--color-primary-light);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.3), 0 0 40px rgba(236, 72, 153, 0.15);
    background: rgba(168, 85, 247, 0.05);
}

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

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

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
}

/* ============================================
   Sections
   ============================================ */

section {
    position: relative;
    padding: var(--spacing-xl) 0;
    background-image: 
        radial-gradient(ellipse 100% 50% at 50% 0%, rgba(168, 85, 247, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse 100% 50% at 50% 100%, rgba(236, 72, 153, 0.05) 0%, transparent 50%);
    background-attachment: fixed;
}

section:nth-child(even) {
    background-image: 
        radial-gradient(ellipse 100% 50% at 50% 0%, rgba(236, 72, 153, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse 100% 50% at 50% 100%, rgba(168, 85, 247, 0.05) 0%, transparent 50%);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
}

.section-eyebrow {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-primary-light);
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-secondary-light), var(--color-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientText 5s ease infinite;
    filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.3));
}

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

.section-description {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    line-height: 1.8;
}

.section-cta {
    text-align: center;
    margin-top: var(--spacing-lg);
}

/* ============================================
   Featured Games
   ============================================ */

.featured-games {
    background: var(--color-bg-secondary);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    align-items: stretch;
}

.games-grid-mosaic {
    gap: var(--spacing-lg);
}

.game-card {
    background: var(--color-bg-tertiary);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: var(--transition-base);
    position: relative;
    background-image: 
        linear-gradient(135deg, rgba(168, 85, 247, 0.05) 0%, transparent 50%),
        linear-gradient(225deg, rgba(236, 72, 153, 0.05) 0%, transparent 50%);
    display: flex;
    flex-direction: column;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.3), rgba(236, 72, 153, 0.3));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: var(--transition-base);
    z-index: 1;
    pointer-events: none;
}

.game-card:hover::before {
    opacity: 1;
}

.game-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-lg), 
                0 0 30px rgba(168, 85, 247, 0.4), 
                0 0 60px rgba(236, 72, 153, 0.2);
    background-image: 
        linear-gradient(135deg, rgba(168, 85, 247, 0.1) 0%, transparent 50%),
        linear-gradient(225deg, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
}

.game-card-image {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.game-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.game-card:hover .game-card-image img {
    transform: scale(1.1);
}

.game-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 15, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-base);
}

.game-card:hover .game-card-overlay {
    opacity: 1;
}

.game-card-content {
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    flex: 1;
}

.game-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(168, 85, 247, 0.2);
    color: var(--color-primary-light);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    width: fit-content;
}

.game-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
}

.game-description {
    color: var(--color-text-muted);
    line-height: 1.6;
}

.game-card-spotlight {
    background-image: radial-gradient(circle at top right, rgba(236, 72, 153, 0.18), transparent 45%);
}

.game-card-spotlight .game-card-content {
    padding: var(--spacing-lg);
}

.game-card-spotlight .game-card-image {
    max-height: 420px;
    border-radius: 20px;
    margin: var(--spacing-md);
    box-shadow: 0 20px 60px rgba(17, 24, 39, 0.45);
}

.game-card-poster {
    display: grid;
    gap: var(--spacing-md);
}

.game-card-poster .game-card-content {
    padding: var(--spacing-lg);
}

.game-card-poster .game-card-image {
    aspect-ratio: 4 / 3;
    max-height: 280px;
    margin: 0 auto;
    border-radius: 18px;
    box-shadow: 0 20px 45px rgba(15, 15, 25, 0.35);
}

.game-subtitle {
    color: var(--color-text-muted);
    line-height: 1.7;
}

.game-highlights {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.5rem;
}

.game-highlights li {
    position: relative;
    padding-left: 1.5rem;
    color: var(--color-text-muted);
}

.game-highlights li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65rem;
    width: 10px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    box-shadow: 0 0 8px rgba(168, 85, 247, 0.6);
}

.game-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: var(--spacing-sm);
    padding-top: var(--spacing-sm);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.game-meta {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(168, 85, 247, 0.15);
}

.game-meta-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-primary-light);
    margin-bottom: 0.25rem;
}

.game-meta-value {
    font-weight: 600;
    color: var(--color-text);
}

.game-card-story {
    background-image: linear-gradient(160deg, rgba(168, 85, 247, 0.15), transparent 60%);
}

.game-card-story .game-card-content {
    justify-content: space-between;
}

@media (min-width: 1024px) {
    .games-grid-mosaic {
        grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
        grid-auto-rows: minmax(220px, auto);
    }

    .game-card-spotlight {
        grid-row: span 2;
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: stretch;
    }

    .game-card-spotlight .game-card-image,
    .game-card-spotlight .game-card-image img {
        height: auto;
        max-height: 420px;
    }

    .game-card-poster {
        grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
        align-items: center;
    }

    .game-card-poster .game-card-image {
        max-height: 260px;
    }
}

@media (max-width: 767px) {
    .game-card-poster {
        display: flex;
        flex-direction: column;
    }

    .game-card-poster .game-card-content {
        padding: var(--spacing-md);
    }
}

/* ============================================
   Features
   ============================================ */

.feature-layout {
    display: grid;
    gap: var(--spacing-lg);
}

.feature-hero {
    display: grid;
    gap: var(--spacing-lg);
    padding: var(--spacing-lg);
    border-radius: 24px;
    border: 1px solid var(--color-border);
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(236, 72, 153, 0.05));
}

.feature-hero p {
    color: var(--color-text-muted);
    line-height: 1.7;
}

.feature-hero h3 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: var(--spacing-sm);
}

.feature-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-primary-light);
    margin-bottom: var(--spacing-xs);
}

.feature-hero-tag::before {
    content: '';
    width: 28px;
    height: 2px;
    background: currentColor;
    display: inline-block;
}

.feature-hero-media {
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    min-height: 260px;
}

.feature-hero-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgba(5, 5, 10, 0.4));
    pointer-events: none;
}

.feature-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.2);
}

.feature-checklist {
    list-style: none;
    display: grid;
    gap: var(--spacing-sm);
    margin: var(--spacing-md) 0 0;
}

.feature-checklist li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.feature-checklist li::before {
    content: '✦';
    color: var(--color-primary);
    margin-top: 0.2rem;
}

.feature-stream {
    display: grid;
    gap: var(--spacing-md);
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.feature-panel {
    border: 1px solid var(--color-border);
    border-radius: 18px;
    padding: var(--spacing-lg);
    background: var(--color-bg-tertiary);
    display: grid;
    gap: var(--spacing-md);
    position: relative;
    overflow: hidden;
}

.feature-panel::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(236, 72, 153, 0.2), transparent 65%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-panel:hover::after {
    opacity: 1;
}

.feature-panel-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(236, 72, 153, 0.15));
    color: var(--color-primary-light);
}

.feature-panel-icon svg {
    width: 32px;
    height: 32px;
}

.feature-panel-body {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 0.5rem;
}

.feature-panel-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-text-muted);
}

.feature-panel h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    margin: 0;
}

.feature-panel p {
    color: var(--color-text-muted);
    line-height: 1.6;
}

@media (min-width: 992px) {
    .feature-layout {
        grid-template-columns: 1.1fr 1fr;
        align-items: stretch;
    }

    .feature-hero {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: center;
    }
}

/* ============================================
   CTA Section
   ============================================ */

.cta-section {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(236, 72, 153, 0.1));
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

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

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.cta-description {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   Page Header
   ============================================ */

.page-header {
    padding-top: 120px;
    padding-bottom: var(--spacing-lg);
    background: var(--color-bg-secondary);
    border-bottom: 1px solid var(--color-border);
}

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

.page-eyebrow {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-primary-light);
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

.page-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.page-description {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    line-height: 1.8;
}

/* ============================================
   Games Detail Page
   ============================================ */

.games-detail {
    padding: var(--spacing-xl) 0;
}

.game-detail-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
    margin-bottom: var(--spacing-xl);
    padding: var(--spacing-lg);
    background: var(--color-bg-secondary);
    border-radius: 24px;
    border: 1px solid var(--color-border);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.game-detail-card.reverse {
    direction: rtl;
}

.game-detail-card.reverse > * {
    direction: ltr;
}

.game-detail-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    box-shadow: var(--shadow-lg);
}

.game-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-detail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(236, 72, 153, 0.1));
    pointer-events: none;
}

.game-detail-meta {
    display: flex;
    gap: var(--spacing-xs);
    flex-wrap: wrap;
    margin-bottom: var(--spacing-sm);
}

.game-detail-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.game-detail-description {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.game-detail-features h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.feature-list ul {
    list-style: none;
}

.feature-list li {
    padding: var(--spacing-xs) 0;
    color: var(--color-text-muted);
    position: relative;
    padding-left: var(--spacing-md);
}

.feature-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--color-primary);
}

/* ============================================
   Coming Soon
   ============================================ */

.coming-soon {
    background: var(--color-bg-secondary);
    padding: var(--spacing-xl) 0;
}

.coming-soon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.coming-soon-card {
    background: var(--color-bg-tertiary);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: var(--transition-base);
}

.coming-soon-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

.coming-soon-image {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.coming-soon-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.3);
    transition: var(--transition-slow);
}

.coming-soon-card:hover .coming-soon-image img {
    filter: grayscale(0);
    transform: scale(1.05);
}

.coming-soon-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 15, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
}

.coming-soon-badge {
    padding: 0.5rem 1.5rem;
    background: var(--color-primary);
    color: white;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.coming-soon-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-xs);
}

.coming-soon-description {
    padding: 0 var(--spacing-md) var(--spacing-md);
    color: var(--color-text-muted);
}

/* ============================================
   About Page
   ============================================ */

.mission-section {
    padding: var(--spacing-xl) 0;
}

.mission-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.mission-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.mission-description {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.mission-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.mission-image img {
    width: 100%;
    height: auto;
    display: block;
}

.mission-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(236, 72, 153, 0.1));
    pointer-events: none;
}

.values-section {
    background: var(--color-bg-secondary);
    background-image: 
        radial-gradient(ellipse 80% 50% at 50% 50%, rgba(168, 85, 247, 0.08) 0%, transparent 70%),
        radial-gradient(ellipse 60% 40% at 30% 30%, rgba(236, 72, 153, 0.06) 0%, transparent 60%);
    padding: var(--spacing-xl) 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.value-card {
    background: var(--color-bg-tertiary);
    padding: var(--spacing-md);
    border-radius: 16px;
    border: 1px solid var(--color-border);
    text-align: center;
    transition: var(--transition-base);
}

.value-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

.value-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--spacing-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(236, 72, 153, 0.2));
    border-radius: 16px;
    color: var(--color-primary-light);
}

.value-icon svg {
    width: 32px;
    height: 32px;
}

.value-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.value-description {
    color: var(--color-text-muted);
    line-height: 1.6;
}

.team-section {
    padding: var(--spacing-xl) 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.team-card {
    background: var(--color-bg-tertiary);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: var(--transition-base);
    text-align: center;
}

.team-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

.team-image {
    aspect-ratio: 1;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.team-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    padding: var(--spacing-md) var(--spacing-md) var(--spacing-xs);
}

.team-role {
    color: var(--color-primary-light);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.team-description {
    padding: 0 var(--spacing-md) var(--spacing-md);
    color: var(--color-text-muted);
    line-height: 1.6;
}

.culture-section {
    background: var(--color-bg-secondary);
    padding: var(--spacing-xl) 0;
}

.culture-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.culture-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.culture-image img {
    width: 100%;
    height: auto;
    display: block;
}

.culture-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(236, 72, 153, 0.1));
    pointer-events: none;
}

.culture-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.culture-description {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.culture-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.culture-highlight {
    text-align: center;
    padding: var(--spacing-md);
    background: var(--color-bg-tertiary);
    border-radius: 12px;
    border: 1px solid var(--color-border);
}

.highlight-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary-light);
    margin-bottom: var(--spacing-xs);
}

.highlight-label {
    display: block;
    font-size: 0.875rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   Footer
   ============================================ */

.global-footer {
    background: var(--color-bg-secondary);
    background-image: 
        radial-gradient(ellipse 100% 50% at 50% 0%, rgba(168, 85, 247, 0.1) 0%, transparent 60%),
        radial-gradient(ellipse 80% 40% at 20% 50%, rgba(236, 72, 153, 0.08) 0%, transparent 50%);
    border-top: 1px solid var(--color-border);
    padding: var(--spacing-xl) 0 var(--spacing-md);
    position: relative;
}

.global-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(168, 85, 247, 0.5) 20%, 
        rgba(236, 72, 153, 0.5) 80%, 
        transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

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

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 3px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: var(--spacing-sm);
}

.footer-tagline {
    color: var(--color-text-muted);
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-md);
}

.footer-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text);
}

.footer-list li {
    margin-bottom: var(--spacing-xs);
}

.footer-list a {
    color: var(--color-text-muted);
    transition: var(--transition-base);
}

.footer-list a:hover {
    color: var(--color-primary-light);
}

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

.footer-bottom p {
    margin-bottom: var(--spacing-xs);
}

.footer-bottom a {
    color: var(--color-primary-light);
}

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

/* ============================================
   Animations
   ============================================ */

[data-animate] {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate="fade-up"] {
    transform: translateY(30px);
}

[data-animate="fade-in"] {
    transform: scale(0.95);
}

[data-animate].animated {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* ============================================
   Hero Text Animation - Clean & Elegant
   ============================================ */

@keyframes heroTextFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-text[data-animate="fade-up"].animated {
    opacity: 1;
    transform: translateY(0);
}

.hero-text[data-animate="fade-up"] .hero-eyebrow {
    opacity: 0;
    animation: heroElementFadeIn 0.8s ease-out 0.5s forwards;
}

.hero-text[data-animate="fade-up"] .hero-title {
    opacity: 0;
    animation: heroElementFadeIn 0.8s ease-out 0.7s forwards;
}

.hero-text[data-animate="fade-up"] .hero-title br {
    display: block;
}

.hero-text[data-animate="fade-up"] .hero-title {
    overflow: hidden;
}

.hero-text[data-animate="fade-up"] .hero-title > * {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: titleLineFadeIn 0.8s ease-out forwards;
}

.hero-text[data-animate="fade-up"] .hero-title > *:first-child {
    animation-delay: 0.7s;
}

.hero-text[data-animate="fade-up"] .hero-title > *:last-child {
    animation-delay: 0.9s;
}

@keyframes titleLineFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-text[data-animate="fade-up"] .hero-description {
    opacity: 0;
    animation: heroElementFadeIn 0.8s ease-out 0.9s forwards;
}

.hero-text[data-animate="fade-up"] .hero-cta {
    opacity: 0;
    animation: heroElementFadeIn 0.8s ease-out 1.1s forwards;
}

@keyframes heroElementFadeIn {
    to {
        opacity: 1;
    }
}

@keyframes titleGlow {
    0%, 100% {
        text-shadow: 
            0 0 20px rgba(168, 85, 247, 0.5),
            0 0 40px rgba(168, 85, 247, 0.3),
            0 0 60px rgba(236, 72, 153, 0.2);
    }
    50% {
        text-shadow: 
            0 0 30px rgba(168, 85, 247, 0.8),
            0 0 60px rgba(168, 85, 247, 0.5),
            0 0 90px rgba(236, 72, 153, 0.4);
    }
}

/* ============================================
   Stats Section
   ============================================ */

.stats-section {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.05), rgba(236, 72, 153, 0.05));
    padding: var(--spacing-xl) 0;
}

.stats-layout {
    display: grid;
    gap: var(--spacing-lg);
    align-items: start;
}

.stats-narrative {
    padding: var(--spacing-lg);
    border-radius: 24px;
    border: 1px solid var(--color-border);
    background: rgba(10, 10, 15, 0.5);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.stats-narrative .section-title {
    margin-bottom: var(--spacing-sm);
}

.stats-points {
    list-style: none;
    margin: var(--spacing-md) 0;
    display: grid;
    gap: var(--spacing-sm);
}

.stats-points li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    color: var(--color-text-muted);
}

.stats-points li::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    margin-top: 0.4rem;
    flex-shrink: 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
}

.stat-item {
    text-align: center;
    padding: var(--spacing-md);
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-xs);
    display: block;
}

.stat-label {
    font-size: 1rem;
    color: var(--color-text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (min-width: 992px) {
    .stats-layout {
        grid-template-columns: 1.1fr 1fr;
    }
}

/* ============================================
   News Section
   ============================================ */

.news-section {
    background: var(--color-bg-secondary);
    padding: var(--spacing-xl) 0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.news-card {
    background: var(--color-bg);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: var(--transition-base);
    display: flex;
    flex-direction: column;
}

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

.news-image {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.news-date {
    position: absolute;
    top: var(--spacing-sm);
    left: var(--spacing-sm);
    background: rgba(10, 10, 15, 0.95);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary-light);
}

.news-content {
    padding: var(--spacing-md);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(168, 85, 247, 0.1);
    color: var(--color-primary);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    width: fit-content;
}

.news-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
    color: var(--color-text);
}

.news-excerpt {
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: var(--spacing-sm);
    flex: 1;
}

.news-link {
    color: var(--color-primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-base);
}

.news-link:hover {
    gap: 1rem;
    color: var(--color-primary-dark);
}

.news-card-spotlight {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    min-height: 320px;
}

.news-card-spotlight .news-content {
    padding: var(--spacing-lg);
}

.news-card-column {
    border-left: 3px solid rgba(168, 85, 247, 0.3);
}

@media (min-width: 992px) {
    .news-card-spotlight {
        grid-column: span 2;
    }

    .news-card-spotlight .news-image {
        height: 100%;
    }
}
/* ============================================
   Technology Section
   ============================================ */

.technology-section {
    padding: var(--spacing-xl) 0;
}

.tech-layout {
    display: grid;
    gap: var(--spacing-lg);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.tech-card {
    background: var(--color-bg-secondary);
    border-radius: 16px;
    padding: var(--spacing-md);
    border: 1px solid var(--color-border);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.tech-card-featured {
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    overflow: hidden;
}

.tech-featured-media {
    position: relative;
    min-height: 260px;
    overflow: hidden;
}

.tech-featured-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tech-featured-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5, 5, 10, 0), rgba(5, 5, 15, 0.75));
}

.tech-badge {
    position: absolute;
    top: var(--spacing-md);
    left: var(--spacing-md);
    padding: 0.35rem 0.95rem;
    border-radius: 999px;
    background: rgba(10, 10, 15, 0.8);
    color: var(--color-primary-light);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    z-index: 1;
}

.tech-featured-body {
    padding: var(--spacing-lg);
    display: grid;
    gap: var(--spacing-md);
}

.tech-featured-body h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin: 0;
}

.tech-featured-body p {
    color: var(--color-text-muted);
    line-height: 1.7;
}

.tech-pills {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tech-pills li {
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.85rem;
    color: var(--color-text-muted);
    background: rgba(255, 255, 255, 0.03);
}

.tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transform: scaleX(0);
    transition: var(--transition-base);
}

.tech-card:hover::before {
    transform: scaleX(1);
}

.tech-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
}

.tech-icon {
    width: 64px;
    height: 64px;
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(236, 72, 153, 0.1));
    border-radius: 12px;
    color: var(--color-primary);
}

.tech-icon svg {
    width: 32px;
    height: 32px;
}

.tech-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
    color: var(--color-text);
}

.tech-description {
    color: var(--color-text-muted);
    line-height: 1.6;
}

@media (min-width: 1024px) {
    .tech-layout {
        grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
        align-items: start;
    }
}

/* ============================================
   Testimonials Section
   ============================================ */

.testimonials-section {
    background: var(--color-bg-secondary);
    padding: var(--spacing-xl) 0;
}

.testimonials-layout {
    display: grid;
    gap: var(--spacing-lg);
}

.testimonial-card {
    background: var(--color-bg);
    border-radius: 16px;
    padding: var(--spacing-md);
    border: 1px solid var(--color-border);
    transition: var(--transition-base);
    position: relative;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.testimonial-quote {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: var(--spacing-md);
    position: relative;
    padding-left: var(--spacing-md);
}

.testimonial-quote::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 4rem;
    color: var(--color-primary);
    opacity: 0.2;
    font-family: serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--color-primary);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-info {
    flex: 1;
}

.testimonial-name {
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.25rem;
}

.testimonial-role {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    color: var(--color-accent);
}

.testimonial-card-featured {
    padding: 0;
    overflow: hidden;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.testimonial-spotlight-media {
    position: relative;
    min-height: 280px;
}

.testimonial-spotlight-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-spotlight-body {
    padding: var(--spacing-lg);
    display: grid;
    gap: var(--spacing-md);
}

.testimonial-stack {
    display: grid;
    gap: var(--spacing-md);
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.testimonial-card-outline {
    background: transparent;
    border-style: dashed;
}

@media (min-width: 992px) {
    .testimonials-layout {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
        align-items: stretch;
    }
}

/* ============================================
   Back to Top Button
   ============================================ */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--color-bg-tertiary);
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    color: var(--color-primary);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.3),
        0 0 0 0 rgba(168, 85, 247, 0.4);
    overflow: hidden;
    will-change: transform, opacity;
}

.back-to-top::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
    z-index: -1;
}

.back-to-top::after {
    content: '↑';
    font-size: 1.25rem;
    font-weight: bold;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease, color 0.3s ease;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.back-to-top:hover {
    transform: translateY(-8px) scale(1.05);
    border-color: var(--color-secondary);
    box-shadow: 
        0 8px 30px rgba(0, 0, 0, 0.4),
        0 0 0 8px rgba(168, 85, 247, 0.2),
        0 0 0 16px rgba(236, 72, 153, 0.1);
}

.back-to-top:hover::before {
    width: 100%;
    height: 100%;
}

.back-to-top:hover::after {
    color: white;
    transform: translateY(-2px);
}

.back-to-top:active {
    transform: translateY(-4px) scale(1.02);
}

/* Enhanced animations for secondary pages */

.game-detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(168, 85, 247, 0.1),
        transparent
    );
    transition: left 0.6s ease;
    z-index: 0;
    pointer-events: none;
}

.game-detail-card:hover::before {
    left: 100%;
}

.game-detail-card[data-animate].animated {
    animation: cardSlideIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.game-detail-image {
    position: relative;
    overflow: hidden;
}

.game-detail-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(168, 85, 247, 0.1),
        rgba(236, 72, 153, 0.1)
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.game-detail-card:hover .game-detail-image::after {
    opacity: 1;
}

.game-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.2),
        0 0 30px rgba(168, 85, 247, 0.2);
    border-color: var(--color-primary);
}

.value-card {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.value-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle,
        rgba(168, 85, 247, 0.1) 0%,
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.value-card:hover::before {
    opacity: 1;
}

.value-card[data-animate].animated {
    animation: valueCardReveal 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.value-icon {
    position: relative;
    transition: transform 0.3s ease;
}

.value-card:hover .value-icon {
    transform: scale(1.1) rotate(5deg);
}

.team-card {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.team-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.team-card:hover::after {
    transform: scaleX(1);
}

.team-card[data-animate].animated {
    animation: teamCardReveal 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.mission-image,
.culture-image {
    position: relative;
    overflow: hidden;
}

.mission-image::before,
.culture-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(168, 85, 247, 0.2),
        rgba(236, 72, 153, 0.2)
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.mission-image:hover::before,
.culture-image:hover::before {
    opacity: 1;
}

.mission-image img,
.culture-image img {
    transition: transform 0.5s ease;
}

.mission-image:hover img,
.culture-image:hover img {
    transform: scale(1.05);
}

@keyframes cardSlideIn {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes valueCardReveal {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes teamCardReveal {
    0% {
        opacity: 0;
        transform: translateY(40px) rotateX(10deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0);
    }
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text {
        max-width: 100%;
    }
    
    .mission-content,
    .culture-content {
        grid-template-columns: 1fr;
    }
    
    .game-detail-card {
        grid-template-columns: 1fr;
    }
    
    .game-detail-card.reverse {
        direction: ltr;
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-xl: 4rem;
        --spacing-lg: 3rem;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--color-bg-secondary);
        flex-direction: column;
        padding: var(--spacing-md);
        border-bottom: 1px solid var(--color-border);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-base);
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .games-grid,
    .features-grid,
    .values-grid,
    .team-grid,
    .news-grid,
    .testimonials-grid,
    .tech-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .culture-highlights {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .hero-title,
    .page-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .btn {
        width: 100%;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
}

