/* ============================================
   REVOLT V - Premium AAA Cinematic Landing Page
   Complete Redesign with City-at-Night Aesthetic
   ============================================ */

/* ============================================
   CSS VARIABLES - Premium Color Palette
   ============================================ */
:root {
    /* Core Brand Colors */
    --neon-pink: #ff2d95;
    --neon-pink-glow: rgba(255, 45, 149, 0.5);
    --neon-cyan: #00f5ff;
    --neon-cyan-glow: rgba(0, 245, 255, 0.5);
    --neon-purple: #9d4edd;
    --neon-purple-glow: rgba(157, 78, 221, 0.5);
    --electric-blue: #3b82f6;
    --sunset-orange: #ff6b35;
    --accent-green: #00ff88;

    /* Deep Background Colors */
    --midnight-navy: #030712;
    --deep-space: #0a0e1a;
    --void-purple: #1a1025;
    --night-city: #0f1428;
    --urban-shadow: #1a1f3a;

    /* Glassmorphism */
    --glass-surface: rgba(255, 255, 255, 0.03);
    --glass-surface-hover: rgba(255, 255, 255, 0.06);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-hover: rgba(255, 255, 255, 0.15);
    --glass-blur: 20px;

    /* Typography */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.75);
    --text-tertiary: rgba(255, 255, 255, 0.5);
    --text-muted: rgba(255, 255, 255, 0.35);

    /* Gradients */
    --gradient-pink: linear-gradient(135deg, #ff2d95 0%, #ff6b6b 100%);
    --gradient-cyan: linear-gradient(135deg, #00f5ff 0%, #3b82f6 100%);
    --gradient-purple: linear-gradient(135deg, #9d4edd 0%, #ff2d95 100%);
    --gradient-sunset: linear-gradient(180deg, #ff6b35 0%, #ff2d95 100%);
    --gradient-mesh: radial-gradient(ellipse at 50% 50%, rgba(157, 78, 221, 0.15) 0%, transparent 70%);

    /* Shadows & Glows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 40px 100px rgba(0, 0, 0, 0.6);
    --glow-pink: 0 0 40px rgba(255, 45, 149, 0.4);
    --glow-cyan: 0 0 40px rgba(0, 245, 255, 0.4);
    --glow-purple: 0 0 40px rgba(157, 78, 221, 0.4);

    /* Spacing & Layout */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;

    /* Spacing Tokens */
    --section-padding-y: 120px;
    --section-padding-x: 20px;
    --element-gap: 24px;
    --container-max-width: 1400px;
    --hero-max-width: 900px;

    /* Typography Scale */
    --font-heading: 'Bebas Neue', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Transitions */
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    --transition-cinematic: 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    background: var(--midnight-navy);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Selection Color */
::selection {
    background: var(--neon-pink-glow);
    color: var(--text-primary);
}

::-moz-selection {
    background: var(--neon-pink-glow);
    color: var(--text-primary);
}

/* ============================================
   CUSTOM SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
    width: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--gradient-pink);
    border-radius: var(--radius-full);
    border: 2px solid var(--midnight-navy);
}

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

/* ============================================
   DYNAMIC CITY BACKGROUND CANVAS
   ============================================ */
#cityCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(180deg, var(--midnight-navy) 0%, var(--deep-space) 50%, var(--void-purple) 100%);
}

/* City Overlay - Vignette & Atmosphere */
.city-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 50% 30%, transparent 0%, rgba(3, 7, 18, 0.4) 70%, rgba(3, 7, 18, 0.8) 100%),
        radial-gradient(ellipse at 80% 80%, rgba(157, 78, 221, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 20% 80%, rgba(0, 245, 255, 0.06) 0%, transparent 50%);
    mix-blend-mode: multiply;
}

/* ============================================
   AMBIENT LIGHT BEAMS
   ============================================ */
.light-beams {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.beam {
    position: absolute;
    width: 300px;
    height: 800px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%);
    filter: blur(40px);
    opacity: 0.3;
    transform: rotate(-15deg);
    animation: beamFloat 20s ease-in-out infinite;
}

.beam-1 {
    left: 10%;
    top: -200px;
    animation-delay: 0s;
    background: linear-gradient(180deg, rgba(0, 245, 255, 0.08) 0%, transparent 100%);
}

.beam-2 {
    left: 50%;
    top: -300px;
    animation-delay: 7s;
    background: linear-gradient(180deg, rgba(255, 45, 149, 0.06) 0%, transparent 100%);
}

.beam-3 {
    left: 80%;
    top: -250px;
    animation-delay: 14s;
    background: linear-gradient(180deg, rgba(157, 78, 221, 0.07) 0%, transparent 100%);
}

@keyframes beamFloat {
    0%, 100% {
        transform: rotate(-15deg) translateY(0);
        opacity: 0.3;
    }
    50% {
        transform: rotate(-10deg) translateY(30px);
        opacity: 0.5;
    }
}

/* ============================================
   FOG/MIST ANIMATION
   ============================================ */
.fog-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.fog-layer {
    position: absolute;
    width: 200%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 320"><defs><linearGradient id="fogGrad" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:rgba(255,255,255,0)"/><stop offset="50%" style="stop-color:rgba(255,255,255,0.03)"/><stop offset="100%" style="stop-color:rgba(255,255,255,0.08)"/></linearGradient></defs><path fill="url(%23fogGrad)" d="M0,180 C150,160 350,200 500,170 C650,140 850,100 1000,130 C1100,150 1200,180 1200,180 L1200,320 L0,320 Z"/></svg>');
    background-size: 50% 100%;
    opacity: 0.4;
    animation: fogDrift 60s linear infinite;
}

.fog-1 { bottom: 0; animation-duration: 60s; }
.fog-2 { bottom: 5%; animation-duration: 45s; opacity: 0.3; }
.fog-3 { bottom: 10%; animation-duration: 75s; opacity: 0.2; }

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

/* ============================================
   NAVIGATION - GLASSMORPHISM
   ============================================ */
.nav-glass {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 40px;
    transition: all var(--transition-slow);
}

.nav-glass.scrolled {
    padding: 12px 40px;
    background: rgba(3, 7, 18, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

.nav-logo {
    font-family: var(--font-heading);
    font-size: 28px;
    letter-spacing: 0.15em;
    cursor: pointer;
}

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

.logo-accent {
    color: var(--neon-pink);
    text-shadow: var(--glow-pink);
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    position: relative;
    transition: color var(--transition-base);
}

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

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

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

.nav-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--glass-surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all var(--transition-base);
    overflow: hidden;
}

.nav-cta:hover {
    background: var(--glass-surface-hover);
    border-color: var(--neon-pink);
    box-shadow: 0 0 30px var(--neon-pink-glow);
}

.cta-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 45, 149, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    border-radius: inherit;
    opacity: 0;
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: var(--section-padding-y) var(--section-padding-x) 80px;
    z-index: 10;
    overflow: hidden;
}

.hero, .hero * {
    box-sizing: border-box;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 50% 40%, transparent 0%, rgba(3, 7, 18, 0.5) 60%, rgba(3, 7, 18, 0.9) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: var(--hero-max-width);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    background: rgba(0, 245, 255, 0.1);
    border: 1px solid rgba(0, 245, 255, 0.3);
    border-radius: var(--radius-full);
    margin-bottom: 40px;
    backdrop-filter: blur(10px);
    animation: fadeInDown 1s ease-out;
    box-shadow: 0 0 30px rgba(0, 245, 255, 0.2);
}

.badge-glow {
    width: 8px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--accent-green);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 20px var(--accent-green); }
    50% { opacity: 0.5; box-shadow: 0 0 10px var(--accent-green); }
}

