/* ========================================
   ApeFortress 2 - Main Stylesheet
   ======================================== */

/* CSS Variables - Dark Theme (Default) */
:root,
[data-theme="dark"] {
    --primary: #ff6b35;
    --primary-dark: #e55a2b;
    --primary-light: #ff8c5a;
    --secondary: #00d4ff;
    --secondary-dark: #00a8cc;
    --accent: #ffd700;
    --accent-dark: #ccac00;

    /* Backgrounds */
    --bg-body: #0a0a0f;
    --bg-dark: #0a0a0f;
    --bg-darker: #050508;
    --bg-card: #12121a;
    --bg-card-hover: #1a1a25;
    --bg-navbar: rgba(10, 10, 15, 0.9);
    --bg-navbar-scrolled: rgba(5, 5, 8, 0.98);
    --bg-overlay: rgba(0, 0, 0, 0.95);
    --bg-input: rgba(255, 255, 255, 0.05);

    /* Text */
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-muted: #666666;
    --text-inverse: #0a0a0f;

    /* Borders */
    --border-light: rgba(255, 255, 255, 0.1);
    --border-primary: rgba(255, 107, 53, 0.3);

    /* Gradients */
    --gradient-fire: linear-gradient(135deg, #ff6b35, #ff8c42, #ffd700);
    --gradient-ice: linear-gradient(135deg, #00d4ff, #0099cc);
    --gradient-dark: linear-gradient(180deg, rgba(10,10,15,0) 0%, rgba(10,10,15,1) 100%);
    --gradient-hero-overlay: linear-gradient(180deg, rgba(10,10,15,0.3) 0%, rgba(10,10,15,0.8) 50%, rgba(10,10,15,1) 100%);

    /* Shadows */
    --shadow-glow: 0 0 40px rgba(255, 107, 53, 0.3);
    --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.5);
    --shadow-text: 0 0 30px rgba(255, 107, 53, 0.5);

    /* Component specific */
    --video-bg: #000000;
    --progress-bg: rgba(255, 255, 255, 0.2);
    --scrollbar-bg: #1a1a25;
    --scrollbar-thumb: #ff6b35;

    /* Utility */
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light Theme */
[data-theme="light"] {
    --primary: #e55a2b;
    --primary-dark: #cc4a1f;
    --primary-light: #ff6b35;
    --secondary: #0099cc;
    --secondary-dark: #007a99;
    --accent: #cc9900;
    --accent-dark: #997300;

    /* Backgrounds */
    --bg-body: #f5f5f7;
    --bg-dark: #f5f5f7;
    --bg-darker: #e8e8ed;
    --bg-card: #ffffff;
    --bg-card-hover: #f0f0f5;
    --bg-navbar: rgba(255, 255, 255, 0.9);
    --bg-navbar-scrolled: rgba(245, 245, 247, 0.98);
    --bg-overlay: rgba(255, 255, 255, 0.95);
    --bg-input: rgba(0, 0, 0, 0.05);

    /* Text */
    --text-primary: #1a1a2e;
    --text-secondary: #555566;
    --text-muted: #888899;
    --text-inverse: #ffffff;

    /* Borders */
    --border-light: rgba(0, 0, 0, 0.1);
    --border-primary: rgba(229, 90, 43, 0.3);

    /* Gradients */
    --gradient-fire: linear-gradient(135deg, #e55a2b, #ff8c42, #cc9900);
    --gradient-ice: linear-gradient(135deg, #0099cc, #007a99);
    --gradient-dark: linear-gradient(180deg, rgba(245,245,247,0) 0%, rgba(245,245,247,1) 100%);
    --gradient-hero-overlay: linear-gradient(180deg, rgba(245,245,247,0.3) 0%, rgba(245,245,247,0.8) 50%, rgba(245,245,247,1) 100%);

    /* Shadows */
    --shadow-glow: 0 0 40px rgba(229, 90, 43, 0.2);
    --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.1);
    --shadow-text: 0 0 30px rgba(229, 90, 43, 0.3);

    /* Component specific */
    --video-bg: #1a1a2e;
    --progress-bg: rgba(0, 0, 0, 0.15);
    --scrollbar-bg: #e0e0e5;
    --scrollbar-thumb: #e55a2b;
}

/* Light Theme Component Overrides */
[data-theme="light"] .feature-card,
[data-theme="light"] .mode-card,
[data-theme="light"] .class-card,
[data-theme="light"] .vehicle-card,
[data-theme="light"] .token-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .feature-card:hover,
[data-theme="light"] .mode-card:hover,
[data-theme="light"] .class-card:hover,
[data-theme="light"] .vehicle-card:hover,
[data-theme="light"] .token-card:hover {
    box-shadow: 0 8px 30px rgba(229, 90, 43, 0.15);
}

[data-theme="light"] .section-title,
[data-theme="light"] .hero-title {
    text-shadow: none;
}

[data-theme="light"] .hero-tagline {
    color: var(--text-secondary);
}

[data-theme="light"] .video-overlay {
    background: linear-gradient(180deg, rgba(245,245,247,0.15) 0%, rgba(245,245,247,0.4) 50%, rgba(245,245,247,0.9) 100%);
}

[data-theme="light"] .card-overlay {
    background: var(--bg-overlay);
}

[data-theme="light"] .expanded-card-content {
    background: var(--bg-card);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .progress-bar::after {
    background: var(--text-primary);
}

[data-theme="light"] .control-btn:hover {
    background: rgba(229, 90, 43, 0.2);
}

[data-theme="light"] .footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--border-light);
}

[data-theme="light"] .stat-bar {
    background: var(--bg-darker);
}

[data-theme="light"] .nav-ca {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
}

[data-theme="light"] .badge {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    color: var(--text-primary);
}

[data-theme="light"] .hero-ca {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
}

[data-theme="light"] .text-white {
    color: var(--text-primary) !important;
    font-weight: 700;
}

[data-theme="light"] .inline-link {
    color: var(--primary);
}

[data-theme="light"] .trailer-wrapper::before {
    background: #000000;
}

[data-theme="light"] .trailer-inner {
    background: #000000;
}

[data-theme="light"] .trailer-container::before {
    opacity: 0.5;
}

[data-theme="light"] .video-controls {
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
}

[data-theme="light"] .control-btn {
    color: #fff;
}

[data-theme="light"] .time-display {
    color: rgba(255, 255, 255, 0.9);
}

[data-theme="light"] .ca-box::after {
    background: var(--bg-card);
}

[data-theme="light"] .section-subtitle {
    color: var(--text-secondary);
}

/* Light theme section gradients - darker instead of lighter */
[data-theme="light"] .section::before {
    background: radial-gradient(
        ellipse 50% 80% at 50% 20%,
        rgba(0, 0, 0, 0.02) 0%,
        rgba(0, 0, 0, 0.01) 30%,
        transparent 60%
    );
}

[data-theme="light"] .scroll-indicator {
    border-color: var(--text-secondary);
}

[data-theme="light"] .scroll-indicator::before {
    background: var(--primary);
}

[data-theme="light"] .map-card {
    border: 1px solid var(--border-light);
}

[data-theme="light"] .map-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .social-link {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
}

[data-theme="light"] .social-link:hover {
    background: var(--primary);
    border-color: var(--primary);
}

[data-theme="light"] .btn-secondary {
    border-color: var(--primary);
    color: var(--primary);
}

[data-theme="light"] .btn-secondary:hover {
    background: var(--primary);
    color: var(--text-inverse);
}

[data-theme="light"] .podium-place {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
}

[data-theme="light"] .logo-text {
    color: var(--text-primary);
}

[data-theme="light"] .logo-io {
    color: var(--text-secondary);
}

/* Theme Transition */
body.theme-transitioning,
body.theme-transitioning * {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease !important;
}

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

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

body {
    font-family: 'Rajdhani', sans-serif;
    background: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease;
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

/* ========================================
   Navigation
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background: var(--bg-navbar);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-primary);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 10px 40px;
    background: var(--bg-navbar-scrolled);
}

/* Theme Toggle */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: var(--bg-card);
    color: var(--text-primary);
    transition: var(--transition);
}

.theme-toggle:hover {
    background: var(--bg-card-hover);
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
}

.theme-toggle svg {
    width: 22px;
    height: 22px;
    transition: var(--transition);
}

.theme-toggle .sun-icon {
    display: none;
}

.theme-toggle .moon-icon {
    display: block;
}

[data-theme="light"] .theme-toggle .sun-icon {
    display: block;
}

[data-theme="light"] .theme-toggle .moon-icon {
    display: none;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.logo-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: lowercase;
}

.logo-io {
    color: #888;
    font-weight: 600;
}

.nav-links {
    display: flex;
    gap: 30px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

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

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

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

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

.nav-cta {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: var(--bg-dark);
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.4);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(34, 197, 94, 0.6);
}

/* ========================================
   Hero Section
   ======================================== */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(10, 10, 15, 0.4) 0%,
        rgba(10, 10, 15, 0.6) 50%,
        rgba(10, 10, 15, 0.95) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 20px;
}

.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(3rem, 12vw, 8rem);
    font-weight: 900;
    line-height: 0.9;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 8px;
}

