/* ===== Cursor effects: custom dot + ring, sparkle trail, click burst =====
   Change these colors to match your site. */
:root {
  --cur-gold: #efc134;
  --cur-cyan: #73d5e4;
}

/* Hide the native cursor only on devices with a real mouse */
@media (hover: hover) and (pointer: fine) {
  html, body, a, button, select, label, summary { cursor: none !important; }
  input, textarea { cursor: text !important; }
}

.cur-dot, .cur-ring {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 10000;
  border-radius: 9999px; will-change: transform;
}

.cur-dot {
  width: 8px; height: 8px; margin: -4px 0 0 -4px;
  background: var(--cur-gold);
  box-shadow: 0 0 12px 2px rgba(239, 193, 52, 0.8);
  transition: width .2s, height .2s, margin .2s, background .2s, opacity .2s;
}

.cur-ring {
  width: 38px; height: 38px; margin: -19px 0 0 -19px;
  border: 1.5px solid rgba(115, 213, 228, 0.7);
  transition: width .25s cubic-bezier(.2,.8,.2,1), height .25s cubic-bezier(.2,.8,.2,1),
              margin .25s cubic-bezier(.2,.8,.2,1), background .25s, border-color .25s, opacity .25s;
}

/* Over links / buttons */
.cur-ring.is-link {
  width: 64px; height: 64px; margin: -32px 0 0 -32px;
  background: rgba(239, 193, 52, 0.12); border-color: rgba(239, 193, 52, 0.9);
}
.cur-dot.is-link { width: 4px; height: 4px; margin: -2px 0 0 -2px; }

/* While the mouse button is held */
.cur-ring.is-down {
  width: 26px; height: 26px; margin: -13px 0 0 -13px;
  background: rgba(115, 213, 228, 0.25);
}

/* Over text inputs, or when the mouse leaves the window */
.cur-ring.is-text, .cur-dot.is-text,
.cur-ring.is-hidden, .cur-dot.is-hidden { opacity: 0; }

/* Sparkles used by the trail and the click burst */
.sparkle {
  position: fixed; pointer-events: none; z-index: 9997; border-radius: 9999px;
}

/* ===== Optional: magnetic buttons =====
   Add class="magnetic" (or data-magnetic) to any button/link. */
.magnetic { transition: translate .3s cubic-bezier(.2,.8,.2,1); }