.badge-text {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--accent-green);
    text-transform: uppercase;
}

/* Logo Container with Rings */
/* Logo Centerpiece - AAA Visuals */
.logo-container {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 0 auto 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
    z-index: 10;
    animation: logoContainerBreath 8s ease-in-out infinite;
}

.portal-system {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 1;
}

.portal-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    --parallax-x: 0px;
    --parallax-y: 0px;
    transform: translate(calc(-50% + var(--parallax-x)), calc(-50% + var(--parallax-y)));
    border-radius: 50%;
    border: 2px solid transparent;
    animation: ringRotate 20s linear infinite;
    transition: transform 0.1s ease-out;
}

.ring-outer {
    width: 340px;
    height: 340px;
    border: 2px solid rgba(0, 245, 255, 0.15);
    border-top-color: var(--neon-cyan);
    border-bottom-color: var(--neon-cyan);
    animation-duration: 25s;
    box-shadow: 0 0 30px rgba(0, 245, 255, 0.1);
}

.ring-middle {
    width: 280px;
    height: 280px;
    border: 2px solid rgba(255, 45, 149, 0.15);
    border-left-color: var(--neon-pink);
    border-right-color: var(--neon-pink);
    animation-duration: 18s;
    animation-direction: reverse;
    box-shadow: 0 0 30px rgba(255, 45, 149, 0.1);
}

.ring-inner {
    width: 220px;
    height: 220px;
    border: 1px solid rgba(157, 78, 221, 0.2);
    border-top-color: var(--neon-purple);
    animation-duration: 12s;
    box-shadow: 0 0 20px rgba(157, 78, 221, 0.1);
}

.energy-particles .particle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 0 10px white;
    z-index: 2;
}

.p1 { animation: orbitParticle 15s linear infinite; }
.p2 { animation: orbitParticle 12s linear infinite reverse; }
.p3 { animation: orbitParticle 18s linear infinite; }
.p4 { animation: orbitParticle 10s linear infinite reverse; }

@keyframes orbitParticle {
    0% { transform: rotate(0deg) translateX(150px) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: rotate(360deg) translateX(150px) rotate(-360deg); opacity: 0; }
}

.lens-flare {
    position: absolute;
    width: 600px;
    height: 2px;
    background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, transparent 70%);
    filter: blur(1px);
    transform: translate(-50%, -50%);
    left: 50%;
    top: 50%;
    pointer-events: none;
    opacity: 0.3;
}

.monolith {
    position: relative;
    width: 220px;
    height: 220px;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.1s ease-out;
    transform-style: preserve-3d;
}

.monolith-glass {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.03) 100%);
    backdrop-filter: blur(15px) saturate(150%);
    -webkit-backdrop-filter: blur(15px) saturate(150%);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 24px;
    box-shadow:
        0 30px 60px rgba(0,0,0,0.5),
        inset 0 0 20px rgba(255,255,255,0.05);
}

.monolith-reflection {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, transparent 100%);
    border-radius: 24px 24px 0 0;
    pointer-events: none;
}

.hero-logo {
    width: 150px;
    height: 150px;
    object-fit: contain;
    filter: drop-shadow(0 0 30px rgba(255, 45, 149, 0.6));
    position: relative;
    z-index: 10;
    transform: translateZ(20px);
}

.volumetric-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(157, 78, 221, 0.15) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    left: 50%;
    top: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(40px);
    animation: volumetricPulse 6s ease-in-out infinite;
}

@keyframes volumetricPulse {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.2); }
}

@keyframes ringRotate {
    from { transform: translate(calc(-50% + var(--parallax-x)), calc(-50% + var(--parallax-y))) rotate(0deg); }
    to { transform: translate(calc(-50% + var(--parallax-x)), calc(-50% + var(--parallax-y))) rotate(360deg); }
}

@keyframes logoContainerBreath {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

/* Hero Title */
.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(60px, 12vw, 180px);
    font-weight: 400;
    letter-spacing: 0.2em;
    line-height: 1;
    margin-bottom: 20px;
    animation: titleReveal 1.8s ease-out 0.3s both;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    max-width: 100%;
    white-space: nowrap;
    gap: 0.2em;
}

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

.title-line {
    background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow:
        0 0 80px rgba(255, 45, 149, 0.4),
        0 0 150px rgba(0, 245, 255, 0.3);
    text-align: center;
}

.title-accent {
    background: var(--gradient-pink);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 40px rgba(255, 45, 149, 0.6));
}

@keyframes titleReveal {
    0% {
        opacity: 0;
        transform: translateY(60px) scale(0.95);
        filter: blur(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

/* Hero Subtitle */
.hero-subtitle {
    font-size: clamp(18px, 2.5vw, 28px);
    font-weight: 300;
    color: var(--text-secondary);
    letter-spacing: 0.1em;
    font-style: italic;
    animation: fadeInUp 1.5s ease-out 0.6s both;
    margin-bottom: 20px;
    text-align: center;
    width: 100%;
}

/* Hero Description */
.hero-description {
    font-size: clamp(15px, 1.8vw, 18px);
    color: var(--text-tertiary);
    max-width: 650px;
    margin: 0 auto 40px;
    line-height: 1.8;
    animation: fadeInUp 1.5s ease-out 0.9s both;
    text-align: center;
    width: 100%;
}

/* ============================================
   HERO CTA BUTTONS
   ============================================ */
.hero-cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
    animation: fadeInUp 1.5s ease-out 1.2s both;
    width: 100%;
}

.social-proof {
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.05em;
    transition: all var(--transition-slow);
    overflow: hidden;
    cursor: pointer;
}

.cta-primary {
    background: var(--gradient-pink);
    color: var(--text-primary);
    box-shadow: 0 10px 40px rgba(255, 45, 149, 0.4);
}

.cta-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.cta-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(255, 45, 149, 0.6);
}

.cta-primary:hover::before {
    opacity: 1;
}

.button-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shine 3s ease-in-out infinite;
}

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