.title-line {
    display: block;
    animation: titleSlideIn 1s ease-out forwards;
    opacity: 0;
    transform: translateY(50px);
}

.title-line:nth-child(1) { animation-delay: 0.2s; }
.title-line:nth-child(2) { animation-delay: 0.4s; }
.title-line:nth-child(3) { animation-delay: 0.6s; }

.title-line.accent {
    background: var(--gradient-fire);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.title-line.small {
    font-size: 0.4em;
    letter-spacing: 20px;
    color: var(--secondary);
}

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

.hero-tagline {
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: var(--text-secondary);
    letter-spacing: 8px;
    margin-bottom: 40px;
    animation: fadeIn 1s ease-out 0.8s forwards;
    opacity: 0;
}

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

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeIn 1s ease-out 1s forwards;
    opacity: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: var(--bg-dark);
    box-shadow: 0 4px 30px rgba(34, 197, 94, 0.5);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 40px rgba(34, 197, 94, 0.7);
}

.btn-primary.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 4px 30px rgba(34, 197, 94, 0.5); }
    50% { box-shadow: 0 4px 50px rgba(34, 197, 94, 0.8); }
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.btn-icon {
    font-size: 0.8em;
}

.platform-badges {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
    animation: fadeIn 1s ease-out 1.2s forwards;
    opacity: 0;
}

.badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.badge svg {
    width: 18px;
    height: 18px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: fadeIn 1s ease-out 1.5s forwards, bounce 2s ease-in-out infinite 2s;
    opacity: 0;
}

.scroll-indicator span {
    font-size: 0.7rem;
    letter-spacing: 3px;
    color: var(--text-muted);
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--text-muted);
    border-bottom: 2px solid var(--text-muted);
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ========================================
   Sections Common
   ======================================== */
.section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* Horizontal spotlight gradient - lighter in center, tapers to edges */
.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 100%;
    background: radial-gradient(
        ellipse 50% 80% at 50% 20%,
        rgba(255, 255, 255, 0.04) 0%,
        rgba(255, 255, 255, 0.02) 30%,
        transparent 60%
    );
    pointer-events: none;
    z-index: 0;
}

/* Subtle top accent line that fades at edges */
.section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 1200px;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 107, 53, 0.3) 20%,
        rgba(255, 107, 53, 0.5) 50%,
        rgba(255, 107, 53, 0.3) 80%,
        transparent 100%
    );
    pointer-events: none;
    z-index: 1;
}

/* Ensure content stays above the gradient */
.section > .container {
    position: relative;
    z-index: 1;
}

/* Don't apply to hero or features section (first content section) */
.hero-section::before,
.hero-section::after,
.features-section::after {
    display: none;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 60px;
}

.section-subtitle + .section-subtitle {
    margin-top: -40px;
}

.section-subtitle.justified {
    text-align: justify;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.inline-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.inline-link:hover {
    border-bottom-color: var(--accent);
    text-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}

/* ========================================
   Expandable Cards
   ======================================== */
.expandable-card {
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.expandable-card::after {
    content: '+';
    position: absolute;
    top: 15px;
    right: 15px;
    width: 28px;
    height: 28px;
    background: rgba(255, 107, 53, 0.2);
    border: 1px solid rgba(255, 107, 53, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--accent);
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.expandable-card:hover::after {
    opacity: 1;
    transform: scale(1);
}

.expandable-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(255, 107, 53, 0.2);
}

.card-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card-overlay.active {
    display: flex;
    opacity: 1;
}

.card-expanded {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
    border: 2px solid var(--accent);
    border-radius: var(--border-radius);
    padding: 50px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    transform: scale(0.8);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 60px rgba(255, 107, 53, 0.3);
}

.card-overlay.active .card-expanded {
    transform: scale(1);
    opacity: 1;
}

.card-expanded-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
}

.card-expanded-close:hover {
    color: var(--accent);
    transform: scale(1.1);
}

.card-expanded .expanded-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.2) 0%, rgba(255, 107, 53, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 107, 53, 0.3);
    box-shadow: 0 0 30px rgba(255, 107, 53, 0.2);
}

.card-expanded .expanded-icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

/* Screenshot images (vehicles, classes) - no filter, larger size */
.card-expanded.has-screenshot .expanded-icon {
    width: 200px;
    height: 200px;
    border-radius: var(--border-radius);
    background: rgba(0, 0, 0, 0.3);
}

.card-expanded.has-screenshot .expanded-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: none;
    border-radius: var(--border-radius);
}

.card-expanded h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 20px;
    color: var(--accent);
    text-shadow: 0 0 20px rgba(255, 107, 53, 0.4);
}

.card-expanded p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 25px;
}

.card-expanded .expanded-stats {
    margin-top: 20px;
}

.card-expanded .stat {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
}

.card-expanded .stat span {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--text-secondary);
    width: 50px;
}

.card-expanded .stat-bar {
    flex: 1;
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
}

.card-expanded .stat-bar div {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    border-radius: 5px;
    transition: width 0.6s ease;
}

@media (max-width: 768px) {
    .card-expanded {
        padding: 35px 25px;
        max-width: 95%;
    }

    .card-expanded h3 {
        font-size: 1.4rem;
    }

    .card-expanded .expanded-icon {
        width: 80px;
        height: 80px;
    }

    .card-expanded .expanded-icon img {
        width: 40px;
        height: 40px;
    }
}

/* ========================================
   Trailer Video
   ======================================== */
.trailer-container {
    max-width: 900px;
    margin: 0 auto 60px;
}

.trailer-wrapper {
    position: relative;
    border-radius: var(--border-radius);
    overflow: visible;
    aspect-ratio: 16/9;
    background: linear-gradient(90deg,
        #ff0000, #ff7300, #fffb00, #48ff00,
        #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000
    );
    background-size: 400% 100%;
    padding: 3px;
    animation: rgbBorder 8s linear infinite;
}

/* RGB Glow layer - blurred copy of the gradient */
.trailer-container {
    position: relative;
}

.trailer-container::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    background: linear-gradient(90deg,
        #ff0000, #ff7300, #fffb00, #48ff00,
        #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000
    );
    background-size: 400% 100%;
    border-radius: calc(var(--border-radius) + 15px);
    filter: blur(30px);
    opacity: 0.6;
    z-index: -1;
    animation: rgbBorder 8s linear infinite;
}

