/* ===================================================================
   RADIO 538 PROGRAMMERING – DARK MODE + NEON GLOW + GLASS EFFECT
   =================================================================== */

/* Container */
.section.alt .container {
    padding-top: 20px;
}

/* Titel van de dag (Maandag, Dinsdag…) */
.program-day {
    font-size: 1.6rem;
    margin: 25px 0 10px;
    color: var(--r538-purple);
    font-weight: 800;
    text-shadow: 0 0 12px rgba(158,0,255,0.6);
}

/* Geen show tekst */
.no-show {
    color: var(--r538-muted);
    font-style: italic;
}

/* GRID */
.program-compact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

/* ===================================================================
   CARD DESIGN – GLASS + NEON
   =================================================================== */
.program-compact-card {
    background: rgba(20, 20, 20, 0.65);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(158,0,255,0.25);
    position: relative;
    overflow: hidden;
    transition: 0.25s ease;
    box-shadow: 0 0 18px rgba(158,0,255,0.1);
}

/* Hover effect */
.program-compact-card:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 0 22px rgba(158,0,255,0.35),
        0 0 28px rgba(0,230,91,0.25);
}

/* ===================================================================
   NEON STRIP bovenaan de kaart
   =================================================================== */
.card-strip {
    height: 5px;
    width: 100%;
    background: linear-gradient(90deg, var(--r538-purple), var(--r538-green));
    box-shadow: 0 0 12px rgba(158,0,255,0.5);
    margin-bottom: 10px;
}

/* ===================================================================
   Labels: LIVE & STRAKS
   =================================================================== */

.day-labels {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 10px;
    gap: 10px;
}

/* LIVE */
.label-live {
    background: var(--r538-green);
    color: black;
    padding: 4px 10px;
    font-size: 0.8rem;
    font-weight: 800;
    border-radius: 6px;
    text-shadow: none;
    box-shadow: 0 0 8px rgba(0,230,91,0.8);
    animation: livePulse 1.4s infinite ease-in-out;
}

/* LIVE Pulse animation */
@keyframes livePulse {
    0% { box-shadow: 0 0 8px rgba(0,230,91,1); }
    50% { box-shadow: 0 0 16px rgba(0,230,91,0.4); }
    100% { box-shadow: 0 0 8px rgba(0,230,91,1); }
}