.button-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.button-icon svg {
    width: 100%;
    height: 100%;
}

.button-count {
    font-size: 12px;
    font-weight: 500;
    opacity: 0.8;
}

.cta-secondary {
    background: var(--glass-surface);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    backdrop-filter: blur(10px);
}

.cta-secondary:hover {
    background: var(--glass-surface-hover);
    border-color: var(--neon-cyan);
    box-shadow: 0 10px 40px rgba(0, 245, 255, 0.2);
    transform: translateY(-4px);
}

.button-arrow {
    width: 20px;
    height: 20px;
    transition: transform var(--transition-base);
}

.button-arrow svg {
    width: 100%;
    height: 100%;
}

.cta-secondary:hover .button-arrow {
    transform: translateX(5px);
}

/* ============================================
   SOCIAL PROOF
   ============================================ */
.social-proof {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    animation: fadeInUp 1.5s ease-out 1.5s both;
}

.proof-avatars {
    display: flex;
    align-items: center;
}

.avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid var(--deep-space);
    background: var(--gradient-purple);
    background-size: cover;
    background-position: center;
    margin-left: -12px;
    transition: transform var(--transition-base);
}

.avatar:first-child { margin-left: 0; }

.avatar:hover {
    transform: translateY(-5px);
    z-index: 10;
}

.avatar-1 { background: var(--gradient-pink); }
.avatar-2 { background: var(--gradient-cyan); }
.avatar-3 { background: var(--gradient-purple); }
.avatar-4 { background: linear-gradient(135deg, #ff6b35, #ff2d95); }

.avatar-plus {
    background: var(--glass-surface);
    border-color: var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-primary);
}

.proof-label {
    font-size: 13px;
    color: var(--text-tertiary);
}

/* ============================================
   SCROLL INDICATOR
   ============================================ */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translate(-50%, 0);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    z-index: 10;
    animation: scrollIndicatorReveal 1.5s ease-out 1.8s both;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(180deg, var(--neon-pink) 0%, transparent 100%);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% { height: 60px; opacity: 1; }
    50% { height: 30px; opacity: 0.5; }
}

.scroll-label {
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.info-bars-wrapper {
    position: relative;
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--element-gap);
    padding: 0 20px;
    margin-top: 40px;
}

.coming-soon-bar {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
}

.coming-soon-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 20px 40px;
    background: rgba(3, 7, 18, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.cs-badge {
    padding: 6px 16px;
    background: rgba(255, 107, 53, 0.15);
    border: 1px solid rgba(255, 107, 53, 0.4);
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--sunset-orange);
    text-transform: uppercase;
}

.cs-text {
    font-size: 14px;
    color: var(--text-tertiary);
    text-align: center;
}

.stats-bar {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
}

.stats-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    padding: 30px 50px;
    background: rgba(3, 7, 18, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.stat-icon {
    font-size: 24px;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 36px;
    letter-spacing: 0.1em;
    background: var(--gradient-cyan);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 12px;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--glass-border);
}

/* ============================================
   SECTION STYLES
   ============================================ */
.section {
    position: relative;
    min-height: 100vh;
    padding: var(--section-padding-y) var(--section-padding-x);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin-bottom: 80px;
}

.section-header.centered {
    margin: 0 auto 80px;
}

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: var(--glass-surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--neon-cyan);
    text-transform: uppercase;
    margin-bottom: 20px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(48px, 8vw, 96px);
    letter-spacing: 0.15em;
    line-height: 1;
    margin-bottom: 25px;
    background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.6) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transform: translateY(40px);
    transition: all var(--transition-cinematic);
}

.section-title.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title.left {
    text-align: left;
}

.title-highlight {
    background: var(--gradient-pink);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 30px rgba(255, 45, 149, 0.5));
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-tertiary);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   JOIN SECTION - PREMIUM CARDS
   ============================================ */
.join-section {
    background: linear-gradient(180deg, var(--deep-space) 0%, var(--void-purple) 100%);
}

.cards-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    max-width: 1000px;
    width: 100%;
}

.premium-card {
    position: relative;
    border-radius: var(--radius-xl);
    text-decoration: none;
    color: var(--text-primary);
    overflow: hidden;
    opacity: 0;
    transform: translateY(60px);
    transition: all var(--transition-slow);
}

.premium-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.card-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.card-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15;
    transition: opacity var(--transition-slow);
}

.forum-gradient {
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.4) 0%, rgba(59, 130, 246, 0.2) 100%);
}

.discord-gradient {
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.4) 0%, rgba(157, 78, 221, 0.2) 100%);
}

.card-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(45deg, rgba(255, 255, 255, 0.03) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(255, 255, 255, 0.03) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, 0.03) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, 0.03) 75%);
    background-size: 60px 60px;
    background-position: 0 0, 0 30px, 30px -30px, -30px 0px;
    opacity: 0.5;
}

.card-border {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--radius-xl);
    border: 1px solid var(--glass-border);
    z-index: 1;
    transition: border-color var(--transition-base);
}

.premium-card:hover .card-border {
    border-color: rgba(255, 255, 255, 0.2);
}

.forum-card:hover .card-border {
    border-color: rgba(0, 245, 255, 0.4);
    box-shadow:
        0 0 60px rgba(0, 245, 255, 0.2),
        inset 0 0 60px rgba(0, 245, 255, 0.05);
}

.discord-card:hover .card-border {
    border-color: rgba(88, 101, 242, 0.5);
    box-shadow:
        0 0 60px rgba(88, 101, 242, 0.3),
        inset 0 0 60px rgba(88, 101, 242, 0.1);
}

.card-content {
    position: relative;
    z-index: 2;
    padding: 50px 40px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}

.card-icon-wrapper {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-pink);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(255, 45, 149, 0.3);
}

