@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(196, 168, 130, 0.5); }
  50%       { box-shadow: 0 0 0 14px rgba(196, 168, 130, 0); }
}

@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(-30px, 20px) scale(1.05); }
  66%       { transform: translate(20px, -25px) scale(0.97); }
}

@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  40%       { transform: translate(25px, -20px) scale(1.08); }
  70%       { transform: translate(-15px, 30px) scale(0.95); }
}

@keyframes orbFloat3 {
  0%, 100% { transform: translate(0, 0); }
  50%       { transform: translate(-40px, -30px); }
}

@keyframes rotateSlow {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes starTwinkle {
  0%, 100% { opacity: 0; transform: scale(0.5); }
  50%       { opacity: 0.8; transform: scale(1.4); }
}

.hero__divider {
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  background-size: 200% auto;
  animation: shimmer 3s linear infinite;
}

.btn--pulse {
  animation: pulse 2.5s ease infinite;
}

.reveal-hero {
  opacity: 0;
  animation: fadeInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.reveal-hero:nth-child(1) { animation-delay: 0.15s; }
.reveal-hero:nth-child(2) { animation-delay: 0.4s; }
.reveal-hero:nth-child(3) { animation-delay: 0.6s; }
.reveal-hero:nth-child(4) { animation-delay: 0.8s; }
.reveal-hero:nth-child(5) { animation-delay: 1.0s; }
.reveal-hero:nth-child(6) { animation-delay: 1.2s; }
.reveal-hero:nth-child(7) { animation-delay: 1.4s; }

.js-reveal,
.js-reveal-card,
.js-reveal-step {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.js-reveal.is-visible,
.js-reveal-card.is-visible,
.js-reveal-step.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js-reveal-card:nth-child(1) { transition-delay: 0s; }
.js-reveal-card:nth-child(2) { transition-delay: 0.14s; }
.js-reveal-card:nth-child(3) { transition-delay: 0.28s; }

.js-reveal-step:nth-child(1) { transition-delay: 0s; }
.js-reveal-step:nth-child(3) { transition-delay: 0.16s; }
.js-reveal-step:nth-child(5) { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal-hero { opacity: 1; animation: none; }

  .js-reveal,
  .js-reveal-card,
  .js-reveal-step {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
