/* Custom radio styling */
.radio-header {
    background: linear-gradient(145deg, #8B4513, #A0522D);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.3);
    color: #F5F5DC;
}

.radio-title {
    font-family: 'Orbitron', monospace;
    font-size: 3rem;
    font-weight: 900;
    color: #B8860B;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.1em;
}

.digital-clock {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    color: #FFC000;
    background: #2D1810;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 2px solid #B8860B;
    display: inline-block;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.5);
}

.on-air-light {
    width: 20px;
    height: 20px;
    background: #DC143C;
    border-radius: 50%;
    box-shadow: 0 0 20px #DC143C;
}

.radio-container {
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(145deg, #654321, #8B4513);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(139, 69, 19, 0.4);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.radio-display {
    background: linear-gradient(145deg, #2D1810, #1A0F08);
    padding: 1.5rem;
    border-radius: 12px;
    border: 3px solid #B8860B;
    box-shadow: inset 0 4px 15px rgba(0, 0, 0, 0.6);
}

.station-info {
    text-align: center;
    margin-bottom: 1rem;
}

.tuning-dial {
    width: 120px;
    height: 120px;
    border: 4px solid #B8860B;
    border-radius: 50%;
    background: radial-gradient(circle, #654321, #8B4513);
    margin: 0 auto;
    position: relative;
    box-shadow: 0 6px 20px rgba(184, 134, 11, 0.3);
}

.dial-needle {
    position: absolute;
    top: 10px;
    left: 50%;
    width: 2px;
    height: 40px;
    background: #FFC000;
    transform: translateX(-50%) rotate(45deg);
    transform-origin: bottom center;
    box-shadow: 0 0 10px #FFC000;
}

.weather-panel {
    background: linear-gradient(145deg, #F5F5DC, #F0E68C);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid #B8860B;
    box-shadow: 0 6px 20px rgba(184, 134, 11, 0.2);
}

.current-weather {
    background: rgba(255, 255, 255, 0.8);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.forecast-carousel {
    margin-top: 1rem;
}

.forecast-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 0.75rem;
    border-radius: 8px;
    min-width: 80px;
    text-align: center;
    border: 1px solid #B8860B;
    flex-shrink: 0;
}

.audio-controls {
    grid-column: span 2;
    background: linear-gradient(145deg, #2D1810, #1A0F08);
    padding: 1.5rem;
    border-radius: 12px;
    border: 3px solid #B8860B;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    justify-content: center;
}

.play-button {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(145deg, #B8860B, #DAA520);
    border: none;
    font-size: 2rem;
    color: #2D1810;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(184, 134, 11, 0.4);
    transition: all 0.3s ease;
}

.play-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(184, 134, 11, 0.6);
}

.play-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.volume-control {
    text-align: center;
}

.volume-slider {
    width: 100px;
    height: 6px;
    border-radius: 3px;
    background: #654321;
    outline: none;
    cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #B8860B;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(184, 134, 11, 0.5);
}

.audio-visualizer {
    display: flex;
    align-items: end;
    gap: 3px;
    height: 60px;
}

.visualizer-bar {
    width: 4px;
    background: linear-gradient(to top, #B8860B, #FFC000);
    border-radius: 2px;
    transition: height 0.2s ease;
    min-height: 2px;
}

.news-panel {
    grid-column: span 2;
    background: linear-gradient(145deg, #F5F5DC, #F0E68C);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid #B8860B;
}

.news-content {
    background: rgba(255, 255, 255, 0.9);
    padding: 1rem;
    border-radius: 8px;
    line-height: 1.6;
    color: #654321;
    font-family: 'Source Sans Pro', sans-serif;
    margin-bottom: 1rem;
}

.settings-panel {
    max-width: 900px;
    margin: 2rem auto 0;
    background: linear-gradient(145deg, #F5F5DC, #F0E68C);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid #B8860B;
}

.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.settings-label {
    display: block;
    font-weight: 600;
    color: #654321;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.settings-input {
    width: 100%;
    padding: 0.5rem;
    border: 2px solid #B8860B;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.9);
    color: #654321;
    font-family: 'Source Sans Pro', sans-serif;
}

.btn-secondary {
    background: linear-gradient(145deg, #B8860B, #DAA520);
    color: #2D1810;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(184, 134, 11, 0.4);
}

.error-banner {
    max-width: 900px;
    margin: 1rem auto;
    background: linear-gradient(145deg, #DC143C, #B91C1C);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .radio-container {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    
    .radio-title {
        font-size: 2rem;
    }
    
    .audio-controls {
        flex-direction: column;
        gap: 1rem;
    }
    
    .settings-grid {
        grid-template-columns: 1fr;
    }
}

/* Animation keyframes */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}