/**
 * Dragon Battlepass - Modern Gaming CSS
 * Cyberpunk Theme with Advanced Animations
 */

/* ========================================
   CSS Variables
======================================== */
:root {
    /* Colors - Cyberpunk Palette */
    --bg-dark: #0a0a0f;
    --bg-card: #12121a;
    --bg-card-hover: #1a1a25;
    --border-color: rgba(168, 85, 247, 0.2);
    
    /* Primary Colors */
    --purple: #a855f7;
    --purple-dark: #7c3aed;
    --purple-light: #c084fc;
    --purple-glow: rgba(168, 85, 247, 0.5);
    
    /* Accent Colors */
    --cyan: #06b6d4;
    --cyan-dark: #0891b2;
    --cyan-glow: rgba(6, 182, 212, 0.5);
    
    --pink: #ec4899;
    --pink-dark: #db2777;
    --pink-glow: rgba(236, 72, 153, 0.5);
    
    --green: #22c55e;
    --green-dark: #16a34a;
    --green-glow: rgba(34, 197, 94, 0.5);
    
    --yellow: #eab308;
    --orange: #f97316;
    --red: #ef4444;
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    
    /* Typography */
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px var(--purple-glow);
    --shadow-glow-cyan: 0 0 30px var(--cyan-glow);
    --shadow-glow-pink: 0 0 30px var(--pink-glow);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ========================================
   Reset & Base
======================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* ========================================
   Animated Background
======================================== */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.bg-gradient {
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(168, 85, 247, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(6, 182, 212, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(236, 72, 153, 0.08) 0%, transparent 60%);
    animation: bgMove 20s ease-in-out infinite;
}

@keyframes bgMove {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(5%, 5%) rotate(2deg); }
    50% { transform: translate(-5%, 10%) rotate(-2deg); }
    75% { transform: translate(10%, -5%) rotate(1deg); }
}

.bg-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(168, 85, 247, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(168, 85, 247, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridPulse 5s ease-in-out infinite;
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

.bg-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

/* ========================================
   Container & Layout
======================================== */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.section {
    padding: var(--space-3xl) 0;
    position: relative;
}

.section-dark {
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(10px);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-badge {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(6, 182, 212, 0.2));
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--purple-light);
    margin-bottom: var(--space-md);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: var(--space-md);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   Text Utilities
======================================== */
.text-gradient {
    background: linear-gradient(135deg, var(--purple) 0%, var(--cyan) 50%, var(--pink) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-purple { color: var(--purple); }
.text-cyan { color: var(--cyan); }
.text-pink { color: var(--pink); }
.text-green { color: var(--green); }

/* ========================================
   Navbar
======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-md) 0;
    transition: var(--transition-base);
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.logo-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--purple), var(--pink));
    border-radius: var(--radius-lg);
    font-size: 1.25rem;
    animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% { box-shadow: 0 0 20px var(--purple-glow); }
    50% { box-shadow: 0 0 40px var(--purple-glow), 0 0 60px var(--pink-glow); }
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: var(--space-sm) 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--purple), var(--cyan));
    transition: var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.navbar-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--text-primary);
}

/* Mobile Menu */
@media (max-width: 992px) {
    .navbar-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(10, 10, 15, 0.98);
        flex-direction: column;
        padding: var(--space-xl);
        gap: var(--space-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-base);
    }
    
    .navbar-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .navbar-toggle {
        display: block;
    }
    
    .navbar-actions {
        display: none;
    }
}

/* ========================================
   Buttons
======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--purple), var(--purple-dark));
    color: white;
    box-shadow: 0 4px 15px var(--purple-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--purple-glow);
}

.btn-secondary {
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: rgba(168, 85, 247, 0.2);
    border-color: var(--purple);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    backdrop-filter: blur(10px);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-lg {
    padding: var(--space-md) var(--space-xl);
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

.btn-glow {
    animation: btnGlow 2s ease-in-out infinite;
}

@keyframes btnGlow {
    0%, 100% { box-shadow: 0 4px 15px var(--purple-glow); }
    50% { box-shadow: 0 8px 30px var(--purple-glow), 0 0 50px var(--purple-glow); }
}

/* ========================================
   Hero Section
======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-xs) var(--space-md);
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(34, 197, 94, 0.1));
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: var(--radius-full);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--green);
    margin-bottom: var(--space-lg);
}

.hero-badge i {
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    position: relative;
}

/* Glitch Effect */
.animate-glitch {
    position: relative;
}

.animate-glitch::before,
.animate-glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.animate-glitch::before {
    color: var(--cyan);
    animation: glitch1 0.3s ease-in-out infinite;
}

.animate-glitch::after {
    color: var(--pink);
    animation: glitch2 0.3s ease-in-out infinite;
}

.animate-glitch:hover::before,
.animate-glitch:hover::after {
    opacity: 0.8;
}

@keyframes glitch1 {
    0%, 100% { clip-path: inset(0 0 100% 0); transform: translate(0); }
    20% { clip-path: inset(50% 0 30% 0); transform: translate(-2px, 2px); }
    40% { clip-path: inset(20% 0 60% 0); transform: translate(2px, -2px); }
    60% { clip-path: inset(70% 0 10% 0); transform: translate(-1px, 1px); }
    80% { clip-path: inset(40% 0 40% 0); transform: translate(1px, -1px); }
}

@keyframes glitch2 {
    0%, 100% { clip-path: inset(100% 0 0 0); transform: translate(0); }
    20% { clip-path: inset(30% 0 50% 0); transform: translate(2px, -2px); }
    40% { clip-path: inset(60% 0 20% 0); transform: translate(-2px, 2px); }
    60% { clip-path: inset(10% 0 70% 0); transform: translate(1px, -1px); }
    80% { clip-path: inset(40% 0 40% 0); transform: translate(-1px, 1px); }
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
}

.hero-stats {
    display: flex;
    gap: var(--space-2xl);
}

.hero-stat {
    text-align: center;
}

.hero-stat-value {
    font-family: var(--font-mono);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
}

.hero-stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card {
    position: relative;
    background: rgba(18, 18, 26, 0.8);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-2xl);
    padding: var(--space-2xl);
    text-align: center;
    min-width: 280px;
    backdrop-filter: blur(20px);
}

.hero-card .card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center, var(--purple-glow) 0%, transparent 70%);
    opacity: 0.3;
    animation: cardGlow 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes cardGlow {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.1); }
}

