:root {
    --color-primary: #000000;
    --color-secondary: #00FFFF;
    --color-accent: #FF00FF;
    --color-background: #222222;
    --color-footer-bg: #000000;
    --color-text-light: #E0E0E0;
    --color-text-dark: #1A1A1A;

    --section-bg-1: #222222;
    --section-bg-2: #333333;
    --section-bg-3: #1b1b1b;
    --section-bg-4: #444444;
    --section-bg-5: #2c2c2c;

    --font-heading: 'Press Start 2P', cursive;
    --font-body: 'Roboto Mono', monospace;

    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2.5rem;
    --spacing-xl: 4rem;

    --border-radius-brutal: 0px;
    --neon-glow: 0 0 5px var(--color-secondary), 0 0 10px var(--color-secondary), 0 0 15px var(--color-secondary), 0 0 20px var(--color-secondary);
    --neon-glow-accent: 0 0 5px var(--color-accent), 0 0 10px var(--color-accent), 0 0 15px var(--color-accent), 0 0 20px var(--color-accent);
}

@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=Roboto+Mono:wght@400;700&display=swap');

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-light);
    background-color: var(--color-background);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-secondary);
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-shadow: var(--neon-glow);
}

h1 {
    font-size: 2.8rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.2rem;
    line-height: 1.3;
}

h3 {
    font-size: 1.8rem;
    line-height: 1.4;
}

p {
    margin-bottom: var(--spacing-md);
    font-size: 1.1rem;
}

a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

a:hover {
    color: var(--color-accent);
    text-shadow: var(--neon-glow-accent);
}

strong {
    color: var(--color-secondary);
    text-shadow: var(--neon-glow);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-lg) var(--spacing-sm);
}

/* Sections */
.section {
    padding: var(--spacing-xl) var(--spacing-sm);
    border-bottom: 2px solid var(--color-secondary);
    box-shadow: 0 4px 8px rgba(0, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.section-dark {
    background-color: var(--section-bg-3);
    color: var(--color-text-light);
}

.section-light {
    background-color: var(--section-bg-2);
    color: var(--color-text-light);
}

.section-accent {
    background-color: var(--section-bg-4);
    color: var(--color-text-light);
}

.section:nth-child(even) {
    background-color: var(--section-bg-1);
}

.section:nth-child(odd) {
    background-color: var(--section-bg-2);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-md);
    font-family: var(--font-heading);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 2px solid var(--color-accent);
    background-color: transparent;
    color: var(--color-accent);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--neon-glow-accent);
    border-radius: var(--border-radius-brutal);
    position: relative;
    overflow: hidden;
}

.btn:hover {
    background-color: var(--color-accent);
    color: var(--color-background);
    box-shadow: var(--neon-glow-accent), 0 0 25px var(--color-accent);
    transform: translateY(-2px);
}

.btn-primary {
    border-color: var(--color-secondary);
    color: var(--color-secondary);
    box-shadow: var(--neon-glow);
}

.btn-primary:hover {
    background-color: var(--color-secondary);
    color: var(--color-primary);
    box-shadow: var(--neon-glow), 0 0 25px var(--color-secondary);
}

/* Forms */
form {
    max-width: 600px;
    margin: var(--spacing-xl) auto;
    padding: var(--spacing-lg);
    background-color: var(--section-bg-3);
    border: 2px solid var(--color-secondary);
    box-shadow: var(--neon-glow);
    border-radius: var(--border-radius-brutal);
}

label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-family: var(--font-heading);
    color: var(--color-secondary);
    text-transform: uppercase;
    font-size: 0.9rem;
}

input[type="text"],
input[type="email"],
input[type="password"],
textarea {
    width: 100%;
    padding: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    background-color: var(--color-primary);
    border: 1px solid var(--color-secondary);
    color: var(--color-text-light);
    font-family: var(--font-body);
    font-size: 1rem;
    box-sizing: border-box;
    border-radius: var(--border-radius-brutal);
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 2px var(--color-accent);
}

textarea {
    min-height: 120px;
    resize: vertical;
}

input[type="submit"] {
    width: auto;
    padding: var(--spacing-sm) var(--spacing-lg);
    font-family: var(--font-heading);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 2px solid var(--color-accent);
    background-color: transparent;
    color: var(--color-accent);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--neon-glow-accent);
    border-radius: var(--border-radius-brutal);
}

input[type="submit"]:hover {
    background-color: var(--color-accent);
    color: var(--color-background);
    box-shadow: var(--neon-glow-accent), 0 0 25px var(--color-accent);
    transform: translateY(-2px);
}

/* Footer */
footer {
    background-color: var(--color-footer-bg);
    color: var(--color-text-light);
    padding: var(--spacing-lg) var(--spacing-sm);
    text-align: center;
    border-top: 2px solid var(--color-secondary);
    box-shadow: 0 -4px 8px rgba(0, 255, 255, 0.1);
}

footer p {
    margin: 0;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
}

footer a {
    color: var(--color-secondary);
    text-shadow: var(--neon-glow);
}

footer a:hover {
    color: var(--color-accent);
    text-shadow: var(--neon-glow-accent);
}

