/* Vintage Radio Styling */
.vintage-font {
    font-family: 'Georgia', serif;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.vintage-body {
    box-shadow: 
        inset 0 2px 4px rgba(255,255,255,0.8),
        inset 0 -2px 4px rgba(0,0,0,0.3),
        0 8px 16px rgba(0,0,0,0.2);
    position: relative;
}

.vintage-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 48%, rgba(255,255,255,0.1) 50%, transparent 52%);
    pointer-events: none;
    border-radius: inherit;
}

.speaker-grille {
    box-shadow: 
        inset 0 2px 8px rgba(0,0,0,0.8),
        0 2px 4px rgba(255,255,255,0.3);
}

.cassette-window {
    box-shadow: 
        inset 0 2px 8px rgba(0,0,0,0.9),
        0 1px 2px rgba(255,255,255,0.5);
    border: 2px solid #4a4a4a;
}

.vintage-button {
    box-shadow: 
        0 4px 8px rgba(0,0,0,0.3),
        inset 0 1px 2px rgba(255,255,255,0.3),
        inset 0 -1px 2px rgba(0,0,0,0.3);
    transition: all 0.2s ease;
}

.vintage-button:active {
    transform: translateY(2px);
    box-shadow: 
        0 2px 4px rgba(0,0,0,0.3),
        inset 0 1px 2px rgba(255,255,255,0.2),
        inset 0 -1px 2px rgba(0,0,0,0.4);
}

.vintage-slider {
    appearance: none;
    height: 8px;
    border-radius: 4px;
    background: linear-gradient(to right, #92400e, #d97706);
    outline: none;
    box-shadow: 
        inset 0 2px 4px rgba(0,0,0,0.3),
        0 1px 2px rgba(255,255,255,0.5);
}

.vintage-slider::-webkit-slider-thumb {
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(45deg, #fbbf24, #f59e0b);
    cursor: pointer;
    border: 2px solid #92400e;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.vintage-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(45deg, #fbbf24, #f59e0b);
    cursor: pointer;
    border: 2px solid #92400e;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.control-panel {
    border: 3px solid #92400e;
    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.2);
}

/* Pulse animation for recording */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.animate-pulse {
    animation: pulse 1s infinite;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .speaker-grille .grid {
        grid-template-columns: repeat(8, minmax(0, 1fr));
    }
    
    .vintage-button {
        min-width: 48px;
        min-height: 48px;
    }
    
    .vintage-slider {
        width: 100px;
    }
}

/* Additional retro styling */
body {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    font-family: 'Georgia', serif;
}

audio {
    filter: sepia(20%) saturate(120%);
}

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

input[type="text"]:focus {
    box-shadow: 
        inset 0 2px 4px rgba(0,0,0,0.1),
        0 0 0 2px rgba(245, 158, 11, 0.5);
}