:root {
    --primary: #ffffff;
    --primary-dark: #cccccc;
    --secondary: #ff3838;
    --accent: #ffd700;
    --dark: #0a0a0a;
    --darker: #050505;
    --light: #ffffff;
    --gray: #aaaaaa;
    --dark-gray: #333333;
    --success: #00ff00;
    --warning: #ffa500;
    
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--accent));
    --gradient-dark: linear-gradient(135deg, #0a0a0a, #1a1a1a);
    --gradient-card: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 215, 0, 0.05));
    --gradient-header: linear-gradient(135deg, rgba(10, 10, 10, 0.85), rgba(26, 26, 26, 0.85));
    
    --glow-primary: 0 0 20px rgba(255, 255, 255, 0.6);
    --glow-secondary: 0 0 20px rgba(255, 56, 56, 0.6);
    --glow-accent: 0 0 20px rgba(255, 215, 0, 0.6);
    
    --border-radius: 4px;
    --border-radius-lg: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light theme variables */
body.light-theme {
    --primary: #0a0a0a;
    --primary-dark: #333333;
    --secondary: #cc0000;
    --accent: #b8860b;
    --dark: #f5f5f5;
    --darker: #e0e0e0;
    --light: #0a0a0a;
    --gray: #666666;
    --dark-gray: #cccccc;
    --success: #008000;
    --warning: #cc8400;
    
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--accent));
    --gradient-dark: linear-gradient(135deg, #f5f5f5, #e0e0e0);
    --gradient-card: linear-gradient(135deg, rgba(10, 10, 10, 0.1), rgba(184, 134, 11, 0.05));
    --gradient-header: linear-gradient(135deg, rgba(245, 245, 245, 0.95), rgba(224, 224, 224, 0.95));
    
    --glow-primary: 0 0 20px rgba(10, 10, 10, 0.3);
    --glow-secondary: 0 0 20px rgba(204, 0, 0, 0.3);
    --glow-accent: 0 0 20px rgba(184, 134, 11, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Rajdhani', sans-serif;
    color: var(--light);
    background: var(--dark);
    overflow-x: hidden;
    line-height: 1.6;
    font-weight: 500;
    transition: var(--transition);
}

h1, h2, h3, h4, .nav-button {
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    color: var(--light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Modern Warfare Style Background */
.mw-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: var(--gradient-dark);
    overflow: hidden;
    transition: var(--transition);
}

.mw-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    animation: gridMove 40s linear infinite;
}

body.light-theme .mw-grid {
    background-image: 
        linear-gradient(rgba(10, 10, 10, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(10, 10, 10, 0.05) 1px, transparent 1px);
}

.mw-scanlines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(255, 255, 255, 0.02) 2px,
        rgba(255, 255, 255, 0.02) 4px
    );
    pointer-events: none;
}

body.light-theme .mw-scanlines {
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(10, 10, 10, 0.03) 2px,
        rgba(10, 10, 10, 0.03) 4px
    );
}

