/* ==========================================================================
   DAB+ DIGITAL TUNER - PREMIUM RESPONSIVE STYLE
   ========================================================================== */

body {
    /* Achtergrondafbeelding toevoegen */
    background-image: url('wallpaper.png');
    /* Zorgt dat de afbeelding het hele scherm vult */
    background-size: cover;
    /* Zorgt dat de afbeelding gecentreerd blijft */
    background-position: center;
    /* Zorgt dat de achtergrond stilstaat tijdens scrollen */
    background-attachment: fixed;
    /* Zorgt dat de afbeelding niet herhaalt */
    background-repeat: no-repeat;
    
    /* Je bestaande stijlen */
    font-family: 'Segoe UI', sans-serif;
    color: #e0e0e0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
}
.radio-container {
    background: linear-gradient(135deg, #2d2f31 0%, #1b1c1e 100%);
    backdrop-filter: blur(5px);
    background: rgba(27, 28, 30, 0.85); /* Iets transparanter maken */
    width: 100%;
    max-width: 1000px;
    border: 4px solid #3a3d40;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}


/* Header & Knoppenbalk */
header {
    background: linear-gradient(to bottom, #141517, #1c1d21);
    padding: 25px 30px;
    position: relative;
    text-align: center;
    border-bottom: 2px solid #111;
}

header h1 {
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0 0 10px 0;
    letter-spacing: 4px;
    color: #f3f4f6;
    text-transform: uppercase;
}

.header-controls {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.icon-btn {
    background: #2d3035;
    border: 1px solid #444;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.icon-btn i {
    pointer-events: none;
    font-size: 1.1rem;
}

.icon-btn:hover {
    background: #ff4500;
    border-color: #ff4500;
}

.icon-btn:active {
    transform: translateY(2px);
}

#status-bar {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #00ffcc;
    letter-spacing: 1px;
}

/* Player Display */
.player-display {
    padding: 30px;
    background: #0f1115;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.player-display img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    background: #fff;
    padding: 8px;
    border-radius: 12px;
    margin-bottom: 15px;
}

.player-display h2 {
    margin: 5px 0;
    font-size: 1.5rem;
    color: #fff;
}

.player-display p {
    margin: 0 0 15px 0;
    color: #8a929e;
}

audio {
    width: 100%;
    max-width: 500px;
    margin-top: 20px;
    outline: none;
}

/* Zenderlijst */
.zender-lijst-wrapper {
    max-height: 500px;
    overflow-y: auto;
    padding: 20px;
    background: #151619;
}

.zender-lijst {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.zender-item {
    background: #2d3035;
    border: 1px solid #1a1b1d;
    color: #d1d5db;
    padding: 10px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    height: 60px;
    transition: 0.2s;
}

.zender-item:hover {
    background: #ff4500;
    color: #fff;
}

.zender-item.playing {
    border-color: #ff4500;
    background: #322320;
    color: #ffaa80;
}

.zender-item img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    background: #fff;
    padding: 2px;
    border-radius: 4px;
}

#standby-clock {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;
}

#clock {
    transition: all 0.3s ease;
}

/* Zorg dat de klok goed schaalt op mobiel */
@media (max-width: 600px) {
    #clock { font-size: 4rem !important; }
}