/* ============================================
   CSS VARIABLES & RESET
   ============================================ */

:root {
    /* Neumorphism Base Colors */
    --bg: #e0e5ec;
    --bg-dark: #c8cdd5;
    --bg-light: #ffffff;
    --shadow-dark: #a3b1c6;
    --shadow-light: #ffffff;
    
    /* Brand Colors */
    --primary: #6d5dfc;
    --primary-dark: #5a4bd4;
    --primary-light: #8b7eff;
    --primary-glow: rgba(109, 93, 252, 0.3);
    --accent: #ff6b9d;
    --accent-dark: #e0527f;
    --accent-light: #ff8db7;
    --accent-glow: rgba(255, 107, 157, 0.3);
    
    /* Text */
    --text-primary: #2d3436;
    --text-secondary: #636e72;
    --text-muted: #8395a7;
    --text-on-primary: #ffffff;
    
    /* Neumorphism Shadows */
    --neu-shadow: 8px 8px 16px var(--shadow-dark), -8px -8px 16px var(--shadow-light);
    --neu-shadow-sm: 4px 4px 8px var(--shadow-dark), -4px -4px 8px var(--shadow-light);
    --neu-shadow-lg: 12px 12px 24px var(--shadow-dark), -12px -12px 24px var(--shadow-light);
    --neu-shadow-xl: 20px 20px 40px var(--shadow-dark), -20px -20px 40px var(--shadow-light);
    --neu-inset: inset 4px 4px 8px var(--shadow-dark), inset -4px -4px 8px var(--shadow-light);
    --neu-inset-sm: inset 2px 2px 4px var(--shadow-dark), inset -2px -2px 4px var(--shadow-light);
    --neu-inset-lg: inset 8px 8px 16px var(--shadow-dark), inset -8px -8px 16px var(--shadow-light);
    
    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 96px;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-round: 50%;
    --radius-pill: 100px;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-spring: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    
    /* Typography */
    --font-display: 'Syne', sans-serif;
    --font-body: 'Outfit', sans-serif;
    
    /* Z-index */
    --z-header: 100;
    --z-modal: 200;
    --z-cookie: 300;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover {
    color: var(--primary-dark);
}

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: var(--font-body);
    background: none;
}

input, textarea, select {
    font-family: var(--font-body);
    outline: none;
    border: none;
}

/* ============================================
   CONTAINER
   ============================================ */

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-primary);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }

p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary);
    color: var(--text-on-primary);
    box-shadow: 6px 6px 12px var(--shadow-dark), -6px -6px 12px var(--shadow-light), 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: var(--text-on-primary);
    box-shadow: 4px 4px 8px var(--shadow-dark), -4px -4px 8px var(--shadow-light), 0 6px 25px var(--primary-glow);
    transform: translateY(-2px);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: var(--neu-inset-sm), 0 2px 10px var(--primary-glow);
}

.btn-secondary {
    background: var(--bg);
    color: var(--text-primary);
    box-shadow: var(--neu-shadow-sm);
}

.btn-secondary:hover {
    color: var(--primary);
    box-shadow: 6px 6px 12px var(--shadow-dark), -6px -6px 12px var(--shadow-light);
    transform: translateY(-2px);
}

.btn-secondary:active {
    transform: translateY(0);
    box-shadow: var(--neu-inset-sm);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
    border-radius: var(--radius-lg);
}

.btn-full {
    width: 100%;
    justify-content: center;
    padding: 16px 28px;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-header);
    padding: var(--space-md) 0;
    transition: all var(--transition-base);
    background: transparent;
}

.header.scrolled {
    background: rgba(224, 229, 236, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0,0,0,0.08);
    padding: var(--space-sm) 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    color: var(--text-primary);
    z-index: 10;
}

.logo-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 4px 4px 8px var(--shadow-dark), -4px -4px 8px var(--shadow-light), 0 2px 10px var(--primary-glow);
    transition: transform var(--transition-spring);
}

.logo:hover .logo-icon {
    transform: rotate(-10deg) scale(1.05);
}

.logo-text {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: -0.02em;
}

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

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

.nav-link {
    font-weight: 500;
    font-size: 0.92rem;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: width var(--transition-base);
}

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

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

.nav-cta {
    background: var(--primary);
    color: white !important;
    padding: 10px 22px;
    border-radius: var(--radius-pill);
    box-shadow: 0 3px 12px var(--primary-glow);
    font-weight: 600;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    color: white !important;
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 5px 20px var(--primary-glow);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 10;
}

.hamburger-line {
    width: 26px;
    height: 2.5px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.nav-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 60px;
    position: relative;
    overflow: hidden;
}

.hero > .container {
    display: contents;
}

.hero-content {
    flex: 1;
    max-width: 580px;
    padding: 0 var(--space-lg);
    margin-left: max(var(--space-lg), calc((100vw - 1200px) / 2 + var(--space-lg)));
    z-index: 2;
    position: relative;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    position: relative;
}

