/* =============================================================
   LUMORA — Animations & motion
   Keyframes · scroll reveal · reduced-motion handling
   ============================================================= */

/* ---------- Floating orb drift ---------- */
@keyframes orb-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(40px, -30px) scale(1.08); }
}

/* ---------- Heart pulse ---------- */
.heart {
  font-size: 56px;
  display: inline-block;
  filter: drop-shadow(0 0 24px rgba(255, 77, 157, 0.7));
  animation: heart-beat 1.4s ease-in-out infinite;
}
@keyframes heart-beat {
  0%, 100% { transform: scale(1); }
  20%      { transform: scale(1.15); }
  40%      { transform: scale(0.95); }
}

/* ---------- Scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
[data-reveal].in {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal-delay="3"] { transition-delay: .24s; }
[data-reveal-delay="4"] { transition-delay: .32s; }
[data-reveal-delay="5"] { transition-delay: .40s; }

/* ---------- Soft spark/confetti dot ---------- */
.spark {
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
}

/* ---------- Flame burn-out (FLAMES calc) ---------- */
@keyframes flame-burn {
  0%   { transform: scale(1); opacity: 1; }
  50%  { transform: scale(1.15); box-shadow: 0 0 40px rgba(239,68,68,.6); border-color: rgba(239,68,68,.6); }
  100% { transform: scale(0.85); opacity: 0.3; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .heart { animation: none; }
}
