.heron-cursor {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.18s ease;
  mix-blend-mode: difference;
  --heron-cursor-x: -50%;
  --heron-cursor-y: -50%;
  --heron-cursor-translate: translate3d(-50%, -50%, 0);
  --heron-cursor-scale: 1;
  --heron-cursor-border: rgba(255, 255, 255, 0.6);
  --heron-cursor-dot-opacity: 0;
  --heron-cursor-pointer-scale: 1;
  --heron-cursor-pointer-shadow: 0 0 12px rgba(0, 0, 0, 0.25);
}

.heron-cursor.is-visible {
  opacity: 1;
}

.heron-cursor__pointer,
.heron-cursor__circle,
.heron-cursor__dot {
  position: fixed;
  top: 0;
  left: 0;
  transform: var(--heron-cursor-translate);
  will-change: transform, opacity;
  transition: transform 0.18s ease, opacity 0.18s ease, width 0.18s ease, height 0.18s ease, border-color 0.18s ease;
  pointer-events: none;
}

.heron-cursor__pointer {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--heron-cursor-pointer-shadow);
  transform: var(--heron-cursor-translate) translate(-50%, -50%) scale(var(--heron-cursor-pointer-scale));
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.heron-cursor__circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--heron-cursor-border);
  background: rgba(255, 255, 255, 0.05);
  transform: var(--heron-cursor-translate) translate(-50%, -50%) scale(var(--heron-cursor-scale));
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.22s ease, box-shadow 0.22s ease;
}

.heron-cursor__dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  opacity: var(--heron-cursor-dot-opacity);
  transform: var(--heron-cursor-translate) translate(-50%, -50%);
  transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.22s ease;
}

.heron-cursor.is-active {
  --heron-cursor-scale: 0.85;
  --heron-cursor-dot-opacity: 0.95;
  --heron-cursor-pointer-scale: 0.3;
}

.heron-cursor.is-interactive {
  --heron-cursor-scale: 1.35;
  --heron-cursor-border: rgba(255, 255, 255, 0.9);
  --heron-cursor-dot-opacity: 0.6;
  --heron-cursor-pointer-shadow: 0 0 18px rgba(255, 255, 255, 0.35);
}

.heron-cursor.is-hover {
  --heron-cursor-scale: 1.5;
  --heron-cursor-border: rgba(255, 255, 255, 0.95);
  --heron-cursor-dot-opacity: 0.8;
}

.heron-cursor.is-clicked {
  --heron-cursor-border: rgba(255, 255, 255, 1);
  --heron-cursor-dot-opacity: 1;
  --heron-cursor-pointer-scale: 0.25;
}

.heron-cursor.is-hidden {
  opacity: 0;
}

.heron-cursor.is-hover .heron-cursor__circle {
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.2);
}

.heron-cursor.is-clicked .heron-cursor__circle,
.heron-cursor.is-clicked .heron-cursor__dot {
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.35);
}
