#cursor-dot,
#cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  opacity: 0;
  will-change: transform;
}

#cursor-dot {
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  background: var(--accent);
  transition: opacity 0.3s ease;
}

#cursor-ring {
  width: 24px;
  height: 24px;
  margin: -12px 0 0 -12px;
  border: 1.5px solid var(--accent);
  background: transparent;
  transition: transform 0.3s ease-out, opacity 0.3s ease, width 0.2s ease, height 0.2s ease, margin 0.2s ease, border-color 0.2s ease;
}

#cursor-dot.visible,
#cursor-ring.visible {
  opacity: 1;
}

/* Grow ring on interactive elements */
#cursor-ring.hover {
  width: 36px;
  height: 36px;
  margin: -18px 0 0 -18px;
  border-color: var(--accent-2);
}

/* Hide on touch devices */
@media (hover: none), (pointer: coarse) {
  #cursor-dot,
  #cursor-ring {
    display: none;
  }
}
