/* Premium Custom Cursor - Solid Circle with Auto Color Inversion */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 48px;
  height: 48px;
  pointer-events: none;
  z-index: 2147483647;
  contain: layout style size;
  will-change: transform;
}

/* Main cursor circle - SOLID FILLED */
.custom-cursor::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 24px;
  background: #fff; /* White base - will invert */
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              width 0.3s ease,
              height 0.3s ease;
  mix-blend-mode: difference; /* Auto inverts against any background */
}

/* Active state - cursor is visible */
.custom-cursor.active::before {
  transform: translate(-50%, -50%) scale(1);
}

/* Hover state - grows when over interactive elements */
.custom-cursor.hover::before {
  width: 48px;
  height: 48px;
}

/* Click state - shrinks when mouse pressed */
.custom-cursor.click::before {
  width: 16px;
  height: 16px;
  transition: transform 0.1s ease, width 0.1s ease, height 0.1s ease;
}

/* Hide default cursor */
html, body, * {
  cursor: none !important;
}
