/* css/animations.css — Tactical & Pop-Art Animation Keyframes */

@keyframes panel-slam {
  0% {
    transform: scale(1.04);
    opacity: 0.7;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes beacon-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(245, 255, 0, 0.85);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(245, 255, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(245, 255, 0, 0);
  }
}

@keyframes beacon-pulse-green {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.85);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(0, 229, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 229, 255, 0);
  }
}

@keyframes ticker-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes float-tactical {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes blink-cursor {
  0%, 49% {
    opacity: 1;
  }
  50%, 100% {
    opacity: 0;
  }
}

/* Application Classes */
.animate-panel-slam {
  animation: panel-slam 380ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.beacon-dot {
  width: 10px;
  height: 10px;
  background-color: var(--acid-yellow);
  border-radius: 50%;
  display: inline-block;
  animation: beacon-pulse 2s infinite;
  vertical-align: middle;
  flex-shrink: 0;
}

.beacon-dot-cyan {
  background-color: var(--cyan);
  animation: beacon-pulse-green 2s infinite;
}

/* Reduced Motion Accessibility Guardrails */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .ticker-track {
    animation: none !important;
    transform: none !important;
    overflow-x: auto !important;
  }
}
