:root {
    --color-primary: #7F00FF; /* Purple */
    --color-secondary: #FFD700; /* Gold */
    --color-background: #1A0033; /* Dark Purple */
    --color-footer-bg: #0F0020; /* Even Darker Purple */
    --color-button: #00FFFF; /* Cyan Neon */
    --color-text-light: #E0E0E0;
    --color-text-dark: #000000;
    --color-neon-glow: #00FFFF; /* Cyan for glow */
    --color-neon-glow-secondary: #FF00FF; /* Magenta for accent glow */

    --section-bg-1: #2B004F;
    --section-bg-2: #1F003A;
    --section-bg-3: #3A0066;
    --section-bg-4: #15002C;
    --section-bg-5: #4C0080;

    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Inter', sans-serif;

    --border-radius-soft: 8px;
    --border-radius-btn: 12px;

    --transition-speed: 0.3s;
    --shadow-neon: 0 0 15px var(--color-neon-glow), 0 0 30px var(--color-neon-glow), 0 0 45px var(--color-neon-glow);
    --shadow-neon-secondary: 0 0 10px var(--color-neon-glow-secondary), 0 0 20px var(--color-neon-glow-secondary);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-light);
    background-color: var(--color-background);
    line-height: 1.7;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevent horizontal scroll from neon glows */
}

/* Base Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-text-light);
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    letter-spacing: 0.05em;
    text-shadow: 0 0 5px var(--color-neon-glow);
}

h1 {
    font-size: 3.5rem;
    text-align: center;
    text-transform: uppercase;
    text-shadow: 0 0 15px var(--color-neon-glow), 0 0 30px var(--color-neon-glow-secondary);
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    color: var(--color-secondary);
    text-shadow: 0 0 8px var(--color-secondary);
}

h3 {
    font-size: 1.8rem;
    color: var(--color-primary);
}

p {
    font-size: 1rem;
    margin-bottom: 1em;
}

a {
    color: var(--color-neon-glow);
    text-decoration: none;
    transition: color var(--transition-speed) ease, text-shadow var(--transition-speed) ease;
}

a:hover {
    color: var(--color-secondary);
    text-shadow: 0 0 5px var(--color-secondary);
}

/* Layout & Sections */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.section-bg-1 {
    background-color: var(--section-bg-1);
}

.section-bg-2 {
    background-color: var(--section-bg-2);
}

.section-bg-3 {
    background-color: var(--section-bg-3);
}

.section-bg-4 {
    background-color: var(--section-bg-4);
}

.section-bg-5 {
    background-color: var(--section-bg-5);
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, var(--color-footer-bg) 0%, var(--color-background) 100%);
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: bold;
    color: var(--color-secondary);
    text-shadow: 0 0 10px var(--color-secondary);
}

.nav-menu {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li a {
    position: relative;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    padding: 10px 15px;
    border-radius: var(--border-radius-soft);
    transition: color var(--transition-speed) ease, background-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    
    /* Glassmorphism effect */
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.nav-menu li a::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: var(--color-neon-glow);
    box-shadow: var(--shadow-neon);
    transition: width var(--transition-speed) ease;
}

.nav-menu li a:hover {
    color: var(--color-button);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.5), inset 0 0 10px rgba(0, 255, 255, 0.3);
}

.nav-menu li a:hover::before {
    width: 100%;
}

.nav-menu li a.active {
    color: var(--color-button);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.7), inset 0 0 15px rgba(0, 255, 255, 0.5);
    background: rgba(0, 255, 255, 0.1);
}

.nav-menu li a.active::before {
    width: 100%;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: var(--border-radius-btn);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    text-transform: uppercase;
    font-weight: bold;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    color: var(--color-text-dark); /* Black text on neon */
    background-color: var(--color-button);
    border: 2px solid var(--color-button);
    box-shadow: 0 0 15px var(--color-button), 0 0 30px var(--color-neon-glow-secondary);
    transition: all var(--transition-speed) ease;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: all var(--transition-speed) ease;
    z-index: -1;
}

