/* ==========================================================================
   NEON ART UNIVERSE — KINETIC & MOTION SYSTEM
   Choreographed animations, glowing pulses, and mechanical gear rotations
   ========================================================================== */

/* Rotating Mechanical Gears */
@keyframes gearRotateClockwise {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

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

/* Pulsing Neon Energies */
@keyframes neonPulseCrimson {
  0%, 100% {
    box-shadow: 0 0 10px rgba(255, 36, 79, 0.4), inset 0 0 10px rgba(255, 36, 79, 0.2);
    border-color: rgba(255, 36, 79, 0.5);
  }
  50% {
    box-shadow: 0 0 25px rgba(255, 36, 79, 0.75), inset 0 0 16px rgba(255, 36, 79, 0.4);
    border-color: #ff244f;
  }
}

@keyframes neonPulseEmerald {
  0%, 100% {
    box-shadow: 0 0 10px rgba(56, 255, 145, 0.35), inset 0 0 10px rgba(56, 255, 145, 0.15);
    border-color: rgba(56, 255, 145, 0.45);
  }
  50% {
    box-shadow: 0 0 24px rgba(56, 255, 145, 0.7), inset 0 0 15px rgba(56, 255, 145, 0.35);
    border-color: #38ff91;
  }
}

/* Status Indicator Dot Blink */
@keyframes statusBlink {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.85);
  }
}

.status-dot {
  animation: statusBlink 2.5s infinite ease-in-out;
}

/* Floating Core Breathing */
@keyframes floatGentle {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

.hero-visual-core {
  animation: floatGentle 6s ease-in-out infinite;
}

/* Energy Beam Scanline */
@keyframes scanlineTravel {
  0% {
    top: -10%;
  }
  100% {
    top: 110%;
  }
}

.scanline-overlay {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(56, 255, 145, 0.8), transparent);
  animation: scanlineTravel 7s linear infinite;
  pointer-events: none;
  opacity: 0.5;
}

/* Scroll Entrance Reveals */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered Delay Utilities */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }

/* Interactive Hover Gear Spin */
.rotate-on-hover svg {
  transition: transform 0.5s ease;
}
.rotate-on-hover:hover svg {
  transform: rotate(90deg);
}

/* ==========================================================================
   ACCESSIBILITY: PREFERS 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;
  }

  .core-gear-outer,
  .core-gear-inner,
  .hero-visual-core,
  .status-dot,
  .scanline-overlay {
    animation: none !important;
  }

  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
  }
}
