/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   Fortune Index — Card animations
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* ─── Variety card hover top-bar reveal ─── */
.fi-card::after {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(90deg, var(--v-color), var(--v-color-end));
  opacity: 0;
  transition: opacity 0.3s;
}
.fi-card:hover::after {
  opacity: 1;
}

/* ─── Stagger card entrance ─── */
.fi-card {
  opacity: 0;
  transform: translateY(18px);
  animation: fiCardUp 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.fi-card:nth-child(1) { animation-delay: 0.05s; }
.fi-card:nth-child(2) { animation-delay: 0.10s; }
.fi-card:nth-child(3) { animation-delay: 0.15s; }
.fi-card:nth-child(4) { animation-delay: 0.20s; }
.fi-card:nth-child(5) { animation-delay: 0.25s; }
.fi-card:nth-child(6) { animation-delay: 0.30s; }
.fi-card:nth-child(7) { animation-delay: 0.35s; }
.fi-card:nth-child(8) { animation-delay: 0.40s; }

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

/* ─── Gentle bounce for hero icon ─── */
.fi-bounce {
  animation: fiBounce 3s ease-in-out infinite;
}
@keyframes fiBounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

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