/* Hide default cursor on desktop */
@media (pointer: fine) {
  body {
    cursor: none;
  }
  a,
  button,
  .gallery-item,
  .adv-card,
  .award-card {
    cursor: none;
  }
}

.cursor-dot {
  position: fixed;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: var(--z-cursor);
  transform: translate(-50%, -50%);
  transition:
    width 0.15s,
    height 0.15s,
    background 0.15s;
  will-change: transform;
}

.cursor-ring {
  position: fixed;
  width: 32px;
  height: 32px;
  border: 1.5px solid rgba(201, 168, 76, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: var(--z-cursor);
  transform: translate(-50%, -50%);
  transition:
    width 0.3s var(--ease),
    height 0.3s var(--ease),
    border-color 0.3s,
    opacity 0.3s;
  will-change: transform;
}

/* Hover state */
body.cursor-hover .cursor-dot {
  width: 10px;
  height: 10px;
  background: var(--accent-light);
}

body.cursor-hover .cursor-ring {
  width: 48px;
  height: 48px;
  border-color: var(--accent);
  opacity: 0.6;
}

/* Click state */
body.cursor-click .cursor-dot {
  width: 4px;
  height: 4px;
}

body.cursor-click .cursor-ring {
  width: 20px;
  height: 20px;
  border-color: var(--accent-light);
}

/* Hide on mobile */
@media (pointer: coarse) {
  .cursor-dot,
  .cursor-ring {
    display: none;
  }
}
