/* PLAYER FOOTER FIJO */
.radio-player-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to right, #1a237e, #311b92);
    color: white;
    border-top: 3px solid #00e676;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
    z-index: 99999;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.player-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
}

/* Información */
.player-info {
    flex: 1;
    min-width: 200px;
}

.station {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 5px;
}

.station strong {
    font-size: 1.1rem;
}

.status {
    font-size: 0.85rem;
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: 600;
}

.status.live {
    background: rgba(0, 230, 118, 0.2);
    color: #00e676;
}

.status.paused {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

.now-playing {
    font-size: 0.9rem;
    color: #bbdefb;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Controles */
.player-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.control-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.play-btn {
    background: #00e676;
}

.play-btn:hover {
    background: #00c853;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 10px;
}

.volume-slider {
    width: 80px;
    height: 4px;
    -webkit-appearance: none;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    outline: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #00e676;
    cursor: pointer;
}

.volume-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #00e676;
    cursor: pointer;
    border: none;
}

/* Indicador de conexión */
.connection-status {
    margin-left: 15px;
}

.indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.indicator.connected {
    background: #00e676;
    box-shadow: 0 0 8px #00e676;
    animation: pulse 1.5s infinite;
}

.indicator.disconnected {
    background: #ff5252;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
    .radio-player-footer {
        height: 80px;
    }
    
    .player-container {
        flex-direction: column;
        padding: 10px;
        gap: 10px;
    }
    
    .player-info {
        width: 100%;
        text-align: center;
    }
    
    .station {
        justify-content: center;
    }
    
    .player-controls {
        width: 100%;
        justify-content: center;
    }
    
    .connection-status {
        display: none;
    }
}