/* Custom Radio Player Styles */
.custom-radio-player {
    margin: 30px auto;
    max-width: 600px;
    padding: 0 20px;
}

.player-container {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.player-header {
    text-align: center;
    margin-bottom: 25px;
}

.station-info h3 {
    color: white;
    font-size: 1.8em;
    margin: 0 0 10px 0;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 16px;
    border-radius: 20px;
    color: white;
    font-weight: 600;
    font-size: 0.9em;
    margin: 0;
    backdrop-filter: blur(10px);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #ff4444;
    border-radius: 50%;
    animation: pulse 1.5s ease-in-out infinite;
    box-shadow: 0 0 10px #ff4444;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.2);
    }
}

.player-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 25px;
}

.play-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: none;
    background: white;
    color: #667eea;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.play-btn:active {
    transform: scale(0.95);
}

.play-btn svg {
    width: 36px;
    height: 36px;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.15);
    padding: 12px 20px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
}

.volume-icon {
    width: 24px;
    height: 24px;
    color: white;
    flex-shrink: 0;
}

.volume-slider {
    width: 120px;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.3);
    outline: none;
    -webkit-appearance: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
}

.volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.volume-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.volume-value {
    color: white;
    font-weight: 600;
    font-size: 0.9em;
    min-width: 40px;
}

.audio-visualizer {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 6px;
    height: 50px;
    padding: 0 10px;
}

.audio-visualizer .bar {
    width: 8px;
    background: white;
    border-radius: 4px;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.audio-visualizer.playing .bar {
    opacity: 1;
}

.audio-visualizer.playing .bar:nth-child(1) {
    animation: visualizer 0.8s ease-in-out infinite;
    animation-delay: 0s;
}

.audio-visualizer.playing .bar:nth-child(2) {
    animation: visualizer 0.8s ease-in-out infinite;
    animation-delay: 0.1s;
}

.audio-visualizer.playing .bar:nth-child(3) {
    animation: visualizer 0.8s ease-in-out infinite;
    animation-delay: 0.2s;
}

.audio-visualizer.playing .bar:nth-child(4) {
    animation: visualizer 0.8s ease-in-out infinite;
    animation-delay: 0.3s;
}

.audio-visualizer.playing .bar:nth-child(5) {
    animation: visualizer 0.8s ease-in-out infinite;
    animation-delay: 0.4s;
}

@keyframes visualizer {

    0%,
    100% {
        height: 15px;
    }

    50% {
        height: 45px;
    }
}

/* Responsive Design */
@media (max-width: 600px) {
    .player-container {
        padding: 20px;
    }

    .station-info h3 {
        font-size: 1.4em;
    }

    .play-btn {
        width: 70px;
        height: 70px;
    }

    .play-btn svg {
        width: 30px;
        height: 30px;
    }

    .volume-slider {
        width: 80px;
    }

    .player-controls {
        gap: 15px;
    }
}