/* anim.effects.css — animations ON/OFF controlled by html.anim-off */

/* ON: background subtle motion (works with multi-layer gradients too) */
html:not(.anim-off) body{
  background-size: 200% 200%;
  animation: bgMove 12s ease-in-out infinite;
}

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

/* ON: smooth transitions across UI */
html:not(.anim-off) .btn,
html:not(.anim-off) button,
html:not(.anim-off) a,
html:not(.anim-off) .card,
html:not(.anim-off) .panel,
html:not(.anim-off) .modal,
html:not(.anim-off) input,
html:not(.anim-off) select,
html:not(.anim-off) textarea{
  transition: transform .14s ease, box-shadow .14s ease, opacity .14s ease,
              background-color .20s ease, color .20s ease, border-color .20s ease;
}

/* ON: micro hover */
html:not(.anim-off) .btn:hover,
html:not(.anim-off) button:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0,0,0,.28);
}

/* ON: gentle lift on cards/panels when hovered */
html:not(.anim-off) .card:hover,
html:not(.anim-off) .panel:hover,
html:not(.anim-off) .modal-card:hover{
  transform: translateY(-1px);
}

/* ON: gentle “pop” for toast if exists */
html:not(.anim-off) .toast,
html:not(.anim-off) .bubble,
html:not(.anim-off) #toast{
  animation: toastIn .18s ease-out;
}

@keyframes toastIn{
  from{ transform: translateY(8px); opacity: 0; }
  to  { transform: translateY(0); opacity: 1; }
}

/* OFF: hard stop */
html.anim-off *,
html.anim-off *::before,
html.anim-off *::after{
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}
