/* ==========================================================================
   KAYAN LUXURY FASHION — CUSTOM CURSOR
   ========================================================================== */

.custom-cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background-color: var(--color-accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: var(--z-cursor);
  transform: translate(-50%, -50%);
  transition: width 0.2s ease, height 0.2s ease, opacity 0.2s ease;
  will-change: transform;
}

.custom-cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--color-text);
  border-radius: 50%;
  pointer-events: none;
  z-index: calc(var(--z-cursor) - 1);
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease-out-expo),
              height 0.3s var(--ease-out-expo),
              background-color 0.2s ease,
              border-color 0.2s ease,
              opacity 0.2s ease;
  will-change: transform;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: transparent;
}

/* Cursor Hover Morphs */
.custom-cursor-ring.cursor-hover {
  width: 54px;
  height: 54px;
  background-color: rgba(201, 138, 76, 0.15);
  border-color: var(--color-accent);
}

.custom-cursor-ring.cursor-view {
  width: 72px;
  height: 72px;
  background-color: var(--brand-obsidian-ink);
  border-color: var(--brand-obsidian-ink);
  color: var(--brand-raw-alabaster);
}

.custom-cursor-ring.cursor-drag {
  width: 68px;
  height: 68px;
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: #FFFFFF;
}

.custom-cursor-ring.cursor-hidden,
.custom-cursor-dot.cursor-hidden {
  opacity: 0;
}

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