.cursor-follower {
  position: fixed;
  width: 20px;
  height: 20px;
  background: radial-gradient(circle, rgba(196, 181, 253, 0.9) 0%, rgba(167, 139, 250, 0.6) 50%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease-out, width 0.2s ease, height 0.2s ease;
  mix-blend-mode: screen;
  filter: blur(1px);
}

.cursor-follower::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(167, 139, 250, 0.4);
  animation: cursorPulse 2s ease-in-out infinite;
}

.cursor-follower.hovering {
  width: 40px;
  height: 40px;
  background: radial-gradient(circle, rgba(196, 181, 253, 0.6) 0%, rgba(167, 139, 250, 0.3) 50%, transparent 70%);
}

.cursor-follower-trail {
  position: fixed;
  width: 8px;
  height: 8px;
  background: rgba(167, 139, 250, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  filter: blur(2px);
  mix-blend-mode: screen;
}

#cursor-trail-1 {
  opacity: 0.6;
}
#cursor-trail-2 {
  opacity: 0.4;
  width: 6px;
  height: 6px;
}
#cursor-trail-3 {
  opacity: 0.2;
  width: 4px;
  height: 4px;
}

@keyframes cursorPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.3);
    opacity: 0.2;
  }
}

@media (max-width: 768px) {
  .cursor-follower,
  .cursor-follower-trail {
    display: none !important;
  }
}