/* Custom retro styling */
.chrome-text {
    background: linear-gradient(145deg, #ffffff, #c0c0c0, #ffffff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Walkman styling */
.walkman-shadow {
    box-shadow: 
        0 0 50px rgba(0, 0, 0, 0.8),
        inset 0 0 20px rgba(255, 255, 255, 0.1),
        inset 0 -10px 20px rgba(0, 0, 0, 0.3);
}

/* Button hover effects */
button:hover {
    transform: translateY(-2px);
    transition: all 0.2s ease;
}

/* Cassette animation */
@keyframes cassette-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.cassette-spinning {
    animation: cassette-spin 3s linear infinite;
}

/* VU Meter effect for progress bars */
.progress-bar {
    background: linear-gradient(90deg, #10b981 0%, #f59e0b 70%, #ef4444 100%);
    transition: width 0.3s ease;
}

/* LED glow effect */
.led-glow {
    text-shadow: 0 0 10px currentColor;
    animation: led-pulse 2s ease-in-out infinite alternate;
}

@keyframes led-pulse {
    from { opacity: 0.7; }
    to { opacity: 1; }
}

/* Retro glass effect */
.retro-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb {
    background: rgba(234, 88, 12, 0.7);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(234, 88, 12, 0.9);
}

/* File input styling */
input[type="file"] {
    opacity: 0;
    position: absolute;
    z-index: -1;
}

/* Cassette label styling */
.cassette-label {
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Retro border effect */
.retro-border {
    border-image: linear-gradient(45deg, #c0c0c0, #ffffff, #c0c0c0) 1;
}

/* Glitch effect for title */
@keyframes glitch {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}

.chrome-text:hover {
    animation: glitch 0.3s ease-in-out;
}

/* Responsive design improvements */
@media (max-width: 768px) {
    .chrome-text {
        font-size: 2.5rem;
    }
    
    nav {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    nav button {
        flex: 1;
        min-width: 120px;
        font-size: 0.875rem;
        padding: 0.75rem 1rem;
    }
}