/* ==========================================================================
   HERO SECTION STYLES (Radio 10 Layout - Pop-out DJ Effect)
   ========================================================================== */
.hero-section {
    width: 100%;
    background: linear-gradient(135deg, var(--purple-main, #1a0b36) 0%, #060e28 100%);
    color: #ffffff;
    padding: 2.5rem 1.5rem;
    border-bottom: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

/* --- LINKERKOLOM: DJ AVATAR & CIRKEL --- */
.hero-dj-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

/* De totale avatar-container */
.hero-dj-avatar {
    position: relative;
    width: 260px;
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-nu-live {
    position: absolute;
    top: -5px;
    left: 0;
    background-color: var(--xfm-red, #ff0033);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 14px;
    border-radius: 20px;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Het ClassicX Logo op de achtergrond */
.avatar-logo-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 210px;
    height: auto;
    z-index: 1; /* Achter de DJ */
    opacity: 0.9; /* Eventueel iets transparanter maken voor een mooi diepte-effect */
    filter: drop-shadow(0px 8px 20px rgba(0, 0, 0, 0.4));
}

/* De DJ Foto op de voorgrond (steekt aan de bovenkant boven de cirkel uit) */
.dj-image {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    width: 240px;
    height: auto;
    max-height: 270px;
    object-fit: contain;
    border-radius: 0 !important;
    filter: drop-shadow(0px 10px 15px rgba(0, 0, 0, 0.5));
}

.hero-action-bar {
    display: flex;
    gap: 1.2rem;
    margin-top: 1.rem;
    z-index: 3;
}

.hero-action-btn {
    background: transparent;
    border: none;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    cursor: pointer;
    font-size: 0.7rem;
    font-weight: 600;
    opacity: 0.85;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.hero-action-btn:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.hero-action-btn .icon {
    width: 20px;
    height: 20px;
}

/* --- RECHTERKOLOM: SHOW INFO & PLAYER --- */
.hero-info-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 550px;
}

/* Programma Titel Balken */
.hero-show-header {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.hero-play-circle {
    width: 65px;
    height: 65px;
    min-width: 65px;
    border-radius: 50%;
    background-color: var(--xfm-red, #ff0033);
    border: none;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(230, 0, 0, 0.4);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.hero-play-circle:hover {
    transform: scale(1.06);
    background-color: #cc0000;
}

.hero-play-circle .play-icon {
    width: 32px;
    height: 32px;
    margin-left: 3px;
}

.hero-show-titles {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
}

.show-title-pill {
    background: #ffffff;
    color: #0d0f17;
    font-size: 1.3rem;
    font-weight: 900;
    font-style: italic;
    padding: 0.35rem 1.2rem;
    border-radius: 30px;
    letter-spacing: -0.5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.show-subtitle-pill {
    background: rgba(0, 0, 0, 0.4);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    font-style: italic;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

/* Nu Afgespeeld Kaders */
.hero-now-playing-box {
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    padding: 0.75rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(8px);
}

.now-label {
    font-size: 0.85rem;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
}

.now-playing-art {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.2rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.now-playing-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.now-playing-meta {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.now-playing-meta .track-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.now-playing-meta .track-artist {
    font-size: 0.85rem;
    color: var(--text-muted, #a0aec0);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Afgespeelde Nummers Knop */
.hero-history-action {
    display: flex;
    justify-content: flex-end;
}

.btn-history-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    padding: 0.4rem 1.1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    font-style: italic;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-history-pill:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-history-pill .arrow {
    width: 16px;
    height: 16px;
}

/* Responsiviteit */
@media (max-width: 900px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .hero-info-wrapper {
        align-items: center;
        width: 100%;
    }

    .hero-show-header {
        flex-direction: column;
    }

    .hero-show-titles {
        align-items: center;
    }

    .hero-now-playing-box {
        width: 100%;
        justify-content: flex-start;
        box-sizing: border-box;
    }

    .hero-history-action {
        justify-content: center;
        width: 100%;
    }
}