/**
 * Modulo Timer - Animations CSS
 */

/* Pulse */
.mt-timer--pulse,
.mt-sticky--pulse {
    animation: mt-pulse 1.5s ease-in-out infinite;
}

@keyframes mt-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.85; transform: scale(1.02); }
}

/* Flash */
.mt-timer--flash,
.mt-sticky--flash {
    animation: mt-flash 1s ease-in-out infinite;
}

@keyframes mt-flash {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
    .mt-timer--pulse,
    .mt-timer--flash,
    .mt-sticky--pulse,
    .mt-sticky--flash,
    .mt-timer__flip-card,
    .mt-timer__digital-sep,
    .mt-sf__tile,
    .mt-hg__stream,
    .mt-hg__sand-top,
    .mt-hg__sand-bot,
    .mt-fire__main,
    .mt-fire__back-left,
    .mt-fire__back-right,
    .mt-fire__spark,
    .mt-bomb__spark,
    .mt-timer--bomb.mt-timer--urgent {
        animation: none !important;
        transition: none !important;
    }
}
