/* djtomjac.css - Komplettes Cyberpunk Neon Theme */

/* =========================================================================
   🌐 ALLGEMEINES STYLING & BASE
   ========================================================================= */
body {
    background-color: #0b0b0b;
    color: #ffffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: center;
    padding: 30px 20px;
    margin: 0;
}

h1 {
    color: #00ffcc;
    font-size: 3.2rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 5px;
    text-shadow: 0 0 15px rgba(0, 255, 204, 0.6);
}

h2 {
    color: #fff;
    border-bottom: 2px solid #00ffcc;
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(0, 255, 204, 0.5);
    font-size: 1.6rem;
}
.subtitle {
    color: #888;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* =========================================================================
   🧭 NAVIGATION, DROPDOWN & NEON BUTTONS
   ========================================================================= */
/* Navigation als flexible Reihe gestylt */
.nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px; /* Perfekter Abstand zwischen den Neon-Buttons */
    max-width: 850px;
    margin: 0 auto 20px auto;
    padding: 0 10px;
}

.media-btn {
    background: linear-gradient(45deg, #00ffcc, #ff00ff);
    color: #000;
    padding: 10px 18px; /* Links/Rechts minimal erhöht für eine rundere Button-Form */
    border-radius: 25px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 255, 204, 0.8);
    transition: transform 0.2s, box-shadow 0.2s, color 0.2s;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;

    /* ⚡ DER CENTERING-TRICK: Zwingt Symbole und Text auf eine exakte Linie */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1; /* Verhindert, dass Zeilenabstände den Button verformen */
    height: 38px; /* Gibt dem Button eine feste, stabile Höhe gegen Wackeln */
    box-sizing: border-box;
}

.media-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px #ff00ff, 0 0 10px #00ffcc;
    color: #fff;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #121212;
    min-width: 180px;
    box-shadow: 0px 8px 16px rgba(0, 255, 204, 0.2);
    border: 1px solid #00ffcc;
    border-radius: 8px;
    z-index: 1;
    margin-top: 5px;
}

.dropdown-content a {
    color: #fff;
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content a:hover {
    background-color: #ff00ff;
    color: #fff;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* =========================================================================
   📻 NEON RADIO PLAYER & LAUTSTÄRKE
   ========================================================================= */
.player-container {
    max-width: 850px;
    margin: 0 auto 20px auto;
    background: #121212;
    border: 2px solid #00ffcc;
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.2);
}

.player-container h3 {
    color: #00ffcc;
    margin-top: 0;
    text-transform: uppercase;
    font-size: 1.1rem;
}

.now-playing {
    margin-top: 15px; 
    background: #000;
    padding: 8px;
    border-radius: 8px;
    border: 1px solid #333;
}

.now-playing span {
    color: #666;
    font-size: 0.8rem;
}

#songTitle {
    color: #ff00ff;
    font-weight: bold;
    margin-top: 5px;
    text-shadow: 0 0 5px #ff00ff;
    font-size: 0.95rem;
}

/* =========================================================================
   🔊 LAUTSTÄRKEREGLER (STABIL, MITTIG & EXTRA LANG)
   ========================================================================= */
.volume-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 0 !important; /* ⚡ Auf 0 gesetzt, damit er exakt auf einer Linie mit PLAY liegt */
}

.vol-icon { 
    font-size: 1.1rem; 
}

#volumeVal {
    color: #00ffcc;
    font-weight: bold;
    min-width: 40px; /* Minimal erhöht für dreistellige Zahlen (100%) */
    font-size: 0.85rem;
    text-shadow: 0 0 5px rgba(0, 255, 204, 0.5);
}

#volumeSlider {
    -webkit-appearance: none;
    appearance: none;
    width: 280px; /* 🔥 HIER STEURST DU DIE LÄNGE: Von 130px auf fette 280px verlängert! */
    height: 5px;
    background: #222;
    border-radius: 3px;
    border: 1px solid #ff00ff;
    outline: none;
}

#volumeSlider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #00ffcc;
    cursor: pointer;
    box-shadow: 0 0 6px #00ffcc;
}

#volumeSlider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #00ffcc;
    cursor: pointer;
    box-shadow: 0 0 6px #00ffcc;
    border: none;
}

/* =========================================================================
   📊 CONTENT BOX & TAFEL-TABELLEN
   ========================================================================= */
.content-container {
    max-width: 850px;
    margin: 0 auto 10px auto;
    background-color: #121212;
    padding: 5px;
    border-radius: 12px;
    border: 2px solid #00ffcc;
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.2);
}

.gigs-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    font-size: 0.95rem;
}

.gigs-table th {
    color: #00ffcc;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    padding: 12px;
    border-bottom: 2px solid #333;
}

