/* --- Continuous Audio Player Styles --- */
.player-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--surface-color, #1c1c24);
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.5);
    box-sizing: border-box;
}

.now-playing {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 30%;
}

.now-playing img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    background: #000;
    padding: 5px;
    object-fit: contain;
}

.track-info h4 {
    font-size: 1rem;
    margin-bottom: 2px;
    color: var(--text-main, #ffffff);
}

.track-info p {
    font-size: 0.8rem;
    color: var(--text-muted, #a0a0a5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 40%;
    justify-content: center;
}

.play-pause-btn {
    background: var(--accent-color, #ff3366);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.2s;
}

.play-pause-btn:hover {
    transform: scale(1.1);
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 30%;
    justify-content: flex-end;
    color: var(--text-muted, #a0a0a5);
}

.volume-slider {
    width: 100px;
    accent-color: var(--accent-color, #ff3366);
}

/* Live Indicator */
.live-indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: red;
    border-radius: 50%;
    margin-left: 8px;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}

/* Responsive Layout for Mobile */
@media (max-width: 768px) {
    .player-bar { 
        flex-direction: column; 
        gap: 15px; 
        padding: 15px; 
    }
    .now-playing, .player-controls, .volume-control { 
        width: 100%; 
        justify-content: center;
        text-align: center;
    }
}
