/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   Fortune Result — Dynamic & animation
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* ─── Stagger fade-in ─── */
.fr-fade {
  opacity: 0;
  transform: translateY(16px);
  animation: frSlideIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.fr-d1 { animation-delay: 0.08s; }
.fr-d2 { animation-delay: 0.16s; }
.fr-d3 { animation-delay: 0.24s; }
.fr-d4 { animation-delay: 0.32s; }
.fr-d5 { animation-delay: 0.40s; }
.fr-d6 { animation-delay: 0.48s; }
.fr-d7 { animation-delay: 0.56s; }
.fr-d8 { animation-delay: 0.64s; }
.fr-d9 { animation-delay: 0.72s; }

@keyframes frSlideIn {
  to { opacity: 1; transform: translateY(0); }
}

/* ─── Star pulse ─── */
.fr-star-pulse {
  animation: starPop 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  opacity: 0;
}
.fr-star-pulse:nth-child(1) { animation-delay: 0.3s; }
.fr-star-pulse:nth-child(2) { animation-delay: 0.4s; }
.fr-star-pulse:nth-child(3) { animation-delay: 0.5s; }
.fr-star-pulse:nth-child(4) { animation-delay: 0.6s; }
.fr-star-pulse:nth-child(5) { animation-delay: 0.7s; }

@keyframes starPop {
  0%   { opacity: 0; transform: scale(0.3); }
  60%  { transform: scale(1.15); }
  100% { opacity: 1; transform: scale(1); }
}

/* ─── Gentle float for hero image ─── */
.fr-float {
  animation: frFloat 4s ease-in-out infinite;
}
@keyframes frFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* ─── Glass card ─── */
.fr-glass {
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
}
