/* ===========================
   CSS Variables & Reset
   =========================== */

:root {
    /* Color Palette */
    --bg-dark: #1A1A2E;
    --primary-cyan: #00FFFF;
    --secondary-magenta: #FF00FF;
    --text-light: #E0E0E0;
    --text-white: #FFFFFF;
    --overlay-dark: rgba(26, 26, 46, 0.9);

    /* Typography */
    --font-title: 'Press Start 2P', cursive;
    --font-body: 'Orbitron', sans-serif;

    /* Spacing */
    --section-padding: 100px 20px;
    --container-max-width: 1200px;

    /* Effects */
    --glow-cyan: 0 0 10px var(--primary-cyan), 0 0 20px var(--primary-cyan), 0 0 30px var(--primary-cyan);
    --glow-magenta: 0 0 10px var(--secondary-magenta), 0 0 20px var(--secondary-magenta), 0 0 30px var(--secondary-magenta);
    --border-neon: 2px solid var(--primary-cyan);
}

/* ===========================
   Reset & Base Styles
   =========================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===========================
   Typography
   =========================== */

.section-title {
    font-family: var(--font-title);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--primary-cyan);
    text-align: center;
    margin-bottom: 50px;
    text-shadow: var(--glow-cyan);
    letter-spacing: 2px;
}

.highlight {
    color: var(--secondary-magenta);
    text-shadow: var(--glow-magenta);
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
}

.highlight:hover {
    color: var(--primary-cyan);
    text-shadow: var(--glow-cyan);
}

/* ===========================
   Layout Utilities
   =========================== */

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ===========================
   Animations
   =========================== */

@keyframes scanlines {
    0% { transform: translateY(0); }
    100% { transform: translateY(10px); }
}

@keyframes glitch-1 {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
}

@keyframes glitch-2 {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(2px, -2px); }
    40% { transform: translate(2px, 2px); }
    60% { transform: translate(-2px, -2px); }
    80% { transform: translate(-2px, 2px); }
}

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

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

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes rainbow {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

@keyframes alternatingGlow {
    0% {
        filter: drop-shadow(0 0 10px #00FFFF)
                drop-shadow(0 0 15px #00FFFF);
    }
    50% {
        filter: drop-shadow(0 0 10px #FF00FF)
                drop-shadow(0 0 15px #FF00FF);
    }
    100% {
        filter: drop-shadow(0 0 10px #00FFFF)
                drop-shadow(0 0 15px #00FFFF);
    }
}
