/* ============================================
   LUMO — Animations & keyframes
   ============================================ */

@keyframes shine {
  from { background-position: 0% 50%; }
  to   { background-position: 200% 50%; }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(192, 57, 43, 0.5), 0 0 0 0 rgba(192, 57, 43, 0.6); }
  50%      { box-shadow: 0 8px 24px rgba(192, 57, 43, 0.5), 0 0 0 16px rgba(192, 57, 43, 0); }
}

@keyframes scroll-indicator {
  0%   { transform: translate(-50%, 0); opacity: 1; }
  100% { transform: translate(-50%, 12px); opacity: 0; }
}

/* ---------- Scroll-triggered reveals ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-delay="1"].visible { transition-delay: 0.1s; }
.reveal[data-delay="2"].visible { transition-delay: 0.2s; }
.reveal[data-delay="3"].visible { transition-delay: 0.3s; }
.reveal[data-delay="4"].visible { transition-delay: 0.4s; }
.reveal[data-delay="5"].visible { transition-delay: 0.5s; }

/* Respect user preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
