/* Custom Cursor Styles - Modern & Elegant */

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

/* Custom cursor container */
.custom-cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  background: var(--skin-color);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  will-change: transform;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
}

/* Cursor follower - larger outer ring */
.cursor-follower {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 2px solid var(--skin-color);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  opacity: 0.6;
  will-change: transform;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
  background: transparent;
  transition: width 0.2s ease, height 0.2s ease, opacity 0.2s ease;
}

/* Simplified cursor states */
.custom-cursor.button {
  width: 12px;
  height: 12px;
  background: #fff;
}

.cursor-follower.button {
  width: 50px;
  height: 50px;
  opacity: 1;
}

.custom-cursor.click {
  width: 16px;
  height: 16px;
}

.cursor-follower.click {
  width: 50px;
  height: 50px;
}

/* Special cursor for portfolio items */
.custom-cursor.portfolio {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Mobile - show default cursor */
@media (max-width: 768px) {
  * {
    cursor: auto !important;
  }

  .custom-cursor,
  .cursor-follower {
    display: none !important;
  }
}
