/* ==========================================================================
   Оптимизированные анимации (минимум для производительности)
   ========================================================================== */

/* Отскок для награды */
.bounce-in {
    animation: bounceIn 0.5s ease-out;
}

@keyframes bounceIn {
    0% { transform: scale(0.5); opacity: 0; }
    70% { transform: scale(1.05); }
    100% { transform: scale(1); opacity: 1; }
}

/* Скользящее уведомление */
@keyframes slideOut {
    to {
        transform: translateX(120%);
        opacity: 0;
    }
}

/* Уменьшенная пульсация */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

/* Мягкое появление */
@keyframes fadeInUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Плавание (упрощённое) */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Мягкий отскок */
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Отключаем анимации при сниженном движении */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Отключаем тяжёлые анимации на мобильных */
@media (max-width: 768px) {
    .floating,
    .float,
    .bounce,
    .pulse-animation {
        animation: none !important;
    }
}
