/* Original DOM orbit: geometry stays fixed; labels move through front/back layers. */
.hero-particles {
  --orbit-color: #6387e4;
  position: relative;
  isolation: isolate;
  width: 100%;
  height: 540px;
  min-width: 0;
  pointer-events: none;
  user-select: none;
}
.hero-particles::before {
  content: "";
  position: absolute;
  inset: 8% -8%;
  background: radial-gradient(ellipse at 50% 50%, #a2c9ff75, #babaff20 50%, transparent 72%);
  z-index: 0;
}
.hero-ball {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 66%;
  max-width: 440px;
  height: auto;
  transform: translate(-50%, -50%);
  z-index: 3;
  filter: drop-shadow(0 20px 32px rgb(24 59 115 / 18%));
  animation: orbit-float 9s ease-in-out infinite;
  animation-play-state: paused;
}
.oring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 78%;
  height: 34.32%;
  border: 1.5px solid color-mix(in srgb, var(--orbit-color) 48%, transparent);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(.3rad);
  z-index: 2;
}
.oring.o2 { width: 100%; height: 44%; border-width: 1px; border-color: color-mix(in srgb, var(--orbit-color) 24%, transparent); }
.oring.of { z-index: 5; clip-path: inset(46% 0 0); }
.odot {
  position: absolute;
  top: 0;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orbit-color);
  opacity: 0;
  z-index: 2;
}
.gsp {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--orbit-color);
  opacity: .3;
  z-index: 2;
  animation: orbit-twinkle 3.4s ease-in-out infinite;
  animation-play-state: paused;
}
.gsp:nth-of-type(1) { left: 13%; top: 26%; }
.gsp:nth-of-type(2) { left: 83%; top: 30%; animation-delay: -.8s; }
.gsp:nth-of-type(3) { left: 19%; top: 72%; animation-delay: -1.7s; }
.gsp:nth-of-type(4) { left: 76%; top: 76%; animation-delay: -2.4s; }
.gsp:nth-of-type(5) { left: 52%; top: 12%; animation-delay: -1.2s; }
.ochip {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px 5px 5px;
  border: 1px solid #33486b;
  border-radius: 999px;
  background: #10233d;
  color: #f5f8ff;
  box-shadow: 0 10px 24px -10px rgb(10 32 68 / 36%);
  font-size: 12px;
  font-weight: 550;
  line-height: 1.5;
  white-space: nowrap;
  visibility: hidden;
}
[data-ready] .ochip { visibility: visible; }
.orbit-icon { display: grid; place-items: center; flex: none; width: 22px; height: 22px; overflow: hidden; border-radius: 50%; background: #000; }
.orbit-logo { display: block; width: 22px; height: 22px; transform: scale(.75); filter: brightness(0) invert(1); }
.orbit-icon-claude { background: #d97757; }
.orbit-icon-gemini { background: #fff; box-shadow: inset 0 0 0 1px rgb(0 0 0 / 5%); }
.orbit-icon-gemini .orbit-logo { transform: scale(.8); filter: none; }
.orbit-icon-deepseek { background: #4d6bfe; }
.orbit-icon-kimi { background: #16191e; }
.orbit-icon-qwen { background: #615ced; }
[data-motion="running"] .hero-ball, [data-motion="running"] .gsp { animation-play-state: running; }
[data-motion="running"] .ochip, [data-motion="running"] .odot { will-change: transform, opacity; }
[data-theme="dark"] .hero-particles { --orbit-color: #89b4ff; }
[data-theme="dark"] .hero-particles::before { background: radial-gradient(ellipse at 50% 50%, #4d6fbc40, transparent 70%); }
[data-theme="dark"] .ochip { background: #1b2b46; border-color: #537197; color: #f5f8ff; }

@keyframes orbit-float {
  0%, 100% { transform: translate(-50%, -50%); }
  50% { transform: translate(-50%, -53.5%); }
}
@keyframes orbit-twinkle {
  0%, 100% { opacity: .16; transform: scale(.6); }
  50% { opacity: 1; transform: scale(1.15); }
}
@media (max-width: 1199px) {
  .hero-particles { height: 460px; }
}
@media (max-width: 900px) {
  .hero-particles { max-width: 680px; height: 420px; justify-self: center; z-index: 1; }
  .hero-ball { max-width: 380px; }
}
@media (max-width: 600px) {
  .hero-particles { width: calc(100% + 32px); height: 320px; margin-inline: -16px; }
  .hero-ball { width: 66%; max-width: 280px; }
  .ochip { gap: 5px; padding: 4px 9px 4px 4px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-ball, .gsp { animation: none; }
}