.hero {
    display: flex;
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: var(--primary);
    top: -200px;
    right: -100px;
    animation: float-slow 20s ease-in-out infinite;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    bottom: -100px;
    left: -50px;
    animation: float-slow 25s ease-in-out infinite reverse;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: var(--primary);
    top: 40%;
    left: 30%;
    animation: float-slow 15s ease-in-out infinite;
}

.shape-4 {
    width: 150px;
    height: 150px;
    background: var(--accent);
    top: 20%;
    right: 30%;
    animation: float-slow 18s ease-in-out infinite reverse;
}

.shape-5 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    bottom: 10%;
    right: 20%;
    animation: float-slow 22s ease-in-out infinite;
}

@keyframes float-slow {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -20px) scale(1.05); }
    50% { transform: translate(-20px, 30px) scale(0.95); }
    75% { transform: translate(15px, 15px) scale(1.02); }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--bg);
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    box-shadow: var(--neu-shadow-sm);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: var(--space-xl);
    animation: slideInUp 0.8s ease forwards;
    opacity: 0;
}

.hero-badge i {
    font-size: 0.9rem;
}

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

.hero-title {
    margin-bottom: var(--space-lg);
    animation: slideInUp 0.8s ease 0.15s forwards;
    opacity: 0;
}

.hero-title-line {
    display: block;
}

.hero-title-accent {
    color: var(--primary);
    position: relative;
}

.hero-title-accent::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    right: 0;
    height: 8px;
    background: var(--accent-glow);
    border-radius: 4px;
    z-index: -1;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: var(--space-2xl);
    max-width: 480px;
    animation: slideInUp 0.8s ease 0.3s forwards;
    opacity: 0;
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-3xl);
    flex-wrap: wrap;
    animation: slideInUp 0.8s ease 0.45s forwards;
    opacity: 0;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    background: var(--bg);
    padding: var(--space-lg) var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--neu-shadow);
    animation: slideInUp 0.8s ease 0.6s forwards;
    opacity: 0;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
}

.hero-stat-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--shadow-dark);
    opacity: 0.3;
}

/* Phone Mockup */
.phone-mockup {
    position: relative;
    animation: slideInUp 1s ease 0.4s forwards;
    opacity: 0;
}

.phone-frame {
    width: 280px;
    height: 560px;
    background: #1a1a2e;
    border-radius: 36px;
    padding: 12px;
    position: relative;
    box-shadow: var(--neu-shadow-xl), 0 20px 60px rgba(0,0,0,0.15), inset 0 0 0 2px rgba(255,255,255,0.05);
}

.phone-notch {
    width: 100px;
    height: 24px;
    background: #1a1a2e;
    border-radius: 0 0 16px 16px;
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 26px;
    overflow: hidden;
    background: linear-gradient(180deg, #0f0f23 0%, #1a1a3e 50%, #0f0f23 100%);
    position: relative;
}

.phone-reflection {
    position: absolute;
    top: -10%;
    left: -10%;
    right: -10%;
    bottom: -10%;
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, transparent 40%, transparent 60%, rgba(255,255,255,0.02) 100%);
    border-radius: 40px;
    pointer-events: none;
}

