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

@keyframes site-stat-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.25);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
  }
}

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

.site-animate-fade-up-delay-1 {
  animation-delay: 0.08s;
}

.site-animate-fade-up-delay-2 {
  animation-delay: 0.16s;
}

.site-animate-fade-up-delay-3 {
  animation-delay: 0.24s;
}

.site-stat-card--accent {
  animation: site-stat-pulse 2.8s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .site-animate-fade-up,
  .site-animate-fade-up-delay-1,
  .site-animate-fade-up-delay-2,
  .site-animate-fade-up-delay-3,
  .site-stat-card--accent {
    animation: none;
  }
}

.auth-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(15, 20, 27, 0.72);
  backdrop-filter: blur(8px);
}

.auth-modal-card {
  max-width: 26rem;
  width: 100%;
  border-radius: 1rem;
  background: #f8fafc;
  color: #0f141b;
  padding: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.55);
  border: 1px solid #e2e8f0;
}

.auth-modal-title {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  color: #0f141b;
}

.auth-modal-text {
  margin: 0 0 1.25rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #475569;
}

.auth-modal-actions {
  display: flex;
  justify-content: flex-end;
}

.auth-modal-btn {
  cursor: pointer;
  border: none;
  border-radius: 0.5rem;
  background: #22c55e;
  color: #0f141b;
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  transition: background-color 0.15s ease;
}

.auth-modal-btn:hover {
  background: #16a34a;
}

.auth-modal-btn:focus-visible {
  outline: 2px solid #0f141b;
  outline-offset: 2px;
}

body.auth-modal-open {
  overflow: hidden;
}
