/* ========================================
   EINE ENSEMBLE — Animations
   animations.css
   ======================================== */

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

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

@keyframes bounceDown {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(6px); }
}

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

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes shimmer {
  0% { background-position: -1000px 0; }
  100% { background-position: 1000px 0; }
}

.fade-in { animation: fadeIn 0.6s ease forwards; }
.fade-slide-up { animation: fadeSlideUp 0.7s ease forwards; }
.scale-in { animation: scaleIn 0.5s ease forwards; }

.stagger > *:nth-child(1) { animation-delay: 0.05s; }
.stagger > *:nth-child(2) { animation-delay: 0.10s; }
.stagger > *:nth-child(3) { animation-delay: 0.15s; }
.stagger > *:nth-child(4) { animation-delay: 0.20s; }
.stagger > *:nth-child(5) { animation-delay: 0.25s; }
.stagger > *:nth-child(6) { animation-delay: 0.30s; }
.stagger > *:nth-child(7) { animation-delay: 0.35s; }
.stagger > *:nth-child(8) { animation-delay: 0.40s; }

.skeleton {
  background: linear-gradient(
    90deg,
    var(--color-bg-warm) 25%,
    var(--color-ivory) 50%,
    var(--color-bg-warm) 75%
  );
  background-size: 2000px 100%;
  animation: shimmer 1.5s infinite linear;
  border-radius: var(--radius-sm);
}
