/* ===========================================
   Fuckd AI - Visual Effects
   No aurora blobs (intentionally removed for differentiation).
   Spotlight, Tilt, Magnetic, Reveal, Cursor Halo.
   =========================================== */

/* ============================================
   1. AURORA — DISABLED (replaced by body::before
      radial gradients in main.css for static glow).
   ============================================ */
.aurora,
.aurora-blob {
  display: none !important;
}

/* ============================================
   2. SPOTLIGHT (cursor-tracking glow on cards)
   ============================================ */
.spotlight {
  position: relative;
}
.spotlight::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    500px circle at var(--mx, 50%) var(--my, 50%),
    rgba(255, 27, 141, 0.10),
    transparent 45%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 0;
}
.spotlight:hover::after { opacity: 1; }
.spotlight > * { position: relative; z-index: 1; }

/* ============================================
   3. 3D TILT
   ============================================ */
.tilt-card {
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  transform-style: preserve-3d;
  will-change: transform;
}

/* ============================================
   4. CURSOR HALO (smaller, sharper than fapify)
   ============================================ */
.cursor-halo {
  position: fixed;
  top: 0;
  left: 0;
  width: 260px;
  height: 260px;
  pointer-events: none;
  z-index: 9998;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 27, 141, 0.18) 0%, transparent 65%);
  opacity: 0;
  mix-blend-mode: screen;
  transition: opacity 0.25s ease;
  will-change: transform;
  filter: blur(2px);
}
.cursor-halo.active { opacity: 1; }

@media (hover: none) {
  .cursor-halo { display: none; }
}

/* ============================================
   5. REVEAL ON SCROLL
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.07s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.14s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.21s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.28s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.35s; }

/* ============================================
   6. PREFERS-REDUCED-MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  .hero-floating-card,
  .pulse-dot,
  .pulse-glow::before,
  .marquee-track {
    animation: none !important;
  }
  .reveal, .reveal-stagger > * {
    opacity: 1 !important;
    transform: none !important;
  }
  .tilt-card { transform: none !important; }
  .cursor-halo { display: none !important; }
}
