/* RADIO NEON MASTER-TEMPLATE 
    Edition: Deep Blue OBS Edition
    Version: 6.0 (Live Stage Background)
*/

:root {
    /* --- FARB-KONFIGURATION NEON BLUE --- */
    --neon-main: #0088ff;            /* Ein kräftiges, elektrisches Blau */
    --neon-glow: rgba(0, 136, 255, 0.4); 
    --bg-deep: #000814;              /* Sehr tiefes Dunkelblau für den Kontrast */
    --bg-gradient: #001a3d;          /* Sanfter blauer Schimmer für den Hintergrund */
}

/* --- GRUND-DESIGN & GLOBALE LINKS --- */
html {
    background-color: #000 !important;
}

body {
    background: transparent !important; 
    margin: 0; padding: 0;
    min-height: 100vh;
    color: #ffffff !important;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    overflow-x: hidden;
    position: relative;
}

/* Globaler Link-Fix für das gesamte Design */
a {
    color: var(--neon-main) !important;
    text-decoration: none;
    transition: 0.3s ease;
}

a:hover {
    color: #fff !important;
    text-shadow: 0 0 10px var(--neon-main);
}


/* ==========================================================
   --- FIXIERTER OBS ANIMATIONS-HINTERGRUND (BÜHNE & LASER) ---
   ========================================================== */

#obs-background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1; /* Zwingt die Animation ganz nach hinten */
    pointer-events: none; /* WICHTIG: Klicks gehen durch den Hintergrund durch auf die Website! */
    overflow: hidden;
    background: #000;
}

/* Lokales Hintergrundbild (Bühne) */
.stage-background { 
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; 
    background-image: url('boom-bg.jpg'); 
    background-size: cover; background-position: center; 
    z-index: 0; filter: brightness(0.75) contrast(1.1); 
}

/* Nebel-Effekt */
.fog-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; z-index: 1; opacity: 0.3; pointer-events: none; }
.fog-layer { position: absolute; width: 200%; height: 100%; background: linear-gradient(90deg, transparent, rgba(0, 162, 255, 0.2), transparent); animation: drift 25s linear infinite; }
.fog-layer:nth-child(2) { bottom: 0; background: linear-gradient(0deg, transparent, rgba(0, 102, 255, 0.15), transparent); animation: drift-reverse 35s linear infinite; }
@keyframes drift { 0% { transform: translateX(-50%); } 100% { transform: translateX(0%); } }
@keyframes drift-reverse { 0% { transform: translateX(0%); } 100% { transform: translateX(-50%); } }