.forum-card .card-icon-wrapper {
    background: var(--gradient-cyan);
    box-shadow: 0 10px 30px rgba(0, 245, 255, 0.3);
}

.card-icon-wrapper svg {
    width: 30px;
    height: 30px;
    color: #fff;
}

.card-badge {
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.card-badge.live {
    background: rgba(0, 255, 136, 0.15);
    color: var(--accent-green);
    display: flex;
    align-items: center;
    gap: 6px;
}

.live-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-green);
    border-radius: 50%;
    animation: livePulse 2s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 10px var(--accent-green); }
    50% { opacity: 0.5; box-shadow: 0 0 5px var(--accent-green); }
}

.card-title {
    font-family: var(--font-heading);
    font-size: 42px;
    letter-spacing: 0.1em;
    margin-bottom: 15px;
    background: var(--gradient-pink);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.forum-card .card-title {
    background: var(--gradient-cyan);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-description {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 30px;
}

.card-stats {
    display: flex;
    gap: 30px;
    padding: 20px 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: 25px;
}

.card-stat {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.card-stat-value {
    font-family: var(--font-heading);
    font-size: 28px;
    letter-spacing: 0.1em;
    color: var(--text-primary);
}

.card-stat-value.glow {
    background: var(--gradient-pink);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-stat-label {
    font-size: 11px;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.card-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cta-label {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-primary);
}

.cta-arrow {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    transition: all var(--transition-base);
}

.cta-arrow svg {
    width: 20px;
    height: 20px;
    color: var(--neon-pink);
    transform: translateX(-5px);
    transition: transform var(--transition-base);
}

.forum-card .cta-arrow svg {
    color: var(--neon-cyan);
}

.premium-card:hover .cta-arrow {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.premium-card:hover .cta-arrow svg {
    transform: translateX(5px);
}

/* ============================================
   ABOUT SECTION - SPLIT LAYOUT
   ============================================ */
.about-section {
    background: linear-gradient(180deg, var(--void-purple) 0%, var(--deep-space) 100%);
}

.about-split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--element-gap);
    max-width: var(--container-max-width);
    width: 100%;
    align-items: center;
}

.about-visual {
    position: relative;
    opacity: 0;
    transform: translateX(-60px);
    transition: all var(--transition-cinematic);
}

.about-visual.visible {
    opacity: 1;
    transform: translateX(0);
}

.visual-frame {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.5),
        0 0 100px rgba(255, 45, 149, 0.15);
}

.visual-content {
    width: 100%;
    height: 100%;
    background:
        linear-gradient(180deg, transparent 0%, var(--midnight-navy) 100%),
        linear-gradient(135deg, rgba(255, 45, 149, 0.1) 0%, rgba(0, 245, 255, 0.1) 100%);
    position: relative;
}

.city-silhouette {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background:
        linear-gradient(90deg,
            transparent 0%,
            rgba(3, 7, 18, 0.8) 10%,
            rgba(3, 7, 18, 0.9) 20%,
            rgba(3, 7, 18, 0.7) 30%,
            rgba(3, 7, 18, 0.85) 40%,
            rgba(3, 7, 18, 0.9) 50%,
            rgba(3, 7, 18, 0.75) 60%,
            rgba(3, 7, 18, 0.8) 70%,
            rgba(3, 7, 18, 0.9) 80%,
            rgba(3, 7, 18, 0.85) 90%,
            transparent 100%
        );
    clip-path: polygon(
        0% 100%, 0% 40%,
        8% 40%, 8% 25%, 15% 25%, 15% 45%,
        22% 45%, 22% 20%, 30% 20%, 30% 50%,
        38% 50%, 38% 30%, 45% 30%, 45% 55%,
        52% 55%, 52% 25%, 60% 25%, 60% 45%,
        68% 45%, 68% 35%, 75% 35%, 75% 50%,
        82% 50%, 82% 28%, 90% 28%, 90% 42%,
        100% 42%, 100% 100%
    );
}

.neon-grid {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(90deg, rgba(255, 45, 149, 0.1) 1px, transparent 1px),
        linear-gradient(0deg, rgba(0, 245, 255, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: linear-gradient(180deg, transparent 0%, black 60%);
}

.visual-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 50% 30%, transparent 0%, rgba(3, 7, 18, 0.6) 100%);
}

.visual-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(255, 45, 149, 0.1) 0%, transparent 60%);
    transform: translate(-50%, -50%);
    animation: visualGlow 8s ease-in-out infinite;
}

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

/* Floating Badges */
.floating-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(3, 7, 18, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    animation: badgeFloat 6s ease-in-out infinite;
    z-index: 10;
}

.floating-1 {
    top: 10%;
    right: -30px;
    animation-delay: 0s;
}

.floating-2 {
    top: 50%;
    left: -40px;
    animation-delay: 2s;
}

.floating-3 {
    bottom: 15%;
    right: -20px;
    animation-delay: 4s;
}

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

.badge-icon {
    font-size: 18px;
}

.badge-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
}

/* About Content */
.about-content {
    opacity: 0;
    transform: translateX(60px);
    transition: all var(--transition-cinematic) 0.2s;
}

.about-content.visible {
    opacity: 1;
    transform: translateX(0);
}

.about-intro {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 30px;
}

.about-intro strong {
    color: var(--text-primary);
    font-weight: 600;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 15px;
    color: var(--text-secondary);
}

.highlight-dot {
    width: 8px;
    height: 8px;
    background: var(--neon-pink);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--neon-pink);
    flex-shrink: 0;
}

.learn-more {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    background: var(--glass-surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all var(--transition-base);
}

.learn-more:hover {
    background: var(--glass-surface-hover);
    border-color: var(--neon-pink);
    box-shadow: 0 10px 30px rgba(255, 45, 149, 0.2);
}

.learn-arrow {
    width: 20px;
    height: 20px;
    transition: transform var(--transition-base);
}

.learn-arrow svg {
    width: 100%;
    height: 100%;
}

.learn-more:hover .learn-arrow {
    transform: translateX(5px);
}

/* ============================================
   FEATURES GRID SECTION
   ============================================ */
.features-section {
    background: linear-gradient(180deg, var(--deep-space) 0%, var(--midnight-navy) 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--element-gap);
    max-width: var(--container-max-width);
    width: 100%;
    grid-auto-flow: dense;
}

.feature-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    min-height: 280px;
    opacity: 0;
    transform: translateY(40px);
    transition: all var(--transition-slow);
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card.large {
    grid-column: span 2;
    min-height: 340px;
}

.feature-card.tall {
    grid-row: span 2;
    min-height: 585px;
}

.feature-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 45, 149, 0.1) 0%, rgba(0, 245, 255, 0.05) 100%);
    transition: all var(--transition-slow);
}

