@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Inter:wght@300;400;600&display=swap');

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #000;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.vintage-player {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    box-shadow: 
        inset 0 1px 0 rgba(255,255,255,0.1),
        0 8px 32px rgba(0,0,0,0.5);
    border: 2px solid #333;
}

.vu-meter {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    border-radius: 8px;
    border: 1px solid #444;
}

.vu-label {
    color: #fbbf24;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.vu-scale {
    display: flex;
    height: 150px;
    align-items: flex-end;
    gap: 2px;
}

.vu-segment {
    width: 8px;
    height: 10px;
    background: #333;
    border-radius: 1px;
    transition: all 0.3s ease;
}

.vu-segment.active.green {
    background: linear-gradient(0deg, #10b981, #34d399);
    box-shadow: 0 0 8px #10b981;
}

.vu-segment.active.yellow {
    background: linear-gradient(0deg, #f59e0b, #fbbf24);
    box-shadow: 0 0 8px #f59e0b;
}

.vu-segment.active.red {
    background: linear-gradient(0deg, #dc2626, #ef4444);
    box-shadow: 0 0 8px #dc2626;
}

.control-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid #444;
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
    color: #fbbf24;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-btn:hover {
    border-color: #fbbf24;
    background: linear-gradient(135deg, #3a3a3a, #2a2a2a);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(251, 191, 36, 0.3);
}

.play-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #3b82f6;
    background: linear-gradient(135deg, #1e40af, #2563eb);
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-btn:hover {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
}

.play-btn.playing {
    background: linear-gradient(135deg, #059669, #10b981);
    border-color: #10b981;
}

.component-card {
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.component-card:hover {
    box-shadow: 0 12px 48px rgba(59, 130, 246, 0.2);
}

.image-container {
    position: relative;
    overflow: hidden;
}

.component-card img {
    transition: opacity 0.3s ease;
}

.fallback-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #374151, #4b5563);
    border: 2px solid #6b7280;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .vu-scale {
        height: 100px;
    }
    
    .vu-segment {
        width: 6px;
        height: 8px;
    }
    
    .control-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .play-btn {
        width: 65px;
        height: 65px;
        font-size: 1.5rem;
    }
}

/* Glowing text animation */
@keyframes glow {
    0%, 100% { text-shadow: 0 0 10px rgba(251, 191, 36, 0.5); }
    50% { text-shadow: 0 0 20px rgba(251, 191, 36, 0.8); }
}

.text-amber-300 {
    animation: glow 3s ease-in-out infinite;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #374151, #4b5563);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #4b5563, #6b7280);
}