/* ZerEcho custom animated cursor system.
   Only activates via cursor-fx.js on fine-pointer, motion-ok desktops.
   Until then, the static cursor:url() rules already on each page apply. */

html.ze-cur-ready, html.ze-cur-ready * { cursor: none !important; }

@keyframes zeCurPulse { 0%, 100% { opacity: .85 } 50% { opacity: .4 } }
@keyframes zeCaretBlink { 0%, 45% { opacity: 1 } 50%, 95% { opacity: 0 } 100% { opacity: 1 } }
@keyframes zeClickRipple { 0% { transform: scale(.3); opacity: .6 } 100% { transform: scale(2.6); opacity: 0 } }
@keyframes zeAutoscrollIn {
  from { opacity: 0; width: 20px; height: 20px; margin: -10px 0 0 -10px }
  to   { opacity: 1; width: 52px; height: 52px; margin: -26px 0 0 -26px }
}
@keyframes zeAutoscrollPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(57,255,136,.4) }
  50%      { box-shadow: 0 0 0 10px rgba(57,255,136,0) }
}

.ze-cur { position: fixed; top: 0; left: 0; width: 0; height: 0; pointer-events: none; z-index: 99999 }

.ze-cur-dot {
  position: absolute; top: 0; left: 0;
  width: 18px; height: 18px; margin: -9px 0 0 -9px;
  border: 1.5px solid #39FF88; border-radius: 50%; background: transparent;
  animation: zeCurPulse 2.1s ease-in-out infinite;
  transition: width .16s ease, height .16s ease, margin .16s ease, background .16s ease, border-radius .16s ease, border-color .16s ease;
}
.ze-cur-dot.is-hover {
  width: 36px; height: 36px; margin: -18px 0 0 -18px;
  background: rgba(57,255,136,.12);
  animation: none; opacity: 1;
}
.ze-cur-dot.is-text {
  width: 2px; height: 20px; margin: -10px 0 0 -1px;
  border-radius: 2px; background: #39FF88; border-color: transparent;
  animation: zeCaretBlink 1s steps(1, end) infinite;
}
.ze-cur-dot.is-down { width: 12px; height: 12px; margin: -6px 0 0 -6px }

.ze-click {
  position: fixed; top: 0; left: 0; width: 26px; height: 26px; margin: -13px 0 0 -13px;
  border: 1.5px solid #39FF88; border-radius: 50%;
  background: radial-gradient(circle, rgba(57,255,136,.35), transparent 70%);
  pointer-events: none; z-index: 99998;
  animation: zeClickRipple .5s ease-out forwards;
}

.ze-autoscroll {
  position: fixed; top: 0; left: 0; width: 52px; height: 52px; margin: -26px 0 0 -26px;
  border: 1.5px solid #39FF88; border-radius: 50%; background: rgba(10,10,12,.88);
  pointer-events: none; z-index: 99998;
  display: flex; align-items: center; justify-content: center;
  animation: zeAutoscrollIn .18s ease-out both, zeAutoscrollPulse 1.6s ease-in-out .2s infinite;
}
.ze-autoscroll svg { width: 26px; height: 26px; display: block }
.ze-as-arrow { transition: opacity .1s ease; opacity: .25 }
