/* Custom Cursor */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference; /* Inverts colors for contrast */
  transition: opacity 0.2s ease;
}

.cursor-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  background: #ff6347;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: 
    width 0.2s ease,
    height 0.2s ease,
    background 0.2s ease;
}

.cursor-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  border: 1px solid #ff6347;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: 
    width 0.3s ease,
    height 0.3s ease,
    border-color 0.3s ease;
}

/* Hover State */
.custom-cursor.hover .cursor-dot {
  width: 8px;
  height: 8px;
  background: #fff;
}

.custom-cursor.hover .cursor-ring {
  width: 30px;
  height: 30px;
  border-color: #fff;
}

/* Click State */
.custom-cursor.click .cursor-ring {
  transform: translate(-50%, -50%) scale(0.8);
  opacity: 0.7;
}

/* Text State */
.custom-cursor.text .cursor-dot {
  background: #fff;
  width: 2px;
  height: 12px;
  border-radius: 1px;
}

.custom-cursor.text .cursor-ring {
  display: none;
}

/* Hidden State */
.custom-cursor.hidden {
  opacity: 0;
}

/* Optional: Disable system cursor */
* {
  cursor: auto !important;
}
