/* ==========================================================================
   Shared "futuristic" interaction layer for the 15 countdown-skin
   templates. Purely additive — token-driven so it still works across all
   6 color schemes, and safe to include on every skin regardless of layout.
   Elements here are created by futuristic-fx.js; this file just styles
   them. Everything is inert until JS opts it in (hover-capable pointer,
   no prefers-reduced-motion).
   ========================================================================== */

.fx-cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--color-accent-soft), transparent 70%);
  transform: translate(calc(var(--fx-x, 50vw) - 50%), calc(var(--fx-y, 50vh) - 50%));
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: screen;
}

.fx-scanline {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.25;
  background: repeating-linear-gradient(
    180deg,
    transparent 0,
    transparent 2px,
    color-mix(in srgb, var(--color-text) 5%, transparent) 3px,
    transparent 4px
  );
}

.fx-tilt {
  transition: transform 0.15s ease-out;
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .fx-cursor-glow,
  .fx-scanline {
    display: none;
  }

  .fx-tilt {
    transition: none;
  }
}
