@keyframes cc-fade-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cc-pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.35);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(245, 158, 11, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
  }
}

@keyframes stat-rise {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.cc-animate-in {
  animation: cc-fade-in 0.55s ease-out both;
}

.cc-accent-pulse {
  animation: cc-pulse-ring 2.4s ease-out infinite;
}

.stat-animate {
  animation: stat-rise 0.7s ease-out both;
  animation-play-state: paused;
}

.stat-animate-delay-1 {
  animation-delay: 0.08s;
}

.stat-animate-delay-2 {
  animation-delay: 0.16s;
}

.stat-animate-delay-3 {
  animation-delay: 0.24s;
}

.is-stat-visible .stat-animate {
  animation-play-state: running;
}

.hero-bg-image {
  background-size: cover;
  background-position: center;
}

.nav-link--active {
  color: #f59e0b;
  font-weight: 600;
}

a.nav-register--active {
  box-shadow: 0 0 0 2px #f3f4f6;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateX(12px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.form-toast--visible {
  animation: toast-in 0.35s ease-out both;
}

.form-field--invalid {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 1px #ef4444;
}

@media (prefers-reduced-motion: reduce) {
  .cc-animate-in,
  .cc-accent-pulse,
  .stat-animate,
  .stat-animate-delay-1,
  .stat-animate-delay-2,
  .stat-animate-delay-3 {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
