/* ==========================================================================
   KORA — Cursor customizado (apenas ponteiro fino + movimento permitido)
   ========================================================================== */

:root{
  --kora-cursor:#2BE8FF;
  --kora-cursor-soft:rgba(43,232,255,.42);
  --kora-cursor-glow:rgba(43,232,255,.55);
  --kora-cursor-fill:rgba(43,232,255,.07);
}
[data-theme="light"]{
  --kora-cursor:#0B8FBE;
  --kora-cursor-soft:rgba(11,143,190,.45);
  --kora-cursor-glow:rgba(11,143,190,.4);
  --kora-cursor-fill:rgba(11,143,190,.07);
}
[data-theme="light"] .kora-cursor-ring{
  box-shadow:
    0 9px 20px -12px rgba(12,45,95,.35),
    0 0 22px -8px var(--kora-cursor-glow),
    inset 0 0 14px -10px var(--kora-cursor);
}

html.kora-cursor-on,
html.kora-cursor-on *{
  cursor:none !important;
}
html.kora-cursor-on textarea,
html.kora-cursor-on [contenteditable="true"],
html.kora-cursor-on input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="submit"]):not([type="button"]){
  cursor:text !important;
}

.kora-cursor-ring,
.kora-cursor-dot,
.kora-cursor-ripple{
  position:fixed;
  left:0;
  top:0;
  translate:-50% -50%;
  pointer-events:none;
  border-radius:50%;
  opacity:0;
  will-change:transform;
}

.kora-cursor-ring{
  z-index:4000;
  width:34px;
  height:34px;
  border:1px solid var(--kora-cursor-soft);
  background:transparent;
  transform-style:preserve-3d;
  backface-visibility:hidden;
  box-shadow:
    0 9px 20px -12px rgba(0,0,0,.75),
    0 0 22px -8px var(--kora-cursor-glow),
    inset 0 0 14px -10px var(--kora-cursor);
  transition:
    width .3s cubic-bezier(.16,1,.3,1),
    height .3s cubic-bezier(.16,1,.3,1),
    opacity .22s ease,
    border-color .25s ease,
    background .25s ease;
}
.kora-cursor-ring::before{
  content:'';
  position:absolute;
  inset:6px;
  border-radius:50%;
  border:1px solid var(--kora-cursor-soft);
  opacity:.5;
  transform:translateZ(-14px);
  pointer-events:none;
}
.kora-cursor-ring::after{
  content:'';
  position:absolute;
  inset:-5px;
  border-radius:50%;
  background:conic-gradient(from 0deg,transparent 0 56%,var(--kora-cursor) 76%,transparent 88%);
  -webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 1.5px),#000 0);
  mask:radial-gradient(farthest-side,transparent calc(100% - 1.5px),#000 0);
  animation:kora-orbit 3.2s linear infinite;
  opacity:.9;
}
@keyframes kora-orbit{
  from{transform:rotate(0deg);}
  to{transform:rotate(360deg);}
}

.kora-cursor-dot{
  z-index:4001;
  width:5px;
  height:5px;
  background:var(--kora-cursor);
  box-shadow:0 0 12px var(--kora-cursor-glow);
  transition:width .22s ease,height .22s ease,opacity .2s ease,background .25s ease;
}

.kora-cursor-ring.is-hover{
  width:54px;
  height:54px;
  border-color:var(--kora-cursor);
  background:var(--kora-cursor-fill);
  box-shadow:
    0 0 30px -8px var(--kora-cursor-glow),
    inset 0 0 20px -12px var(--kora-cursor);
}
.kora-cursor-ring.is-hover::after{animation-duration:1.5s;}
.kora-cursor-dot.is-hover{width:3px;height:3px;opacity:.65;}

.kora-cursor-ring.is-down{width:24px;height:24px;}
.kora-cursor-dot.is-down{width:7px;height:7px;}

.kora-cursor-dot.is-hidden,
.kora-cursor-ring.is-hidden{opacity:0 !important;}

.kora-cursor-ripple{
  z-index:3999;
  width:12px;
  height:12px;
  border:1px solid var(--kora-cursor);
  animation:kora-ripple .55s cubic-bezier(.16,1,.3,1) forwards;
}
@keyframes kora-ripple{
  from{scale:.35;opacity:.85;}
  to{scale:3.4;opacity:0;}
}

@media (pointer:coarse),(prefers-reduced-motion:reduce){
  .kora-cursor-ring,
  .kora-cursor-dot,
  .kora-cursor-ripple{display:none !important;}
}
