/* Custom iPod styling */
@import url('https://fonts.googleapis.com/css2?family=Courier+Prime:wght@400;700&display=swap');

body {
    font-family: 'Courier Prime', monospace;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* Click wheel styling */
.click-wheel {
    background: radial-gradient(circle, #f8f9fa 30%, #e9ecef 100%);
    box-shadow: 
        inset 0 0 20px rgba(0, 0, 0, 0.1),
        0 8px 16px rgba(0, 0, 0, 0.2);
}

.click-wheel:active {
    box-shadow: 
        inset 0 0 25px rgba(0, 0, 0, 0.2),
        0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Screen glow effect */
.ipod-screen {
    box-shadow: 
        inset 0 0 20px rgba(59, 130, 246, 0.3),
        0 0 30px rgba(59, 130, 246, 0.1);
}

/* Button press animations */
button:active {
    transform: scale(0.95);
}

/* Equalizer animation */
@keyframes eq-bounce {
    0%, 100% { height: 4px; }
    50% { height: 16px; }
}

.equalizer-bar {
    animation: eq-bounce 0.5s ease-in-out infinite;
}

/* iPod metallic finish */
.ipod-body {
    background: linear-gradient(135deg, #f1f3f4 0%, #e8eaed 50%, #dadce0 100%);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

/* Menu selection highlight */
.menu-item-selected {
    background: linear-gradient(90deg, #2563eb, #3b82f6);
    box-shadow: 0 2px 4px rgba(37, 99, 235, 0.3);
}

/* Hold switch styling */
.hold-switch {
    background: linear-gradient(90deg, #dc2626, #ef4444);
    box-shadow: 0 2px 4px rgba(220, 38, 38, 0.3);
}

/* Progress bar animation */
@keyframes progress-pulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

.progress-bar {
    animation: progress-pulse 2s ease-in-out infinite;
}

/* Screen scanlines effect */
.screen-scanlines::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(255, 255, 255, 0.03) 2px,
        rgba(255, 255, 255, 0.03) 4px
    );
    pointer-events: none;
}

/* Disable text selection on wheel */
.click-wheel * {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* Smooth transitions */
* {
    transition: all 0.2s ease;
}

/* Custom scrollbar for overflow content */
::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}