/* ==========================================================================
   Spin Clear — local page-level feedback animations.
   An Animate.css-style micro layer (fadeInUp / pulse / headShake / flash),
   shipped locally so the site has no external CDN dependency. Zero JS.
   All classes honour prefers-reduced-motion: the element ends fully visible.
   ========================================================================== */
.animate__animated {
  animation-duration: .55s;
  animation-fill-mode: both;
  animation-timing-function: cubic-bezier(.22,.7,.3,1);
}
.animate__animated.animate__fast { animation-duration: .3s; }

@keyframes sc-fade-in-up {
  from { opacity: 0; transform: translate3d(0, 16px, 0); }
  to   { opacity: 1; transform: none; }
}
@keyframes sc-pulse-a {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.12); }
}
@keyframes sc-head-shake {
  0%, 100% { transform: translateX(0); }
  20%      { transform: translateX(-6px); }
  40%      { transform: translateX(5px); }
  60%      { transform: translateX(-3px); }
  80%      { transform: translateX(2px); }
}
@keyframes sc-flash {
  0%, 100% { opacity: 1; }
  50%      { opacity: .35; }
}
.animate__fadeInUp { animation-name: sc-fade-in-up; }
.animate__pulse    { animation-name: sc-pulse-a; animation-timing-function: ease-in-out; }
.animate__headShake { animation-name: sc-head-shake; }
.animate__flash    { animation-name: sc-flash; }
.animate__infinite { animation-iteration-count: infinite; }
.animate__delay-1 { animation-delay: .08s; }
.animate__delay-2 { animation-delay: .16s; }
.animate__delay-3 { animation-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  .animate__animated {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
