/* Custom styles for the phonograph simulator */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600&family=Cinzel+Decorative:wght@700&display=swap');

/* Cylinder rotation animation */
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-20px); }
}

/* Custom slider styles */
.slider::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(45deg, #B8860B, #DAA520);
    border: 2px solid #8B4513;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(45deg, #B8860B, #DAA520);
    border: 2px solid #8B4513;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Vintage paper texture overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 25%, #8B4513 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, #8B4513 0%, transparent 50%);
    background-size: 100px 100px;
    opacity: 0.03;
    pointer-events: none;
    z-index: -1;
}

/* Vintage button effects */
button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Antique border decoration */
.border-decorative {
    border-image: linear-gradient(45deg, #8B4513, #DAA520, #8B4513) 1;
}

/* Pulsing glow effect for active elements */
.glow {
    box-shadow: 0 0 20px rgba(218, 165, 32, 0.5);
}

/* Vintage text shadows */
h1, h2, h3 {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

/* Scroll bar styling for track list */
.overflow-y-auto::-webkit-scrollbar {
    width: 8px;
}

.overflow-y-auto::-webkit-scrollbar-track {
    background: #F5F5DC;
    border-radius: 4px;
}

.overflow-y-auto::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #B8860B, #DAA520);
    border-radius: 4px;
}

.overflow-y-auto::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #8B4513, #B8860B);
}

/* Floating particle animation */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-10px) rotate(120deg); }
    66% { transform: translateY(10px) rotate(240deg); }
}

/* Vintage patina effect */
.patina {
    background: linear-gradient(45deg, 
        rgba(139, 69, 19, 0.1) 0%,
        rgba(184, 134, 11, 0.1) 25%,
        rgba(218, 165, 32, 0.1) 50%,
        rgba(184, 134, 11, 0.1) 75%,
        rgba(139, 69, 19, 0.1) 100%
    );
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .grid-cols-3 {
        gap: 1rem;
    }
    
    h1 {
        font-size: 2rem !important;
    }
    
    .w-80 {
        width: 100% !important;
        max-width: 300px;
    }
}

/* Canvas border glow */
canvas {
    filter: drop-shadow(0 0 10px rgba(218, 165, 32, 0.3));
}

/* File upload hover effect */
.cursor-pointer:hover {
    background: linear-gradient(135deg, rgba(245, 245, 220, 0.8), rgba(255, 248, 220, 0.9));
}