/* Custom styles for retro Sony Hi-Fi aesthetic */

.slider {
    background: linear-gradient(to right, #374151 0%, #374151 50%, #6b7280 50%, #6b7280 100%);
    outline: none;
    transition: all 0.3s;
}

.slider::-webkit-slider-thumb {
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 2px;
    background: linear-gradient(to bottom, #e5e7eb, #9ca3af);
    border: 1px solid #4b5563;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 2px;
    background: linear-gradient(to bottom, #e5e7eb, #9ca3af);
    border: 1px solid #4b5563;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.slider-vertical {
    writing-mode: bt-lr; /* IE */
    -webkit-appearance: slider-vertical; /* WebKit */
    width: 8px;
    height: 80px;
    outline: none;
}

@keyframes led-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

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

/* LCD Display styling */
.lcd-display {
    background: linear-gradient(to bottom, #001a00, #003300);
    color: #00ff00;
    text-shadow: 0 0 5px #00ff00;
    font-family: 'Courier New', monospace;
    letter-spacing: 0.1em;
}

/* Metal button styling */
.metal-button {
    background: linear-gradient(135deg, #f3f4f6 0%, #d1d5db 50%, #9ca3af 100%);
    border: 1px solid #6b7280;
    box-shadow: 
        inset 1px 1px 0 rgba(255,255,255,0.5),
        inset -1px -1px 0 rgba(0,0,0,0.3),
        0 2px 4px rgba(0,0,0,0.2);
    text-shadow: 1px 1px 0 rgba(255,255,255,0.8);
}

.metal-button:active {
    background: linear-gradient(135deg, #9ca3af 0%, #d1d5db 50%, #f3f4f6 100%);
    box-shadow: 
        inset -1px -1px 0 rgba(255,255,255,0.5),
        inset 1px 1px 0 rgba(0,0,0,0.3),
        0 1px 2px rgba(0,0,0,0.2);
    transform: translateY(1px);
}

/* VU Meter styling */
.vu-meter {
    background: #1f2937;
    border: 1px solid #374151;
    border-radius: 2px;
}

.vu-bar {
    transition: background-color 0.1s ease;
}

/* Sony logo styling */
.sony-logo {
    font-family: 'Arial Black', sans-serif;
    font-weight: 900;
    letter-spacing: 0.2em;
    text-shadow: 
        1px 1px 0 rgba(255,255,255,0.8),
        2px 2px 0 rgba(0,0,0,0.3);
}

/* Spinner animation for turntable */
@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.animate-spin-slow {
    animation: spin-slow 3s linear infinite;
}

/* Panel styling */
.hi-fi-panel {
    background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 30%, #9ca3af 100%);
    border: 2px solid #6b7280;
    box-shadow: 
        inset 2px 2px 4px rgba(255,255,255,0.5),
        inset -2px -2px 4px rgba(0,0,0,0.3),
        0 4px 8px rgba(0,0,0,0.2);
}

/* Digital display glow effect */
.digital-glow {
    color: #00ff00;
    text-shadow: 
        0 0 5px #00ff00,
        0 0 10px #00ff00,
        0 0 15px #00ff00;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .slider-vertical {
        height: 60px;
    }
    
    .hi-fi-panel {
        padding: 1rem;
    }
}

@media (max-width: 640px) {
    .sony-logo {
        font-size: 1.25rem;
    }
    
    .slider-vertical {
        height: 40px;
    }
}