.mw-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(255, 215, 0, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 56, 56, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

body.light-theme .mw-overlay {
    background: radial-gradient(circle at 20% 80%, rgba(184, 134, 11, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(204, 0, 0, 0.05) 0%, transparent 50%);
}

/* Particles */
#particles-js {
    position: fixed; /* Только высота экрана = absolute Вся страница = fixed */
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; /* Только высота экрана */
    z-index: -1; /* Откключает действие курсора -1 */
}

body.light-theme #particles-js canvas {
    filter: invert(1) brightness(0.3);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(10px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body.light-theme header {
    background: rgba(245, 245, 245, 0.75);
    backdrop-filter: blur(10px) saturate(160%);
    border-bottom: 1px solid rgba(10, 10, 10, 0.1);
}

/* Header scroll effect - FIXED for light theme */
header.scrolled {
    background: rgba(10, 10, 10, 0.6) !important;
    backdrop-filter: blur(10px) saturate(180%) !important;
}

body.light-theme header.scrolled {
    background: rgba(245, 245, 245, 0.75) !important;
    backdrop-filter: blur(10px) saturate(180%) !important;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-container {
    flex-shrink: 0;
}

.logo-link {
    text-decoration: none;
    color: var(--primary);
    display: flex;
    align-items: center;
}

.logo-text {
    text-align: center;
}

.logo-main {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary);
    text-shadow: var(--glow-primary);
}

.logo-sub {
    display: block;
    font-family: 'Orbitron', monospace;
    font-size: 0.7rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 500;
}

.main-nav {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    color: var(--primary);
    text-decoration: none;
    font-family: 'Orbitron', monospace;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

body.light-theme .nav-button {
    background: rgba(10, 10, 10, 0.05);
    border: 1px solid rgba(10, 10, 10, 0.1);
}

.nav-button:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    box-shadow: var(--glow-primary);
}

body.light-theme .nav-button:hover {
    background: rgba(10, 10, 10, 0.1);
    border-color: var(--primary);
}

.nav-icon {
    color: var(--accent);
    font-size: 1rem;
}

.nav-text {
    font-weight: 600;
}

.nav-arrow {
    font-size: 0.8rem;
    transition: var(--transition);
}

.nav-item:hover .nav-arrow {
    transform: rotate(180deg);
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    width: 220px;
    background: rgba(35, 35, 35, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 1001;
}

body.light-theme .dropdown-content {
    background: rgba(245, 245, 245, 0.95);
    border: 1px solid rgba(10, 10, 10, 0.1);
}

.nav-item:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(5px);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--primary);
    text-decoration: none;
    border-radius: calc(var(--border-radius) - 2px);
    transition: var(--transition);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
}

body.light-theme .dropdown-item {
    border-bottom: 1px solid rgba(10, 10, 10, 0.05);
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

body.light-theme .dropdown-item:hover {
    background: rgba(10, 10, 10, 0.1);
}

.dropdown-item i {
    color: var(--accent);
    width: 16px;
    text-align: center;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--primary);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

body.light-theme .theme-toggle {
    background: rgba(10, 10, 10, 0.05);
    border: 1px solid rgba(10, 10, 10, 0.1);
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    color: var(--accent) !important;
}

body.light-theme .theme-toggle:hover {
    background: rgba(10, 10, 10, 0.1) !important;
    color: var(--accent) !important;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

/* Make sure header content is visible in both themes */
.logo-main, 
.nav-button,
.theme-toggle,
.mobile-menu-toggle span {
    color: var(--primary) !important;
}

/* Dropdown visibility in light theme */
body.light-theme .dropdown-content {
    background: rgba(245, 245, 245, 0.98) !important;
    border: 1px solid rgba(10, 10, 10, 0.2) !important;
}

body.light-theme .dropdown-item {
    color: var(--primary) !important;
}

body.light-theme .dropdown-item:hover {
    background: rgba(10, 10, 10, 0.1) !important;
    color: var(--accent) !important;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 100px 20px 80px;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.hero-content {
    z-index: 1;
}

/* Hero Badge Animation */
.hero-badge {
    position: relative;
    display: inline-block;
    padding: 8px 15px;
    background: rgba(255, 56, 56, 0.2);
    border: 1px solid var(--secondary);
    border-radius: var(--border-radius);
    margin-bottom: 30px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--secondary);
    box-shadow: var(--glow-secondary);
    overflow: hidden;
    animation: tacticalReady 2s ease-in-out infinite;
}

.badge-pulse {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 56, 56, 0.4), transparent);
    animation: badgePulse 3s infinite;
}

@keyframes tacticalReady {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 56, 56, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(255, 56, 56, 0.6), 0 0 40px rgba(255, 56, 56, 0.3);
    }
}

@keyframes badgePulse {
    0% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
}

body.light-theme .hero-title {
    text-shadow: 0 0 30px rgba(10, 10, 10, 0.3);
}

.title-line {
    display: block;
}

.title-accent {
    color: var(--accent);
    font-size: 2rem;
    display: block;
    margin-top: 10px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 5px;
    text-shadow: var(--glow-accent);
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray);
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 2px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: 1px solid transparent;
}

.cta-button.primary {
    background: var(--secondary);
    color: var(--light);
    border-color: var(--secondary);
    box-shadow: var(--glow-secondary);
}

