:root {
    --primary-color: #00FFDD;
    --secondary-color: #7F00FF;
    --background-color: #1A1A2E;
    --footer-bg-color: #0F0F1A;
    --button-color: #00FFDD;
    --text-color: #E0E0E0;
    --heading-color: var(--primary-color);
    --accent-color: #FF00FF; /* Pro neonové akcenty */

    --section-bg-1: #1A1A2E;
    --section-bg-2: #2B2B40;
    --section-bg-3: #3A3A50;
    --section-bg-4: #4A4A60;

    --font-family-heading: 'Oxanium', sans-serif;
    --font-family-body: 'Rajdhani', sans-serif;

    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 48px;
    --spacing-xl: 80px;

    --border-radius-base: 4px;
    --border-radius-btn: 2px; /* Ostré hrany pro brutalismus */

    --shadow-brutal-light: 4px 4px 0px var(--secondary-color);
    --shadow-brutal-dark: 8px 8px 0px var(--secondary-color);
    --shadow-inner-brutal: inset 2px 2px 0px var(--secondary-color);
}

@import url('https://fonts.googleapis.com/css2?family=Oxanium:wght@400;700&family=Rajdhani:wght@400;600&display=swap');

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-body);
    color: var(--text-color);
    background-color: var(--background-color);
    margin: 0;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Base elements */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-heading);
    color: var(--heading-color);
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

h1 {
    font-size: 3.5em;
    line-height: 1.1;
    text-shadow: 0 0 10px var(--primary-color), 0 0 20px var(--primary-color);
}

h2 {
    font-size: 2.5em;
    line-height: 1.2;
    text-shadow: 0 0 8px var(--primary-color);
}

h3 {
    font-size: 1.8em;
    line-height: 1.3;
}

p {
    margin-bottom: 1em;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

a:hover {
    color: var(--accent-color);
    text-shadow: 0 0 5px var(--accent-color), 0 0 10px var(--accent-color);
}

ul {
    list-style: none;
    padding-left: 0;
}

ul li::before {
    content: "›"; /* Futuristický brutalismus! */
    color: var(--secondary-color);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-md);
}

section {
    padding: var(--spacing-xl) var(--spacing-md);
    position: relative;
    overflow: hidden;
}

/* Geometric Backgrounds for Sections */
.section-1 {
    background-color: var(--section-bg-1);
}

.section-2 {
    background-color: var(--section-bg-2);
    position: relative;
    z-index: 1;
}
.section-2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(var(--primary-color-rgb), 0.1) 0%, rgba(var(--secondary-color-rgb), 0.1) 100%);
    opacity: 0.3;
    z-index: -1;
    clip-path: polygon(0 0, 100% 0, 100% 80%, 0% 100%);
}

.section-3 {
    background-color: var(--section-bg-3);
    position: relative;
    z-index: 1;
}
.section-3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top left, rgba(var(--primary-color-rgb), 0.1), transparent 50%),
                radial-gradient(circle at bottom right, rgba(var(--secondary-color-rgb), 0.1), transparent 50%);
    opacity: 0.4;
    z-index: -1;
}

