@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes floatAcross {
    0% { 
        transform: translateY(100vh);
        opacity: 0;
    }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { 
        transform: translateY(-100px);
        opacity: 0;
    }
}

.floating-emoji {
    position: fixed;
    font-size: 2rem;
    animation: floatAcross 15s infinite linear;
    z-index: 1;
}

.tutorial-card {
    background: rgba(88, 28, 135, 0.3);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(168, 85, 247, 0.5);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.tutorial-card:hover {
    transform: translateY(-5px);
    border-color: rgba(236, 72, 153, 0.8);
    box-shadow: 0 20px 40px rgba(168, 85, 247, 0.3);
}

.vibe-slider::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    cursor: pointer;
    transition: all 0.2s;
}

.vibe-slider::-webkit-slider-thumb:hover {
    transform: scale(1.3);
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.8);
}

.vibe-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.vibe-slider::-moz-range-thumb:hover {
    transform: scale(1.3);
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.8);
}

@keyframes confetti {
    0% { 
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% { 
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

.confetti-burst {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

.confetti-burst::before,
.confetti-burst::after {
    content: '🎉';
    position: absolute;
    font-size: 2rem;
    animation: confetti 3s ease-out;
}

.confetti-burst::before {
    left: 20%;
    animation-delay: 0s;
}

.confetti-burst::after {
    left: 80%;
    animation-delay: 0.3s;
}

@media (max-width: 768px) {
    .floating-emoji {
        font-size: 1.5rem;
    }
    
    .tutorial-card {
        padding: 1.5rem;
    }
}

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

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

::-webkit-scrollbar-track {
    background: rgba(88, 28, 135, 0.3);
}

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

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