/* Game Preview Inside Phone */
.game-preview {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.game-hud {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px 12px 8px;
    z-index: 3;
}

.hud-health {
    display: flex;
    align-items: center;
    gap: 6px;
}

.health-bar {
    width: 60px;
    height: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
    overflow: hidden;
}

.health-fill {
    width: 87%;
    height: 100%;
    background: linear-gradient(90deg, #ff6b9d, #6d5dfc);
    border-radius: 3px;
    animation: health-pulse 2s ease-in-out infinite;
}

@keyframes health-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.hud-health span, .hud-score, .hud-energy span {
    font-size: 0.6rem;
    color: rgba(255,255,255,0.7);
    font-weight: 600;
}

.hud-score {
    background: rgba(109, 93, 252, 0.3);
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 0.65rem;
    color: white;
}

.hud-energy {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #ffcc00;
}

.hud-energy i {
    font-size: 0.55rem;
    color: #ffcc00;
}

.game-arena {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.arena-grid {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(rgba(109,93,252,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(109,93,252,0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    animation: grid-scroll 10s linear infinite;
}

@keyframes grid-scroll {
    0% { transform: translate(0, 0); }
    100% { transform: translate(30px, 30px); }
}

.player-char {
    position: absolute;
    bottom: 40%;
    left: 35%;
    font-size: 1.8rem;
    color: var(--primary-light);
    animation: player-bob 2s ease-in-out infinite;
    z-index: 2;
}

.char-glow {
    position: absolute;
    width: 50px;
    height: 50px;
    background: radial-gradient(circle, var(--primary-glow), transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: glow-pulse 2s ease-in-out infinite;
}

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

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

.enemy-1 {
    position: absolute;
    top: 25%;
    right: 20%;
    font-size: 1.3rem;
    color: var(--accent);
    animation: enemy-float 3s ease-in-out infinite;
    opacity: 0.9;
}

.enemy-2 {
    position: absolute;
    top: 50%;
    right: 35%;
    font-size: 1.1rem;
    color: #ff4757;
    animation: enemy-float 2.5s ease-in-out infinite 0.5s;
    opacity: 0.8;
}

@keyframes enemy-float {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(-10px, 5px); }
    66% { transform: translate(8px, -8px); }
}

.projectile {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--primary-light);
    box-shadow: 0 0 8px var(--primary-light);
}

.proj-1 {
    top: 45%;
    left: 45%;
    animation: projectile-fly-1 1.5s linear infinite;
}

.proj-2 {
    top: 35%;
    left: 50%;
    animation: projectile-fly-2 2s linear infinite 0.3s;
}

.proj-3 {
    top: 55%;
    left: 40%;
    animation: projectile-fly-1 1.8s linear infinite 0.7s;
}

@keyframes projectile-fly-1 {
    0% { transform: translate(0, 0); opacity: 1; }
    100% { transform: translate(80px, -60px); opacity: 0; }
}

@keyframes projectile-fly-2 {
    0% { transform: translate(0, 0); opacity: 1; }
    100% { transform: translate(60px, -80px); opacity: 0; }
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
}

.particle-1 { background: var(--accent); top: 30%; left: 20%; animation: sparkle 2s ease-in-out infinite; }
.particle-2 { background: var(--primary-light); top: 60%; left: 70%; animation: sparkle 2.5s ease-in-out infinite 0.3s; }
.particle-3 { background: #ffcc00; top: 40%; left: 55%; animation: sparkle 1.8s ease-in-out infinite 0.6s; }
.particle-4 { background: var(--accent); top: 70%; left: 30%; animation: sparkle 2.2s ease-in-out infinite 0.9s; }
.particle-5 { background: var(--primary-light); top: 20%; left: 60%; animation: sparkle 2.8s ease-in-out infinite 1.2s; }

@keyframes sparkle {
    0%, 100% { opacity: 0; transform: scale(0); }
    50% { opacity: 1; transform: scale(1.5); }
}

.game-controls {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 12px;
    z-index: 3;
}

.control-joystick {
    width: 60px;
    height: 60px;
}

.joystick-ring {
    width: 100%;
    height: 100%;
    border: 2px solid rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.joystick-knob {
    width: 24px;
    height: 24px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    animation: joystick-move 4s ease-in-out infinite;
}

@keyframes joystick-move {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(6px, -4px); }
    50% { transform: translate(-4px, 6px); }
    75% { transform: translate(4px, 4px); }
}

.control-buttons {
    display: flex;
    gap: 8px;
}

.action-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: white;
}

.action-btn-attack {
    background: rgba(255, 107, 157, 0.4);
    border: 1.5px solid rgba(255, 107, 157, 0.6);
    animation: btn-glow-1 2s ease-in-out infinite;
}

.action-btn-skill {
    background: rgba(109, 93, 252, 0.4);
    border: 1.5px solid rgba(109, 93, 252, 0.6);
    animation: btn-glow-2 2s ease-in-out infinite 0.3s;
}

.action-btn-dodge {
    background: rgba(255, 204, 0, 0.3);
    border: 1.5px solid rgba(255, 204, 0, 0.5);
    animation: btn-glow-1 2s ease-in-out infinite 0.6s;
}

@keyframes btn-glow-1 {
    0%, 100% { box-shadow: 0 0 5px rgba(255, 107, 157, 0.3); }
    50% { box-shadow: 0 0 15px rgba(255, 107, 157, 0.5); }
}

@keyframes btn-glow-2 {
    0%, 100% { box-shadow: 0 0 5px rgba(109, 93, 252, 0.3); }
    50% { box-shadow: 0 0 15px rgba(109, 93, 252, 0.5); }
}

/* ============================================
   SOCIAL PROOF TICKER
   ============================================ */

.social-proof-section {
    padding: var(--space-xl) 0;
    overflow: hidden;
    background: var(--bg);
    position: relative;
}

.social-proof-section::before,
.social-proof-section::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.social-proof-section::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg), transparent);
}

.social-proof-section::after {
    right: 0;
    background: linear-gradient(-90deg, var(--bg), transparent);
}

.ticker-wrapper {
    overflow: hidden;
}

.ticker-track {
    display: flex;
    gap: var(--space-xl);
    animation: ticker-scroll 40s linear infinite;
    width: max-content;
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--bg);
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    box-shadow: var(--neu-shadow-sm);
    white-space: nowrap;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    flex-shrink: 0;
}

.ticker-item i {
    color: var(--primary);
    font-size: 0.8rem;
}

.ticker-item .ticker-accent {
    color: var(--accent);
    font-weight: 700;
}

@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================
   SECTION COMMON STYLES
   ============================================ */

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--bg);
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    box-shadow: var(--neu-shadow-sm);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: var(--space-lg);
}

.section-tag i {
    font-size: 0.75rem;
}

.section-title {
    margin-bottom: var(--space-md);
}

