/* =============================================================
   ZEYD ONLINE - LAV / TAS CUSTOM CURSOR
   Yalnizca hover + fine pointer destekli masaustu cihazlarda aktiftir.
   ============================================================= */

@media (hover: hover) and (pointer: fine) {
  html.has-zeyd-cursor,
  html.has-zeyd-cursor * {
    cursor: none !important;
  }
}

.zeyd-cursor {
  position: fixed;
  z-index: 2147483646;
  top: 0;
  left: 0;
  width: 46px;
  height: 56px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-100px, -100px, 0);
  transition: opacity 90ms ease;
  contain: layout style paint;
  will-change: transform;
}

.zeyd-cursor.is-visible { visibility: visible; opacity: 1; }

.zeyd-cursor__art {
  position: absolute;
  inset: 0;
  display: block;
  transform: scale(.63);
  transform-origin: 2px 2px;
  transition: transform 110ms ease;
  will-change: transform;
}

.zeyd-cursor.is-hovering .zeyd-cursor__art {
  transform: scale(.711);
}

.zeyd-cursor.is-pressed .zeyd-cursor__art { transform: scale(.567) rotate(-2deg); }
.zeyd-cursor.is-hovering.is-pressed .zeyd-cursor__art { transform: scale(.63) rotate(-2deg); }
.zeyd-cursor__svg { display: block; width: 46px; height: 56px; overflow: visible; }
.zeyd-cursor__shadow { fill: rgba(0, 0, 0, .72); transform: translate(2px, 3px); }
.zeyd-cursor__stone { fill: url(#zeyd-cursor-stone); stroke: #180307; stroke-width: 3.2; stroke-linejoin: bevel; }
.zeyd-cursor__facet { fill: rgba(125, 30, 33, .28); stroke: rgba(241, 92, 38, .22); stroke-width: .7; stroke-linejoin: bevel; }
.zeyd-cursor__edge {
  fill: none;
  stroke: url(#zeyd-cursor-edge);
  stroke-width: 1.25;
  stroke-linejoin: bevel;
  transition: stroke 100ms ease, stroke-width 100ms ease;
}
.zeyd-cursor.is-hovering .zeyd-cursor__edge {
  stroke: #ffe27a;
  stroke-width: 1.8;
}
.zeyd-cursor__lava { fill: none; stroke-linecap: round; stroke-linejoin: bevel; }
.zeyd-cursor__lava--back { stroke: #ff4b0a; stroke-width: 2.5; opacity: .92; }
.zeyd-cursor__lava--core {
  stroke: #ffe07a;
  stroke-width: .75;
  stroke-dasharray: 3 3;
  animation: zeyd-cursor-lava-flow .84s linear infinite;
}

.zeyd-cursor__ember {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #ffd56a;
  box-shadow: 0 0 5px 1px #ff4c0d;
  opacity: 0;
  animation: zeyd-cursor-ember 1.55s ease-out infinite;
}
.zeyd-cursor__ember.is-one { left: 18px; top: 20px; animation-delay: -.25s; }
.zeyd-cursor__ember.is-two { left: 28px; top: 30px; animation-delay: -.8s; transform: scale(.7); }

.zeyd-cursor-burst {
  position: fixed;
  z-index: 2147483645;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
  transform: translate3d(var(--burst-x), var(--burst-y), 0);
}

.zeyd-cursor-burst__ring {
  position: absolute;
  left: 0;
  top: 0;
  width: 8px;
  height: 8px;
  border: 2px solid #ffb53d;
  border-radius: 50%;
  box-shadow: 0 0 4px rgba(255, 61, 9, .72);
  transform: translate(-50%, -50%) scale(.35);
  animation: zeyd-cursor-burst-ring 360ms ease-out forwards;
}

.zeyd-cursor-burst__spark {
  position: absolute;
  left: -1px;
  top: -5px;
  width: 2px;
  height: 7px;
  border-radius: 60% 60% 45% 45%;
  background: linear-gradient(#fff4ae, #ff9a20 52%, #b51b0c);
  transform-origin: 1px 5px;
  transform: rotate(var(--spark-angle)) translateY(-3px) scale(1);
  animation: zeyd-cursor-burst-spark 430ms cubic-bezier(.16, .7, .24, 1) var(--spark-delay) forwards;
}

@keyframes zeyd-cursor-lava-flow { to { stroke-dashoffset: -6; } }
@keyframes zeyd-cursor-ember {
  0%, 42% { opacity: 0; translate: 0 2px; }
  55% { opacity: 1; }
  100% { opacity: 0; translate: 5px -13px; }
}
@keyframes zeyd-cursor-burst-ring {
  0% { opacity: 1; transform: translate(-50%, -50%) scale(.35); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(2.5); }
}
@keyframes zeyd-cursor-burst-spark {
  0% { opacity: 1; transform: rotate(var(--spark-angle)) translateY(-3px) scale(1); }
  100% { opacity: 0; transform: rotate(var(--spark-angle)) translateY(calc(-1 * var(--spark-distance))) scale(.15); }
}

@media (prefers-reduced-motion: reduce) {
  .zeyd-cursor__lava--core,
  .zeyd-cursor__ember,
  .zeyd-cursor-burst__ring,
  .zeyd-cursor-burst__spark { animation: none !important; }
  .zeyd-cursor-burst { display: none; }
}

@media (hover: none), (pointer: coarse) {
  .zeyd-cursor,
  .zeyd-cursor-burst { display: none !important; }
}