/* Card Component */
.card {
    background-color: var(--section-bg-3);
    border: 2px solid var(--color-secondary);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    box-shadow: var(--neon-glow);
    border-radius: var(--border-radius-brutal);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--neon-glow), 0 0 20px var(--color-secondary), 0 0 30px var(--color-accent);
}

.card-title {
    font-family: var(--font-heading);
    color: var(--color-secondary);
    font-size: 1.5rem;
    margin-top: 0;
    text-shadow: var(--neon-glow);
}

/* Utility Classes for Tailwind complement */
.text-neon-secondary {
    color: var(--color-secondary);
    text-shadow: var(--neon-glow);
}

.text-neon-accent {
    color: var(--color-accent);
    text-shadow: var(--neon-glow-accent);
}

.bg-brutal {
    background-color: var(--color-background);
    border: 2px solid var(--color-secondary);
    border-radius: var(--border-radius-brutal);
}

.border-neon {
    border: 2px solid var(--color-secondary);
    box-shadow: var(--neon-glow);
}

.btn-neon {
    @apply btn; /* Assumes .btn is defined, but for pure CSS, it's just a class */
    background: linear-gradient(45deg, var(--color-secondary), var(--color-accent));
    border: none;
    color: var(--color-primary);
    box-shadow: 0 0 10px var(--color-secondary), 0 0 20px var(--color-accent);
}

.btn-neon:hover {
    background: linear-gradient(45deg, var(--color-accent), var(--color-secondary));
    box-shadow: 0 0 15px var(--color-secondary), 0 0 30px var(--color-accent);
    transform: scale(1.05);
}

/* Alpine.js specific styles */
[x-cloak] {
    display: none !important;
}

.fade-in-transition {
    transition: opacity 0.5s ease-out;
}
.fade-in-transition:not(.x-show) {
    opacity: 0;
}

.slide-in-transition {
    transition: transform 0.5s ease-out, opacity 0.5s ease-out;
}
.slide-in-transition:not(.x-show) {
    opacity: 0;
    transform: translateY(20px);
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    h3 {
        font-size: 1.3rem;
    }

    p {
        font-size: 1rem;
    }

    .container {
        padding: var(--spacing-lg) var(--spacing-sm);
    }

    .btn {
        font-size: 0.9rem;
        padding: var(--spacing-sm) var(--spacing-md);
    }

    form {
        padding: var(--spacing-md);
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
        word-break: break-word; /* For very long titles on small screens */
    }

    h2 {
        font-size: 1.4rem;
    }

    .container {
        padding: var(--spacing-md) var(--spacing-xs);
    }

    .section {
        padding: var(--spacing-lg) var(--spacing-xs);
    }
}

/* Brutalist specific elements */
.header-brutal {
    background-color: var(--color-primary);
    border-bottom: 4px solid var(--color-secondary);
    padding: var(--spacing-md) var(--spacing-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 8px 16px rgba(0, 255, 255, 0.2);
}

.logo-brutal {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-secondary);
    text-shadow: var(--neon-glow);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.nav-brutal a {
    font-family: var(--font-heading);
    color: var(--color-text-light);
    margin-left: var(--spacing-md);
    text-transform: uppercase;
    font-size: 0.9rem;
    padding: var(--spacing-xs) 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.nav-brutal a:hover {
    color: var(--color-accent);
    border-color: var(--color-accent);
    text-shadow: var(--neon-glow-accent);
}

/* Hero Section Specific */
.hero-brutal {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, var(--section-bg-5) 0%, var(--color-primary) 100%);
    border-bottom: 4px solid var(--color-accent);
    position: relative;
    overflow: hidden;
}

.hero-brutal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg width="100%" height="100%" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 L 0 10" fill="none" stroke="%2300FFFF33" stroke-width="0.5"/></pattern><rect width="100%" height="100%" fill="url(%23grid)"/></svg>') repeat;
    opacity: 0.1;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: var(--spacing-lg);
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-md);
    color: var(--color-secondary);
    text-shadow: var(--neon-glow);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 0 3px rgba(0, 255, 255, 0.5);
}

/* For Tailwind, ensure these don't conflict, designed as custom additions */
.grid-cols-custom {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

/* Specific interactive gradient for brutalist style */
.interactive-gradient-text {
    background: linear-gradient(45deg, var(--color-secondary), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.5s ease;
}

.interactive-gradient-text:hover {
    background: linear-gradient(45deg, var(--color-accent), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: brightness(1.2);
}

/* Pseudo-elements for brutalist borders/accents */
.section-with-corner-effect {
    position: relative;
    border: 2px solid var(--color-secondary);
    padding: var(--spacing-lg);
    margin: var(--spacing-xl) 0;
    box-shadow: var(--neon-glow);
}

.section-with-corner-effect::before,
.section-with-corner-effect::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid var(--color-accent);
    box-shadow: var(--neon-glow-accent);
}

.section-with-corner-effect::before {
    top: -4px;
    left: -4px;
    border-right: none;
    border-bottom: none;
}

.section-with-corner-effect::after {
    bottom: -4px;
    right: -4px;
    border-left: none;
    border-top: none;
}


/* 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;
    }
}