@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.animate-gradient {
    background-size: 200% 200%;
    animation: gradient 6s ease infinite;
}

.shimmer-box {
    width: 100%;
    height: 200px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 1000px 100%;
    animation: shimmer 2s linear infinite;
    border-radius: 12px;
}

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

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #f0f;
    top: -10px;
    animation: confetti-fall 3s linear forwards;
}

.confetti:nth-child(2n) { background: #0ff; }
.confetti:nth-child(3n) { background: #ff0; }
.confetti:nth-child(4n) { background: #0f0; }
.confetti:nth-child(5n) { background: #f00; }

@keyframes confetti-fall {
    to {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .animate-float,
    .animate-bounce-slow,
    .animate-pulse-slow,
    .animate-gradient {
        animation: none !important;
    }
}