/* ===================================
    BC Radio Player
====================================== */

.player-page {
    padding: 60px 0 80px 0;
}

.radio-player {
    text-align: center;
}

    .radio-player-title {
        font-size: 42px;
        letter-spacing: 1px;
        margin: 0;
    }

    .radio-player-subtitle {
        color: var(--main-off-white);
        margin: 8px 0 30px 0;
    }

.radio-player-panel {
    display: flex;
    align-items: center;
    gap: 40px;
    background-color: var(--main-blue);
    border-radius: 16px;
    padding: 30px;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.album-art {
    flex: 0 0 auto;
    width: 180px;
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--light-blue);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

    .album-art img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.now-playing {
    flex: 1 1 auto;
    min-width: 0;
    color: var(--main-white);
}

    .now-playing-label {
        display: flex;
        align-items: center;
        gap: 8px;
        font-family: var(--secondary-font);
        font-size: 13px;
        letter-spacing: 2px;
    }

        .now-playing-label .live-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background-color: var(--main-gray);
        }

        .radio-player-panel.is-playing .now-playing-label .live-dot {
            background-color: var(--main-gold);
            animation: live-dot-pulse 1.5s ease-in-out infinite;
        }

    .now-playing-track {
        font-size: 22px;
        font-weight: 700;
        margin-top: 6px;
        overflow-wrap: anywhere;
    }

    .now-playing-artist {
        font-size: 15px;
        color: var(--main-off-white);
        margin-top: 2px;
        overflow-wrap: anywhere;
    }

.player-controls {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.play-pause-btn {
    flex: 0 0 auto;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none !important;
    background-color: var(--main-red);
    color: var(--main-white) !important;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

    .play-pause-btn:hover {
        background-color: var(--dark-red);
    }

    .play-pause-btn .fa-pause {
        /* pause icon optically sits a hair left of center by default */
        margin-left: -1px;
    }

    .play-pause-btn .fa-play {
        margin-left: 3px;
    }

.volume-control {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--main-off-white);
    max-width: 220px;
}

    .volume-control input[type="range"] {
        width: 140px;
        accent-color: var(--main-gold);
    }

.player-status {
    min-height: 20px;
    margin-top: 12px;
    font-size: 13px;
    color: var(--main-gold);
}

    .player-status:empty {
        margin-top: 0;
    }

/* Recently Played */

.recently-played {
    margin-top: 50px;
}

    .recently-played-title {
        font-size: 26px;
        text-align: center;
        margin-bottom: 20px;
    }

.recently-played-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.recently-played-empty {
    text-align: center;
    color: var(--main-off-white);
}

.recently-played-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 14px;
    background-color: var(--main-off-white);
    color: var(--main-black) !important;
    border-radius: 8px;
}

    .recently-played-row:nth-child(odd) {
        background-color: var(--main-beige);
    }

    .recently-played-row .album-art {
        width: 44px;
        height: 44px;
        border-radius: 6px;
        flex: 0 0 auto;
    }

    .recently-played-row .recently-played-track-meta {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .recently-played-row .track-info {
        font-weight: 600;
    }

    .recently-played-row .artist-name {
        color: var(--main-blue) !important;
        font-size: 14px;
    }

@keyframes live-dot-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.25; }
}

@media (max-width: 575px) {
    .radio-player-panel {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .now-playing-label {
        justify-content: center;
    }

    .player-controls {
        justify-content: center;
        flex-wrap: wrap;
    }
}
