/* ============================================
   LUXE STORE — Keyframe Animations
   ============================================ */

@keyframes logoPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(0.97); }
}

@keyframes loadProgress {
  0% { width: 0%; }
  60% { width: 70%; }
  100% { width: 100%; }
}

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

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

@keyframes toastSlideIn {
  from { opacity: 0; transform: translateX(120%); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes toastSlideOut {
  from { opacity: 1; transform: translateX(0); max-height: 200px; }
  to   { opacity: 0; transform: translateX(120%); max-height: 0; padding: 0; margin: 0; }
}

@keyframes toastProgress {
  from { width: 100%; }
  to   { width: 0%; }
}

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

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

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

/* Staggered card animations */
.products-grid .product-card:nth-child(1)  { animation-delay: 0ms; }
.products-grid .product-card:nth-child(2)  { animation-delay: 60ms; }
.products-grid .product-card:nth-child(3)  { animation-delay: 120ms; }
.products-grid .product-card:nth-child(4)  { animation-delay: 180ms; }
.products-grid .product-card:nth-child(5)  { animation-delay: 240ms; }
.products-grid .product-card:nth-child(6)  { animation-delay: 300ms; }
.products-grid .product-card:nth-child(7)  { animation-delay: 360ms; }
.products-grid .product-card:nth-child(8)  { animation-delay: 420ms; }

/* Auth form animation */
.auth-card {
  animation: slideUp var(--dur-xslow) var(--ease-out) both;
}
.auth-brand-content {
  animation: fadeIn 1s var(--ease-out) 0.3s both;
}

/* Page transitions */
.page-enter {
  animation: fadeIn var(--dur-slow) var(--ease-out) both;
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
