/* ===============================
   NATIVE CURSOR + GOLD CLICK PULSE
================================= */

/* Restore normal system cursor everywhere */
html,
body,
* {
  cursor: auto !important;
}

a,
button,
[role="button"],
input[type="submit"],
input[type="button"],
label[for],
select,
summary {
  cursor: pointer !important;
}

input,
textarea {
  cursor: text !important;
}

/* Old custom cursor element is no longer used */
.glowing-cursor {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Gold pulse created on click/tap */
.click-pulse {
  position: fixed;
  left: 0;
  top: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 999999;
  transform: translate(-50%, -50%) scale(0.35);
  background: radial-gradient(
    circle,
    rgba(212, 175, 55, 0.42) 0%,
    rgba(212, 175, 55, 0.28) 35%,
    rgba(212, 175, 55, 0.14) 60%,
    rgba(212, 175, 55, 0) 100%
  );
  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.55),
    0 0 16px rgba(212, 175, 55, 0.55),
    0 0 34px rgba(212, 175, 55, 0.35);
  animation: goldPulse 520ms ease-out forwards;
  will-change: transform, opacity;
}

@keyframes goldPulse {
  0% {
    opacity: 0.95;
    transform: translate(-50%, -50%) scale(0.35);
  }

  65% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(4.2);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(5.4);
  }
}

/* Slightly larger pulse on coarse pointers */
@media (pointer: coarse) {
  .click-pulse {
    width: 24px;
    height: 24px;
  }
}