.section-4 {
    background-color: var(--section-bg-4);
    position: relative;
    z-index: 1;
}
.section-4::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        rgba(var(--primary-color-rgb), 0.05),
        rgba(var(--primary-color-rgb), 0.05) 10px,
        transparent 10px,
        transparent 20px
    );
    z-index: -1;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-md);
    background-color: var(--button-color);
    color: var(--background-color);
    border: 2px solid var(--button-color);
    border-radius: var(--border-radius-btn);
    font-family: var(--font-family-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-brutal-light);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn:hover {
    color: var(--button-color);
    background-color: var(--background-color);
    border-color: var(--accent-color);
    box-shadow: var(--shadow-brutal-light), 0 0 15px var(--accent-color), 0 0 30px var(--accent-color);
    transform: translate(-2px, -2px); /* Mírný posun pro brutalistický efekt */
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

/* Cards */
.card {
    background-color: var(--section-bg-2);
    border: 1px solid var(--primary-color);
    border-radius: var(--border-radius-base);
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    box-shadow: var(--shadow-brutal-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translate(-4px, -4px);
    box-shadow: var(--shadow-brutal-dark), 0 0 20px rgba(var(--primary-color-rgb), 0.5);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb), 0.1) 0%, rgba(var(--secondary-color-rgb), 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.card:hover::before {
    opacity: 1;
}

/* Forms */
form {
    background-color: var(--section-bg-2);
    padding: var(--spacing-lg);
    border: 1px solid var(--secondary-color);
    border-radius: var(--border-radius-base);
    box-shadow: var(--shadow-brutal-light);
}

.form-group {
    margin-bottom: var(--spacing-sm);
}

label {
    display: block;
    margin-bottom: 5px;
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 0.03em;
}

input[type="text"],
input[type="email"],
input[type="password"],
textarea {
    width: 100%;
    padding: var(--spacing-xs);
    background-color: var(--background-color);
    border: 1px solid var(--secondary-color);
    border-radius: var(--border-radius-btn);
    color: var(--text-color);
    font-family: var(--font-family-body);
    box-shadow: var(--shadow-inner-brutal);
    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 {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: var(--shadow-inner-brutal), 0 0 8px var(--primary-color);
}

/* Footer */
footer {
    background-color: var(--footer-bg-color);
    color: var(--text-color);
    padding: var(--spacing-md) 0;
    text-align: center;
    border-top: 2px solid var(--primary-color);
    box-shadow: 0 -5px 15px rgba(var(--primary-color-rgb), 0.2);
}

/* Alpine.js specific styles */
[x-cloak] {
    display: none !important;
}

.fade-enter-active, .fade-leave-active {
    transition: opacity 0.5s ease;
}
.fade-enter-from, .fade-leave-to {
    opacity: 0;
}

.slide-up-enter-active, .slide-up-leave-active {
    transition: all 0.5s ease;
    overflow: hidden;
}
.slide-up-enter-from, .slide-up-leave-to {
    transform: translateY(20px);
    opacity: 0;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5em;
    }
    h2 {
        font-size: 1.8em;
    }
    section {
        padding: var(--spacing-lg) var(--spacing-sm);
    }
    .container {
        padding: var(--spacing-sm);
    }
    .btn {
        padding: var(--spacing-xs) var(--spacing-sm);
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2em;
    }
    h2 {
        font-size: 1.5em;
    }
    section {
        padding: var(--spacing-md) var(--spacing-xs);
    }
}

/* Custom properties for RGB values for gradients/shadows */
:root {
    --primary-color-rgb: 0, 255, 221; /* #00FFDD */
    --secondary-color-rgb: 127, 0, 255; /* #7F00FF */
    --accent-color-rgb: 255, 0, 255; /* #FF00FF */
}

/* Neon glow for specific elements */
.neon-text {
    text-shadow: 0 0 5px var(--primary-color), 0 0 10px var(--primary-color), 0 0 20px var(--primary-color), 0 0 40px rgba(var(--primary-color-rgb), 0.5);
}

.neon-border {
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 5px var(--primary-color), 0 0 10px var(--primary-color);
}

.neon-hover:hover {
    text-shadow: 0 0 8px var(--accent-color), 0 0 15px var(--accent-color), 0 0 25px var(--accent-color);
    color: var(--accent-color);
}

.neon-button-hover:hover {
    box-shadow: var(--shadow-brutal-light), 0 0 15px var(--accent-color), 0 0 30px var(--accent-color);
    border-color: var(--accent-color);
}

/* Utilitky pro Tailwind */
.text-primary { color: var(--primary-color); }
.bg-primary { background-color: var(--primary-color); }
.border-primary { border-color: var(--primary-color); }

.text-secondary { color: var(--secondary-color); }
.bg-secondary { background-color: var(--secondary-color); }
.border-secondary { border-color: var(--secondary-color); }

.text-accent { color: var(--accent-color); }
.bg-accent { background-color: var(--accent-color); }
.border-accent { border-color: var(--accent-color); }

.text-background { color: var(--background-color); }
.bg-background { background-color: var(--background-color); }

.shadow-brutal-light { box-shadow: var(--shadow-brutal-light); }
.shadow-brutal-dark { box-shadow: var(--shadow-brutal-dark); }
.shadow-inner-brutal { box-shadow: var(--shadow-inner-brutal); }

.font-heading { font-family: var(--font-family-heading); }
.font-body { font-family: var(--font-family-body); }
.uppercase { text-transform: uppercase; }
.tracking-wide { letter-spacing: 0.05em; }
.tracking-tighter { letter-spacing: -0.05em; }
.line-tight { line-height: 1.1; }
.line-normal { line-height: 1.6; }

/* Subtle gradient for backgrounds */
.gradient-bg-hero {
    background: linear-gradient(135deg, var(--background-color) 0%, var(--section-bg-2) 100%);
}

/* Specific example for a header/hero section */
.hero-section {
    position: relative;
    padding: var(--spacing-xl) var(--spacing-md);
    background: linear-gradient(135deg, var(--background-color) 0%, var(--section-bg-2) 100%);
    text-align: center;
    overflow: hidden;
    border-bottom: 2px solid var(--primary-color);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 70% 30%, rgba(var(--primary-color-rgb), 0.1) 0%, transparent 40%),
                radial-gradient(circle at 30% 70%, rgba(var(--secondary-color-rgb), 0.1) 0%, transparent 40%);
    animation: rotateBackground 20s linear infinite;
    z-index: 0;
}

@keyframes rotateBackground {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-content {
    position: relative;
    z-index: 1;
}

/* Utility for text gradients */
.text-gradient {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Focus styles for accessibility */
*:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}


/* 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;
    }
}