/* Custom pointer: a pulsing pink dot, taken from heroes-interactivos. cursor.js
   creates it and sets .con-cursor, so without JavaScript, on touch screens and
   with coarse pointers the system cursor is left alone. */
.cursor-dot {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1000;
  width: 26px;
  height: 26px;
  margin: -13px 0 0 -13px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  will-change: transform;
}
.cursor-dot.is-visible { opacity: 1; }
.cursor-dot::before,
.cursor-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
}
.cursor-dot::before {
  background: #ed2275;
  box-shadow: 0 0 0 2px #fff, 0 4px 14px rgb(60 0 30 / .4);
  animation: cursorBeat .9s ease-in-out infinite alternate;
  transition: background .2s ease, box-shadow .2s ease;
}
.cursor-dot::after {
  border: 2px solid rgb(255 255 255 / .75);
  animation: cursorWave 1.8s ease-out infinite;
}
@keyframes cursorBeat { from { transform: scale(.72); } to { transform: scale(1.15); } }
@keyframes cursorWave { from { transform: scale(1); opacity: .75; } to { transform: scale(2.6); opacity: 0; } }

/* Over anything clickable the dot opens into a steady ring, which stands in for
   the hand cursor and leaves the label underneath readable. */
.cursor-dot.is-over::before {
  animation: none;
  transform: scale(1.7);
  background: rgb(237 34 117 / .18);
  box-shadow: 0 0 0 1.5px #ed2275, 0 0 0 3px #fff, 0 4px 14px rgb(60 0 30 / .3);
}
.cursor-dot.is-over::after { display: none; }

@media (hover: hover) and (pointer: fine) {
  .con-cursor, .con-cursor * { cursor: none !important; }
}
@media (hover: none), (pointer: coarse) {
  .cursor-dot { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .cursor-dot::before { animation: none; }
  .cursor-dot::after { display: none; }
}
