/* Persistent Player - Fixed at bottom */
.player-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--blue);
    padding: 1rem 2rem;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.player-bar-inner {
    max-width: 1920px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.player-label {
    font-family: 'Cinzel', serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: var(--red);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.play-button {
    width: 50px;
    height: 50px;
    background: var(--red);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    flex-shrink: 0;
}

.play-button:hover {
    background: var(--white);
}

.play-button:hover svg {
    fill: var(--red);
}

.play-button svg {
    width: 24px;
    height: 24px;
    fill: var(--white);
    transition: fill 0.2s ease;
}

.play-button .pause-icon {
    display: none;
}

.play-button.playing .play-icon {
    display: none;
}

.play-button.playing .pause-icon {
    display: block;
}

.player-info {
    flex: 1;
    min-width: 0;
}

.now-playing {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
}

.track-title {
    font-size: 0.85rem;
    color: var(--white);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.volume-control svg {
    width: 20px;
    height: 20px;
    fill: var(--white);
}

.volume-slider {
    -webkit-appearance: none;
    width: 80px;
    height: 4px;
    background: var(--black);
    outline: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    background: var(--red);
    cursor: pointer;
}

.volume-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    background: var(--red);
    cursor: pointer;
    border: none;
}

/* Add padding to body so content doesn't hide behind player */
body {
    padding-bottom: 80px;
}

@media (max-width: 768px) {
    .player-bar {
        padding: 0.75rem 1rem;
    }
    
    .player-bar-inner {
        gap: 1rem;
    }
    
    .player-label {
        display: none;
    }
    
    .volume-control {
        display: none;
    }
}
