/* Reusable custom cursor: gold ring with centered logo + fading gold trail.
   Desktop/mouse only -- see cursor.js for the touch-device skip logic. */

body.custom-cursor-active,
body.custom-cursor-active a,
body.custom-cursor-active button {
  cursor: none;
}

#custom-cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  margin-left: -18px;
  margin-top: -18px;
  border-radius: 50%;
  border: 2px solid #d4af37;
  background: rgba(212, 175, 55, 0.08);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.2s ease, width 0.2s ease, height 0.2s ease, margin 0.2s ease;
}
#custom-cursor-ring.is-visible {
  opacity: 1;
}
/* Note: position is driven every frame by an inline transform in cursor.js,
   which always wins over a CSS transform -- so the hover-grow effect below
   changes width/height instead of scale to avoid being silently overridden. */
#custom-cursor-ring.has-label {
  width: 64px;
  height: 64px;
  margin-left: -32px;
  margin-top: -32px;
  background: rgba(212, 175, 55, 0.14);
}
#custom-cursor-ring img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  opacity: 0.95;
  transition: opacity 0.2s ease;
}
#custom-cursor-ring.has-label img {
  opacity: 0;
}
#custom-cursor-label {
  position: absolute;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f3d371;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
  opacity: 0;
  transition: opacity 0.2s ease;
}
#custom-cursor-ring.has-label #custom-cursor-label {
  opacity: 1;
}

#custom-cursor-trail {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9998;
}