.gigs-table td {
    padding: 12px;
    border-bottom: 1px solid #222;
    color: #e0e0e0;
}

.gigs-table td strong {
    color: #ff00ff;
}

.gigs-table tbody tr:hover {
    background-color: rgba(0, 255, 204, 0.04);
}

.status-badge {
    background-color: rgba(0, 255, 204, 0.1);
    color: #00ffcc;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    border: 1px solid #00ffcc;
}

.status-box {
    background-color: #121212;
    border: 1px solid #222;
    padding: 8px 18px;
    border-radius: 20px;
    display: inline-block;
    color: #00ffcc;
    font-size: 0.85rem;
}

/* =========================================================================
   🛠️ SPEZIFISCHES ADMIN-LAYOUT (KOMPAKT & KLEIN)
   ========================================================================= */
.admin-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 320px; /* Schön schmal */
    margin: 0 auto;
    text-align: left;
}

.admin-form label {
    color: #00ffcc;
    font-weight: bold;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.admin-form input, .admin-form select {
    width: 100%;
    padding: 8px; /* Kompakter */
    margin-top: 4px;
    background: #000;
    color: #fff;
    border: 1px solid #ff00ff;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 0.85rem;
}

.admin-form input:focus, .admin-form select:focus {
    outline: none;
    border-color: #00ffcc;
    box-shadow: 0 0 8px rgba(0, 255, 204, 0.4);
}

.delete-btn {
    color: #ff0055;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.85rem;
}

.delete-btn:hover {
    color: #ff0000;
    text-shadow: 0 0 8px #ff0000;
}
/* =========================================================================
   🖼️ LOGO STYLING & SCHARFE ABSOLUTE LIVE-UHR (FLACHES BREITBILD)
   ========================================================================= */
.logo-container {
    width: 100%;
    max-width: 1280px; /* Deine gewünschte maximale Breite */
    margin: 0 auto 25px auto; /* Etwas mehr Luft nach unten für den Glow */
    padding: 0;
    position: relative; /* Anker für Uhr & Warnlicht */
    display: block; /* Erlaubt die volle Breite */
    border-radius: 12px; /* Gibt dem flachen Banner abgerundete Ecken */
    
    /* ⚡ DER REPARATUR-BLITZ: Der fette gelbe Neon-Glow gehört auf den Container! */
    border: 1px solid rgba(255, 255, 0, 0.4); /* Giftiger gelber Rahmen */
    box-shadow: 0 0 25px rgba(255, 255, 0, 1.50), inset 0 0 15px rgba(255, 255, 0, 0.1); 
    overflow: hidden; /* Sorgt dafür, dass das Bild innerhalb der Ecken bleibt */
}

.main-logo {
    width: 100%;
    height: 400px; 
    object-fit: cover; 
    object-position: center center; 
    display: block;
    filter: drop-shadow(0 0 10px rgba(255, 255, 0, 0.15)); 
    
    /* 🔥 EINFACH NUR DIESE ZEILE UNTEN HINZUFÜGEN: */
    transition: opacity 0.4s ease-in-out !important;
}


/* Transparente Neon-Uhr (Perfekt oben LINKS im Banner platziert) */
#studio-clock {
    position: absolute; 
    top: 15px; /* Klebt 15px vom oberen Rand des Banners entfernt */
    left: 25px; /* 🔥 Exakt derselbe Abstand links wie das Warnlicht rechts! */
    
    background-color: rgba(0, 0, 0, 0.05); 
    color: #00ffcc;
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    font-size: 1rem;
    padding: 6px 20px; /* 🔥 Auf 20px angepasst, damit die Boxen exakt gleich groß sind */
    border-radius: 6px;
    letter-spacing: 2px; 
    border: 1px solid rgba(0, 255, 204, 0.3);
    text-shadow: 0 0 8px rgba(0, 255, 204, 0.6);
    box-shadow: 0 0 15px rgba(0, 255, 204, 0.50); /* Leicht korrigiert, damit es edel aussieht */
    white-space: nowrap; 
    z-index: 10; 
}

/* Pulsierendes Live-Request-Warnlicht (Perfekt oben RECHTS im Banner platziert) */
#liveRequestAlert {
    position: absolute;
    top: 15px; /* Klebt 15px vom oberen Rand des Banners entfernt */
    right: 25px; /* Sitzt spiegelverkehrt auf der rechten Seite des Banners */
    
    background-color: rgba(0, 0, 0, 0.05); 
    color: #ffff00; 
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    font-size: 1rem;
    padding: 6px 20px;
    border-radius: 6px;
    letter-spacing: 2px;
    border: 1px solid rgba(255, 255, 0, 0.3);
    text-shadow: 0 0 8px rgba(255, 255, 0, 0.6);
    box-shadow: 0 0 15px rgba(255, 255, 0, 0.50);
    white-space: nowrap;
    z-index: 10;
    animation: neonPulse 1.8s infinite ease-in-out;
}