.hero-card .card-content {
    position: relative;
    z-index: 1;
}

.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--green);
    margin-bottom: var(--space-md);
}

.live-dot {
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
    animation: livePulse 1.5s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-card h3 {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

.hero-card .big-number {
    font-family: var(--font-mono);
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--purple), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: var(--space-sm);
}

.hero-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Floating Animation */
.floating {
    animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-10px) rotate(1deg); }
    75% { transform: translateY(10px) rotate(-1deg); }
}

/* Hero Scroll */
.hero-scroll {
    position: absolute;
    bottom: var(--space-2xl);
    left: 50%;
    transform: translateX(-50%);
}

.hero-scroll a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 60px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-full);
    color: var(--text-muted);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* Hero Responsive */
@media (max-width: 992px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        display: none;
    }
}

/* ========================================
   Animations
======================================== */
.animate-fade-in {
    animation: fadeIn 0.8s ease-out;
}

.animate-fade-in-delay {
    animation: fadeIn 0.8s ease-out 0.2s both;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 0.8s ease-out 0.4s both;
}

.animate-fade-in-delay-3 {
    animation: fadeIn 0.8s ease-out 0.6s both;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* AOS-like animations */
[data-aos="fade-up"] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

[data-aos="fade-right"] {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="fade-right"].aos-animate {
    opacity: 1;
    transform: translateX(0);
}

[data-aos="fade-left"] {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="fade-left"].aos-animate {
    opacity: 1;
    transform: translateX(0);
}

[data-aos="zoom-in"] {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="zoom-in"].aos-animate {
    opacity: 1;
    transform: scale(1);
}

/* ========================================
   Feature Cards
======================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    position: relative;
    overflow: hidden;
    transition: var(--transition-base);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--purple), var(--cyan));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--purple);
    box-shadow: var(--shadow-glow);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(168, 85, 247, 0.1));
    border-radius: var(--radius-lg);
    font-size: 1.5rem;
    color: var(--purple);
    margin-bottom: var(--space-lg);
}

.feature-icon.cyan {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(6, 182, 212, 0.1));
    color: var(--cyan);
}

.feature-icon.pink {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.2), rgba(236, 72, 153, 0.1));
    color: var(--pink);
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: var(--space-lg);
}

.feature-stat {
    display: flex;
    align-items: baseline;
    gap: var(--space-sm);
    padding-top: var(--space-md);
    border-top: 1px solid var(--border-color);
}

.feature-stat-value {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.feature-stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ========================================
   Server Cards
======================================== */
.servers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-xl);
}

.server-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    transition: var(--transition-base);
    overflow: hidden;
}

.server-card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at top center, var(--purple-glow) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition-base);
    pointer-events: none;
}

.server-card:hover {
    transform: translateY(-5px);
    border-color: var(--purple);
}

.server-card:hover .server-card-glow {
    opacity: 0.3;
}

.server-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    position: relative;
    z-index: 1;
}

