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

@keyframes cc-slide-up {
  from {
    opacity: 0;
    transform: translateY(100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes stat-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(251, 113, 133, 0.35);
  }
  50% {
    box-shadow: 0 0 0 0.5rem rgba(251, 113, 133, 0);
  }
}

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

.cc-banner-enter {
  animation: cc-slide-up 0.5s ease-out both;
}

.stat-card--active {
  animation: stat-pulse 2.4s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .cc-animate-in,
  .cc-banner-enter,
  .stat-card--active {
    animation: none !important;
  }
}
