/* Custom Animated Cursor (visitors only) */
html.dx-cursor-enabled, html.dx-cursor-enabled body { cursor: none; }
html.dx-cursor-enabled a,
html.dx-cursor-enabled button,
html.dx-cursor-enabled input,
html.dx-cursor-enabled textarea,
html.dx-cursor-enabled select,
html.dx-cursor-enabled [role="button"],
html.dx-cursor-enabled .clickable { cursor: none !important; }

#dx-cursor {
  position: fixed;
  left: 0;
  top: 0;
  width: 18px;
  height: 18px;
  margin-left: -9px;
  margin-top: -9px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #FF4DFF, #A53CFF);
  box-shadow: 0 6px 18px rgba(118, 75, 162, 0.35);
  pointer-events: none;
  z-index: 99999;
  transition: transform 120ms ease, opacity 150ms ease;
  transform: translate3d(-100px, -100px, 0) scale(1);
  opacity: 0.9;
}

#dx-cursor.dx-hidden { opacity: 0; }
#dx-cursor.dx-click { transform: scale(0.85); }
#dx-cursor.dx-link { transform: scale(1.25); box-shadow: 0 10px 24px rgba(255, 79, 163, 0.45); }

/* Outer ring follower */
#dx-cursor-ring {
  position: fixed;
  left: 0;
  top: 0;
  width: 36px;
  height: 36px;
  margin-left: -18px;
  margin-top: -18px;
  border-radius: 50%;
  border: 2px solid rgba(255, 79, 163, 0.55);
  box-shadow: 0 8px 30px rgba(118, 75, 162, 0.25);
  pointer-events: none;
  z-index: 99998;
  transition: transform 220ms ease, opacity 200ms ease, border-color 200ms ease;
  transform: translate3d(-100px, -100px, 0) scale(1);
  opacity: 0.7;
  mix-blend-mode: multiply;
}

#dx-cursor-ring.dx-hidden { opacity: 0; }
#dx-cursor-ring.dx-click { transform: scale(0.9); border-color: rgba(255, 79, 163, 0.9); }
#dx-cursor-ring.dx-link { transform: scale(1.35); border-color: rgba(102,126,234,0.8); }

/* Text inputs should keep default cursor for accessibility */
/* Remove native cursor everywhere (including inputs) so custom cursor reigns */
[contenteditable="true"] { caret-color: var(--primary-color, #FF4DFF); }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  #dx-cursor { transition: none; }
}