.trailer-wrapper::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    right: 3px;
    bottom: 3px;
    background: #000;
    border-radius: calc(var(--border-radius) - 2px);
    z-index: 0;
    overflow: hidden;
}

.trailer-inner {
    position: absolute;
    top: 3px;
    left: 3px;
    right: 3px;
    bottom: 3px;
    border-radius: calc(var(--border-radius) - 2px);
    overflow: hidden;
    z-index: 1;
}

@keyframes rgbBorder {
    0% { background-position: 0% 50%; }
    100% { background-position: 400% 50%; }
}

.trailer-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Custom Video Player Controls */
.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    padding: 40px 20px 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.trailer-wrapper.video-started:hover .video-controls,
.trailer-wrapper.video-started.controls-visible .video-controls {
    opacity: 1;
}

.progress-container {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    cursor: pointer;
    margin-bottom: 12px;
    position: relative;
    overflow: visible;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-container:hover {
    height: 14px;
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 15px rgba(255, 107, 53, 0.4);
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 3px;
    width: 0%;
    transition: width 0.1s linear;
    position: relative;
}

.progress-bar::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.8);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.progress-container:hover .progress-bar::after {
    opacity: 1;
}

.progress-buffered {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.controls-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.controls-left,
.controls-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.control-btn {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-btn:hover {
    background: rgba(255, 107, 53, 0.3);
    transform: scale(1.1);
}

.control-btn svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.control-btn.play-pause svg {
    width: 26px;
    height: 26px;
}

.volume-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.volume-slider {
    --volume-fill: 100%;
    width: 0;
    height: 6px;
    background: linear-gradient(to right, var(--primary) 0%, var(--primary) var(--volume-fill), rgba(255, 255, 255, 0.3) var(--volume-fill), rgba(255, 255, 255, 0.3) 100%);
    border-radius: 3px;
    cursor: pointer;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1), height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-appearance: none;
    appearance: none;
    overflow: visible;
}

.volume-container:hover .volume-slider {
    width: 80px;
    height: 10px;
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.3);
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
}

.volume-slider::-moz-range-thumb {
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

.time-display {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 1px;
    min-width: 100px;
}

.time-display .current-time {
    color: #fff;
}

.time-display .duration {
    color: rgba(255, 255, 255, 0.5);
}

/* Fullscreen styles */
.trailer-wrapper:fullscreen {
    padding: 0;
    background: #000;
    border-radius: 0;
    box-shadow: none;
    animation: none;
}

.trailer-wrapper:fullscreen::before {
    display: none;
}

.trailer-wrapper:fullscreen .trailer-inner {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 0;
}

.trailer-wrapper:-webkit-full-screen {
    padding: 0;
    background: #000;
    border-radius: 0;
    box-shadow: none;
    animation: none;
}

.trailer-wrapper:-webkit-full-screen::before {
    display: none;
}

.trailer-wrapper:-webkit-full-screen .trailer-inner {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 0;
}

/* Hide default controls */
.trailer-video::-webkit-media-controls {
    display: none !important;
}

.trailer-video::-webkit-media-controls-enclosure {
    display: none !important;
}

.trailer-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.trailer-play-overlay:hover {
    background: rgba(0, 0, 0, 0.3);
}

.trailer-play-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    padding: 25px 35px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.trailer-play-overlay:hover .trailer-play-panel {
    background: rgba(0, 0, 0, 0.7);
    border-color: rgba(255, 107, 53, 0.3);
    box-shadow: 0 0 40px rgba(255, 107, 53, 0.2);
}

.trailer-play-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.trailer-play-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 0 40px rgba(255, 107, 53, 0.5);
}

.trailer-play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 60px rgba(255, 107, 53, 0.7);
}

.trailer-play-btn svg {
    width: 42px;
    height: 42px;
    fill: #fff;
    margin-left: 5px;
}

.trailer-label {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: #fff;
    text-shadow: 0 0 20px rgba(255, 107, 53, 0.5);
}

@media (max-width: 768px) {
    .trailer-play-panel {
        padding: 20px 28px;
        gap: 12px;
    }

    .trailer-play-btn {
        width: 60px;
        height: 60px;
    }

    .trailer-play-btn svg {
        width: 30px;
        height: 30px;
        margin-left: 4px;
    }

    .trailer-label {
        font-size: 0.85rem;
    }
}

/* ========================================
   Features Section
   ======================================== */
.features-section {
    background: var(--bg-darker);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.feature-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-fire);
    transform: scaleX(0);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    background: var(--bg-card-hover);
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(255, 107, 53, 0.3);
}

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

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: rgba(255, 107, 53, 0.2);
    transform: scale(1.1);
}

.feature-icon svg {
    width: 35px;
    height: 35px;
    color: var(--primary);
}

.feature-icon img {
    width: 35px;
    height: 35px;
    filter: brightness(0) saturate(100%) invert(54%) sepia(71%) saturate(2168%) hue-rotate(346deg) brightness(101%) contrast(101%);
}

.feature-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ========================================
   Proximity Chat Section
   ======================================== */
.proximity-section {
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
}

.proximity-video-container {
    max-width: 800px;
    margin: 40px auto 0;
}

.proximity-video-wrapper {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 2px solid var(--border-primary);
    background: #000;
}

