/* ============= KEYFRAMES ============= */

@keyframes float {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    25% {
        transform: translate3d(14px, -16px, 0) scale(1.04);
    }
    50% {
        transform: translate3d(-10px, 10px, 0) scale(0.98);
    }
    75% {
        transform: translate3d(10px, 4px, 0) scale(1.02);
    }
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@keyframes fadeInUp-soft {
    from {
        opacity: 0;
        transform: translate3d(0, 18px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes subtle-pop {
    from {
        transform: scale(0.96);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Helper classes (по желанию, если захочешь в HTML навесить) */

.animate-fade-up {
    animation: fadeInUp-soft 0.5s ease-out both;
}

.animate-pop {
    animation: subtle-pop 0.4s ease-out both;
}

@media (prefers-reduced-motion: reduce) {
    .animated-bg *,
    .animated-bg {
        animation: none !important;
        transition: none !important;
    }
}