/* STRAKS */
.label-next {
    background: var(--r538-purple);
    color: white;
    padding: 4px 10px;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(158,0,255,0.7);
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Countdown kleuren */
.countdown-warning { color: #ffd700 !important; } /* geel */
.countdown-low { color: #ff3b3b !important; }     /* rood */
.countdown-bijna {
    animation: bijnaBlink 1s infinite;
}

/* Bijna LIVE animation */
@keyframes bijnaBlink {
    0%, 100% { color: #ff3b3b; }
    50% { color: white; }
}

/* ===================================================================
   Tijd
   =================================================================== */
.day-time {
    color: var(--r538-muted);
    font-size: 0.95rem;
    margin-bottom: 12px;
}

/* ===================================================================
   DJ + Info
   =================================================================== */

.day-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.day-dj {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid rgba(158,0,255,0.4);
    box-shadow: 0 0 12px rgba(158,0,255,0.4);
    transition: .25s ease;
}

.program-compact-card:hover .day-dj {
    box-shadow: 
        0 0 16px rgba(158,0,255,0.7),
        0 0 22px rgba(0,230,91,0.4);
    transform: scale(1.05);
}

.day-title {
    color: var(--r538-white);
    font-size: 0.95rem;
    opacity: 0.85;
}
/* ==============================
   DJ GRID
   ============================== */
.dj-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

/* ==============================
   DJ CARD
   ============================== */
.dj-card {
    background: rgba(20,20,20,0.7);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 20px;
    cursor: pointer;
    transition: .25s ease;
    border: 1px solid rgba(158,0,255,0.25);
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 16px rgba(158,0,255,0.2);
}

.dj-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 0 20px rgba(158,0,255,0.5),
        0 0 30px rgba(0,230,91,0.4);
}

/* ==============================
   DJ FOTO WRAP MET LIVE EFFECT
   ============================== */
.dj-photo-wrap {
    position: relative;
}

.dj-photo {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 14px;
    border: 2px solid rgba(158,0,255,0.4);
    transition: .3s ease;
    box-shadow: 0 0 15px rgba(158,0,255,0.4);
}

.dj-card:hover .dj-photo {
    filter: brightness(1.08);
}

/* ==============================
   LIVE BADGE
   ============================== */
.dj-live-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: var(--r538-green);
    color: #000;
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 800;
    border-radius: 6px;
    box-shadow: 0 0 12px rgba(0,230,91,0.9);
    animation: djLivePulse 1.4s infinite ease-in-out;
}

@keyframes djLivePulse {
    0% { box-shadow: 0 0 16px rgba(0,230,91,1); }
    50% { box-shadow: 0 0 4px rgba(0,230,91,0.5); }
    100% { box-shadow: 0 0 16px rgba(0,230,91,1); }
}

/* ==============================
   DJ TITEL + TEKST
   ============================== */
.dj-card h3 {
    margin-top: 12px;
    font-size: 1.3rem;
    color: var(--r538-purple);
    text-shadow: 0 0 10px rgba(158,0,255,0.5);
}

.dj-mini {
    color: var(--r538-muted);
    margin-bottom: 15px;
}

/* ==============================
   BEKIJK BUTTON
   ============================== */
.dj-btn {
    width: 100%;
    background: var(--r538-purple);
    border: none;
    color: white;
    padding: 12px 0;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    transition: .25s ease;
}

.dj-btn:hover {
    background: var(--r538-green);
    color: #000;
    box-shadow: 0 0 15px rgba(0,230,91,0.6);
}
/* ==============================
   AUDIO WAVE ANIMATIE
   ============================== */
.audio-waves {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: flex-end;
    gap: 3px;
}

.audio-waves div,
.audio-waves.on::before,
.audio-waves.on::after {
    content:"";
    width: 4px;
    height: 8px;
    background: var(--r538-green);
    animation: waveBounce .6s infinite ease-in-out;
}

@keyframes waveBounce {
    0% { height: 8px; }
    50% { height: 22px; }
    100% { height: 8px; }
}
/* ==============================
   POPUP OVERLAY
   ============================== */
.dj-popup {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    backdrop-filter: blur(4px);
}

/* ==============================
   POPUP BOX
   ============================== */
.dj-popup-box {
    background: #131313;
    border: 2px solid rgba(158,0,255,0.4);
    border-radius: 18px;
    padding: 25px;
    width: 420px;
    max-width: 90%;
    text-align: center;
    box-shadow: 
        0 0 25px rgba(158,0,255,0.4),
        0 0 40px rgba(0,230,91,0.25);
    animation: popupFade .3s ease;
}

@keyframes popupFade {
    from { transform: scale(0.8); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

/* ==============================
   CLOSE BUTTON
   ============================== */
.dj-popup-close {
    float: right;
    cursor: pointer;
    font-size: 1.3rem;
    color: var(--r538-muted);
    transition: .25s ease;
}
.dj-popup-close:hover {
    color: var(--r538-white);
}

/* ==============================
   POPUP CONTENT
   ============================== */
#popup-photo {
    width: 180px;
    height: 180px;
    border-radius: 14px;
    object-fit: cover;
    border: 2px solid rgba(158,0,255,0.4);
    margin-bottom: 12px;
}

#popup-name {
    font-size: 1.7rem;
    color: var(--r538-purple);
    text-shadow: 0 0 10px rgba(158,0,255,0.5);
}

#popup-bio {
    color: var(--r538-muted);
    margin-bottom: 20px;
    padding: 0 10px;
}

/* ==============================
   PLAYER
   ============================== */
.dj-player {
    margin-bottom: 20px;
}

.player-btn {
    background: var(--r538-purple);
    color: white;
    padding: 10px 25px;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: .25s;
}

.player-btn:hover {
    background: var(--r538-green);
    color: #000;
}

/* volume slider */
#popup-volume {
    width: 80%;
    margin-top: 10px;
}

/* ==============================
   NOW PLAYING BOX
   ============================== */
.now-playing-box {
    background: #1a1a1a;
    padding: 15px;
    border-radius: 14px;
    border: 1px solid rgba(158,0,255,0.3);
    margin-top: 15px;
    box-shadow: inset 0 0 15px rgba(158,0,255,0.15);
}

#np-title {
    color: var(--r538-white);
}
