/* ============================================
   ZEALO · cursor.css
   Custom cursor: dot + ring
   Sirf mouse wale devices par chalta hai.
   ============================================ */

/* Asli cursor tab hi chhupta hai jab JS custom cursor start kar de */
.has-cursor,
.has-cursor * { cursor: none !important; }

.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: var(--z-cursor);
  opacity: 0;
  transition: opacity 0.3s;
}
.cursor-visible .cursor-dot,
.cursor-visible .cursor-ring { opacity: 1; }

/* Chhota dot (cursor ki asli jagah) */
.cursor-dot {
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  border-radius: 50%;
  background: var(--bone);
}

/* Ring (peeche halka sa chalta hai) */
.cursor-ring__inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 38px;
  height: 38px;
  border: 1px solid var(--pewter);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  transition: width 0.5s var(--ease),
              height 0.5s var(--ease),
              background 0.5s var(--ease),
              border-color 0.5s var(--ease);
}

.cursor-ring__label {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--onyx);
  opacity: 0;
  transition: opacity 0.3s;
}

/* Link / button par */
.cursor-ring.is-link .cursor-ring__inner {
  width: 64px;
  height: 64px;
  border-color: var(--bone);
}

/* Label wale elements par (jaise "View") */
.cursor-ring.is-label .cursor-ring__inner {
  width: 92px;
  height: 92px;
  background: var(--pewter);
  border-color: var(--pewter);
}
.cursor-ring.is-label .cursor-ring__label { opacity: 1; }

/* Click karte waqt */
.cursor-ring.is-down .cursor-ring__inner {
  width: 28px;
  height: 28px;
}
/* Forms mein asli cursor (typing ke liye) */
.has-cursor input,
.has-cursor textarea,
.has-cursor select,
.has-cursor [contenteditable] { cursor: text !important; }
.has-cursor select,
.has-cursor input[type="checkbox"],
.has-cursor input[type="radio"],
.has-cursor input[type="submit"] { cursor: pointer !important; }