.section-desc {
    font-size: 1.05rem;
    max-width: 550px;
    margin: 0 auto;
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about-section {
    padding: var(--space-4xl) 0;
}

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

.about-card {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--neu-shadow);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.about-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--neu-shadow-lg);
}

.about-card-large {
    grid-column: span 3;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
    padding: var(--space-2xl);
}

.about-card-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: var(--bg);
    box-shadow: var(--neu-shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: var(--space-md);
    transition: all var(--transition-base);
}

.about-card:hover .about-card-icon {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.about-card h3 {
    font-size: 1.15rem;
    margin-bottom: var(--space-sm);
}

.about-card p {
    font-size: 0.92rem;
}

/* Mini game demo visual */
.about-card-visual {
    grid-column: 2;
    grid-row: 1 / span 3;
}

.mini-game-demo {
    width: 100%;
    height: 200px;
    position: relative;
    background: var(--bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--neu-inset-lg);
    overflow: hidden;
}

.demo-element {
    position: absolute;
    border-radius: var(--radius-sm);
}

.de-1 {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    top: 30%;
    left: 20%;
    animation: demo-move-1 4s ease-in-out infinite;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.de-2 {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    top: 50%;
    right: 25%;
    border-radius: 50%;
    animation: demo-move-2 3.5s ease-in-out infinite;
    box-shadow: 0 4px 15px var(--accent-glow);
}

.de-3 {
    width: 25px;
    height: 25px;
    background: linear-gradient(135deg, #ffcc00, #ffa502);
    bottom: 25%;
    left: 40%;
    border-radius: 50%;
    animation: demo-move-3 5s ease-in-out infinite;
    box-shadow: 0 4px 10px rgba(255, 204, 0, 0.3);
}

.demo-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    border-radius: 1px;
}

.dl-1 {
    width: 120px;
    top: 45%;
    left: 15%;
    animation: line-pulse 3s ease-in-out infinite;
}

.dl-2 {
    width: 80px;
    top: 65%;
    right: 20%;
    animation: line-pulse 3s ease-in-out infinite 1s;
}

@keyframes demo-move-1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(30px, 20px) rotate(45deg); }
}

@keyframes demo-move-2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-20px, -15px) scale(1.2); }
}

@keyframes demo-move-3 {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(20px, -10px); }
    66% { transform: translate(-15px, 15px); }
}

@keyframes line-pulse {
    0%, 100% { opacity: 0.2; transform: scaleX(0.5); }
    50% { opacity: 1; transform: scaleX(1); }
}

/* ============================================
   FEATURES SECTION
   ============================================ */

.features-section {
    padding: var(--space-4xl) 0;
    position: relative;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--shadow-dark), transparent);
}

.features-showcase {
    display: flex;
    flex-direction: column;
    gap: var(--space-3xl);
}

.feature-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    position: relative;
    background: var(--bg);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    box-shadow: var(--neu-shadow);
}

.feature-item-reverse {
    direction: rtl;
}

.feature-item-reverse > * {
    direction: ltr;
}

.feature-number {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-xl);
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 900;
    color: var(--shadow-dark);
    opacity: 0.3;
    line-height: 1;
}

.feature-item-reverse .feature-number {
    right: auto;
    left: var(--space-xl);
}

.feature-content h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
    color: var(--primary);
}

.feature-content p {
    margin-bottom: var(--space-lg);
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.92rem;
    color: var(--text-secondary);
}

.feature-list li i {
    color: var(--primary);
    font-size: 0.85rem;
}

/* Feature Visuals */
.feature-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 260px;
}

/* Class Wheel */
.class-wheel {
    position: relative;
    width: 260px;
    height: 260px;
}

.class-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.class-node {
    position: absolute;
    width: 44px;
    height: 44px;
    background: var(--bg);
    border-radius: var(--radius-round);
    box-shadow: var(--neu-shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--primary);
    transition: all var(--transition-base);
    z-index: 2;
}

.class-node:hover {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px var(--primary-glow);
    transform: scale(1.15);
}

.cn-1 { top: 0; left: 50%; transform: translateX(-50%); }
.cn-2 { top: 15%; right: 5%; }
.cn-3 { top: 50%; right: -5%; transform: translateY(-50%); }
.cn-4 { bottom: 15%; right: 5%; }
.cn-5 { bottom: 0; left: 50%; transform: translateX(-50%); }
.cn-6 { bottom: 15%; left: 5%; }
.cn-7 { top: 50%; left: -5%; transform: translateY(-50%); }
.cn-8 { top: 15%; left: 5%; }

.class-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: var(--radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: white;
    box-shadow: 0 6px 25px var(--primary-glow);
    z-index: 3;
    animation: center-pulse 3s ease-in-out infinite;
}

@keyframes center-pulse {
    0%, 100% { box-shadow: 0 6px 25px var(--primary-glow); }
    50% { box-shadow: 0 6px 40px rgba(109, 93, 252, 0.5); }
}

/* Arena Preview */
.arena-preview {
    position: relative;
    width: 240px;
    height: 240px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 8px;
    perspective: 600px;
}

