/* =============================================
   CUSTOM CURSOR
   ============================================= */

.cursor-inner,
.cursor-outer {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: var(--z-cursor);
  border-radius: 50%;
  mix-blend-mode: difference;
}

.cursor-inner {
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  transform: translate(-50%, -50%);
  transition: opacity var(--duration-fast) ease,
              width var(--duration-normal) ease,
              height var(--duration-normal) ease;
}

.cursor-outer {
  width: 36px;
  height: 36px;
  border: 1px solid var(--color-accent);
  transform: translate(-50%, -50%);
  transition: width var(--duration-normal) var(--ease-out-expo),
              height var(--duration-normal) var(--ease-out-expo),
              border-color var(--duration-normal) ease,
              background var(--duration-normal) ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cursor-label {
  font-size: 0.6rem;
  font-weight: var(--fw-medium);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  opacity: 0;
  transition: opacity var(--duration-fast) ease;
  white-space: nowrap;
}

/* Hover state: links & buttons */
.cursor-hover .cursor-inner {
  opacity: 0;
}

.cursor-hover .cursor-outer {
  width: 60px;
  height: 60px;
  background: rgba(201, 169, 110, 0.08);
}

/* Cursor with label (images, carousels) */
.cursor-labeled .cursor-inner {
  opacity: 0;
}

.cursor-labeled .cursor-outer {
  width: 80px;
  height: 80px;
  background: rgba(201, 169, 110, 0.1);
}

.cursor-labeled .cursor-label {
  opacity: 1;
}

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

/* Hide default cursor on desktop */
@media (hover: hover) and (pointer: fine) {
  * {
    cursor: none !important;
  }
}