/* =========================================================================
   📻 NEON RADIO PLAYER & LAUTSTÄRKE (ULTRA COMPACT)
   ========================================================================= */
.player-container {
    max-width: 850px;
    margin: 0 auto 25px auto;
    background: #121212;
    border: 2px solid #00ffcc;
    border-radius: 15px;
    padding: 10px 15px; /* Minimales Padding für maximale Flachheit */
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.2);
}

.player-container h3 {
    color: #00ffcc;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    font-size: 1.05rem;
}
/* =========================================================================
   🌟 GÄSTEBUCH STYLING & POPUP NEON-BOX (MODAL)
   ========================================================================= */
.gb-entry {
    background-color: rgba(0, 0, 0, 0.6);
    border: 4px solid rgba(0, 255, 208, 0.2);
    border-left: 4px solid #00ffcc;   /* Etwas fetterer Neon-Streifen */
    border-right: 4px solid #00ffcc;  /* Etwas fetterer Neon-Streifen */
    border-radius: 6px;
    padding: 18px;
    margin-bottom: 20px;
    text-align: left;
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gb-meta {
    color: #00ffcc;
    font-size: 0.85rem;
    margin-bottom: 8px;
    font-weight: bold;
}

.gb-text {
    color: #e0e0e0;
    font-size: 0.95rem;
    line-height: 1.4;
    white-space: pre-wrap;
}

.custom-modal {
    display: none; /* Standardmäßig unsichtbar */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #121212;
    padding: 25px;
    border: 2px solid #ff00ff;
    border-radius: 12px;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 0 25px rgba(255, 0, 255, 0.4);
    position: relative;
}

.close-modal-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    color: #666;
    font-size: 1.5rem;
    cursor: pointer;
    font-weight: bold;
    transition: color 0.2s;
}

.close-modal-btn:hover {
    color: #ff0055;
}
/* Symmetrische Hörer-Zahlen im Player-Kopf */
.player-header-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px solid #222;
    padding-bottom: 10px;
}

.player-header-stats h3 {
    margin: 0 !important;
    font-size: 1.1rem;
}