.server-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--purple), var(--pink));
    border-radius: var(--radius-lg);
    font-size: 1.25rem;
}

.server-info h3 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    margin-bottom: var(--space-xs);
}

.server-level {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.server-badge {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-full);
    font-family: var(--font-mono);
    font-size: 0.7rem;
}

.server-badge.live {
    background: rgba(34, 197, 94, 0.1);
    color: var(--green);
}

.server-badge .live-dot {
    width: 6px;
    height: 6px;
}

.server-pool {
    position: relative;
    z-index: 1;
    margin-bottom: var(--space-lg);
}

.pool-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--space-sm);
    font-size: 0.875rem;
}

.pool-header span:first-child {
    color: var(--text-muted);
}

.pool-value {
    font-family: var(--font-mono);
    font-weight: 600;
    color: var(--purple-light);
}

.pool-bar {
    height: 8px;
    background: rgba(168, 85, 247, 0.1);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: var(--space-sm);
}

.pool-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--purple), var(--cyan));
    border-radius: var(--radius-full);
    transition: width 1s ease;
    position: relative;
}

.pool-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.pool-footer {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.pool-footer strong {
    color: var(--text-secondary);
}

.server-website {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
    position: relative;
    z-index: 1;
}

.server-website:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.server-card .btn {
    position: relative;
    z-index: 1;
}

/* ========================================
   Live Feed
======================================== */
.live-feed-section {
    background: linear-gradient(90deg, var(--bg-dark), rgba(168, 85, 247, 0.05), var(--bg-dark));
    padding: var(--space-md) 0;
    overflow: hidden;
}

.live-feed-wrapper {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.live-feed-label {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--green);
    flex-shrink: 0;
    padding-left: var(--space-lg);
}

.live-feed-track {
    flex: 1;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.live-feed-content {
    display: flex;
    gap: var(--space-xl);
    animation: feedScroll 30s linear infinite;
}

@keyframes feedScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.feed-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex-shrink: 0;
    padding: var(--space-xs) var(--space-md);
    background: rgba(18, 18, 26, 0.8);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
}

.feed-user {
    font-weight: 600;
    color: var(--text-primary);
}

.feed-reward {
    font-family: var(--font-mono);
    font-weight: 600;
    color: var(--green);
}

.feed-task {
    color: var(--text-muted);
}

/* ========================================
   Stats Banner
======================================== */
.stats-banner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-xl);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-xl);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    transition: var(--transition-base);
}

.stat-item:hover {
    transform: translateY(-3px);
    border-color: var(--purple);
}

.stat-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(168, 85, 247, 0.1));
    border-radius: var(--radius-lg);
    font-size: 1.25rem;
    color: var(--purple);
}

.stat-icon.cyan {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(6, 182, 212, 0.1));
    color: var(--cyan);
}

.stat-icon.pink {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.2), rgba(236, 72, 153, 0.1));
    color: var(--pink);
}

.stat-icon.green {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(34, 197, 94, 0.1));
    color: var(--green);
}

.stat-value {
    font-family: var(--font-mono);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: var(--space-xs);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.stat-change {
    font-size: 0.8rem;
    color: var(--green);
    margin-top: var(--space-xs);
}

/* ========================================
   Leaderboard
======================================== */
.leaderboard-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.leaderboard-podium {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.podium-card {
    position: relative;
    text-align: center;
    padding: var(--space-xl);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    transition: var(--transition-base);
}

.podium-card.rank-1 {
    background: linear-gradient(180deg, rgba(234, 179, 8, 0.1), var(--bg-card));
    border-color: rgba(234, 179, 8, 0.3);
    order: 2;
    transform: scale(1.05);
}

.podium-card.rank-2 {
    order: 1;
}

.podium-card.rank-3 {
    order: 3;
}

.podium-card:hover {
    transform: translateY(-5px);
}

.podium-card.rank-1:hover {
    transform: scale(1.05) translateY(-5px);
}

.podium-rank {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(168, 85, 247, 0.2);
    border-radius: var(--radius-md);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 700;
}

.rank-1 .podium-rank {
    background: linear-gradient(135deg, #ffd700, #ffaa00);
    color: #000;
}

.rank-2 .podium-rank {
    background: linear-gradient(135deg, #c0c0c0, #999);
    color: #000;
}

.rank-3 .podium-rank {
    background: linear-gradient(135deg, #cd7f32, #a05a2c);
    color: #fff;
}

.podium-avatar {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--purple), var(--pink));
    border-radius: 50%;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 auto var(--space-md);
}

.rank-1 .podium-avatar {
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.4);
}

.podium-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: var(--space-xs);
}

.podium-score {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.podium-crown {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    color: #ffd700;
    font-size: 1.5rem;
    animation: crownBounce 2s ease-in-out infinite;
}

@keyframes crownBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-5px); }
}