.proximity-video {
    width: 100%;
    height: auto;
    display: block;
}

.unmute-btn {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid var(--primary);
    color: #fff;
    padding: 12px 24px;
    border-radius: 50px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.unmute-btn:hover {
    background: var(--primary);
    transform: translateX(-50%) scale(1.05);
    box-shadow: 0 0 30px rgba(255, 107, 53, 0.5);
}

.unmute-btn svg {
    width: 20px;
    height: 20px;
}

.unmute-btn.unmuted {
    background: var(--primary);
}

.unmute-btn.unmuted .muted-icon {
    display: none;
}

.unmute-btn.unmuted .unmuted-icon {
    display: block !important;
}

.unmute-btn.unmuted .unmute-text {
    display: none;
}

[data-theme="light"] .proximity-video-wrapper {
    background: #000;
    border-color: var(--border-primary);
}

/* ========================================
   Gameplay Section
   ======================================== */
.gameplay-section {
    background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
}

.modes-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.mode-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 50px 30px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.mode-card:hover {
    transform: translateY(-8px);
}

/* Content-based hover colors for mode cards */
.mode-card:has(.mode-icon.ffa):hover {
    border-color: #ff4444;
    box-shadow: 0 0 30px rgba(255, 68, 68, 0.3);
}

.mode-card:has(.mode-icon.tdm):hover {
    border-color: #44ff44;
    box-shadow: 0 0 30px rgba(68, 255, 68, 0.3);
}

.mode-card:has(.mode-icon.ctf):hover {
    border-color: #4444ff;
    box-shadow: 0 0 30px rgba(68, 68, 255, 0.3);
}

.mode-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.mode-icon.ffa {
    background: linear-gradient(135deg, #ff4444, #cc0000);
    box-shadow: 0 0 30px rgba(255, 68, 68, 0.4);
}

.mode-icon.ffa::after { content: ''; }

.mode-icon.tdm {
    background: linear-gradient(135deg, #44ff44, #00cc00);
    box-shadow: 0 0 30px rgba(68, 255, 68, 0.4);
}

.mode-icon.ctf {
    background: linear-gradient(135deg, #4444ff, #0000cc);
    box-shadow: 0 0 30px rgba(68, 68, 255, 0.4);
}

.mode-icon img {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
}

.mode-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.mode-card p {
    color: var(--text-secondary);
}

/* Classes Grid */
.classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.class-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 35px 25px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.class-card:hover {
    transform: translateY(-8px);
}

/* Content-based hover colors for class cards */
.class-card.assault:hover {
    border-color: #ff6b35;
    box-shadow: 0 0 30px rgba(255, 107, 53, 0.3);
}

.class-card.engineer:hover {
    border-color: #ffd700;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

.class-card.recon:hover {
    border-color: #9945ff;
    box-shadow: 0 0 30px rgba(153, 69, 255, 0.3);
}

.class-card.support:hover {
    border-color: #ff4444;
    box-shadow: 0 0 30px rgba(255, 68, 68, 0.3);
}

.class-image {
    width: 100%;
    aspect-ratio: 1;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.class-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.class-card:hover .class-image img {
    transform: scale(1.08);
}

.class-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.class-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.class-stats {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.stat {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

.stat span {
    width: 35px;
    text-align: left;
    color: var(--text-muted);
}

.stat-bar {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.stat-bar div {
    height: 100%;
    background: var(--gradient-fire);
    border-radius: 3px;
    transition: width 1s ease-out;
}

/* Movement Showcase */
.movement-showcase {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.movement-item {
    text-align: center;
}

.movement-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.movement-icon.rocket {
    background: linear-gradient(135deg, #ff6b35, #ffd700);
    box-shadow: 0 0 40px rgba(255, 107, 53, 0.5);
    animation: float 3s ease-in-out infinite;
}

.movement-icon.double-jump {
    background: linear-gradient(135deg, #00d4ff, #9945ff);
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.5);
    animation: float 3s ease-in-out infinite 0.5s;
}

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

.movement-icon img {
    width: 50px;
    height: 50px;
    filter: brightness(0) invert(1);
}

.movement-item h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    margin-bottom: 8px;
    letter-spacing: 2px;
}

.movement-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ========================================
   Vehicles Section
   ======================================== */
.vehicles-section {
    background: var(--bg-dark);
    overflow: hidden;
}

.vehicles-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 60px;
}

.vehicle-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 15px;
    text-align: center;
    width: 200px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.vehicle-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

.vehicle-image {
    width: 100%;
    aspect-ratio: 1;
    margin-bottom: 15px;
    border-radius: var(--border-radius);
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
}

.vehicle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.vehicle-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.vehicle-card p {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

/* ========================================
   Maps Section
   ======================================== */
.maps-section {
    background: var(--bg-darker);
}

.maps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 60px;
}

.map-card {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    aspect-ratio: 16/10;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.map-card:hover {
    transform: translateY(-5px);
}

/* Content-based hover colors for map cards */
.map-card.archipelago:hover {
    border-color: #00d4ff;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.4);
}

.map-card.blizzard:hover {
    border-color: #a8d8ff;
    box-shadow: 0 0 30px rgba(168, 216, 255, 0.4);
}

.map-card.desert:hover {
    border-color: #ffb347;
    box-shadow: 0 0 30px rgba(255, 179, 71, 0.4);
}

.map-card.jungle:hover {
    border-color: #44dd44;
    box-shadow: 0 0 30px rgba(68, 221, 68, 0.4);
}

.map-card.valley:hover {
    border-color: #90ee90;
    box-shadow: 0 0 30px rgba(144, 238, 144, 0.4);
}

.map-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.3s ease;
}

.map-card:hover img {
    transform: scale(1.1);
    filter: brightness(0.7);
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.map-overlay h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: #fff;
    text-shadow: 0 0 30px rgba(255, 107, 53, 0.8), 0 0 60px rgba(255, 107, 53, 0.4);
    transform: scale(0.9);
    transition: transform 0.4s ease;
    text-align: center;
    padding: 0 15px;
}

.map-card:hover .map-overlay h3 {
    transform: scale(1);
}

.map-overlay p {
    display: none;
}

.map-card.coming-soon {
    opacity: 0.7;
}

.coming-soon-badge {
    display: inline-block;
    background: var(--primary);
    color: var(--bg-dark);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-top: 10px;
}

/* ========================================
   Game Modes Section
   ======================================== */
.modes-section {
    background: var(--bg-dark);
}

/* ========================================
   Map Lightbox
   ======================================== */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 85%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 75vh;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    object-fit: contain;
}

.lightbox-title {
    color: var(--text-primary);
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 3px;
    margin-top: 20px;
    text-transform: uppercase;
    text-shadow: 0 0 20px rgba(255, 107, 53, 0.5);
}

.lightbox-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-top: 12px;
    max-width: 600px;
    text-align: center;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 3rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10001;
    line-height: 1;
}

.lightbox-close:hover {
    color: var(--accent);
    transform: scale(1.1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 107, 53, 0.2);
    border: 2px solid rgba(255, 107, 53, 0.4);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10001;
}

.lightbox-nav:hover {
    background: rgba(255, 107, 53, 0.4);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-nav svg {
    width: 30px;
    height: 30px;
    stroke: var(--text-primary);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

@media (max-width: 768px) {
    .lightbox-nav {
        width: 45px;
        height: 45px;
    }

    .lightbox-nav svg {
        width: 22px;
        height: 22px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-close {
        top: 10px;
        right: 15px;
        font-size: 2.5rem;
    }

    .lightbox-title {
        font-size: 1.1rem;
    }
}

/* ========================================
   Tokenomics Section
   ======================================== */
.tokenomics-section {
    background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 50%, var(--bg-darker) 100%);
}

.token-hero {
    text-align: center;
    margin-bottom: 50px;
}

.token-symbol {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 900;
    background: linear-gradient(90deg,
        #ff0000, #ff7300, #fffb00, #48ff00,
        #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000
    );
    background-size: 400% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    animation: rgbText 8s linear infinite;
    filter: drop-shadow(0 0 20px rgba(255, 107, 53, 0.5));
}

@keyframes rgbText {
    0% { background-position: 0% 50%; filter: drop-shadow(0 0 20px rgba(255, 0, 0, 0.6)); }
    14% { filter: drop-shadow(0 0 20px rgba(255, 115, 0, 0.6)); }
    28% { filter: drop-shadow(0 0 20px rgba(255, 251, 0, 0.6)); }
    42% { filter: drop-shadow(0 0 20px rgba(72, 255, 0, 0.6)); }
    57% { filter: drop-shadow(0 0 20px rgba(0, 255, 213, 0.6)); }
    71% { filter: drop-shadow(0 0 20px rgba(0, 43, 255, 0.6)); }
    85% { filter: drop-shadow(0 0 20px rgba(122, 0, 255, 0.6)); }
    100% { background-position: 400% 50%; filter: drop-shadow(0 0 20px rgba(255, 0, 200, 0.6)); }
}

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

.ca-box-wrapper {
    position: relative;
    max-width: 600px;
    margin: 0 auto 60px;
}

.ca-box-wrapper::before {
    content: '';
    position: absolute;
    top: -12px;
    left: -12px;
    right: -12px;
    bottom: -12px;
    background: linear-gradient(90deg,
        #ff0000, #ff7300, #fffb00, #48ff00,
        #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000
    );
    background-size: 400% 100%;
    border-radius: calc(var(--border-radius) + 12px);
    filter: blur(20px);
    opacity: 0.5;
    z-index: -1;
    animation: rgbBorder 8s linear infinite;
}

.ca-box {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 27px 37px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.ca-box::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(90deg,
        #ff0000, #ff7300, #fffb00, #48ff00,
        #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000
    );
    background-size: 400% 100%;
    border-radius: calc(var(--border-radius) + 2px);
    z-index: -1;
    animation: rgbBorder 8s linear infinite;
}

.ca-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-card);
    border-radius: var(--border-radius);
    z-index: -1;
}

.ca-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.ca-value {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.ca-value span {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    color: var(--primary);
    word-break: break-all;
}

.copy-btn {
    background: rgba(255, 107, 53, 0.2);
    border: none;
    border-radius: 8px;
    padding: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.copy-btn:hover {
    background: rgba(255, 107, 53, 0.4);
}

.copy-btn svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
}

.tokenomics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.token-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.token-card:hover {
    transform: translateY(-8px);
}

/* Content-based hover colors for token cards */
.token-card:has(.token-card-icon.burn):hover {
    border-color: #ff4444;
    box-shadow: 0 0 30px rgba(255, 68, 68, 0.3);
}

.token-card:has(.token-card-icon.cosmetics):hover {
    border-color: #9945ff;
    box-shadow: 0 0 30px rgba(153, 69, 255, 0.3);
}

.token-card:has(.token-card-icon.rewards):hover {
    border-color: #ffd700;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

.token-card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.token-card-icon.burn {
    background: linear-gradient(135deg, #ff4444, #ff6b35);
    box-shadow: 0 0 30px rgba(255, 68, 68, 0.4);
}

.token-card-icon.cosmetics {
    background: linear-gradient(135deg, #9945ff, #00d4ff);
    box-shadow: 0 0 30px rgba(153, 69, 255, 0.4);
}

.token-card-icon.rewards {
    background: linear-gradient(135deg, #ffd700, #ff8c42);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.4);
}

.token-card-icon img {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
}

.token-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.token-card p {
    color: var(--text-secondary);
}

/* Token Flow Diagram */
/* Tokenomics Flows */
.tokenomics-flows {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.flow-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.flow-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(255, 107, 53, 0.3);
}

.flow-header {
    background: rgba(255, 107, 53, 0.1);
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.flow-label {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--primary);
}

.flow-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px;
    gap: 20px;
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.flow-step span {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.flow-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flow-icon svg {
    width: 28px;
    height: 28px;
}

.flow-icon.purchase {
    background: var(--gradient-ice);
}

.flow-icon.pump {
    background: linear-gradient(135deg, #00ff88, #00cc6a);
}

.flow-icon.fire {
    background: linear-gradient(135deg, #ff4444, #ff6b35);
    animation: flicker 0.5s infinite alternate;
}

@keyframes flicker {
    from { opacity: 0.8; }
    to { opacity: 1; }
}

.flow-icon.trophy {
    background: linear-gradient(135deg, #ffd700, #ff8c42);
}

.flow-arrow-right {
    width: 40px;
    height: 3px;
    background: var(--text-muted);
    position: relative;
    flex-shrink: 0;
}

.flow-arrow-right::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: var(--text-muted);
}

.flow-result {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    border-radius: var(--border-radius);
    text-align: center;
    flex: 1;
}

.burn-result {
    background: rgba(255, 68, 68, 0.1);
    border: 1px solid rgba(255, 68, 68, 0.3);
}

.reward-result {
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.percent-big {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: #ff4444;
    text-shadow: 0 0 20px rgba(255, 68, 68, 0.5);
}

.percent-big.reward-percent {
    color: #ffd700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.result-label {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-primary);
}

.reward-split {
    display: flex;
    gap: 15px;
    margin-top: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.split-item {
    font-size: 0.75rem;
    padding: 5px 12px;
    background: rgba(255, 215, 0, 0.2);
    border-radius: 20px;
    color: #ffd700;
    font-weight: 600;
}

/* ========================================
   Play Section
   ======================================== */
.play-section {
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
    padding: 120px 0;
}

.play-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 50px 0 40px;
    flex-wrap: wrap;
}

.play-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 25px 50px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 2px;
    transition: var(--transition);
}

.play-btn svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    vertical-align: middle;
}

.play-btn.web-btn {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: var(--bg-dark);
    box-shadow: 0 4px 30px rgba(34, 197, 94, 0.5);
}

.play-btn.web-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 50px rgba(34, 197, 94, 0.7);
}

.play-btn.steam-btn {
    background: linear-gradient(135deg, #1b2838, #2a475e);
    color: var(--text-primary);
    border: 2px solid #66c0f4;
}

.play-btn.steam-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 40px rgba(102, 192, 244, 0.4);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-link {
    width: 50px;
    height: 50px;
    background: var(--bg-card);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-5px);
}

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

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--bg-darker);
    padding: 50px 0 30px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.footer-text {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-link {
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition);
}

.footer-link:hover {
    text-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }

    .navbar {
        padding: 15px 20px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

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

    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .platform-badges {
        flex-direction: column;
        align-items: center;
    }

    .flow-diagram {
        flex-direction: column;
    }

    .flow-arrow {
        width: 3px;
        height: 40px;
    }

    .flow-arrow::after {
        right: 50%;
        top: 100%;
        transform: translateX(50%);
        border: 6px solid transparent;
        border-top-color: var(--text-muted);
        border-left-color: transparent;
    }

    .flow-split {
        flex-direction: column;
        gap: 20px;
    }

    .play-buttons {
        flex-direction: column;
        align-items: center;
    }

    .play-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .timer-unit span {
        font-size: 2rem;
    }

    .timer-separator {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        letter-spacing: 4px;
    }

    .title-line.small {
        letter-spacing: 10px;
    }

    .hero-tagline {
        letter-spacing: 4px;
    }

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

    .ca-box {
        padding: 20px;
    }

    .ca-value span {
        font-size: 0.9rem;
    }
}

/* ========================================
   Animations on Scroll
   ======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}

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

/* Selection */
::selection {
    background: var(--primary);
    color: var(--bg-dark);
}

/* ========================================
   Preloader
   ======================================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-darker);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
}

.loader-ape {
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    color: var(--text-primary);
    letter-spacing: 8px;
    animation: loaderPulse 1.5s ease-in-out infinite;
}

.loader-war {
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    background: var(--gradient-fire);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 8px;
    animation: loaderPulse 1.5s ease-in-out infinite 0.2s;
}

@keyframes loaderPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(0.98); }
}

.loader-bar {
    width: 300px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto 20px;
}

.loader-progress {
    height: 100%;
    background: var(--gradient-fire);
    border-radius: 2px;
    width: 0%;
    transition: width 0.3s ease;
    animation: loaderProgress 2s ease-in-out forwards;
}

@keyframes loaderProgress {
    0% { width: 0%; }
    20% { width: 20%; }
    40% { width: 45%; }
    60% { width: 70%; }
    80% { width: 85%; }
    100% { width: 100%; }
}

.loader-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 4px;
    animation: loaderTextBlink 1s ease-in-out infinite;
}

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

/* ========================================
   Navbar CA
   ======================================== */
.nav-ca {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.3);
    padding: 8px 16px;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
}

.nav-ca:hover {
    background: rgba(255, 107, 53, 0.2);
    border-color: var(--primary);
}

.ca-label-nav {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.ca-value-nav {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    color: var(--primary);
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.copy-icon-nav {
    width: 14px;
    height: 14px;
    color: var(--primary);
    opacity: 0.7;
    transition: var(--transition);
}

.nav-ca:hover .copy-icon-nav {
    opacity: 1;
}

/* ========================================
   Hero CA
   ======================================== */
.hero-ca {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 107, 53, 0.3);
    padding: 15px 30px;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.hero-ca:hover {
    background: rgba(255, 107, 53, 0.1);
    border-color: var(--primary);
    transform: scale(1.02);
}

.hero-ca-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.hero-ca-value {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-ca-value span {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    color: var(--primary);
}

.hero-ca .copy-icon {
    width: 18px;
    height: 18px;
    color: var(--primary);
    opacity: 0.7;
    transition: var(--transition);
}

.hero-ca:hover .copy-icon {
    opacity: 1;
}

/* ========================================
   Coming Soon & Beta Tags
   ======================================== */
.badge-coming-soon {
    opacity: 0.8;
}

.coming-soon-text {
    font-size: 0.6rem;
    color: var(--accent);
    margin-left: 5px;
    letter-spacing: 1px;
}

.beta-tag {
    font-size: 0.65rem;
    color: var(--secondary);
    margin-left: 8px;
    background: rgba(0, 60, 80, 0.85);
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.coming-soon-tag {
    font-size: 0.65rem;
    color: var(--accent);
    margin-left: 8px;
    background: rgba(255, 215, 0, 0.2);
    padding: 3px 8px;
    border-radius: 4px;
}

.play-btn.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

/* ========================================
   Progressive Image Loading
   ======================================== */
.map-placeholder,
.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        var(--bg-card) 0%,
        var(--bg-card-hover) 50%,
        var(--bg-card) 100%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    z-index: 1;
}

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

.lazy-image,
.lazy-video {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.lazy-image.loaded,
.lazy-video.loaded {
    opacity: 1;
}

.map-card .map-placeholder {
    border-radius: var(--border-radius);
}

.map-card .lazy-image.loaded ~ .map-placeholder {
    display: none;
    opacity: 0;
    pointer-events: none;
}

/* Video placeholder hidden when loaded */
.video-container .lazy-video.loaded ~ .video-placeholder,
.video-container .lazy-video.loaded + .video-placeholder {
    opacity: 0;
    pointer-events: none;
}

#video-placeholder {
    z-index: 0;
}

/* ========================================
   Mode Icons with SVGs
   ======================================== */
.mode-icon svg {
    width: 40px;
    height: 40px;
    fill: currentColor;
}

.mode-icon.ffa {
    background: linear-gradient(135deg, #ff4444, #cc0000);
    box-shadow: 0 0 30px rgba(255, 68, 68, 0.4);
    color: white;
}

.mode-icon.tdm {
    background: linear-gradient(135deg, #44ff44, #00cc00);
    box-shadow: 0 0 30px rgba(68, 255, 68, 0.4);
    color: white;
}

.mode-icon.ctf {
    background: linear-gradient(135deg, #4444ff, #0000cc);
    box-shadow: 0 0 30px rgba(68, 68, 255, 0.4);
    color: white;
}

/* ========================================
   Movement Icons with SVGs
   ======================================== */
.movement-icon svg {
    width: 45px;
    height: 45px;
    fill: white;
}

/* ========================================
   Token Flow Icons
   ======================================== */
.flow-icon svg {
    width: 30px;
    height: 30px;
    fill: white;
}

/* ========================================
   Crown Icon in Leaderboard
   ======================================== */
.crown {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
}

.crown svg {
    fill: var(--accent);
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
}

/* ========================================
   Feature Icons with SVGs
   ======================================== */
.feature-icon svg {
    width: 35px;
    height: 35px;
}

/* ========================================
   Body Loading State
   ======================================== */
body.loading {
    overflow: hidden;
}

body.loaded .preloader {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
