/* Custom cursor system */
.cursor-dot,
.cursor-ring,
.cursor-trail {
  position: fixed;
  pointer-events: none;
  z-index: 99999;
  border-radius: 50%;
  will-change: transform;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-green, #00f5a0);
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}

.cursor-ring {
  width: 40px;
  height: 40px;
  border: 1.5px solid rgba(0, 245, 160, 0.5);
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.cursor-ring.hover {
  width: 56px;
  height: 56px;
  border-color: rgba(0, 212, 255, 0.7);
  background: rgba(0, 245, 160, 0.06);
}

.cursor-ring.click {
  width: 32px;
  height: 32px;
  border-color: var(--accent-green, #00f5a0);
  background: rgba(0, 245, 160, 0.15);
}

.cursor-ring.text {
  width: 4px;
  height: 28px;
  border-radius: 2px;
  border-color: var(--accent-cyan, #00d4ff);
  background: rgba(0, 212, 255, 0.2);
}

.cursor-trail {
  width: 6px;
  height: 6px;
  background: rgba(0, 245, 160, 0.3);
  transform: translate(-50%, -50%);
  transition: opacity 0.4s ease;
}

.cursor-trail:nth-child(odd) {
  background: rgba(0, 212, 255, 0.25);
}

/* Magnetic hover effect target */
[data-magnetic] {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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