.cta-button.primary:hover {
    background: transparent;
    color: var(--secondary);
    transform: translateY(-3px);
}

body.light-theme .cta-button.primary:hover {
    color: var(--secondary);
}

.cta-button.secondary {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.cta-button.secondary:hover {
    background: var(--primary);
    color: var(--dark);
    transform: translateY(-3px);
}

body.light-theme .cta-button.secondary:hover {
    color: var(--dark);
}

.hero-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

/* Radar Styles */
.radar-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.radar {
    position: relative;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    background: 
        radial-gradient(circle at center, transparent 60%, rgba(255, 215, 0, 0.1) 100%),
        repeating-radial-gradient(circle at center, transparent 0%, transparent 10%, rgba(255, 215, 0, 0.05) 10%, rgba(255, 215, 0, 0.05) 11%);
    overflow: hidden;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.radar-sweep {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 40%, rgba(51, 255, 0, 0.3) 50%, transparent 60%);
    border-radius: 50%;
    animation: radarSweep 4s linear infinite;
}

.radar-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent);
}

.radar-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--secondary);
    border-radius: 50%;
    animation: radarDot 2s ease-in-out infinite;
    box-shadow: 0 0 8px var(--secondary);
}

.radar-dot-1 {
    top: 30%;
    left: 40%;
    animation-delay: 0s;
}

.radar-dot-2 {
    top: 60%;
    left: 70%;
    animation-delay: 0.5s;
}

.radar-dot-3 {
    top: 75%;
    left: 30%;
    animation-delay: 1s;
}

.radar-dot-4 {
    top: 40%;
    left: 65%;
    animation-delay: 1.5s;
}

.radar-label {
    margin-top: 15px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: radarLabel 2s ease-in-out infinite;
}

@keyframes radarSweep {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes radarDot {
    0%, 100% {
        opacity: 0.3;
        transform: scale(0.8);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

@keyframes radarLabel {
    0%, 100% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
}

/* System Status Card - Original Style Preserved */
.mw-card {
    width: 100%;
    max-width: 400px;
    background: var(--gradient-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    backdrop-filter: blur(10px);
}

body.light-theme .mw-card {
    border: 1px solid rgba(10, 10, 10, 0.1);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

body.light-theme .card-header {
    background: rgba(255, 255, 255, 0.3);
    border-bottom: 1px solid rgba(10, 10, 10, 0.1);
}

.card-header h3 {
    font-size: 0.9rem;
    margin: 0;
    color: var(--primary);
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-pulse {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: statusPulse 2s ease-in-out infinite;
}

.status.online {
    width: 12px;
    height: 12px;
    background: var(--success);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--success);
}

@keyframes statusPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }
}

.card-content {
    padding: 20px;
}

.system-status {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.status-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

body.light-theme .status-item {
    border-bottom: 1px solid rgba(10, 10, 10, 0.05);
}

.status-item:last-child {
    border-bottom: none;
}

.status-label {
    font-size: 0.9rem;
    color: var(--gray);
}

.status-value-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    color: var(--accent);
    text-transform: uppercase;
}

/* Signal Bars Animation */
.signal-bars {
    display: flex;
    align-items: end;
    gap: 2px;
    height: 12px;
}

.signal-bars .bar {
    width: 3px;
    background: var(--success);
    border-radius: 1px;
    animation: signalBars 1.5s ease-in-out infinite;
}

.bar-1 { height: 4px; animation-delay: 0s; }
.bar-2 { height: 6px; animation-delay: 0.1s; }
.bar-3 { height: 8px; animation-delay: 0.2s; }
.bar-4 { height: 10px; animation-delay: 0.3s; }

@keyframes signalBars {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 1;
    }
}

/* Database Indicator */
.db-indicator {
    position: relative;
    width: 16px;
    height: 16px;
}

.db-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--success);
    border-radius: 2px;
    animation: dbPulse 2s ease-in-out infinite;
}

.db-pulse::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 1px;
}

@keyframes dbPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

/* Shield Indicator */
.shield-indicator {
    color: var(--success);
    animation: shieldPulse 3s ease-in-out infinite;
}

