/* Sudegy Discovery Portal — Animation system */

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

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

@keyframes pulseGold {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.55;
  }
}

@keyframes bootSweep {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(350%);
  }
}

.anim-fade-in {
  animation: fadeIn var(--duration-base) var(--ease-out-soft) both;
}

.anim-fade-up {
  animation: fadeUp var(--duration-slow) var(--ease-out-soft) both;
}

.anim-pulse {
  animation: pulseGold 1.8s var(--ease-standard) infinite;
}

/* Stagger helper — pair with inline --delay on children */
.anim-fade-up[style*='--delay'] {
  animation-delay: var(--delay);
}

@media (prefers-reduced-motion: reduce) {
  .anim-fade-in,
  .anim-fade-up,
  .anim-pulse {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .boot-shell__line::after {
    animation: none !important;
  }
}
