
@keyframes bounce-in {
    0% {
        transform: scale(0) rotate(180deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.3) rotate(90deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

@keyframes slide-in {
    0% {
        transform: translateX(-100px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes rotate-in {
    0% {
        transform: rotate(-360deg) scale(0);
        opacity: 0;
    }
    100% {
        transform: rotate(0deg) scale(1);
        opacity: 1;
    }
}

@keyframes scale-in {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fade-in-up {
    0% {
        transform: translateY(30px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}


.bounce-in { animation: bounce-in 1s ease-out 0.2s both; }
.slide-in { animation: slide-in 0.8s ease-out 0.4s both; }
.rotate-in { animation: rotate-in 1s ease-out 0.6s both; }
.scale-in { animation: scale-in 0.8s ease-out 0.8s both; }
.fade-in-up { animation: fade-in-up 0.8s ease-out 1s both; }


@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(102, 126, 234, 0);
    }
}

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

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

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

@keyframes electric-sweep {
    0% {
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(100%);
    }
}

@keyframes rainbow-flow {
    0% {
        background-position: 0% 50%;
    }
    25% {
        background-position: 100% 50%;
    }
    50% {
        background-position: 100% 100%;
    }
    75% {
        background-position: 0% 100%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes morph-colors {
    0%, 100% {
        filter: hue-rotate(0deg) brightness(1);
    }
    25% {
        filter: hue-rotate(90deg) brightness(1.2);
    }
    50% {
        filter: hue-rotate(180deg) brightness(0.8);
    }
    75% {
        filter: hue-rotate(270deg) brightness(1.1);
    }
}

@keyframes float-around {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(30px, -30px) rotate(90deg);
    }
    50% {
        transform: translate(-20px, -60px) rotate(180deg);
    }
    75% {
        transform: translate(-50px, -30px) rotate(270deg);
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}


@keyframes button-particle {
    0% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateY(-50px) scale(0);
        opacity: 0;
    }
}


@keyframes neon-pulse {
    0%, 100% {
        text-shadow: 
            0 0 5px currentColor,
            0 0 10px currentColor,
            0 0 15px currentColor;
    }
    50% {
        text-shadow: 
            0 0 10px currentColor,
            0 0 20px currentColor,
            0 0 30px currentColor,
            0 0 40px currentColor;
    }
}


.pulse {
    animation: pulse 2s ease-in-out infinite;
}

.float {
    animation: float 3s ease-in-out infinite;
}

.glow {
    animation: neon-pulse 2s ease-in-out infinite;
}


.particle-burst {
    position: relative;
    overflow: visible;
}

.particle-burst::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, rgba(255,255,255,1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: button-particle 1s ease-out infinite;
    opacity: 0;
}

.particle-burst:hover::after {
    animation-play-state: running;
    opacity: 1;
}


@keyframes glitch {
    0% {
        transform: translate(0);
        filter: hue-rotate(0deg);
    }
    10% {
        transform: translate(-2px, 2px);
        filter: hue-rotate(90deg);
    }
    20% {
        transform: translate(-1px, -1px);
        filter: hue-rotate(180deg);
    }
    30% {
        transform: translate(1px, 2px);
        filter: hue-rotate(270deg);
    }
    40% {
        transform: translate(-1px, -1px);
        filter: hue-rotate(360deg);
    }
    50% {
        transform: translate(-1px, 2px);
        filter: hue-rotate(45deg);
    }
    60% {
        transform: translate(-1px, 1px);
        filter: hue-rotate(135deg);
    }
    70% {
        transform: translate(0px, 1px);
        filter: hue-rotate(225deg);
    }
    80% {
        transform: translate(-1px, -1px);
        filter: hue-rotate(315deg);
    }
    90% {
        transform: translate(1px, 2px);
        filter: hue-rotate(405deg);
    }
    100% {
        transform: translate(0);
        filter: hue-rotate(0deg);
    }
}

.glitch {
    animation: glitch 0.5s ease-in-out;
}


@keyframes loading-dots {
    0%, 20% {
        color: rgba(255,255,255,0.2);
        text-shadow: none;
    }
    40% {
        color: white;
        text-shadow: 0 0 10px rgba(255,255,255,0.8);
    }
    100% {
        color: rgba(255,255,255,0.2);
        text-shadow: none;
    }
}


@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (max-width: 768px) {
    @keyframes float-around {
        0%, 100% {
            transform: translate(0, 0) rotate(0deg);
        }
        50% {
            transform: translate(10px, -20px) rotate(180deg);
        }
    }
}