.btn:hover {
    color: var(--color-text-dark); /* Keep text black */
    background-color: var(--color-button); /* Keep base color */
    box-shadow: 0 0 20px var(--color-button), 0 0 40px var(--color-neon-glow-secondary), 0 0 60px var(--color-button);
    transform: translateY(-3px);
}

.btn:hover::before {
    left: 100%;
}

/* Card Styles (Example for game cards) */
.card {
    background-color: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--color-primary);
    border-radius: var(--border-radius-soft);
    padding: 30px;
    text-align: center;
    box-shadow: 0 0 10px rgba(127, 0, 255, 0.5);
    transition: all var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(127, 0, 255, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-speed) ease;
    z-index: 0;
}

.card:hover {
    border-color: var(--color-neon-glow);
    box-shadow: 0 0 20px var(--color-neon-glow), 0 0 40px var(--color-neon-glow-secondary);
    transform: translateY(-5px);
}

.card:hover::before {
    opacity: 1;
}

.card h3 {
    margin-top: 0;
    color: var(--color-secondary);
    text-shadow: 0 0 5px var(--color-secondary);
}

/* Footer Styles (Brutalism-inspired) */
.footer {
    background-color: var(--color-footer-bg);
    padding: 40px 0;
    color: var(--color-text-light);
    text-align: center;
    border-top: 5px solid var(--color-primary); /* Strong geometric line */
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.02),
        rgba(255, 255, 255, 0.02) 10px,
        transparent 10px,
        transparent 20px
    );
    z-index: 0;
}

.footer .container {
    z-index: 1;
    position: relative;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    list-style: none;
    margin-bottom: 20px;
    padding: 0;
}

.footer-nav li a {
    color: var(--color-text-light);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color var(--transition-speed) ease, text-shadow var(--transition-speed) ease;
}

.footer-nav li a:hover {
    color: var(--color-secondary);
    text-shadow: 0 0 5px var(--color-secondary);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 20px;
}

.social-icons a {
    font-size: 1.8rem;
    color: var(--color-text-light);
    transition: color var(--transition-speed) ease, transform var(--transition-speed) ease, text-shadow var(--transition-speed) ease;
}

.social-icons a:hover {
    color: var(--color-button);
    transform: scale(1.1);
    text-shadow: 0 0 10px var(--color-button), 0 0 20px var(--color-neon-glow-secondary);
}

.footer p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 20px;
}

/* Utility Classes for Tailwind compatibility / general use */
.text-neon {
    color: var(--color-neon-glow);
    text-shadow: var(--shadow-neon);
}

.text-gold {
    color: var(--color-secondary);
    text-shadow: 0 0 5px var(--color-secondary);
}

/* Keyframe Animations */
@keyframes neon-pulse {
    0% { box-shadow: 0 0 15px var(--color-neon-glow), 0 0 30px var(--color-neon-glow-secondary); }
    50% { box-shadow: 0 0 25px var(--color-neon-glow), 0 0 50px var(--color-neon-glow-secondary); }
    100% { box-shadow: 0 0 15px var(--color-neon-glow), 0 0 30px var(--color-neon-glow-secondary); }
}

.animate-neon-pulse {
    animation: neon-pulse 2s infinite alternate ease-in-out;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .header .container {
        flex-direction: column;
        gap: 15px;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .nav-menu li a {
        padding: 8px 12px;
        font-size: 1rem;
    }

    section {
        padding: 60px 0;
    }

    .btn {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .footer-nav {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    .logo {
        font-size: 1.5rem;
    }

    .social-icons {
        gap: 15px;
    }

    .social-icons a {
        font-size: 1.5rem;
    }
}


/* Cookie Banner Additional Styles for Tailwind */
.cookie-banner-hover-effect:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

@media (prefers-reduced-motion: reduce) {
    .cookie-banner-hover-effect:hover {
        transform: none;
    }
}