:root {
    /* Colors */
    --primary-color: #6C2BEA;
    --secondary-color: #FF0077;
    --background-color: #1A0033;
    --footer-bg-color: #0D001F;
    --button-color: #FF0077;
    --heading-color: #FFFFFF;
    --text-color: #E0E0E0;
    --label-color: #E0E0E0;
    --placeholder-color: #A0A0A0;

    --section-bg-1: #2B0A4D;
    --section-bg-2: #3E126B;
    --section-bg-3: #521B8A;
    --section-bg-4: #6C2BEA;
    --section-bg-5: #8A3EFD;

    /* Fonts */
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Roboto', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2.5rem;
    --spacing-xl: 4rem;

    /* Border Radius */
    --border-radius-sm: 0.25rem;
    --border-radius-md: 0.5rem;
    --border-radius-lg: 1rem;
    --border-radius-full: 9999px;

    /* Transitions */
    --transition-duration: 0.3s;
    --transition-timing-function: ease-in-out;
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.7;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevent horizontal scroll from subtle animations */
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    color: var(--heading-color);
    line-height: 1.2;
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    letter-spacing: 0.05em;
}

h1 {
    font-size: 3.5rem;
    font-weight: 900;
}

h2 {
    font-size: 2.5rem;
    font-weight: 800;
}

h3 {
    font-size: 1.8rem;
    font-weight: 700;
}

p {
    margin-bottom: var(--spacing-md);
    font-size: 1.1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-duration) var(--transition-timing-function);
}

a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
}

.section-padding {
    padding-top: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
}

/* Header Logo */
.header-logo {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    position: relative;
    /* Neon Glow */
    text-shadow: 0 0 5px var(--primary-color),
                 0 0 10px var(--primary-color),
                 0 0 20px var(--primary-color),
                 0 0 40px var(--secondary-color),
                 0 0 80px var(--secondary-color);
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: transform var(--transition-duration) var(--transition-timing-function);
}

.header-logo::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    /* Pixelated texture - subtle */
    background-image: url('data:image/svg+xml;utf8,<svg width="10" height="10" viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg"><rect x="0" y="0" width="5" height="5" fill="%231A0033" /><rect x="5" y="5" width="5" height="5" fill="%231A0033" /><rect x="5" y="0" width="5" height="5" fill="%232B0A4D" /><rect x="0" y="5" width="5" height="5" fill="%232B0A4D" /></svg>');
    background-size: 10px 10px;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.1;
}


.header-logo:hover {
    transform: scale(1.05);
}

/* Buttons */
.btn {
    font-family: var(--font-primary);
    font-weight: bold;
    font-size: 1.1rem;
    padding: var(--spacing-sm) var(--spacing-lg);
    border: none;
    border-radius: var(--border-radius-full); /* Rounded-full */
    cursor: pointer;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    color: var(--text-color); /* Text in button_color_hex */
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color)); /* Strong gradient */
    box-shadow: 0 8px 15px rgba(255, 0, 119, 0.4); /* Shadow */
    transition: all var(--transition-duration) var(--transition-timing-function);
    transform: skewX(-5deg); /* Slightly asymmetrical */
}

.btn:hover {
    transform: scale(1.05) skewX(-5deg);
    box-shadow: 0 12px 20px rgba(255, 0, 119, 0.6);
}

.btn:active {
    transform: translateY(2px) skewX(-5deg); /* 'Press' animation */
    box-shadow: 0 4px 8px rgba(255, 0, 119, 0.6) inset; /* Active shadow */
}

/* Add a subtle pseudo-element for a glitch effect */
.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    transition: transform 0.5s ease-out, opacity 0.5s ease-out;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    z-index: 0;
}

.btn:hover::before {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

/* Section Backgrounds */
.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);
}

/* Forms - Claymorphism style */
.form-group {
    margin-bottom: var(--spacing-md);
}