.arena-tile {
    background: var(--bg);
    border-radius: var(--radius-sm);
    box-shadow: var(--neu-shadow-sm);
    transition: all var(--transition-base);
}

.arena-tile:nth-child(odd) {
    animation: tile-pulse 4s ease-in-out infinite;
}

.arena-tile:nth-child(even) {
    animation: tile-pulse 4s ease-in-out infinite 2s;
}

@keyframes tile-pulse {
    0%, 100% { box-shadow: var(--neu-shadow-sm); transform: translateZ(0); }
    50% { box-shadow: var(--neu-inset-sm); transform: translateZ(-5px); }
}

.arena-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.ag-1 {
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, var(--primary-glow), transparent 70%);
    top: 20%;
    left: 10%;
    animation: arena-glow-move 6s ease-in-out infinite;
}

.ag-2 {
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, var(--accent-glow), transparent 70%);
    bottom: 20%;
    right: 10%;
    animation: arena-glow-move 5s ease-in-out infinite reverse;
}

@keyframes arena-glow-move {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, 20px); }
}

/* Progress Tree */
.progress-tree {
    position: relative;
    width: 240px;
    height: 280px;
}

.tree-node {
    position: absolute;
    width: 44px;
    height: 44px;
    background: var(--bg);
    border-radius: var(--radius-round);
    box-shadow: var(--neu-shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--primary);
    z-index: 2;
    transition: all var(--transition-base);
}

.tree-node:hover {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.tn-root { bottom: 0; left: 50%; transform: translateX(-50%); background: var(--primary); color: white; box-shadow: 0 4px 15px var(--primary-glow); }
.tn-1 { bottom: 35%; left: 20%; }
.tn-2 { bottom: 35%; right: 20%; }
.tn-3 { top: 10%; left: 5%; }
.tn-4 { top: 0; left: 50%; transform: translateX(-50%); }
.tn-5 { top: 10%; right: 5%; }

.tree-branch {
    position: absolute;
    background: var(--shadow-dark);
    opacity: 0.3;
    z-index: 1;
}

.tb-1 { width: 2px; height: 60px; bottom: 44px; left: calc(50% - 1px); transform-origin: bottom center; transform: rotate(25deg); }
.tb-2 { width: 2px; height: 60px; bottom: 44px; left: calc(50% - 1px); transform-origin: bottom center; transform: rotate(-25deg); }
.tb-3 { width: 2px; height: 55px; bottom: 135px; left: 35%; transform-origin: bottom center; transform: rotate(20deg); }
.tb-4 { width: 2px; height: 50px; bottom: 135px; left: 50%; transform-origin: bottom center; }
.tb-5 { width: 2px; height: 55px; bottom: 135px; right: 35%; transform-origin: bottom center; transform: rotate(-20deg); }

/* ============================================
   COMMUNITY / TESTIMONIALS
   ============================================ */

.community-section {
    padding: var(--space-4xl) 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-3xl);
}

.testimonial-card {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--neu-shadow);
    transition: all var(--transition-base);
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--neu-shadow-lg);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-round);
    background: var(--bg);
    box-shadow: var(--neu-inset-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1rem;
}

.testimonial-name {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.testimonial-tag {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 500;
}

.testimonial-rating {
    margin-left: auto;
    display: flex;
    gap: 2px;
}

.testimonial-rating i {
    font-size: 0.7rem;
    color: #ffcc00;
}

.testimonial-card p {
    font-size: 0.92rem;
    font-style: italic;
    line-height: 1.6;
}

/* Live Counter */
.live-counter-section {
    display: flex;
    gap: var(--space-xl);
    align-items: flex-start;
}

.live-counter-card {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: var(--space-xl) var(--space-2xl);
    box-shadow: var(--neu-shadow);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex-shrink: 0;
}

.live-dot {
    width: 12px;
    height: 12px;
    background: #2ed573;
    border-radius: 50%;
    animation: live-blink 1.5s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes live-blink {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(46, 213, 115, 0.5); }
    50% { opacity: 0.7; box-shadow: 0 0 0 8px rgba(46, 213, 115, 0); }
}

.live-counter-number {
    display: block;
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
}

.live-counter-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.live-activity-feed {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    max-height: 180px;
    overflow: hidden;
    position: relative;
}

.live-activity-feed::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(transparent, var(--bg));
    pointer-events: none;
}

.activity-item {
    background: var(--bg);
    padding: 10px 16px;
    border-radius: var(--radius-md);
    box-shadow: var(--neu-shadow-sm);
    font-size: 0.82rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    animation: activity-slide-in 0.5s ease forwards;
    opacity: 0;
    transform: translateY(-10px);
}

.activity-item i {
    color: var(--primary);
    font-size: 0.75rem;
    flex-shrink: 0;
}

.activity-item .activity-time {
    margin-left: auto;
    font-size: 0.7rem;
    color: var(--text-muted);
    flex-shrink: 0;
}

