/* Radio Player Styles */

.radio-player-section {
    background: #f8f9fa;
    padding: 2.5rem 0;
    position: relative;
}

.radio-player-container {
    position: relative;
    z-index: 1;
}

.radio-player-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
    border: 3px solid transparent;
    background-image: linear-gradient(white, white), 
                      linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    transition: all 0.3s;
}

.radio-player-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(102, 126, 234, 0.3);
}

.radio-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.radio-logo {
    width: 80px;
    height: 80px;
    min-width: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.radio-logo::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.radio-logo i {
    font-size: 2.5rem;
    color: white;
    position: relative;
    z-index: 1;
}

.radio-info-header {
    flex: 1;
    text-align: left;
}

.radio-name {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.25rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.radio-tagline {
    font-size: 0.9rem;
    color: #718096;
    margin: 0;
}

.radio-status {
    font-size: 0.85rem;
    color: #718096;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.radio-controls {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 1.5rem;
}

.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #48bb78;
    animation: pulse 2s infinite;
}

.status-indicator.playing {
    background: #48bb78;
}

.status-indicator.stopped {
    background: #cbd5e0;
    animation: none;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.play-button {
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.play-button:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.6);
}

.play-button:active {
    transform: scale(0.95);
}

.play-button i {
    transition: all 0.3s;
    margin-left: 2px;
}

.play-button .bi-pause-fill {
    margin-left: 0;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.volume-icon {
    color: #667eea;
    font-size: 1.5rem;
}

.volume-slider {
    flex: 1;
    height: 6px;
    border-radius: 3px;
    background: #e2e8f0;
    outline: none;
    -webkit-appearance: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
}

.volume-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
}

.volume-value {
    min-width: 40px;
    text-align: right;
    font-weight: 600;
    color: #667eea;
}

.audio-visualizer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    height: 30px;
    flex: 1;
}

.visualizer-bar {
    width: 4px;
    background: linear-gradient(to top, #667eea, #764ba2);
    border-radius: 2px;
    animation: visualize 0.8s ease-in-out infinite;
}

.visualizer-bar:nth-child(1) { animation-delay: 0s; height: 20px; }
.visualizer-bar:nth-child(2) { animation-delay: 0.1s; height: 15px; }
.visualizer-bar:nth-child(3) { animation-delay: 0.2s; height: 25px; }
.visualizer-bar:nth-child(4) { animation-delay: 0.3s; height: 18px; }
.visualizer-bar:nth-child(5) { animation-delay: 0.4s; height: 22px; }
.visualizer-bar:nth-child(6) { animation-delay: 0.5s; height: 16px; }
.visualizer-bar:nth-child(7) { animation-delay: 0.6s; height: 24px; }

@keyframes visualize {
    0%, 100% { transform: scaleY(0.5); opacity: 0.5; }
    50% { transform: scaleY(1); opacity: 1; }
}

.audio-visualizer.stopped .visualizer-bar {
    animation: none;
    height: 8px !important;
    opacity: 0.3;
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
}

.section-title h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.section-title p {
    font-size: 1rem;
    color: #718096;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .radio-player-section {
        padding: 2rem 0;
    }
    
    .radio-player-card {
        padding: 1.5rem;
    }
    
    .radio-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .radio-info-header {
        text-align: center;
    }
    
    .radio-logo {
        width: 70px;
        height: 70px;
        min-width: 70px;
    }
    
    .radio-logo i {
        font-size: 2rem;
    }
    
    .radio-name {
        font-size: 1.5rem;
    }
    
    .radio-controls {
        flex-direction: column;
        gap: 1rem;
    }
    
    .audio-visualizer {
        order: -1;
    }
    
    .play-button {
        width: 55px;
        height: 55px;
        min-width: 55px;
        font-size: 1.25rem;
    }
    
    .volume-control {
        width: 100%;
    }
    
    .section-title h2 {
        font-size: 1.5rem;
    }
    
    .section-title {
        margin-bottom: 1.5rem;
    }
}
