@keyframes preloader-fill {
  to {
    width: 100%;
  }
}

@keyframes hero-reveal {
  to {
    clip-path: inset(0 0 0 0);
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes glow-pulse {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(0, 87, 255, 0.35);
  }
  50% {
    box-shadow: 0 0 44px rgba(0, 212, 255, 0.55);
  }
}

@keyframes bounce-dots {
  0%,
  80%,
  100% {
    transform: translateY(0);
    opacity: 0.5;
  }
  40% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-children > *:nth-child(1) {
  transition-delay: 0.1s;
}

.stagger-children > *:nth-child(2) {
  transition-delay: 0.2s;
}

.stagger-children > *:nth-child(3) {
  transition-delay: 0.3s;
}

.stagger-children > *:nth-child(4) {
  transition-delay: 0.4s;
}

.confetti-piece {
  position: fixed;
  width: 8px;
  height: 8px;
  top: -12px;
  z-index: 9996;
  pointer-events: none;
  animation: confetti-fall 2.2s ease-out forwards;
}

@keyframes confetti-fall {
  to {
    transform: translateY(100vh) rotate(720deg);
    opacity: 0;
  }
}