.stat-left, .stat-right {
    font-size: 0.85rem;
    font-weight: bold;
    font-family: 'Courier New', Courier, monospace;
    letter-spacing: 1px;
}
.stat-left span { color: #00ffcc; text-shadow: 0 0 5px #00ffcc; }
.stat-right span { color: #ff00ff; text-shadow: 0 0 5px #ff00ff; }

/* Symmetrische Hörer-Zahlen im Player-Kopf */
.player-header-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px solid #222;
    padding-bottom: 10px;
}

.player-header-stats h3 {
    margin: 0 !important;
    font-size: 1.1rem;
}

.stat-left, .stat-right {
    font-size: 0.85rem;
    font-weight: bold;
    font-family: 'Courier New', Courier, monospace;
    letter-spacing: 1px;
}
.stat-left span { color: #00ffcc; text-shadow: 0 0 5px #00ffcc; }
.stat-right span { color: #ff00ff; text-shadow: 0 0 5px #ff00ff; }

/* =========================================================================
   🧭 FLAGES HAUPTMENÜ (FEHLERFREI, GROSS & STABIL)
   ========================================================================= */
.nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px; 
    max-width: 900px;
    margin: 0 auto 35px auto;
    padding: 10px; /* Gibt den Buttons oben und unten genug Luft gegen Abschneiden */
    flex-wrap: nowrap !important; 
    overflow-x: visible !important; /* Verhindert, dass Ränder oder Schatten abgeschnitten werden */
}

.nav-container .media-btn {
    font-size: 0.95rem !important; /* Deine gewünschte, schöne große Schrift */
    padding: 12px 22px !important; /* Fette, große Buttons in alle Richtungen */
    border-radius: 25px;
    font-weight: bold;
    text-decoration: none;
    white-space: nowrap !important; 
    display: inline-block;
    line-height: 1.2; /* Fixiert den Text mittig gegen Zappeln und Wackeln */
    box-sizing: border-box; 
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, color 0.2s;
}

/* Schiebt den Admin-Button ganz rechts elegant beiseite */
.nav-container a[href="admin.php"], 
.nav-container button[id="showPwBtn"] + a[href="admin.php?logout=1"] {
    margin-left: auto; 
}
/* =========================================================================
   📺 CYBERPUNK LIVE-TICKER (INTEGRIERT UNTEN IM LOGO-BANNER)
   ========================================================================= */
.ticker-container {
    position: absolute; /* 🔥 Setzt den Ticker direkt IN das Logo-Banner */
    bottom: 10px;       /* 🔥 Klebt exakt 10px über dem unteren Rand des Logos */
    left: 25px;         /* Bündig mit der Uhr links */
    right: 25px;        /* Bündig mit dem Request-Alert rechts */
    
    background: rgba(0, 0, 0, 0.75); /* Dunkler, transparenter Cyberpunk-Balken */
    border: 1px solid rgba(0, 255, 204, 0.25);
    box-shadow: 0 0 15px rgba(0, 255, 204, 0.2);
    border-radius: 4px;
    overflow: hidden;
    padding: 4px 10px;
    box-sizing: border-box;
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    gap: 15px;
    z-index: 10;
}

.ticker-text {
    display: inline-block;
    white-space: nowrap;
    color: #00ffcc;
    font-weight: bold;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.95rem;
    text-shadow: 0 0 5px rgba(0, 255, 204, 0.5);
}

@keyframes marquee {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

/* =========================================================================
   📻 PLAYER-ERWEITERUNG (ULTRA COMPACT & FLACH GEGEN SCROLLEN)
   ========================================================================= */
.player-container {
    min-height: auto; /* Zwingt die Box, sich so flach wie möglich zu machen */
    padding: 10px 15px;
}

.song-history-box {
    margin-top: 10px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid #222;
    border-radius: 6px;
    padding: 6px 10px;
    text-align: left;
}

.song-history-box h4 {
    margin: 0 0 4px 0;
    color: #ff00ff;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid #222;
    padding-bottom: 2px;
}

#historyList {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.8rem; /* Minimal kleinere Schrift für maximale Flachheit */
    font-family: 'Courier New', Courier, monospace;
}

#historyList li {
    padding: 2px 0; /* Weniger Abstand zwischen den Zeilen */
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    color: #888;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#historyList li:first-child {
    color: #00ffcc;
    font-weight: bold;
}
.status-box {
    background-color: #121212 !important;
    border: 1px solid #ff00ff !important; /* Lila Rahmen */
    color: #ffff00 !important;
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.4) !important;
    text-shadow: 0 0 5px #ff00ff !important;
    padding: 8px 18px !important;
    border-radius: 20px !important;
    display: inline-block !important;
    font-weight: bold !important;
    font-size: 0.85rem !important;
    margin: 0 !important;
}
/* --- Effekt-Klassen für den Logo-Rotator (Hier von 1.6s auf 3.0s erhöht) --- */
.logo-fade { animation: bannerFade 3.0s ease-in-out forwards; }
.logo-slide-left { animation: bannerSlideLeft 2.0s cubic-bezier(0.25, 1, 0.5, 1) forwards; }
.logo-slide-right { animation: bannerSlideRight 2.0s cubic-bezier(0.25, 1, 0.5, 1) forwards; }
.logo-slide-up { animation: bannerSlideUp 2.0s cubic-bezier(0.25, 1, 0.5, 1) forwards; }
.logo-zoom-in { animation: bannerZoomIn 2.0s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; }
.logo-zoom-out { animation: bannerZoomOut 2.0s cubic-bezier(0.25, 1, 0.5, 1) forwards; }
.logo-flip-x { animation: bannerFlipX 2.2s ease-in-out forwards; }
.logo-flip-y { animation: bannerFlipY 2.2s ease-in-out forwards; }
.logo-blur { animation: bannerBlur 2.2s ease-out forwards; }
.logo-rotate { animation: bannerRotate 2.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; }

/* --- CSS Keyframes (Langsame Übergänge) --- */
@keyframes bannerFade {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes bannerSlideLeft {
    0% { opacity: 0; transform: translateX(-80px); }
    100% { opacity: 1; transform: translateX(0); }
}

@keyframes bannerSlideRight {
    0% { opacity: 0; transform: translateX(80px); }
    100% { opacity: 1; transform: translateX(0); }
}

@keyframes bannerSlideUp {
    0% { opacity: 0; transform: translateY(50px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes bannerZoomIn {
    0% { opacity: 0; transform: scale(0.4); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes bannerZoomOut {
    0% { opacity: 0; transform: scale(1.5); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes bannerFlipX {
    0% { opacity: 0; transform: rotateX(-90deg); }
    100% { opacity: 1; transform: rotateX(0deg); }
}

@keyframes bannerFlipY {
    0% { opacity: 0; transform: rotateY(-90deg); }
    100% { opacity: 1; transform: rotateY(0deg); }
}

@keyframes bannerBlur {
    0% { opacity: 0; filter: blur(20px); transform: scale(0.95); }
    100% { opacity: 1; filter: blur(0px); transform: scale(1); }
}

@keyframes bannerRotate {
    0% { opacity: 0; transform: rotate(-15deg) scale(0.8); }
    100% { opacity: 1; transform: rotate(0deg) scale(1); }
}