@keyframes shieldPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--success);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: var(--gray);
    position: relative;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: var(--secondary);
    animation: scrollLine 2s infinite;
}

/* Quick Links */
.quick-links {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

body.light-theme .section-title {
    text-shadow: 0 0 20px rgba(10, 10, 10, 0.2);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.quick-link {
    display: block;
    background: var(--gradient-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

body.light-theme .quick-link {
    border: 1px solid rgba(10, 10, 10, 0.1);
}

.quick-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: var(--transition);
}

body.light-theme .quick-link::before {
    background: linear-gradient(90deg, transparent, rgba(10, 10, 10, 0.1), transparent);
}

.quick-link:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--glow-primary);
}

.quick-link:hover::before {
    left: 100%;
}

.link-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--accent);
}

.quick-link h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary);
}

.quick-link p {
    color: var(--gray);
    margin-bottom: 20px;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
    color: var(--primary);
}

body.light-theme .link-arrow {
    background: rgba(10, 10, 10, 0.1);
}

.quick-link:hover .link-arrow {
    background: var(--accent);
    color: var(--dark);
    transform: translateX(5px);
}

/* Servers Section */
.servers {
    padding: 100px 0;
    position: relative;
}

.servers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.server-card {
    background: var(--gradient-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

body.light-theme .server-card {
    border: 1px solid rgba(10, 10, 10, 0.1);
}

.server-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--glow-primary);
}

.server-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.server-header .dropdown-item {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}

body.light-theme .server-header {
    background: rgba(255, 255, 255, 0.3);
    border-bottom: 1px solid rgba(10, 10, 10, 0.1);
}

.server-header h3 {
    font-size: 1rem;
    margin: 0;
    color: var(--primary);
}

.server-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Orbitron', monospace;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.server-status.online {
    color: var(--success);
}

.server-content {
    padding: 20px;
}

.server-widget {
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Download Section */
.download-section {
    padding: 80px 0;
    position: relative;
}

.download-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.download-game-section {
    display: block;
    background: var(--gradient-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.download-game-section:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--glow-primary);
}

.download-game-section:hover::before {
    left: 100%;
}

body.light-theme .download-game-section {
    border: 1px solid rgba(10, 10, 10, 0.1);
}

.download-game-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: var(--transition);
}

body.light-theme .download-game-section::before {
    background: linear-gradient(90deg, transparent, rgba(10, 10, 10, 0.1), transparent);
}

.game-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.game-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 2rem;
    transition: var(--transition);
}

.download-game-section:hover .game-icon {
    background: var(--gradient-primary);
    color: var(--dark);
    transform: scale(1.1);
}

.game-info h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.game-info p {
    color: var(--primary-dark);
    max-width: 600px;
}

.download-buttons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.download-btn:hover::before {
    left: 100%;
}

.download-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.download-btn i {
    color: var(--accent);
    font-size: 1.5rem;
    width: 30px;
    text-align: center;
}

.btn-content {
    display: flex;
    flex-direction: column;
}

.btn-title {
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-subtitle {
    font-size: 0.9rem;
    color: var(--primary-dark);
}

.cod4x-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.feature-item i {
    color: var(--accent);
    font-size: 1.25rem;
    width: 24px;
    text-align: center;
}

.feature-item span {
    color: var(--primary-dark);
    line-height: 1.5;
}

.cod4x-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cod4x-links p {
    color: var(--primary-dark);
}

.info-link {
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition);
}

.info-link:hover {
    color: var(--primary);
    text-shadow: var(--glow-accent);
}

/* Donate Section */
.donate-section {
    padding: 80px 0;
    position: relative;
}

.donate-container {
    display: block;
    background: var(--gradient-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.donate-container:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--glow-primary);
}

.donate-container:hover::before {
    left: 100%;
}

body.light-theme .donate-container {
    border: 1px solid rgba(10, 10, 10, 0.1);
}

.donate-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: var(--transition);
}

body.light-theme .donate-container::before {
    background: linear-gradient(90deg, transparent, rgba(10, 10, 10, 0.1), transparent);
}

