.orb-launcher {
  position: fixed;
  top: 54%;
  right: clamp(14px, 2vw, 28px);
  z-index: 89;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(224, 17, 57, 0.56);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(224, 17, 57, 0.18), transparent 62%),
    rgba(6, 6, 6, 0.78);
  box-shadow:
    0 0 0 1px rgba(224, 17, 57, 0.06),
    0 0 24px rgba(224, 17, 57, 0.18),
    inset 0 0 18px rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transform: translateY(-50%);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
  -webkit-tap-highlight-color: transparent;
}

.orb-launcher::before {
  position: absolute;
  content: "";
  border-radius: 50%;
  pointer-events: none;
}

.orb-launcher::before {
  inset: -8px;
  border: 1px dashed rgba(224, 17, 57, 0.28);
  animation: orb-launcher-spin 9s linear infinite;
}

.orb-launcher:hover,
.orb-launcher:focus-visible {
  border-color: rgba(255, 255, 255, 0.86);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 0 28px rgba(224, 17, 57, 0.34),
    0 0 54px rgba(255, 255, 255, 0.08),
    inset 0 0 22px rgba(255, 255, 255, 0.08);
  outline: none;
  transform: translateY(-50%) scale(1.05);
}

.orb-launcher__ring {
  position: absolute;
  width: 33px;
  height: 33px;
  border: 1px solid rgba(224, 17, 57, 0.58);
  border-radius: 50%;
  box-shadow: inset 0 0 12px rgba(224, 17, 57, 0.12);
}

.orb-launcher__ring::before {
  position: absolute;
  top: 50%;
  right: -5px;
  left: -5px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(224, 17, 57, 0.72), transparent);
  transform: translateY(-50%) rotate(-9deg);
}

.orb-launcher__core {
  position: relative;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(224, 17, 57, 0.9), rgba(224, 17, 57, 0.18) 58%, transparent 72%);
  box-shadow:
    0 0 12px rgba(224, 17, 57, 0.6),
    0 0 22px rgba(255, 255, 255, 0.14);
}

@keyframes orb-launcher-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 640px) {
  .orb-launcher {
    top: auto;
    right: 18px;
    bottom: 22px;
    width: 54px;
    height: 54px;
    transform: none;
  }

  .orb-launcher:hover,
  .orb-launcher:focus-visible {
    transform: scale(1.04);
  }
}

@media (prefers-reduced-motion: reduce) {
  .orb-launcher::before {
    animation: none;
  }
}
