:root {
    /* Colors */
    --primary-color: #7F00FF; /* Deep Purple */
    --secondary-color: #00FFDD; /* Electric Blue/Teal */
    --background-color: #1A1A2E; /* Dark Blue-Purple */
    --footer-bg-color: #0F0F1A; /* Even Darker Blue-Purple */
    --button-color: #00FFDD; /* Electric Blue/Teal */
    --text-color-light: #E0E0FF; /* Light Lavender */
    --text-color-dark: #A0A0C0; /* Muted Lavender */
    --section-bg-1: #1A1A2E;
    --section-bg-2: #2C2C40;
    --section-bg-3: #1F1F35;
    --section-bg-4: #3A3A50;

    /* Typography */
    --font-family-heading: 'Press Start 2P', cursive;
    --font-family-body: 'Oxanium', sans-serif;
    --font-size-base: 1.125rem; /* 18px */
    --line-height-base: 1.7;
    --line-height-heading: 1.2;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Border Radius */
    --border-radius-sm: 0.25rem;
    --border-radius-md: 0.75rem;
    --border-radius-lg: 1.5rem;

    /* Box Shadow */
    --shadow-neon-primary: 0 0 10px var(--primary-color), 0 0 20px var(--primary-color);
    --shadow-neon-secondary: 0 0 8px var(--secondary-color), 0 0 16px var(--secondary-color), 0 0 24px var(--secondary-color);
    --shadow-inset-dark: inset 0 0 5px rgba(0, 0, 0, 0.5);
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-body);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--text-color-light);
    background-color: var(--background-color);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-image: radial-gradient(circle at center, rgba(127, 0, 255, 0.1) 0%, transparent 70%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-heading);
    color: var(--primary-color);
    line-height: var(--line-height-heading);
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    text-shadow: var(--shadow-neon-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

h1 {
    font-size: 3.5rem;
    text-align: center;
    text-shadow: 0 0 15px var(--primary-color), 0 0 30px var(--primary-color), 0 0 45px var(--primary-color);
}

h2 {
    font-size: 2.5rem;
    border-left: 5px solid var(--secondary-color);
    padding-left: var(--spacing-sm);
    text-shadow: var(--shadow-neon-secondary);
}

h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    text-shadow: var(--shadow-neon-secondary);
}

p {
    margin-bottom: var(--spacing-md);
    color: var(--text-color-light);
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    text-shadow: 0 0 5px var(--secondary-color);
}

a:hover,
a:focus {
    color: var(--primary-color);
    text-decoration: underline;
    text-shadow: 0 0 10px var(--primary-color);
}

ul, ol {
    margin-left: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    list-style-type: square;
}

li {
    margin-bottom: var(--spacing-sm);
}

/* Utility Classes for Layout and Spacing (complementing Tailwind) */
.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: var(--spacing-md);
}

.section-padding {
    padding-top: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
}

/* Section Backgrounds */
.section-bg-1 {
    background-color: var(--section-bg-1);
}

.section-bg-2 {
    background-color: var(--section-bg-2);
    border-top: 1px solid rgba(0, 255, 221, 0.1);
    border-bottom: 1px solid rgba(0, 255, 221, 0.1);
}

.section-bg-3 {
    background-color: var(--section-bg-3);
    box-shadow: var(--shadow-inset-dark);
}

.section-bg-4 {
    background-color: var(--section-bg-4);
    position: relative;
    overflow: hidden;
}
.section-bg-4::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        rgba(0, 255, 221, 0.05),
        rgba(0, 255, 221, 0.05) 10px,
        transparent 10px,
        transparent 20px
    );
    opacity: 0.3;
    z-index: 0;
}
.section-bg-4 > * {
    position: relative;
    z-index: 1;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm) var(--spacing-md);
    font-family: var(--font-family-heading);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--button-color);
    border-radius: var(--border-radius-sm);
    background-color: transparent;
    color: var(--button-color);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 0 5px var(--button-color), 0 0 15px var(--button-color) inset;
    position: relative;
    overflow: hidden;
}

.btn:hover,
.btn:focus {
    color: var(--background-color);
    background-color: var(--button-color);
    box-shadow: 0 0 10px var(--button-color), 0 0 30px var(--button-color), 0 0 60px var(--button-color);
    transform: translateY(-2px);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: all 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

/* Cards */
.card {
    background-color: var(--section-bg-3);
    border: 1px solid var(--secondary-color);
    border-radius: var(--border-radius-md);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-neon-secondary);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    position: relative;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 15px var(--secondary-color), 0 0 30px var(--secondary-color);
}

.card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    opacity: 0.05;
    transform: rotate(45deg);
    transition: opacity 0.3s ease;
    z-index: 0;
}

.card:hover::before {
    opacity: 0.1;
}

.card > * {
    position: relative;
    z-index: 1;
}

/* Forms */
.form-group {
    margin-bottom: var(--spacing-md);
}

label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-family: var(--font-family-heading);
    color: var(--secondary-color);
    text-transform: uppercase;
}

input[type="text"],
input[type="email"],
input[type="password"],
textarea {
    width: 100%;
    padding: var(--spacing-sm);
    border: 1px solid var(--secondary-color);
    border-radius: var(--border-radius-sm);
    background-color: var(--section-bg-1);
    color: var(--text-color-light);
    font-family: var(--font-family-body);
    font-size: 1rem;
    box-shadow: var(--shadow-inset-dark);
    transition: all 0.3s ease;
    outline: none;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 5px var(--primary-color), inset 0 0 5px rgba(0, 0, 0, 0.7);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
footer {
    background-color: var(--footer-bg-color);
    color: var(--text-color-dark);
    padding: var(--spacing-md) 0;
    text-align: center;
    margin-top: auto; /* Pushes footer to the bottom */
    border-top: 2px solid var(--primary-color);
    box-shadow: 0 -5px 15px rgba(127, 0, 255, 0.2);
}

footer p {
    margin: 0;
    font-size: 0.9rem;
}

/* Animations */
@keyframes neon-glow-pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.02); opacity: 0.9; }
    100% { transform: scale(1); opacity: 1; }
}

.animate-neon-pulse {
    animation: neon-glow-pulse 3s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .btn {
        padding: var(--spacing-xs) var(--spacing-sm);
        font-size: 0.9rem;
    }

    .section-padding {
        padding-top: var(--spacing-lg);
        padding-bottom: var(--spacing-lg);
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    body {
        font-size: 1rem;
    }

    .section-padding {
        padding-top: var(--spacing-md);
        padding-bottom: var(--spacing-md);
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--background-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
    border: 2px solid var(--background-color);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}


/* 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;
    }
}