/* /public/assets/style.css */

:root {
    --bg-dark: #050505;
    --bg-card: rgba(255, 255, 255, 0.05);
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    
    --accent-primary: #00ff9d; /* Neon Green */
    --accent-secondary: #ff0055; /* Neon Pink */
    --accent-tertiary: #00d4ff; /* Cyan */
    
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Outfit', sans-serif;
    
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

* {
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* --- Background Animation --- */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background: 
        radial-gradient(circle at 15% 50%, rgba(0, 255, 157, 0.08), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(255, 0, 85, 0.08), transparent 25%);
    animation: bgPulse 10s ease-in-out infinite alternate;
}

@keyframes bgPulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.1); opacity: 1; }
}

/* --- Glassmorphism Utilities --- */
.glass-header {
    background: rgba(5, 5, 5, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--glass-shadow);
    padding: 2rem;
}

/* --- Navigation --- */
nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: 2px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-tertiary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(0, 255, 157, 0.3);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

/* WICHTIG: Listen-Styles für das Menü */
/* Nur das direkte ul der nav-links ansprechen, damit Submenüs nicht beeinflusst werden */
.nav-links > ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-links li {
    position: relative;
}

.nav-item {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    padding: 5px 0;
    transition: color 0.3s;
    display: block;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--accent-primary);
}

.nav-item:hover {
    color: var(--accent-primary);
}

.nav-item:hover::after {
    width: 100%;
}

/* Dropdown Menü (Desktop) */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: rgba(15, 15, 15, 0.95);
    min-width: 200px;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
    z-index: 100;
    border: 1px solid var(--accent-primary);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    top: 100%;
    left: 0;
    padding: 0;
    margin-top: 10px;
    list-style: none; /* WICHTIG: Keine Punkte im Submenü */
}

/* Unsichtbare Brücke, damit das Menü nicht zugeht */
.dropdown-content::before {
    content: '';
    position: absolute;
    top: -20px; /* Deckt die Lücke ab */
    left: 0;
    width: 100%;
    height: 20px;
    background: transparent;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content li {
    display: block;
    margin: 0;
}

.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 0.9rem;
    text-transform: none;
}

.dropdown-content a:hover {
    background-color: rgba(0, 255, 157, 0.1);
    color: var(--accent-primary);
    padding-left: 20px;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-main);
    transition: 0.3s;
}

/* --- Main Content --- */
.container {
    max-width: 1000px;
    margin: 4rem auto;
    width: 90%;
    flex: 1;
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Typography */
h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    position: relative;
    color: white;
}

h2 {
    font-family: var(--font-heading);
    color: var(--accent-primary);
    margin-top: 3rem;
    font-size: 1.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
}

p {
    font-size: 1.1rem;
    color: #d0d0d0;
    margin-bottom: 1.5rem;
}

/* Glitch Effect */
.glitch {
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
}

.glitch::before {
    left: 2px;
    text-shadow: -1px 0 var(--accent-secondary);
    clip: rect(24px, 550px, 90px, 0);
    animation: glitch-anim-2 3s infinite linear alternate-reverse;
    display: none; /* Hidden by default, shown on hover/active */
}

.glitch::after {
    left: -2px;
    text-shadow: -1px 0 var(--accent-tertiary);
    clip: rect(85px, 550px, 140px, 0);
    animation: glitch-anim 2.5s infinite linear alternate-reverse;
    display: none;
}

.glitch:hover::before,
.glitch:hover::after,
.glitch.active::before,
.glitch.active::after {
    display: block;
}

@keyframes glitch-anim {
    0% { clip: rect(10px, 9999px, 30px, 0); }
    20% { clip: rect(80px, 9999px, 100px, 0); }
    40% { clip: rect(10px, 9999px, 50px, 0); }
    60% { clip: rect(60px, 9999px, 80px, 0); }
    80% { clip: rect(30px, 9999px, 70px, 0); }
    100% { clip: rect(90px, 9999px, 100px, 0); }
}

@keyframes glitch-anim-2 {
    0% { clip: rect(60px, 9999px, 90px, 0); }
    20% { clip: rect(10px, 9999px, 40px, 0); }
    40% { clip: rect(50px, 9999px, 60px, 0); }
    60% { clip: rect(20px, 9999px, 30px, 0); }
    80% { clip: rect(90px, 9999px, 100px, 0); }
    100% { clip: rect(30px, 9999px, 50px, 0); }
}

/* Links & Buttons */
.content a {
    color: var(--accent-tertiary);
    text-decoration: none;
    border-bottom: 1px dashed var(--accent-tertiary);
    transition: all 0.3s;
}

.content a:hover {
    color: white;
    background: var(--accent-tertiary);
    border-bottom-style: solid;
}

.btn-party {
    display: inline-block;
    background: linear-gradient(45deg, var(--accent-secondary), #ff5e00);
    color: white !important;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 1rem;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 0, 85, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-party:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 85, 0.6);
}

/* --- Footer --- */
footer {
    text-align: center;
    padding: 3rem 0;
    margin-top: auto;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-shadow: 0 0 20px rgba(0, 255, 157, 0.3);
}

/* --- Mobile Optimierung --- */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
        z-index: 1001;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(5, 5, 5, 0.95);
        backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s ease;
        box-shadow: -5px 0 20px rgba(0,0,0,0.5);
    }

    .nav-links ul {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .nav-links.active {
        right: 0;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    h1 { font-size: 2.2rem; }
    .container { margin: 2rem auto; padding: 1.5rem; }

    /* Mobile Dropdown */
    .dropdown-content {
        position: relative;
        border: none;
        background: transparent;
        padding-left: 0;
        box-shadow: none;
        display: none;
        top: 0;
        margin-top: 10px;
    }
    
    .dropdown:hover .dropdown-content {
        display: block;
    }
    
    .dropdown-content a {
        padding: 5px;
        color: var(--text-muted);
        border: none;
    }
}