.form-label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-family: var(--font-primary);
    color: var(--label-color);
    font-weight: 600;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: var(--spacing-sm);
    border: none;
    border-radius: var(--border-radius-md); /* Rounded corners */
    background-color: color-mix(in srgb, var(--section-bg-1) 80%, white 20%); /* Slightly lighter than section_bg_color */
    color: var(--text-color);
    font-family: var(--font-secondary);
    font-size: 1rem;
    box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.3), /* Soft inner shadow */
                inset -2px -2px 5px rgba(255, 255, 255, 0.05), /* Claymorphism effect */
                3px 3px 6px rgba(0, 0, 0, 0.4); /* Slightly raised appearance */
    transition: all var(--transition-duration) var(--transition-timing-function);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--placeholder-color);
    opacity: 0.7;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    background-color: color-mix(in srgb, var(--section-bg-1) 70%, white 30%);
    box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.4),
                inset -2px -2px 5px rgba(255, 255, 255, 0.1),
                0 0 0 2px var(--secondary-color); /* Accent border on focus */
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

/* Card Design - Neo-Brutalism meets Glassmorphism */
.card {
    background-color: var(--section-bg-1); /* Dark background */
    border: 2px solid var(--secondary-color); /* Bright, contrasting border */
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(255, 0, 119, 0.3); /* Shadow effect */
    transition: all var(--transition-duration) var(--transition-timing-function);
    transform: rotateZ(0deg); /* Initial rotation */
}

.card:hover {
    transform: scale(1.02) rotateZ(1deg); /* Slightly rotated on hover */
    box-shadow: 0 0 25px rgba(255, 0, 119, 0.5);
}

.card-inner-glass {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.08); /* Subtle glassmorphism effect */
    backdrop-filter: blur(5px);
    border-radius: var(--border-radius-md);
    padding: var(--spacing-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-title {
    font-family: var(--font-primary);
    color: var(--heading-color);
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: var(--spacing-sm);
}

.card-text {
    font-family: var(--font-secondary);
    color: var(--text-color);
    font-size: 1rem;
}

/* Footer */
.footer {
    background-color: var(--footer-bg-color);
    color: var(--text-color);
    text-align: center;
    padding-top: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
    position: relative;
    overflow: hidden; /* For the glowing dots */
}

.footer-top {
    background: rgba(255, 255, 255, 0.05); /* Subtle dark glassmorphism */
    backdrop-filter: blur(3px);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    margin-bottom: var(--spacing-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-middle {
    background-color: var(--footer-bg-color); /* Solid dark part */
    padding: var(--spacing-lg) 0;
}

.footer-bottom {
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 2; /* Ensure text is above dots */
}

.footer-links a {
    color: var(--text-color);
    margin: 0 var(--spacing-sm);
    transition: color var(--transition-duration) var(--transition-timing-function);
}

.footer-links a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

.footer-copyright {
    color: color-mix(in srgb, var(--text-color) 70%, black 30%); /* Light grey */
    font-size: 0.9rem;
    margin-top: var(--spacing-md);
}

/* Glowing dots pattern for footer bottom */
.footer::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px; /* Height of the pattern area */
    background-image: radial-gradient(circle, var(--secondary-color) 1px, transparent 1px);
    background-size: 15px 15px;
    opacity: 0.1;
    animation: glowingDots 10s linear infinite;
    z-index: 1;
}

@keyframes glowingDots {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}

/* Media Queries */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .header-logo {
        font-size: 2rem;
    }

    .btn {
        font-size: 1rem;
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .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;
    }

    p {
        font-size: 1rem;
    }

    .header-logo {
        font-size: 1.8rem;
    }

    .btn {
        width: 100%;
        margin-bottom: var(--spacing-sm);
    }

    .footer-links a {
        display: block;
        margin: var(--spacing-xs) 0;
    }
}


/* 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;
    }
}

/* Styles moved from inline junocore.org */
@import url('https://fonts.googleapis.com/css2?family=Oxanium:wght@400;700&display=swap');
.font-oxanium {
    font-family: 'Oxanium', cursive;
}