.feature-card:hover .feature-bg {
    background: linear-gradient(135deg, rgba(255, 45, 149, 0.15) 0%, rgba(0, 245, 255, 0.1) 100%);
}

.feature-content {
    position: relative;
    z-index: 2;
    padding: 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    margin-bottom: 25px;
}

.feature-icon {
    font-size: 28px;
}

.feature-title {
    font-family: var(--font-heading);
    font-size: 32px;
    letter-spacing: 0.1em;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.feature-description {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-tertiary);
}

.feature-list li::before {
    content: '→';
    color: var(--neon-pink);
    font-weight: bold;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background:
        radial-gradient(ellipse at 50% 50%, rgba(157, 78, 221, 0.15) 0%, transparent 70%),
        linear-gradient(180deg, var(--midnight-navy) 0%, var(--deep-space) 100%);
}

.cta-container {
    position: relative;
    max-width: 900px;
    width: 100%;
}

.cta-bg-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(255, 45, 149, 0.1) 0%, transparent 60%);
    transform: translate(-50%, -50%);
    animation: ctaGlow 10s ease-in-out infinite;
}

@keyframes ctaGlow {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.15); }
}

.cta-content {
    position: relative;
    text-align: center;
    padding: 80px 40px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
}

.cta-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-purple);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(157, 78, 221, 0.4);
    animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 20px 60px rgba(157, 78, 221, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 25px 70px rgba(157, 78, 221, 0.5); }
}

.cta-discord-icon {
    width: 45px;
    height: 45px;
    color: #fff;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(40px, 6vw, 64px);
    letter-spacing: 0.1em;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-title .highlight {
    background: var(--gradient-pink);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 30px rgba(255, 45, 149, 0.5));
}

.cta-description {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.cta-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.cta-stat-number {
    font-family: var(--font-heading);
    font-size: 48px;
    letter-spacing: 0.1em;
    background: var(--gradient-cyan);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-stat-label {
    font-size: 12px;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Mega CTA Button */
.cta-mega {
    position: relative;
    display: inline-flex;
    padding: 24px 48px;
    background: var(--gradient-pink);
    border: none;
    border-radius: var(--radius-lg);
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 20px 60px rgba(255, 45, 149, 0.5);
    transition: all var(--transition-slow);
    overflow: hidden;
    margin-bottom: 25px;
}

.cta-mega:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 80px rgba(255, 45, 149, 0.7);
}

.button-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.cta-mega:hover .button-glow {
    opacity: 1;
}

.button-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.button-main-text {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.button-sub-text {
    font-size: 11px;
    font-weight: 400;
    opacity: 0.8;
    letter-spacing: 0.05em;
}

.button-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* Urgency Indicator */
.cta-urgency {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-tertiary);
}

.urgency-indicator {
    width: 8px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 50%;
    animation: urgencyPulse 2s ease-in-out infinite;
}

@keyframes urgencyPulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 15px var(--accent-green); }
    50% { opacity: 0.5; box-shadow: 0 0 5px var(--accent-green); }
}

/* ============================================
   3D SHOWCASE SECTION
   ============================================ */
.showcase-section {
    background: linear-gradient(180deg, var(--midnight-navy) 0%, var(--deep-space) 100%);
    overflow: hidden;
}

.showcase-container {
    max-width: 1400px;
    width: 100%;
}

.showcase-header {
    text-align: center;
    margin-bottom: 36px;
}

/* Crew stage — emblem on the left, faction panel on the right */
.crew-stage {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    min-height: 500px;
    background: linear-gradient(180deg, var(--void-purple) 0%, var(--midnight-navy) 100%);
}

.crew-emblem-wrap {
    position: relative;
    min-height: 500px;
    overflow: hidden;
}

.crew-emblem-wrap .threejs-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

.crew-emblem-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 50% 55%, rgba(255, 45, 149, 0.18) 0%, transparent 60%);
    transition: background 0.6s ease;
}

.crew-panel {
    padding: 48px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    background: linear-gradient(180deg, rgba(3, 7, 18, 0.4) 0%, rgba(3, 7, 18, 0.85) 100%);
    border-left: 1px solid var(--glass-border);
}

.crew-status {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}

.crew-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--neon-cyan);
    box-shadow: 0 0 12px var(--neon-cyan-glow);
}

.crew-status.locked .crew-status-dot {
    background: #faa61a;
    box-shadow: 0 0 12px rgba(250, 166, 26, 0.6);
}

.crew-status-label {
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    font-weight: 700;
}

.crew-name {
    font-family: var(--font-heading);
    font-size: 36px;
    letter-spacing: 0.06em;
    color: var(--text-primary);
    line-height: 1;
    margin: 0;
}

.crew-tagline {
    font-size: 15px;
    color: var(--text-secondary);
    font-style: italic;
    margin: 0;
}

.crew-desc {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-tertiary);
    margin: 0;
}

.crew-meta {
    display: flex;
    gap: 30px;
    margin-top: 6px;
}

.crew-meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.crew-meta-label {
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.crew-meta-value {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 600;
}

.crew-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    padding: 14px 26px;
    border-radius: var(--radius-full);
    background: var(--gradient-pink);
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 13px;
    text-decoration: none;
    width: fit-content;
    transition: all var(--transition-base);
    box-shadow: 0 10px 30px rgba(255, 45, 149, 0.3);
}

.crew-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 45, 149, 0.5);
}

.crew-cta.locked {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-tertiary);
    box-shadow: none;
    pointer-events: none;
}

.crew-cta svg {
    width: 18px;
    height: 18px;
}

/* Prev / next buttons floating over the emblem */
.crew-controls {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
    z-index: 2;
}

.crew-controls .v-btn {
    pointer-events: auto;
    backdrop-filter: blur(6px);
}

/* Faction selector chips */
.crew-selector {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 22px;
}

.crew-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: var(--radius-full);
    background: var(--glass-surface);
    border: 1px solid var(--glass-border);
    cursor: pointer;
    transition: all var(--transition-base);
    font-size: 13px;
    color: var(--text-secondary);
    font-family: inherit;
}

