/* Custom styles for enhanced visual effects */

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

body {
    font-family: 'Inter', sans-serif;
    background-attachment: fixed;
}

/* Custom slider styling */
.slider-thumb::-webkit-slider-thumb {
    appearance: none;
    height: 24px;
    width: 24px;
    border-radius: 50%;
    background: linear-gradient(45deg, #8b5cf6, #ec4899);
    cursor: pointer;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.6);
    border: 2px solid white;
    transition: all 0.3s ease;
}

.slider-thumb::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.8);
}

.slider-thumb::-moz-range-thumb {
    height: 24px;
    width: 24px;
    border-radius: 50%;
    background: linear-gradient(45deg, #8b5cf6, #ec4899);
    cursor: pointer;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.6);
    border: 2px solid white;
    transition: all 0.3s ease;
}

/* Glassmorphism effects */
.backdrop-blur-sm {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.backdrop-blur-md {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

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

::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.3);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #8b5cf6, #ec4899);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #7c3aed, #db2777);
}

/* Enhanced glow effects */
@keyframes glow {
    0% {
        text-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
    }
    100% {
        text-shadow: 0 0 20px rgba(168, 85, 247, 0.8), 0 0 30px rgba(168, 85, 247, 0.6);
    }
}

/* Particle trail effects */
.particle-trail {
    position: absolute;
    pointer-events: none;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.8) 0%, transparent 70%);
    border-radius: 50%;
    animation: particle-fade 0.6s ease-out forwards;
}

@keyframes particle-fade {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0);
    }
}

/* Responsive design enhancements */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    h1 {
        font-size: 3rem !important;
    }
    
    .grid-cols-3 {
        gap: 0.5rem;
    }
    
    .grid-cols-3 div {
        padding: 0.5rem;
    }
}

/* Enhanced hover states */
.group:hover .group-hover\:animate-pulse {
    animation: pulse 1s ease-in-out infinite;
}

/* Custom focus states for accessibility */
button:focus-visible,
input:focus-visible {
    outline: 2px solid #8b5cf6;
    outline-offset: 2px;
}

/* Smooth transitions for all interactive elements */
* {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}