.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.hover-scale {
    transition: transform 0.3s ease-in-out;
}

.hover-scale:hover {
    transform: scale(1.05);
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.animate-scroll {
    animation: scroll 20s linear infinite;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-100% / 3));
    }
}

.animate-float-left {
    animation: floatLeft 25s linear infinite;
}

@keyframes floatLeft {
    0% {
        transform: translateX(100vw);
    }
    100% {
        transform: translateX(-100%);
    }
}

.glow-effect {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.6), 0 0 40px rgba(59, 130, 246, 0.4);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.6), 0 0 40px rgba(59, 130, 246, 0.4);
    }
    to {
        box-shadow: 0 0 30px rgba(59, 130, 246, 0.8), 0 0 60px rgba(59, 130, 246, 0.6);
    }
}

.confetti-modal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.confetti-modal::before,
.confetti-modal::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57);
    animation: confettiExplosion 3s ease-out forwards;
}

.confetti-modal::before {
    top: 40%;
    left: 30%;
    animation-delay: 0s;
}

.confetti-modal::after {
    top: 35%;
    right: 25%;
    animation-delay: 0.2s;
}

@keyframes confettiExplosion {
    0% {
        opacity: 1;
        transform: scale(1) translateY(0) rotate(0deg);
        box-shadow: 
            0 0 0 #ff6b6b,
            20px 10px 0 #4ecdc4,
            -15px 5px 0 #45b7d1,
            10px -20px 0 #96ceb4,
            -25px -15px 0 #feca57,
            30px -5px 0 #ff9ff3,
            -10px 25px 0 #54a0ff,
            25px 20px 0 #5f27cd;
    }
    25% {
        opacity: 1;
        transform: scale(1.5) translateY(-50px) rotate(90deg);
        box-shadow: 
            0 0 0 #ff6b6b,
            40px 20px 0 #4ecdc4,
            -30px 10px 0 #45b7d1,
            20px -40px 0 #96ceb4,
            -50px -30px 0 #feca57,
            60px -10px 0 #ff9ff3,
            -20px 50px 0 #54a0ff,
            50px 40px 0 #5f27cd;
    }
    50% {
        opacity: 0.8;
        transform: scale(2) translateY(-100px) rotate(180deg);
        box-shadow: 
            100px 200px 0 #ff6b6b,
            80px 40px 0 #4ecdc4,
            -60px 20px 0 #45b7d1,
            40px -80px 0 #96ceb4,
            -100px -60px 0 #feca57,
            120px -20px 0 #ff9ff3,
            -40px 100px 0 #54a0ff,
            100px 80px 0 #5f27cd;
    }
    100% {
        opacity: 0;
        transform: scale(0.5) translateY(300px) rotate(360deg);
        box-shadow: 
            150px 400px 0 transparent,
            120px 350px 0 transparent,
            -90px 320px 0 transparent,
            60px 380px 0 transparent,
            -150px 360px 0 transparent,
            180px 340px 0 transparent,
            -60px 400px 0 transparent,
            150px 380px 0 transparent;
    }
}