@keyframes activity-slide-in {
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   FAQ SECTION
   ============================================ */

.faq-section {
    padding: var(--space-4xl) 0;
    position: relative;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--shadow-dark), transparent);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.faq-item {
    background: var(--bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--neu-shadow);
    overflow: hidden;
    transition: all var(--transition-base);
}

.faq-item.active {
    box-shadow: var(--neu-shadow-lg);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg) var(--space-xl);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
    transition: color var(--transition-fast);
    background: transparent;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-arrow {
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: transform var(--transition-base);
    flex-shrink: 0;
    margin-left: var(--space-md);
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 var(--space-xl);
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 var(--space-xl) var(--space-lg);
}

.faq-answer p {
    font-size: 0.92rem;
    line-height: 1.7;
}

.faq-answer a {
    color: var(--primary);
    font-weight: 500;
}

/* ============================================
   REGISTER / LEAD FORM SECTION
   ============================================ */

.register-section {
    padding: var(--space-4xl) 0;
}

.register-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: flex-start;
}

.register-info {
    padding-top: var(--space-xl);
}

.register-info .section-tag {
    margin-bottom: var(--space-lg);
}

.register-info .section-title {
    margin-bottom: var(--space-md);
}

.register-info > p {
    margin-bottom: var(--space-2xl);
    font-size: 1.05rem;
}

.register-perks {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.perk-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    background: var(--bg);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--neu-shadow-sm);
    transition: all var(--transition-base);
}

.perk-item:hover {
    box-shadow: var(--neu-shadow);
    transform: translateX(4px);
}

.perk-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: var(--bg);
    box-shadow: var(--neu-shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--primary);
    flex-shrink: 0;
}

.perk-item strong {
    display: block;
    font-size: 0.92rem;
    color: var(--text-primary);
}

.perk-item span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Form */
.register-form-wrapper {
    background: var(--bg);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    box-shadow: var(--neu-shadow-lg);
}

.register-form h3 {
    font-size: 1.4rem;
    margin-bottom: var(--space-sm);
}

.form-note {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: var(--space-xl);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 18px;
    color: var(--text-muted);
    font-size: 0.85rem;
    pointer-events: none;
    transition: color var(--transition-fast);
}

.input-wrapper input {
    width: 100%;
    padding: 14px 18px 14px 48px;
    background: var(--bg);
    border-radius: var(--radius-md);
    box-shadow: var(--neu-inset);
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: all var(--transition-base);
}

.input-wrapper input::placeholder {
    color: var(--text-muted);
}

.input-wrapper input:focus {
    box-shadow: var(--neu-inset), 0 0 0 3px var(--primary-glow);
}

.input-wrapper input:focus + .input-icon,
.input-wrapper:focus-within .input-icon {
    color: var(--primary);
}

.input-wrapper input.error {
    box-shadow: var(--neu-inset), 0 0 0 3px rgba(255, 71, 87, 0.3);
}

.field-error {
    display: block;
    font-size: 0.78rem;
    color: #ff4757;
    margin-top: var(--space-xs);
    min-height: 18px;
}

/* Checkbox */
.form-checkbox-group {
    margin-bottom: var(--space-md);
}

.form-checkbox-group label.checkbox-label {
    margin-bottom: 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    cursor: pointer;
    font-weight: 400;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkbox-custom {
    width: 22px;
    height: 22px;
    min-width: 22px;
    border-radius: 6px;
    background: var(--bg);
    box-shadow: var(--neu-inset-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    color: transparent;
    transition: all var(--transition-base);
    margin-top: 1px;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
    background: var(--primary);
    color: white;
    box-shadow: 0 2px 8px var(--primary-glow);
}

.checkbox-label a {
    color: var(--primary);
    font-weight: 500;
}

/* Form Success */
.form-success {
    text-align: center;
    padding: var(--space-2xl);
}

.success-icon {
    font-size: 3rem;
    color: #2ed573;
    margin-bottom: var(--space-lg);
}

.success-icon i {
    filter: drop-shadow(0 4px 15px rgba(46, 213, 115, 0.4));
}

.form-success h3 {
    margin-bottom: var(--space-sm);
    color: #2ed573;
}

.form-error-msg {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    background: rgba(255, 71, 87, 0.1);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    margin-top: var(--space-md);
    color: #ff4757;
    font-size: 0.88rem;
    font-weight: 500;
}

.form-error-msg i {
    font-size: 1rem;
}

/* ============================================
   RESPONSIBLE GAMING
   ============================================ */

.responsible-section {
    padding: var(--space-3xl) 0;
}

.responsible-card {
    background: var(--bg);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    box-shadow: var(--neu-shadow);
    display: flex;
    gap: var(--space-xl);
    align-items: flex-start;
}

.responsible-icon {
    width: 64px;
    height: 64px;
    min-width: 64px;
    border-radius: var(--radius-lg);
    background: var(--bg);
    box-shadow: var(--neu-shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--accent);
}

.responsible-content h3 {
    margin-bottom: var(--space-sm);
    font-size: 1.3rem;
}

.responsible-content p {
    margin-bottom: var(--space-lg);
}

.responsible-links {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.responsible-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 10px 20px;
    background: var(--bg);
    border-radius: var(--radius-pill);
    box-shadow: var(--neu-shadow-sm);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all var(--transition-base);
}

.responsible-link:hover {
    color: var(--primary);
    box-shadow: var(--neu-shadow);
    transform: translateY(-2px);
}

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

.footer {
    padding: var(--space-3xl) 0 var(--space-xl);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--shadow-dark), transparent);
}

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

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