/* Basis Animationen für HUD-Ringe */
@keyframes spinClockwise { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes spinCounter { 0% { transform: rotate(360deg); } 100% { transform: rotate(0deg); } }
@keyframes scanRadar { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

@keyframes bandPulse1 {
    0% { box-shadow: 0 0 15px 10px #0055ff, inset 0 0 10px 5px #0055ff; border-color: #00a2ff; }
    50% { box-shadow: 0 0 35px 22px #ffffff, inset 0 0 22px 11px #00d2ff; border-color: #ffffff; }
    100% { box-shadow: 0 0 15px 10px #0055ff, inset 0 0 10px 5px #0055ff; border-color: #00a2ff; }
}

@keyframes bandPulse2 {
    0% { box-shadow: 0 0 10px 5px #0022aa, inset 0 0 5px 2px #0022aa; border-color: #0066ff; opacity: 0.4; }
    30% { box-shadow: 0 0 30px 18px #00d2ff, inset 0 0 15px 8px #ffffff; border-color: #ffffff; opacity: 1; }
    100% { box-shadow: 0 0 10px 5px #0022aa, inset 0 0 5px 2px #0022aa; border-color: #0066ff; opacity: 0.4; }
}

/* Große 3D-Boden-HUDs */
.hud-floor-container { position: absolute; bottom: 80px; left: 50%; width: 450px; height: 450px; z-index: 2; pointer-events: none; transform: translateX(-50%) perspective(600px) rotateX(65deg); transform-origin: bottom center; opacity: 0.75; filter: drop-shadow(0 0 20px rgba(0, 210, 255, 0.8)); }
.hud-floor-secondary { position: absolute; bottom: 30px; right: 80px; width: 250px; height: 250px; z-index: 3; pointer-events: none; transform: perspective(400px) rotateX(55deg) rotateY(-15deg); transform-origin: bottom center; opacity: 0.7; filter: drop-shadow(0 0 15px rgba(0, 210, 255, 0.7)); }
.hud-floor-third { position: absolute; bottom: 260px; right: 480px; width: 260px; height: 260px; z-index: 3; pointer-events: none; transform: perspective(450px) rotateX(60deg) rotateY(5deg); transform-origin: bottom center; opacity: 0.72; filter: drop-shadow(0 0 18px rgba(0, 210, 255, 0.75)); }

/* Mittelgroße Boden-HUDs */
.hud-medium { position: absolute; z-index: 2; pointer-events: none; transform-origin: bottom center; opacity: 0.65; filter: drop-shadow(0 0 12px rgba(0, 210, 255, 0.65)); }
.hm-1 { bottom: 130px; left: 180px; width: 210px; height: 210px; transform: perspective(350px) rotateX(63deg) rotateY(25deg); }
.hm-2 { bottom: 80px;  left: 620px; width: 190px; height: 190px; transform: perspective(330px) rotateX(60deg) rotateY(-12deg); }
.hm-3 { bottom: 150px; right: 680px; width: 220px; height: 220px; transform: perspective(380px) rotateX(66deg) rotateY(-18deg); }
.hm-4 { bottom: 40px;  right: 320px; width: 180px; height: 180px; transform: perspective(320px) rotateX(58deg) rotateY(15deg); }

/* Kleine Club-HUDs auf dem Boden */
.hud-small { position: absolute; z-index: 2; pointer-events: none; transform-origin: bottom center; opacity: 0.55; filter: drop-shadow(0 0 8px rgba(0, 210, 255, 0.5)); }
.hs-1  { bottom: 100px; left: 290px; width: 65px;  height: 65px;  transform: perspective(250px) rotateX(65deg) rotateY(20deg); }
.hs-2  { bottom: 50px;  left: 430px; width: 50px;  height: 50px;  transform: perspective(250px) rotateX(60deg) rotateY(-10deg); }
.hs-3  { bottom: 180px; left: 520px; width: 75px;  height: 75px;  transform: perspective(280px) rotateX(62deg) rotateY(15deg); }
.hs-4  { bottom: 70px;  left: 820px; width: 55px;  height: 55px;  transform: perspective(250px) rotateX(68deg) rotateY(-5deg); }
.hs-5  { bottom: 210px; left: 880px; width: 45px;  height: 45px;  transform: perspective(220px) rotateX(58deg) rotateY(25deg); }
.hs-6  { bottom: 110px; right: 900px; width: 70px;  height: 70px;  transform: perspective(260px) rotateX(64deg) rotateY(-20deg); }
.hs-7  { bottom: 40px;  right: 530px; width: 55px;  height: 55px;  transform: perspective(250px) rotateX(60deg) rotateY(10deg); }
.hs-8  { bottom: 170px; right: 460px; width: 60px;  height: 60px;  transform: perspective(270px) rotateX(66deg) rotateY(-15deg); }
.hs-9  { bottom: 95px;  right: 210px; width: 50px;  height: 50px;  transform: perspective(240px) rotateX(63deg) rotateY(18deg); }
.hs-10 { bottom: 230px; left: 710px;  width: 40px;  height: 40px;  transform: perspective(210px) rotateX(55deg) rotateY(-8deg); }
.hs-11 { bottom: 120px; right: 180px; width: 55px;  height: 55px;  transform: perspective(250px) rotateX(62deg) rotateY(-15deg); }

/* HUD Ringe Animationen */
.hud-ring-outer { position: absolute; width: 100%; height: 100%; border: 1.5px dashed rgba(0, 210, 255, 0.7); border-radius: 50%; animation: spinClockwise 14s linear infinite, bandPulse1 2.4s ease-in-out infinite; }
.delay-1 .hud-ring-outer { animation-duration: 11s, 1.8s; animation-delay: 0s, 0.2s; }
.delay-2 .hud-ring-outer { animation-duration: 15s, 2.5s; animation-delay: 0s, 0.7s; animation-name: spinClockwise, bandPulse2; }
.delay-3 .hud-ring-outer { animation-duration: 9s, 1.2s; animation-delay: 0s, 0.4s; }
.delay-4 .hud-ring-outer { animation-duration: 12s, 2.1s; animation-delay: 0s, 1.1s; animation-name: spinClockwise, bandPulse2; }
.delay-5 .hud-ring-outer { animation-duration: 16s, 1.5s; animation-delay: 0s, 0.9s; }

.hud-ring-inner { position: absolute; top: 15%; left: 15%; right: 15%; bottom: 15%; border: 1px solid rgba(0, 150, 255, 0.5); border-top: 1.5px solid #fff; border-radius: 50%; animation: spinCounter 5s linear infinite; }
.hud-scanner { position: absolute; top: 50%; left: 50%; width: 50%; height: 2px; background: linear-gradient(90deg, #00d2ff, transparent); transform-origin: left center; animation: scanRadar 2s linear infinite; box-shadow: 0 0 8px #00d2ff; }
.hud-crosshair { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 30px; height: 30px; border: 1px solid rgba(255,255,255,0.4); border-radius: 50%; }
.hud-crosshair::before, .hud-crosshair::after { content: ''; position: absolute; background: rgba(0, 210, 255, 0.8); }
.hud-crosshair::before { top: 50%; left: -6px; right: -6px; height: 1.5px; transform: translateY(-50%); }
.hud-crosshair::after { left: 50%; top: -6px; bottom: -6px; width: 1.5px; transform: translateX(-50%); }

/* Laser & Spots */
.laser-beam { position: absolute; top: 0; left: 30%; width: 3px; height: 100%; background: linear-gradient(to bottom, rgba(0,210,255,0.9), transparent); transform-origin: top center; z-index: 2; opacity: 0.8; pointer-events: none; filter: blur(1px); animation: sweepLaser 6s ease-in-out infinite alternate; }
.laser-2 { left: 50%; animation-duration: 8s; animation-delay: -1.5s; background: linear-gradient(to bottom, rgba(0,100,255,0.9), transparent); }
.laser-3 { left: 20%; animation-duration: 7s; animation-delay: -0.8s; }
.laser-4 { left: 70%; animation-duration: 9s; animation-delay: -3s; background: linear-gradient(to bottom, rgba(0,100,255,0.9), transparent); }
@keyframes sweepLaser { 0% { transform: rotate(-30deg); } 50% { transform: rotate(0deg); } 100% { transform: rotate(30deg); } }

.floor-spot { position: absolute; bottom: -30px; left: 30%; width: 320px; height: 110px; background: radial-gradient(ellipse at center, rgba(0,210,255,0.75) 0%, rgba(0,100,255,0) 70%); transform: translateX(-50%); z-index: 2; pointer-events: none; filter: blur(12px); animation: sweepSpot 6s ease-in-out infinite alternate; }
.spot-2 { left: 50%; animation-duration: 8s; animation-delay: -1.5s; background: radial-gradient(ellipse at center, rgba(0,100,255,0.75) 0%, rgba(0,100,255,0) 70%); }
.spot-3 { left: 20%; animation-duration: 7s; animation-delay: -0.8s; }
.spot-4 { left: 70%; animation-duration: 9s; animation-delay: -3s; background: radial-gradient(ellipse at center, rgba(0,150,255,0.75) 0%, rgba(0,100,255,0) 70%); }
@keyframes sweepSpot { 0% { transform: translateX(-50%) translateX(-220px) scaleX(0.8); opacity: 0.4; } 50% { transform: translateX(-50%) translateX(0px) scaleX(1.4); opacity: 0.9; } 100% { transform: translateX(-50%) translateX(220px) scaleX(0.8); opacity: 0.4; } }

.screen-border { position: absolute; top: 0; left: 0; width: 100vw; height: 100vh; border: 4px solid rgba(0, 162, 255, 0.3); pointer-events: none; z-index: 10; }


/* ==========================================================
   --- HEADER & NAVIGATION ---
   ========================================================== */

.header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
    background: rgba(0, 5, 15, 0.95);
    border-bottom: 2px solid var(--neon-main);
    box-shadow: 0 0 20px var(--neon-glow);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    box-sizing: border-box;
}

.header-bar > div:first-child { flex: 1; display: flex; justify-content: flex-start; }

.main-nav { flex: 2; display: flex !important; justify-content: center !important; }

.main-nav ul {
    display: flex !important;
    list-style: none;
    gap: 25px;
    margin: 0; padding: 0;
}

.main-nav a {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 13px;
}

/* --- USER-MENÜ --- */
.user-nav-container {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    position: relative;
    z-index: 1001; 
}

.user-dropdown:hover .dropdown-content { display: block !important; }

.user-avatar-img {
    width: 32px; height: 32px;
    border-radius: 50%;
    border: 1px solid var(--neon-main);
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0; top: 100%;
    background: #000814;
    border: 1px solid var(--neon-main);
    min-width: 200px;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.dropdown-content a {
    padding: 12px 20px;
    display: block;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.dropdown-content a:hover { background: var(--neon-glow); color: #fff !important; }

/* --- LOGO AREA & SLOGAN --- */
.logo-area { text-align: center; padding: 130px 0 40px 0; }

.site-slogan {
    color: #fff;
    font-size: 1.5rem;
    letter-spacing: 6px;
    animation: neonPulse 2s infinite alternate ease-in-out;
}

@keyframes neonPulse {
    from { text-shadow: 0 0 5px #fff, 0 0 10px var(--neon-main); opacity: 0.8; }
    to { text-shadow: 0 0 10px #fff, 0 0 20px var(--neon-main); opacity: 1; transform: scale(1.02); }
}

/* --- LAYOUT --- */
#main-container {
    max-width: 1400px;
    margin: 0 auto 60px auto;
    display: flex; 
    gap: 30px; 
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

#side-center { flex: 2.5; }
#side-right { flex: 1; min-width: 320px; }

/* --- PANELS (GLASS-LOOK) --- */
.glass-panel {
    background: rgba(0, 8, 20, 0.75) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 136, 255, 0.3) !important;
    border-radius: 15px;
    margin-bottom: 30px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 136, 255, 0.15);
}

.panel-title {
    padding: 15px 25px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--neon-main) !important;
    font-weight: bold;
    border-bottom: 1px solid rgba(0, 136, 255, 0.2);
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
}

.panel-content { padding: 20px; code; color: #d0d0d0; line-height: 1.6; }

/* --- FOOTER --- */
footer {
    text-align: center;
    padding: 60px 20px;
    color: var(--neon-main);
    background: rgba(0,0,0,0.6);
    position: relative;
    z-index: 10;
    border-top: 1px solid var(--neon-glow);
}

/* MOBILE FIX */
@media (max-width: 1000px) {
    #main-container { flex-direction: column; }
    .header-bar { flex-direction: column; padding: 20px; }
}

/* ==========================================================
   --- MOBIL-FIX: ANIMATIONEN AUS, ABER HINTERGRUNDBILD AN ---
   ========================================================== */
@media screen and (max-width: 1024px) {
    /* Hintergrund bleibt fixiert oder absolut, ohne das Layout zu sprengen */
    #obs-background-overlay {
        position: absolute !important;
        height: 100% !important;
        min-height: 100vh;
        background: #000 !important;
    }
    
    /* Hintergrundbild (Bühne) ausdrücklich wieder anzeigen! */
    .stage-background {
        display: block !important;
        position: absolute !important;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('boom-bg.jpg') !important;
        background-size: cover !important;
        background-position: center !important;
        z-index: 0;
    }

    /* Nur die schweren 3D-Ringe und Laser bleiben deaktiviert (verhindern das Flackern) */
    .hud-floor-container, 
    .hud-floor-secondary, 
    .hud-floor-third, 
    .hud-medium, 
    .hud-small, 
    .laser-beam, 
    .floor-spot, 
    .fog-container {
        display: none !important;
    }
}