.crew-chip:hover {
    background: var(--glass-surface-hover);
    border-color: var(--glass-border-hover);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.crew-chip.active {
    border-color: var(--neon-pink);
    color: var(--text-primary);
    box-shadow: 0 0 24px rgba(255, 45, 149, 0.3);
    background: var(--glass-surface-hover);
}

.crew-chip.locked {
    color: var(--text-muted);
}

.crew-chip-icon {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.crew-chip.locked .crew-chip-icon {
    font-size: 11px;
}

.crew-chip-name {
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* Round control buttons (shared with crew-controls) */
.v-btn {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-surface);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-base);
}

.v-btn:hover {
    background: var(--glass-surface-hover);
    border-color: var(--neon-pink);
    box-shadow: 0 0 30px rgba(255, 45, 149, 0.4);
    transform: scale(1.1);
}

.v-btn svg {
    width: 24px;
    height: 24px;
    color: var(--text-primary);
}

.showcase-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.showcase-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 25px;
    background: var(--glass-surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.showcase-feature:hover {
    background: var(--glass-surface-hover);
    border-color: var(--neon-pink);
    transform: translateY(-5px);
}

.sf-icon {
    font-size: 24px;
}

.sf-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ============================================
   DISCORD WIDGET SECTION — Premium two-column
   ============================================ */
.discord-section {
    background:
        radial-gradient(ellipse at 20% 30%, rgba(157, 78, 221, 0.16) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 70%, rgba(0, 245, 255, 0.10) 0%, transparent 55%),
        linear-gradient(135deg, var(--deep-space) 0%, var(--void-purple) 100%);
    overflow: hidden;
}

.discord-premium-grid {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 40px;
    align-items: stretch;
}

/* Reveal entrance — mirrors .premium-card pattern */
.discord-status-card,
.discord-embed-frame {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1),
                transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}
.discord-status-card.visible,
.discord-embed-frame.visible {
    opacity: 1;
    transform: translateY(0);
}
.discord-embed-frame { transition-delay: 0.15s; }

/* ---------- LEFT: Status card ---------- */
.discord-status-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 26px;
    padding: 38px 36px 34px;
    background: rgba(255, 255, 255, 0.025);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border-radius: var(--radius-xl);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
    overflow: hidden;
    isolation: isolate;
}

/* gradient border + ambient glow layers */
.dsc-border {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(157, 78, 221, 0.55), rgba(255, 45, 149, 0.25) 45%, rgba(0, 245, 255, 0.35));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 1;
}

.dsc-glow {
    position: absolute;
    top: -40%;
    left: -20%;
    width: 70%;
    height: 90%;
    background: radial-gradient(circle, rgba(157, 78, 221, 0.28) 0%, transparent 70%);
    filter: blur(20px);
    animation: dscGlowDrift 9s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes dscGlowDrift {
    0%, 100% { transform: translate(0, 0); opacity: 0.55; }
    50% { transform: translate(30px, 20px); opacity: 0.9; }
}

.discord-status-card > *:not(.dsc-border):not(.dsc-glow) {
    position: relative;
    z-index: 2;
}

.discord-status-card:hover {
    box-shadow: 0 40px 100px rgba(157, 78, 221, 0.25), 0 30px 80px rgba(0, 0, 0, 0.5);
}
.discord-status-card:hover .dsc-glow { opacity: 1; }

/* Header: server icon + meta */
.dsc-header {
    display: flex;
    align-items: center;
    gap: 18px;
}

.dsc-server-icon {
    position: relative;
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: var(--gradient-purple);
    box-shadow: 0 14px 40px rgba(157, 78, 221, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.15);
    overflow: hidden;
    animation: iconPulse 3.5s ease-in-out infinite;
}

.dsc-monogram {
    font-family: var(--font-heading);
    font-size: 30px;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.dsc-discord-mark {
    position: absolute;
    right: -6px;
    bottom: -6px;
    width: 30px;
    height: 30px;
    padding: 5px;
    border-radius: 50%;
    background: var(--midnight-navy);
    color: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.dsc-server-meta {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.dsc-name {
    font-family: var(--font-heading);
    font-size: 26px;
    letter-spacing: 0.06em;
    color: var(--text-primary);
    line-height: 1.05;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dsc-live {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-green);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.dsc-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-green);
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.8);
    animation: livePulse 2s ease-in-out infinite;
}

/* Count row */
.dsc-count-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.dsc-count-block {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px 16px;
    background: var(--glass-surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.dsc-count-block:hover {
    background: var(--glass-surface-hover);
    border-color: rgba(255, 45, 149, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 45, 149, 0.12);
}

.dsc-count {
    font-family: var(--font-heading);
    font-size: 34px;
    letter-spacing: 0.06em;
    line-height: 1;
    background: var(--gradient-cyan);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dsc-count.alt {
    background: var(--gradient-pink);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dsc-count-label {
    font-size: 11px;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Progress bar */
.dsc-progress {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dsc-progress-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.dsc-progress-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.dsc-progress-value {
    font-size: 13px;
    color: var(--text-tertiary);
    font-variant-numeric: tabular-nums;
}
.dsc-progress-value span { color: var(--text-secondary); font-weight: 600; }

.dsc-progress-track {
    position: relative;
    height: 10px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    overflow: hidden;
}

.dsc-progress-fill {
    position: relative;
    height: 100%;
    width: 0%;
    border-radius: inherit;
    background: linear-gradient(90deg, #9d4edd 0%, #ff2d95 55%, #00f5ff 100%);
    box-shadow: 0 0 16px rgba(255, 45, 149, 0.55), 0 0 28px rgba(157, 78, 221, 0.35);
    transition: width 1.2s cubic-bezier(0.23, 1, 0.32, 1);
    overflow: hidden;
}

.dsc-progress-fill::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    transform: translateX(-100%);
    animation: dscProgressShine 2.6s ease-in-out infinite;
}

@keyframes dscProgressShine {
    0% { transform: translateX(-100%); }
    60%, 100% { transform: translateX(200%); }
}

/* Channels */
.dsc-channels {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dsc-channels-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dsc-channels-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.dsc-channels-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 20px;
    padding: 0 7px;
    border-radius: var(--radius-full);
    background: rgba(0, 245, 255, 0.12);
    border: 1px solid rgba(0, 245, 255, 0.25);
    color: var(--neon-cyan, #00f5ff);
    font-size: 11px;
    font-weight: 700;
}

.dsc-member-wall {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-height: 168px;
    overflow-y: auto;
    padding-right: 4px;
    align-content: flex-start;
}
.dsc-member-wall::-webkit-scrollbar { width: 5px; }
.dsc-member-wall::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 9999px; }

.dsc-member {
    position: relative;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.04);
    transition: all var(--transition-base);
    flex-shrink: 0;
}

.dsc-member img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.dsc-member-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-secondary);
    background: linear-gradient(135deg, rgba(157, 78, 221, 0.25), rgba(255, 45, 149, 0.2));
}

.dsc-member-status {
    position: absolute;
    right: -1px;
    bottom: -1px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--deep-space, #0a0e1a);
}

.dsc-member:hover {
    transform: translateY(-3px) scale(1.08);
    border-color: rgba(0, 245, 255, 0.5);
    box-shadow: 0 4px 16px rgba(0, 245, 255, 0.25);
    z-index: 1;
}

.dsc-member-more {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-surface);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
}

.dsc-channel-empty {
    padding: 14px;
    text-align: center;
    color: var(--text-muted);
    font-size: 12px;
    font-style: italic;
    border: 1px dashed var(--glass-border);
    border-radius: var(--radius-sm);
    width: 100%;
}

/* CTA button */
.dsc-cta {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 4px;
    padding: 17px 32px;
    background: var(--gradient-purple);
    border: none;
    border-radius: var(--radius-lg);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 15px 45px rgba(157, 78, 221, 0.5);
    transition: all var(--transition-slow);
    overflow: hidden;
    isolation: isolate;
}

.dsc-cta:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 70px rgba(157, 78, 221, 0.7), 0 0 30px rgba(255, 45, 149, 0.3);
}

.dsc-cta-shine {
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: skewX(-20deg);
    transition: left 0.7s ease;
    z-index: -1;
}
.dsc-cta:hover .dsc-cta-shine { left: 130%; }

.dsc-cta-icon { width: 22px; height: 22px; }
.dsc-cta-text { letter-spacing: 0.1em; }
.dsc-cta-arrow {
    font-size: 18px;
    transition: transform var(--transition-base);
}
.dsc-cta:hover .dsc-cta-arrow { transform: translateX(5px); }

/* ---------- RIGHT: Official widget embed ---------- */
.discord-embed-frame {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.025);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border-radius: var(--radius-xl);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
    overflow: hidden;
    isolation: isolate;
    transition: box-shadow var(--transition-slow), opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1), transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}
.discord-embed-frame.visible { opacity: 1; transform: translateY(0); }

.def-border {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.45), rgba(157, 78, 221, 0.25) 50%, rgba(255, 45, 149, 0.4));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 1;
}

