/* DraftForge — animations & loading states */

@keyframes fade-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse-gold {
  0%, 100% { box-shadow: 0 0 4px rgba(200,170,110,0.3); }
  50% { box-shadow: 0 0 14px rgba(200,170,110,0.7); }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

.fade-in { animation: fade-in 0.3s ease; }
.pulse-gold { animation: pulse-gold 1.6s infinite; }

.skeleton {
  display: block;
  background:
    linear-gradient(90deg,
      rgba(200,170,110,0.05) 0%,
      rgba(200,170,110,0.18) 50%,
      rgba(200,170,110,0.05) 100%);
  background-size: 200% 100%;
  animation: shimmer 1.6s infinite linear;
  border-radius: var(--radius-sm);
  min-height: 16px;
}
.skeleton-tile {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 4px;
}
.skeleton-text {
  width: 60%;
  height: 12px;
  margin: 4px 0;
}

.spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid var(--gold-3);
  border-top-color: var(--gold-1);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.loading-row {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.85rem;
  padding: 10px;
}

.slot-fill-anim {
  animation: fade-in 0.3s ease, pulse-gold 1.2s 1;
}

/* Reveal-on-mount for tip carousel changes */
.reveal-text {
  animation: fade-in 0.5s ease;
}
