/* Glass morphism effect */
.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Neon text effect */
.neon-text {
    text-shadow: 0 0 10px rgba(139, 92, 246, 0.5),
                 0 0 20px rgba(139, 92, 246, 0.3),
                 0 0 30px rgba(139, 92, 246, 0.2);
}

/* Custom slider */
.slider::-webkit-slider-thumb {
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ec4899, #f59e0b);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(236, 72, 153, 0.5);
}

.slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ec4899, #f59e0b);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(236, 72, 153, 0.5);
    border: none;
}

/* Stat card animation */
.stat-card {
    animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Confetti animation */
.confetti {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 100px;
    animation: confettiPop 3s ease-out forwards;
    pointer-events: none;
    z-index: 9999;
}

@keyframes confettiPop {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.2);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8) translateY(-100px);
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #6B46C1, #3B82F6);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #805AD5, #60A5FA);
}

/* Input focus effects */
input:focus, textarea:focus {
    outline: none;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

/* Button pulse animation */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

button:active {
    animation: pulse 0.3s ease-in-out;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .glass-card {
        border-radius: 16px;
        padding: 1rem !important;
    }
    
    .neon-text {
        font-size: 2rem;
    }
}