/* ============================================================
   ANIMATIONS — AOS-like & Custom
   ============================================================ */

/* Fade */
.fade-in { opacity: 0; animation: fadeIn 0.6s forwards; }
.fade-in-up { opacity: 0; transform: translateY(30px); animation: fadeInUp 0.6s forwards; }
.fade-in-down { opacity: 0; transform: translateY(-30px); animation: fadeInDown 0.6s forwards; }
.fade-in-left { opacity: 0; transform: translateX(-30px); animation: fadeInLeft 0.6s forwards; }
.fade-in-right { opacity: 0; transform: translateX(30px); animation: fadeInRight 0.6s forwards; }

/* Zoom */
.zoom-in { opacity: 0; transform: scale(0.8); animation: zoomIn 0.6s forwards; }
.zoom-in-up { opacity: 0; transform: scale(0.8) translateY(30px); animation: zoomInUp 0.6s forwards; }

/* Slide */
.slide-in-up { transform: translateY(100%); animation: slideInUp 0.6s forwards; }
.slide-in-down { transform: translateY(-100%); animation: slideInDown 0.6s forwards; }

/* Attention */
.pulse { animation: pulse 2s infinite; }
.float { animation: float 3s ease-in-out infinite; }
.glow { animation: glow 2s ease-in-out infinite alternate; }

/* Keyframes */
@keyframes fadeIn { to { opacity: 1; } }
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInDown { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInLeft { to { opacity: 1; transform: translateX(0); } }
@keyframes fadeInRight { to { opacity: 1; transform: translateX(0); } }
@keyframes zoomIn { to { opacity: 1; transform: scale(1); } }
@keyframes zoomInUp { to { opacity: 1; transform: scale(1) translateY(0); } }
@keyframes slideInUp { to { transform: translateY(0); } }
@keyframes slideInDown { to { transform: translateY(0); } }
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes glow {
  from { box-shadow: 0 0 5px rgba(212,160,23,0.2); }
  to { box-shadow: 0 0 20px rgba(212,160,23,0.4); }
}

/* Stagger children */
.stagger-children > * { opacity: 0; transform: translateY(20px); }
.stagger-children.visible > * { animation: fadeInUp 0.5s forwards; }
.stagger-children.visible > *:nth-child(1) { animation-delay: 0s; }
.stagger-children.visible > *:nth-child(2) { animation-delay: 0.1s; }
.stagger-children.visible > *:nth-child(3) { animation-delay: 0.2s; }
.stagger-children.visible > *:nth-child(4) { animation-delay: 0.3s; }
.stagger-children.visible > *:nth-child(5) { animation-delay: 0.4s; }
.stagger-children.visible > *:nth-child(6) { animation-delay: 0.5s; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
