/* ==============================================================================
   TAYYAR CYBER MOTION & ANIMATION KEYFRAMES
   ============================================================================== */

/* 1. Cyber Cursor Spotlight Background Glow */
.cyber-spotlight {
  position: fixed;
  top: 0;
  left: 0;
  width: 700px;
  height: 700px;
  margin-top: -350px;
  margin-left: -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%;
}

/* 2. Keyframe Animations */
@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%);
  }
}

@keyframes laser-glow-pulse {
  0%, 100% {
    opacity: 0.4;
    transform: scale(1);
  }
  50% {
    opacity: 0.75;
    transform: scale(1.05);
  }
}

/* 3. Staggered Scroll Reveals */
[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

[data-reveal="zoom-in"] {
  opacity: 0;
  transform: scale(0.96) translateY(20px);
}

[data-reveal="fade-in"] {
  opacity: 0;
  transform: none;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* 4. Accessibility & Reduced Motion */
@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;
  }

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  .cyber-spotlight {
    display: none !important;
  }

  .pulse-dot {
    animation: none !important;
  }
}
