/* ZARQO motion kit — styles for GSAP / Lenis / React Bits effects (see fx.js). */

/* Lenis smooth scroll (from lenis/dist/lenis.css) */
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto !important; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent], .lenis [data-lenis-prevent-wheel], .lenis [data-lenis-prevent-touch] { overscroll-behavior: contain; }
.lenis.lenis-smooth iframe { pointer-events: none; }

/* Aurora background layer */
.fx-aurora-host { position: relative; isolation: isolate; }
.fx-aurora { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.fx-aurora canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }

/* Star border on a button */
.fx-star { position: relative; isolation: isolate; }
.fx-star > .fx-star-light { position: absolute; top: -48px; left: -48px; z-index: -1; width: calc(100% + 96px); height: calc(100% + 96px); pointer-events: none; }

/* Click sparks */
.fx-spark { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 2147483000; }

/* Shiny text: a light sweep that passes, rests, passes again */
.fx-shiny {
  background-image: linear-gradient(110deg, currentColor 0%, currentColor 40%, var(--fx-shine, #fff) 50%, currentColor 60%, currentColor 100%);
  background-size: 260% 100%;
  background-repeat: no-repeat;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fx-shine var(--fx-shine-speed, 4.5s) linear infinite;
}
@keyframes fx-shine { 0% { background-position: 100% 0; } 55%, 100% { background-position: 0% 0; } }

/* Gradient text: a fill that flows back and forth */
.fx-grad {
  background-image: var(--fx-grad) !important;
  background-size: 300% 100% !important;
  -webkit-background-clip: text !important; background-clip: text !important;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: fx-grad var(--fx-grad-speed, 7s) ease-in-out infinite alternate;
}
@keyframes fx-grad { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

/* BlurText words */
.fx-w { display: inline-block; will-change: transform, filter, opacity; }

/* Spotlight card */
.fx-spot-host { position: relative; }
.fx-spot { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 2; opacity: 0; transition: opacity .45s ease;
  background: radial-gradient(380px circle at var(--fx-x, 50%) var(--fx-y, 50%), var(--fx-spot, rgba(255,255,255,.12)), transparent 62%); }
.fx-spot-host:hover > .fx-spot { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .fx-shiny, .fx-grad { animation: none; }
}
