/* cursor.css — phi-cursor: ϕ glyph (U+03D5) with layered gold glow.
   Hover scales 1.618× (φ-ratio), click shrinks, idle dims to 0.3.
   The particle field behind content handles the visual wake — no trail.
   z-index 100001: sits ABOVE the intro overlay (99999) so the cursor stays
   visible and aimable while the intro plays (SKIP button). */
.phi-cursor {
  position: fixed; z-index: 100001; pointer-events: none;
  transform: translate(-50%, -50%);
  transition: transform 0.3s, opacity 0.4s;
}
.phi-cursor-glyph {
  display: block;
  font-family: 'Cambria Math', 'STIX Two Math', Georgia, serif;
  font-size: 22px;
  line-height: 1;
  color: #d4a843;
  text-shadow:
    0 0 6px rgba(212, 168, 67, 0.8),
    0 0 14px rgba(212, 168, 67, 0.4),
    0 0 28px rgba(212, 168, 67, 0.2);
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), text-shadow 0.3s;
}
.phi-cursor.hovering .phi-cursor-glyph {
  font-size: 35.6px; /* 22 × φ = 35.6035... */
  text-shadow:
    0 0 10px rgba(212, 168, 67, 0.9),
    0 0 24px rgba(212, 168, 67, 0.5),
    0 0 48px rgba(212, 168, 67, 0.25);
}
.phi-cursor.clicking {
  transform: translate(-50%, -50%) scale(0.8);
}
.phi-cursor.idle {
  opacity: 0.3;
}
/* Hide default cursor on hover-capable desktop devices */
@media (hover: hover) {
  body { cursor: none; }
  a, button, [role="button"] { cursor: none; }
}
/* Show default cursor on touch devices */
@media (hover: none) {
  .phi-cursor { display: none; }
}
/* Reduced motion: φ-cursor hidden entirely */
@media (prefers-reduced-motion: reduce) {
  .phi-cursor { display: none; }
}