.footer-brand .logo {
    margin-bottom: var(--space-md);
}

.footer-desc {
    font-size: 0.88rem;
    margin-bottom: var(--space-lg);
    line-height: 1.6;
}


.social-link {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: var(--bg);
    box-shadow: var(--neu-shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: all var(--transition-base);
}

.social-link:hover {
    color: var(--primary);
    box-shadow: var(--neu-shadow);
    transform: translateY(-2px);
}

.footer-links-group h4 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.footer-links-group ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links-group a {
    font-size: 0.88rem;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

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

.footer-links-group a i {
    font-size: 0.75rem;
    width: 16px;
}

.footer-bottom {
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(163, 177, 198, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
}

.footer-badges {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    justify-content: center;
}

.footer-badge {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--bg);
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    box-shadow: var(--neu-shadow-sm);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
}

.footer-badge i {
    color: var(--primary);
    font-size: 0.75rem;
}

.footer-legal-text {
    text-align: center;
}

.footer-legal-text p {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ============================================
   COOKIE CONSENT BANNER
   ============================================ */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: var(--z-cookie);
    padding: var(--space-lg);
    background: rgba(224, 229, 236, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 -8px 30px rgba(0,0,0,0.1);
}

.cookie-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xl);
    flex-wrap: wrap;
}

.cookie-text {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    flex: 1;
    min-width: 300px;
}

.cookie-icon {
    font-size: 1.5rem;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.cookie-title {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.cookie-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.cookie-desc a {
    color: var(--primary);
    font-weight: 500;
}

.cookie-buttons {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.btn-cookie {
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 600;
    transition: all var(--transition-base);
}

.btn-cookie-accept {
    background: var(--primary);
    color: white;
    box-shadow: 0 3px 12px var(--primary-glow);
}

.btn-cookie-accept:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-cookie-reject {
    background: var(--bg);
    color: var(--text-secondary);
    box-shadow: var(--neu-shadow-sm);
}

.btn-cookie-reject:hover {
    color: var(--text-primary);
    box-shadow: var(--neu-shadow);
}

.btn-cookie-settings {
    background: transparent;
    color: var(--primary);
    text-decoration: underline;
}

.cookie-settings-panel {
    max-width: 1200px;
    margin: var(--space-lg) auto 0;
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(163, 177, 198, 0.3);
}

.cookie-setting-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) 0;
    border-bottom: 1px solid rgba(163, 177, 198, 0.15);
}

.cookie-setting-row strong {
    font-size: 0.9rem;
    color: var(--text-primary);
}

.cookie-setting-row p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
    flex-shrink: 0;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    inset: 0;
    background: var(--bg);
    border-radius: var(--radius-pill);
    box-shadow: var(--neu-inset-sm);
    transition: all var(--transition-base);
    cursor: pointer;
}

.toggle-slider::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--bg);
    box-shadow: var(--neu-shadow-sm);
    top: 3px;
    left: 3px;
    transition: all var(--transition-base);
}

.toggle-switch input:checked + .toggle-slider {
    background: var(--primary-glow);
}

.toggle-switch input:checked + .toggle-slider::before {
    transform: translateX(22px);
    background: var(--primary);
    box-shadow: 0 2px 8px var(--primary-glow);
}

.toggle-switch.disabled .toggle-slider {
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-settings-panel .btn-cookie {
    margin-top: var(--space-md);
}

/* ============================================
   AGE VERIFICATION MODAL
   ============================================ */

.age-modal {
    position: fixed;
    inset: 0;
    z-index: var(--z-modal);
    background: rgba(224, 229, 236, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
}

.age-modal-content {
    background: var(--bg);
    border-radius: var(--radius-xl);
    padding: var(--space-3xl);
    box-shadow: var(--neu-shadow-xl);
    text-align: center;
    max-width: 480px;
    width: 100%;
    animation: modal-appear 0.5s ease forwards;
}

@keyframes modal-appear {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.age-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-round);
    background: var(--bg);
    box-shadow: var(--neu-shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    margin: 0 auto var(--space-xl);
}

.age-icon-blocked {
    color: #ff4757;
}

.age-modal-content h2 {
    margin-bottom: var(--space-md);
}

.age-modal-content > p {
    margin-bottom: var(--space-sm);
}

.age-subtext {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: var(--space-xl);
}

.age-subtext a {
    color: var(--primary);
}

.age-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
}

.btn-age {
    padding: 14px 32px;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 700;
    transition: all var(--transition-base);
}

.btn-age-yes {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-age-yes:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px var(--primary-glow);
}

.btn-age-no {
    background: var(--bg);
    color: var(--text-secondary);
    box-shadow: var(--neu-shadow-sm);
}

.btn-age-no:hover {
    color: #ff4757;
    box-shadow: var(--neu-shadow);
}

/* ============================================
   LEGAL PAGES
   ============================================ */

.legal-hero {
    padding: 140px 0 60px;
    text-align: center;
}

.legal-hero-content {
    max-width: 600px;
    margin: 0 auto;
}

.legal-hero-content h1 {
    margin-bottom: var(--space-sm);
}

.legal-hero-content > p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.legal-section {
    padding: 0 0 var(--space-4xl);
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--space-2xl) var(--space-3xl);
    box-shadow: var(--neu-shadow);
}

