@keyframes scroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

body {
    font-family: 'Arial', sans-serif;
    background: radial-gradient(ellipse at center, #374151 0%, #1f2937 100%);
    overflow-x: hidden;
}

/* Custom radio button styling */
.radio-button {
    background: linear-gradient(to bottom, #e5e7eb 0%, #d1d5db 50%, #9ca3af 51%, #6b7280 100%);
    border: 2px solid #4b5563;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2),
        0 2px 4px rgba(0, 0, 0, 0.3);
}

.radio-button:hover {
    background: linear-gradient(to bottom, #f3f4f6 0%, #e5e7eb 50%, #d1d5db 51%, #9ca3af 100%);
}

.radio-button:active,
.radio-button.active {
    background: linear-gradient(to bottom, #9ca3af 0%, #6b7280 50%, #4b5563 51%, #374151 100%);
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.3),
        inset 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* LCD screen glow effect */
.lcd-display {
    text-shadow: 0 0 10px #fb923c, 0 0 20px #fb923c, 0 0 30px #fb923c;
}

/* Spectrum analyzer animation */
.spectrum-bar {
    transition: height 0.1s ease-in-out;
    box-shadow: 
        0 0 5px #fb923c,
        0 0 10px #fb923c,
        0 0 15px #fb923c;
}

/* Volume knob styling */
.volume-knob {
    background: radial-gradient(circle at 30% 30%, #f3f4f6, #d1d5db, #9ca3af);
    border: 2px solid #6b7280;
    box-shadow: 
        inset 0 2px 4px rgba(255, 255, 255, 0.5),
        inset 0 -2px 4px rgba(0, 0, 0, 0.2),
        0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Preset button active state */
.preset-active {
    background: linear-gradient(to bottom, #fca5a5 0%, #f87171 50%, #ef4444 51%, #dc2626 100%);
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Search input styling */
input[type="text"], select {
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease-in-out;
}

input[type="text"]:focus, select:focus {
    outline: none;
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.1),
        0 0 0 2px #fb923c;
}

/* Station card hover effects */
.station-card {
    transition: all 0.2s ease-in-out;
}

.station-card:hover {
    transform: translateY(-1px);
    box-shadow: 
        inset 0 1px 2px rgba(255, 255, 255, 0.5),
        0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .radio-controls {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .preset-buttons {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    .station-grid {
        grid-template-columns: 1fr;
    }
}

/* Scan mode animation */
@keyframes scanPulse {
    0%, 100% { background-color: #ef4444; }
    50% { background-color: #dc2626; }
}

.scan-active {
    animation: scanPulse 0.5s infinite;
}