/* Orbit — the logo's crossed ellipses blown up, spinning around a glowing core */

.orbit {
  position: relative;
  width: min(100%, 440px);
  aspect-ratio: 1;
  margin-inline: auto;
}

.orbit__mark {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--violet-bright);
  stroke-width: 0.9;
  overflow: visible;
  animation: orbit-spin 28s linear infinite;
}
/* Same box and spin as the rings, stacked above the core so the spark never hides behind it */
.orbit__mark--front {
  z-index: 1;
}
.orbit__mark ellipse:last-of-type {
  stroke: var(--lilac);
  stroke-dasharray: 2 3;
}
.orbit__spark {
  fill: var(--lime);
  stroke: none;
  filter: drop-shadow(0 0 4px var(--lime));
}

.orbit__core {
  position: absolute;
  inset: 34%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, var(--violet-bright), var(--brand) 70%);
  box-shadow:
    0 0 80px rgba(124, 58, 237, 0.65),
    inset 0 -8px 24px rgba(0, 0, 0, 0.35);
  font-family: var(--font-display);
  font-size: clamp(3rem, 9vw, 5rem);
  font-weight: 800;
  color: #fff;
  animation: orbit-pulse 4s ease-in-out infinite;
}

@keyframes orbit-spin {
  to {
    rotate: 360deg;
  }
}
@keyframes orbit-pulse {
  50% {
    scale: 1.05;
  }
}