.legal-content h2 {
    font-size: 1.35rem;
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid rgba(109, 93, 252, 0.1);
    color: var(--primary-dark);
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h3 {
    font-size: 1.08rem;
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.legal-content p {
    margin-bottom: var(--space-md);
    font-size: 0.92rem;
    line-height: 1.8;
}

.legal-content ul, .legal-content ol {
    margin-bottom: var(--space-md);
    padding-left: var(--space-xl);
}

.legal-content ul {
    list-style: disc;
}

.legal-content ol {
    list-style: decimal;
}

.legal-content li {
    font-size: 0.92rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: var(--space-xs);
}

.legal-content a {
    color: var(--primary);
    font-weight: 500;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: var(--space-lg);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.legal-table th,
.legal-table td {
    padding: 12px 16px;
    text-align: left;
    font-size: 0.88rem;
    border-bottom: 1px solid rgba(163, 177, 198, 0.2);
}

.legal-table th {
    background: rgba(109, 93, 252, 0.08);
    font-weight: 600;
    color: var(--text-primary);
}

.legal-table td {
    color: var(--text-secondary);
}

.legal-info-box {
    background: rgba(109, 93, 252, 0.05);
    border-left: 4px solid var(--primary);
    padding: var(--space-lg);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin-bottom: var(--space-lg);
}

.legal-info-box p {
    margin-bottom: var(--space-xs);
    font-size: 0.92rem;
}

.legal-info-box p:last-child {
    margin-bottom: 0;
}

.legal-footer-note {
    margin-top: var(--space-2xl);
    padding-top: var(--space-lg);
    border-top: 2px solid rgba(109, 93, 252, 0.1);
    text-align: center;
}

.legal-footer-note p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: var(--space-xs);
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

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

@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        padding: 120px 0 40px;
        text-align: center;
    }

    .hero-content {
        margin-left: 0;
        max-width: 100%;
        padding: 0 var(--space-lg);
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-subtitle {
        max-width: 500px;
    }

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

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

    .hero-visual {
        margin-top: var(--space-2xl);
    }

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

    .about-card-large {
        grid-column: span 2;
    }

    .feature-item {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .feature-item-reverse {
        direction: ltr;
    }

    .feature-number {
        right: var(--space-xl) !important;
        left: auto !important;
    }

    .register-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-xl);
    }

    .footer-brand {
        grid-column: span 2;
        max-width: 100%;
    }

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

    .live-counter-section {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--bg);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px var(--space-xl) var(--space-xl);
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        transition: right var(--transition-base);
        gap: var(--space-lg);
        z-index: 5;
    }

    .nav-links.open {
        right: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-cta {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

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

    .about-card-large {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }

    .about-card-visual {
        grid-column: 1;
        grid-row: auto;
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--space-md);
    }

    .hero-stat-divider {
        width: 40px;
        height: 1px;
    }

    .phone-frame {
        width: 230px;
        height: 460px;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: 1;
    }

    .cookie-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-buttons {
        flex-direction: column;
    }

    .age-buttons {
        flex-direction: column;
    }

    .responsible-card {
        flex-direction: column;
    }

    .legal-content {
        padding: var(--space-xl);
    }

    .feature-visual {
        min-height: 200px;
    }
}

@media (max-width: 480px) {
    :root {
        --space-lg: 16px;
        --space-xl: 24px;
        --space-2xl: 32px;
        --space-3xl: 48px;
        --space-4xl: 64px;
    }

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

    .phone-frame {
        width: 200px;
        height: 400px;
    }

    .btn-lg {
        padding: 14px 24px;
        font-size: 0.95rem;
    }

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

    .class-node {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }

    .class-center {
        width: 48px;
        height: 48px;
        font-size: 1.1rem;
    }
}

/* ============================================
   NOISE TEXTURE OVERLAY
   ============================================ */

body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.015;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
    border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .ticker-track {
        animation: none;
    }
}

/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================
   SELECTION STYLE
   ============================================ */

::selection {
    background: rgba(109, 93, 252, 0.2);
    color: var(--text-primary);
}

/* ============================================
   SCROLLBAR
   ============================================ */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--shadow-dark);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}
