/* ==============================================================================
   TAYYAR MOTION KEYFRAMES & ACCESSIBILITY RULES
   ============================================================================== */

.cyber-spotlight {
  position: fixed;
  inset-block-start: 0;
  inset-inline-start: 0;
  width: 700px;
  height: 700px;
  margin-block-start: -350px;
  margin-inline-start: -350px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.08) 0%, rgba(79, 172, 254, 0.03) 40%, transparent 70%);
  pointer-events: none;
  z-index: var(--z-spotlight);
  will-change: transform;
  border-radius: 50%;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 7px rgba(0, 255, 136, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(0, 255, 136, 0);
  }
}

@keyframes scanline-pass {
  0% {
    opacity: 0;
    transform: translateY(-100%);
  }

  30% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateY(100%);
  }
}

body.menu-locked {
  overflow: hidden;
}

@media (hover: none) {
  .cyber-spotlight {
    display: none;
  }
}

@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;
  }

  .cyber-spotlight {
    display: none;
  }

  .pulse-dot {
    animation: none;
  }
}