.leaderboard-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.leaderboard-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
}

.leaderboard-item:hover {
    background: var(--bg-card-hover);
    border-color: var(--purple);
}

.lb-rank {
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-muted);
    width: 30px;
}

.lb-user {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex: 1;
}

.lb-avatar {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.3), rgba(168, 85, 247, 0.1));
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
}

.lb-score {
    font-family: var(--font-mono);
    font-weight: 600;
    color: var(--cyan);
}

/* ========================================
   Steps
======================================== */
.steps-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-3xl);
    flex-wrap: wrap;
}

.step-card {
    flex: 1;
    min-width: 250px;
    max-width: 320px;
    text-align: center;
    padding: var(--space-xl);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    position: relative;
    transition: var(--transition-base);
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: var(--purple);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--purple), var(--pink));
    border-radius: 50%;
    font-family: var(--font-mono);
    font-weight: 700;
}

.step-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(168, 85, 247, 0.1));
    border-radius: var(--radius-lg);
    font-size: 1.5rem;
    color: var(--purple);
    margin: var(--space-lg) auto;
}

.step-icon.cyan {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(6, 182, 212, 0.1));
    color: var(--cyan);
}

.step-icon.green {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(34, 197, 94, 0.1));
    color: var(--green);
}

.step-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: var(--space-sm);
}

.step-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.step-connector {
    color: var(--text-muted);
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .step-connector {
        transform: rotate(90deg);
    }
}

/* CTA Box */
.cta-box {
    text-align: center;
    padding: var(--space-2xl);
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(6, 182, 212, 0.1));
    border: 1px solid var(--border-color);
    border-radius: var(--radius-2xl);
}

.cta-box h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
}

.cta-box p {
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
}

/* ========================================
   FAQ
======================================== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: var(--space-md);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-base);
}

.faq-item:hover {
    border-color: var(--purple);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-lg);
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    text-align: left;
    background: transparent;
    cursor: pointer;
    transition: var(--transition-fast);
}

.faq-question:hover {
    color: var(--purple-light);
}

.faq-question i {
    transition: var(--transition-base);
    color: var(--text-muted);
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
    color: var(--purple);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: var(--transition-base);
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 var(--space-lg) var(--space-lg);
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========================================
   Footer
======================================== */
.footer {
    background: rgba(10, 10, 15, 0.9);
    border-top: 1px solid var(--border-color);
    padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.footer-logo .logo-icon {
    width: 36px;
    height: 36px;
    font-size: 1rem;
}

.footer-logo .logo-text {
    font-size: 1.25rem;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    margin-bottom: var(--space-lg);
    color: var(--text-primary);
}

.footer-links a,
.footer-contact a {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding: var(--space-xs) 0;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--purple-light);
}

.footer-contact a {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-contact a {
        justify-content: center;
    }
}

/* ========================================
   Empty State
======================================== */
.empty-state {
    text-align: center;
    padding: var(--space-3xl);
    color: var(--text-muted);
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: var(--space-lg);
    opacity: 0.3;
}

.empty-state h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
    color: var(--text-secondary);
}

/* ========================================
   Forms
======================================== */
.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: var(--space-sm);
    color: var(--text-secondary);
}

.form-input {
    width: 100%;
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-input:focus {
    outline: none;
    border-color: var(--purple);
    box-shadow: 0 0 15px var(--purple-glow);
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-input-icon {
    position: relative;
}

.form-input-icon .form-input {
    padding-left: calc(var(--space-md) + 1.5rem);
}

.form-input-icon i {
    position: absolute;
    left: var(--space-md);
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.form-input-icon .form-input:focus + i,
.form-input-icon .form-input:focus ~ i {
    color: var(--purple);
}

/* ========================================
   Cards & Content
======================================== */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--border-color);
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
}

/* ========================================
   Alerts
======================================== */
.alert {
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.alert-success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: var(--green);
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: var(--red);
}

.alert-warning {
    background: rgba(234, 179, 8, 0.1);
    border: 1px solid rgba(234, 179, 8, 0.3);
    color: var(--yellow);
}

.alert-info {
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.3);
    color: var(--cyan);
}

/* ========================================
   Responsive Utilities
======================================== */
@media (max-width: 576px) {
    .hero-stats {
        flex-direction: column;
        gap: var(--space-lg);
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .leaderboard-podium {
        grid-template-columns: 1fr;
    }
    
    .podium-card.rank-1 {
        order: 1;
        transform: scale(1);
    }
    
    .podium-card.rank-2 {
        order: 2;
    }
    
    .podium-card.rank-3 {
        order: 3;
    }
}
