/* QuickTime 5 Nostalgia Styles */

.control-btn {
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 50%, #d0d0d0 100%);
    border: 1px solid #bbb;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1), inset 0 1px 0 rgba(255,255,255,0.8);
    transition: all 0.1s ease;
}

.control-btn:hover {
    background: linear-gradient(135deg, #f5f5f5 0%, #e5e5e5 50%, #d5d5d5 100%);
    box-shadow: 0 2px 6px rgba(0,0,0,0.15), inset 0 1px 0 rgba(255,255,255,0.9);
}

.control-btn:active {
    background: linear-gradient(135deg, #d0d0d0 0%, #c0c0c0 50%, #b0b0b0 100%);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
    transform: translateY(1px);
}

/* Volume Slider Styling */
.volume-slider {
    -webkit-appearance: none;
    appearance: none;
    background: linear-gradient(90deg, #bbb 0%, #ddd 100%);
    border: 1px solid #999;
    border-radius: 3px;
    box-shadow: inset 1px 1px 2px rgba(0,0,0,0.2);
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f0f0f0 0%, #d0d0d0 100%);
    border: 1px solid #999;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
    cursor: pointer;
}

.volume-slider::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f0f0f0 0%, #d0d0d0 100%);
    border: 1px solid #999;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
    cursor: pointer;
}

/* Brushed Metal Effect */
.quicktime-player {
    position: relative;
}

.quicktime-player::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(90deg, transparent 0px, rgba(255,255,255,0.1) 1px, transparent 1px),
        linear-gradient(0deg, transparent 0px, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 3px 3px;
    pointer-events: none;
    border-radius: 8px;
    opacity: 0.3;
}

/* Loading animation for play button */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading {
    animation: spin 1s linear infinite;
}

/* Subtle text shadows for that classic Mac look */
h1, h2 {
    text-shadow: 0 1px 2px rgba(255,255,255,0.8);
}

/* Card hover effects */
.bg-white\/70 {
    transition: all 0.2s ease;
}

.bg-white\/70:hover {
    background: rgba(255,255,255,0.8);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

/* Classic Mac scrollbar styling (webkit only) */
::-webkit-scrollbar {
    width: 16px;
}

::-webkit-scrollbar-track {
    background: linear-gradient(90deg, #e8e8e8, #d0d0d0);
    border: 1px solid #bbb;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #f0f0f0, #d0d0d0);
    border: 1px solid #999;
    border-radius: 8px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(90deg, #f5f5f5, #d5d5d5);
}