.def-glow {
    position: absolute;
    bottom: -30%;
    right: -20%;
    width: 70%;
    height: 80%;
    background: radial-gradient(circle, rgba(0, 245, 255, 0.22) 0%, transparent 70%);
    filter: blur(24px);
    pointer-events: none;
    z-index: 0;
    transition: opacity var(--transition-slow);
}

.discord-embed-frame:hover {
    box-shadow: 0 40px 100px rgba(0, 245, 255, 0.18), 0 30px 80px rgba(0, 0, 0, 0.5);
}
.discord-embed-frame:hover .def-glow { opacity: 1; }

.def-head {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 6px 0;
}

.def-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 11px;
    border-radius: var(--radius-full);
    background: rgba(0, 255, 136, 0.08);
    border: 1px solid rgba(0, 255, 136, 0.25);
    color: var(--accent-green);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.def-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-green);
    box-shadow: 0 0 8px rgba(0, 255, 136, 0.8);
    animation: livePulse 2s ease-in-out infinite;
}

.def-powered {
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 0.08em;
}

.def-iframe-wrap {
    position: relative;
    z-index: 2;
    flex: 1;
    min-height: 520px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: rgba(3, 7, 18, 0.6);
}

#discordWidgetFrame {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 520px;
    border: 0;
    color-scheme: dark;
}

/* ============================================
   AUDIO TOGGLE
   ============================================ */
.audio-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(3, 7, 18, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    cursor: pointer;
    z-index: 1000;
    transition: all var(--transition-base);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transform: scale(0.8);
    animation: audioToggleReveal 1.2s ease-out 2s both;
}

.audio-toggle:hover {
    border-color: var(--neon-pink);
    box-shadow: 0 15px 50px rgba(255, 45, 149, 0.3);
    transform: scale(1.1);
}

.audio-toggle.active {
    border-color: var(--neon-cyan);
    box-shadow: 0 15px 50px rgba(0, 245, 255, 0.3);
}

.audio-icon-muted,
.audio-icon-active {
    position: absolute;
    width: 24px;
    height: 24px;
    color: var(--text-secondary);
    transition: all var(--transition-base);
}

.audio-icon-active {
    color: var(--neon-cyan);
}

.audio-toggle.active .audio-icon-muted {
    opacity: 0;
    transform: scale(0.5) rotate(-180deg);
}

.audio-toggle:not(.active) .audio-icon-active {
    opacity: 0;
    transform: scale(0.5) rotate(180deg);
}

.audio-wave {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 3px;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.audio-toggle.active .audio-wave {
    opacity: 1;
}

.wave-bar {
    width: 3px;
    height: 12px;
    background: var(--neon-cyan);
    border-radius: var(--radius-full);
    animation: waveAnim 0.8s ease-in-out infinite;
}

.wave-bar:nth-child(2) { animation-delay: 0.1s; height: 16px; }
.wave-bar:nth-child(3) { animation-delay: 0.2s; }

@keyframes waveAnim {
    0%, 100% { transform: scaleY(0.5); }
    50% { transform: scaleY(1.5); }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    position: relative;
    padding: 80px 20px;
    background: var(--midnight-navy);
    z-index: 10;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

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

.footer-logo {
    font-family: var(--font-heading);
    font-size: 42px;
    letter-spacing: 0.15em;
    margin-bottom: 10px;
}

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

.footer-logo .logo-accent {
    color: var(--neon-pink);
    text-shadow: var(--glow-pink);
}

.footer-tagline {
    font-size: 14px;
    color: var(--text-tertiary);
    font-style: italic;
}

.footer-divider {
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-pink), transparent);
}

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

.footer-link {
    color: var(--text-tertiary);
    text-decoration: none;
    font-size: 13px;
    transition: color var(--transition-base);
}

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

.footer-social {
    display: flex;
    gap: 20px;
}

.social-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-surface);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--text-secondary);
    transition: all var(--transition-base);
}

