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

@keyframes accent-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 183, 3, 0.35);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(255, 183, 3, 0);
  }
}

@keyframes stat-fill {
  from {
    transform: scaleX(0);
    transform-origin: left;
  }
  to {
    transform: scaleX(1);
    transform-origin: left;
  }
}

.animate-fade-up {
  animation: fade-up 0.7s ease-out both;
}

.animate-accent-pulse {
  animation: accent-pulse 2.8s ease-in-out infinite;
}

.stat-bar__fill {
  transform: scaleX(0);
  transform-origin: left;
}

.stat-bar__fill.is-animated {
  animation: stat-fill 1.1s ease-out forwards;
}

@media (prefers-reduced-motion: reduce) {
  .animate-fade-up,
  .animate-accent-pulse,
  .stat-bar__fill.is-animated {
    animation: none !important;
  }

  .stat-bar__fill.is-animated {
    transform: scaleX(1);
  }
}
