/* ===================================================================
   PAGEFPT MICRO-ANIMATIONS & INTERACTION PHYSICS
   =================================================================== */

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUpSheet {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

@keyframes slideDownSheet {
  from { transform: translateY(0); }
  to { transform: translateY(100%); }
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(242, 111, 33, 0.4);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(242, 111, 33, 0);
  }
}

@keyframes pulseBeacon {
  0% {
    transform: scale(0.95);
    opacity: 1;
  }
  70% {
    transform: scale(1.6);
    opacity: 0;
  }
  100% {
    transform: scale(0.95);
    opacity: 0;
  }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes badgePop {
  0% { transform: scale(0.8); opacity: 0; }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}

/* Helper Animation Utility Classes */
.animate-fade-in {
  animation: fadeIn var(--duration-normal) var(--ease-out) forwards;
}

.animate-pulse-glow {
  animation: pulseGlow 2s infinite ease-in-out;
}

.animate-shimmer {
  background: linear-gradient(90deg, var(--bg-surface-muted) 25%, var(--border-subtle) 50%, var(--bg-surface-muted) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

.spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 0.8s linear infinite;
}

.spinner-primary {
  border-color: rgba(242, 111, 33, 0.2);
  border-top-color: var(--color-primary);
}