.social-icon:hover {
    background: var(--glass-surface-hover);
    border-color: var(--neon-pink);
    color: var(--text-primary);
    box-shadow: 0 10px 30px rgba(255, 45, 149, 0.3);
    transform: translateY(-3px);
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
    width: 100%;
}

.footer-copyright {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.footer-disclaimer {
    font-size: 11px;
    color: var(--text-muted);
    opacity: 0.6;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-card.large {
        grid-column: span 1;
    }

    .feature-card.tall {
        grid-row: span 1;
        min-height: 280px;
    }

    .discord-premium-grid {
        gap: 28px;
    }
}

@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }

    .about-split {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-visual {
        order: -1;
    }

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

    .stats-content {
        gap: 30px;
        padding: 25px 30px;
    }
}

@media (max-width: 768px) {
    .nav-glass {
        padding: 15px 20px;
    }

    .hero {
        padding: 100px 15px 60px;
    }

    .hero-logo {
        width: 140px;
        height: 140px;
    }

    .logo-container {
        width: 140px;
        height: 140px;
    }

    .logo-ring {
        width: 170px;
        height: 170px;
    }

    .ring-2 {
        width: 200px;
        height: 200px;
    }

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

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

    .stats-bar {
        margin-top: -30px;
    }

    .stats-content {
        flex-wrap: wrap;
        gap: 20px;
    }

    .stat-divider {
        display: none;
    }

    .section {
        padding: 80px 15px;
    }

    .cta-content {
        padding: 50px 25px;
    }

    .cta-stats {
        gap: 30px;
    }

    .cta-mega {
        padding: 20px 35px;
    }

    /* Server IP Bar Responsive */
    .server-ip-content {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    .server-ip-wrapper {
        width: 100%;
        justify-content: center;
    }

    .server-players {
        width: 100%;
    }

    /* Crew Showcase Responsive */
    .crew-stage {
        grid-template-columns: 1fr;
    }

    .crew-emblem-wrap {
        min-height: 340px;
    }

    .crew-panel {
        padding: 32px 28px;
        border-left: none;
        border-top: 1px solid var(--glass-border);
    }

    .crew-name {
        font-size: 28px;
    }

    .crew-controls {
        padding: 16px;
    }

    /* Discord Widget Responsive */
    .discord-status-card {
        padding: 28px 22px 26px;
        gap: 22px;
    }

    .dsc-server-icon {
        width: 56px;
        height: 56px;
    }

    .dsc-monogram {
        font-size: 26px;
    }

    .dsc-name {
        font-size: 22px;
    }

    .dsc-count {
        font-size: 28px;
    }

    .def-iframe-wrap,
    #discordWidgetFrame {
        min-height: 480px;
    }

    .audio-toggle {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 50px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: center;
    }

    .cta-button {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .section-title {
        font-size: 36px;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: all var(--transition-cinematic);
}

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

/* Stagger animations */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* ============================================
   KEYFRAME ANIMATIONS
   ============================================ */
@keyframes audioToggleReveal {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes scrollIndicatorReveal {
    0% {
        opacity: 0;
        transform: translate(-50%, 40px);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

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

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/* ============================================
   LOW PERFORMANCE MODE
   ============================================ */
body.low-performance #cityCanvas {
    display: none;
}

body.low-performance .light-beams {
    display: none;
}

body.low-performance .fog-container {
    display: none;
}

body.low-performance .button-shine {
    display: none;
}

body.low-performance * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
}

/* ============================================
   FLOATING DISCORD WIDGET
   ============================================ */
.floating-discord-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    animation: float-widget 3s ease-in-out infinite, pulse-glow 2s ease-in-out infinite;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.floating-discord-widget:hover {
    transform: translateY(-4px) scale(1.05);
}

.fdw-glow {
    position: absolute;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle, rgba(88, 101, 242, 0.4) 0%, rgba(255, 45, 149, 0.2) 50%, transparent 70%);
    border-radius: 50%;
    opacity: 0.6;
    animation: glow-pulse 2s ease-in-out infinite;
    pointer-events: none;
}

.fdw-content {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: rgba(88, 101, 242, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    box-shadow:
        0 8px 32px rgba(88, 101, 242, 0.4),
        0 0 60px rgba(255, 45, 149, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.floating-discord-widget:hover .fdw-content {
    background: rgba(88, 101, 242, 1);
    box-shadow:
        0 12px 48px rgba(88, 101, 242, 0.6),
        0 0 80px rgba(255, 45, 149, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.fdw-icon {
    width: 28px;
    height: 28px;
    color: #ffffff;
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.floating-discord-widget:hover .fdw-icon {
    transform: scale(1.15) rotate(-5deg);
}

.fdw-text {
    font-weight: 700;
    font-size: 14px;
    color: #ffffff;
    white-space: nowrap;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.fdw-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    background: linear-gradient(135deg, #ff2d95 0%, #ff6b6b 100%);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(255, 45, 149, 0.4);
    animation: badge-pulse 2s ease-in-out infinite;
}

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

@keyframes pulse-glow {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

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

@keyframes badge-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.08);
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .floating-discord-widget {
        bottom: 16px;
        right: 16px;
    }

    .fdw-content {
        padding: 12px 16px;
        gap: 10px;
    }

    .fdw-icon {
        width: 24px;
        height: 24px;
    }

    .fdw-text {
        font-size: 13px;
    }

    .fdw-badge {
        font-size: 11px;
        padding: 3px 8px;
    }
}

/* Hide on very small screens */
@media (max-width: 480px) {
    .floating-discord-widget {
        bottom: 12px;
        right: 12px;
    }

    .fdw-content {
        padding: 10px 14px;
    }

    .fdw-text {
        display: none;
    }

    .fdw-badge {
        display: none;
    }
}

/* Cinematic Effects */
.film-grain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    pointer-events: none;
    background-image: url('https://grainy-grads.vercel.app/noise.svg');
    opacity: 0.05;
    animation: grainMove 0.2s steps(1) infinite;
}

@keyframes grainMove {
    0%, 100% { transform: translate(0, 0); }
    10% { transform: translate(-1%, -1%); }
    30% { transform: translate(1%, 1%); }
    50% { transform: translate(-1%, 1%); }
    70% { transform: translate(1%, -1%); }
    90% { transform: translate(0, 1%); }
}

.cinematic-text {
    text-shadow:
        -1px 0 1px rgba(255, 0, 0, 0.4),
        1px 0 1px rgba(0, 255, 255, 0.4);
}
