/*
 * Diabolisches Styling für den Radio Diabolus Player (Dunkle Version)
 */

/* Google Fonts Import ist in der PHP-Datei, Fallback-Fonts hier */
:root {
    --rdp-red: #a00; /* Dunkleres, "böses" Rot. War #f00 */
    --rdp-dark: #1a1a1a;
    --rdp-grey: #333;
    --rdp-light-grey: #888;
    --rdp-white: #fff;
    --rdp-black: #000;
}

#rdp-player-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--rdp-dark);
    border-top: 3px solid var(--rdp-red); /* Nutzt jetzt das dunklere Rot */
    color: var(--rdp-white);
    padding: 10px 20px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 100000;
    font-family: 'Cinzel', serif;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.5); /* Der normale Schatten bleibt */
}

/* Container für Play/Stop-Buttons */
.rdp-controls {
    display: flex;
    align-items: center;
}

#rdp-player-bar button {
    background: var(--rdp-red);
    border: 1px solid var(--rdp-black);
    color: var(--rdp-black);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%; /* Runde Buttons */
    margin-right: 15px;
    transition: all 0.2s ease;
    box-shadow: 0 0 10px var(--rdp-red);
}

#rdp-player-bar button:hover {
    background: var(--rdp-grey);
    color: var(--rdp-red);
    box-shadow: 0 0 15px var(--rdp-grey);
}

#rdp-player-bar button svg {
    width: 20px;
    height: 20px;
}

/* Song-Info in der Mitte */
#rdp-song-info {
    flex-grow: 1;
    text-align: center;
    overflow: hidden;
    white-space: nowrap;
}

.rdp-now-playing {
    font-family: 'Uncial Antiqua', cursive;
    font-size: 0.7em;
    color: var(--rdp-light-grey);
    letter-spacing: 1px;
}

#rdp-song-title {
    font-size: 1.1em;
    font-weight: 700;
    color: #ddd; /* Dein "dunkleres Weiß" (ein helles Grau) */
    /* Glühen reduziert (war 5px, jetzt 3px) */
    text-shadow: 0 0 3px var(--rdp-red); 
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

/* Lautstärke-Regler */
.rdp-volume-control {
    display: flex;
    align-items: center;
    min-width: 150px;
}

.rdp-volume-icon {
    color: var(--rdp-light-grey);
    margin-right: 10px;
}

#rdp-volume {
    -webkit-appearance: none;
    appearance: none;
    width: 100px;
    height: 5px;
    background: var(--rdp-grey);
    outline: none;
    opacity: 0.7;
    transition: opacity 0.2s;
    border-radius: 3px;
}

#rdp-volume:hover {
    opacity: 1;
}

/* Webkit (Chrome, Safari) */
#rdp-volume::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    background: var(--rdp-red); /* Nutzt dunkleres Rot */
    border: 1px solid var(--rdp-black);
    cursor: pointer;
    border-radius: 50%;
    /* box-shadow: 0 0 5px var(--rdp-red); <-- GLOW ENTFERNT */
}

/* Firefox */
#rdp-volume::-moz-range-thumb {
    width: 15px;
    height: 15px;
    background: var(--rdp-red); /* Nutzt dunkleres Rot */
    border: 1px solid var(--rdp-black);
    cursor: pointer;
    border-radius: 50%;
    /* box-shadow: 0 0 5px var(--rdp-red); <-- GLOW ENTFERNT */
}

/* Mobile Ansicht */
@media (max-width: 600px) {
    #rdp-player-bar {
        flex-direction: column;
        padding: 10px;
        height: auto;
    }
    #rdp-song-info {
        order: 1; /* Songtitel nach oben */
        width: 100%;
        margin-bottom: 10px;
    }
    .rdp-controls {
        order: 2; /* Steuerung in die Mitte */
        margin-bottom: 10px;
    }
    .rdp-volume-control {
        order: 3; /* Lautstärke nach unten */
        width: 100%;
        justify-content: center;
    }
    #rdp-volume {
        width: 70%; /* Regler breiter machen */
    }
}