.donate-content {
    max-width: 800px;
    margin: 0 auto;
}

.donate-text {
    text-align: center;
    margin-bottom: 3rem;
}

.donate-text p {
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.donate-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.donate-method {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 2rem;
    transition: var(--transition);
}

.donate-method:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.method-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.method-header i {
    color: var(--accent);
    font-size: 1.5rem;
}

.method-header h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.25rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.card-number {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 1rem;
    margin-bottom: 1rem;
    font-family: 'Orbitron', monospace;
    font-size: 1.1rem;
    color: var(--primary);
    letter-spacing: 1px;
}

.copy-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    color: var(--primary);
    padding: 0.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.copy-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* Rules Section */
.rules-section {
    padding: 100px 0;
    position: relative;
}

.rules-container {
    max-width: 900px;
    margin: 0 auto;
}

.spoiler-container {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

body.light-theme .spoiler-container {
    border: 1px solid rgba(10, 10, 10, 0.1);
}

.spoiler-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 20px 30px;
    background: var(--gradient-card);
    border: none;
    color: var(--primary);
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: var(--transition);
}

.spoiler-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

body.light-theme .spoiler-toggle:hover {
    background: rgba(10, 10, 10, 0.1);
}

.spoiler-toggle i {
    transition: var(--transition);
    color: var(--primary);
}

.spoiler-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.spoiler-content.active {
    max-height: 2000px;
}

.spoiler-toggle.active i {
    transform: rotate(180deg);
}

.rules-list {
    padding: 30px;
    background: rgba(0, 0, 0, 0.3);
}

body.light-theme .rules-list {
    background: rgba(255, 255, 255, 0.3);
}

.rule-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

body.light-theme .rule-item {
    border-bottom: 1px solid rgba(10, 10, 10, 0.05);
}

.rule-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.rule-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--accent);
    color: var(--dark);
    border-radius: 50%;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    flex-shrink: 0;
}

.rule-text {
    flex: 1;
    padding-top: 8px;
    color: var(--primary);
}

/* Footer */
footer {
    background: var(--gradient-header);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px 0 30px;
    transition: var(--transition);
}

body.light-theme footer {
    border-top: 1px solid rgba(10, 10, 10, 0.1);
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary);
}

.footer-description {
    color: var(--gray);
    max-width: 300px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

body.light-theme .social-link {
    background: rgba(10, 10, 10, 0.05);
    border: 1px solid rgba(10, 10, 10, 0.1);
}

.social-link:hover {
    background: var(--accent);
    color: var(--dark);
    transform: translateY(-3px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.link-group h4 {
    font-size: 1rem;
    margin-bottom: 15px;
    color: var(--accent);
}

.link-group a {
    display: block;
    color: var(--gray);
    text-decoration: none;
    margin-bottom: 8px;
    transition: var(--transition);
}

.link-group a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: var(--gray);
}

body.light-theme .footer-bottom {
    border-top: 1px solid rgba(10, 10, 10, 0.1);
}

.footer-credits i {
    color: var(--secondary);
}

/* Animations */
@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(30px, 30px);
    }
}

@keyframes scrollLine {
    0% {
        transform: translateY(0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(30px);
        opacity: 0;
    }
}

/* Enhanced Status Items Hover Effects */
.status-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    padding-left: 10px;
    padding-right: 10px;
    margin-left: -10px;
    margin-right: -10px;
    transition: all 0.3s ease;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
    }
    
    .main-nav {
        display: none;
        width: 100%;
        order: 3;
        margin-top: 15px;
    }
    
    .main-nav.active {
        display: flex;
        flex-direction: column;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-visual {
        gap: 20px;
    }
    
    .radar {
        width: 140px;
        height: 140px;
    }
    
    .links-grid {
        grid-template-columns: 1fr;
    }
    
    .servers-grid {
        grid-template-columns: 1fr;
    }
    
    .download-buttons-grid {
        grid-template-columns: 1fr;
    }
    
    .donate-methods {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .status-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .status-value-container {
        align-self: flex-end;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 120px 15px 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .download-game-section {
        padding: 25px;
    }
    
    .game-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}