.cursor {
  width: 20px;
  height: 20px;
  border: 2px solid var(--red);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width var(--duration-normal), height var(--duration-normal),
              border-color var(--duration-normal), opacity var(--duration-normal);
  mix-blend-mode: difference;
}

.cursor-dot {
  width: 4px;
  height: 4px;
  background: var(--red);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
}

.cursor--hover {
  width: 50px;
  height: 50px;
  border-color: var(--white);
}

.cursor--hidden {
  opacity: 0;
}

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