/* ==========================================================================
   Orbit 动画 · 网盘平台环绕轨道
   ========================================================================== */

/* 轨道容器：整环完整可见（不再被搜索框切掉图标） */
.orbit { position: relative; overflow: hidden; height: 392px; padding: 16px 0; }

.orbit-wrap {
  position: relative;
  width: 360px;
  height: 360px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: -1;
}

@property --orbit-glow {
  syntax: '<color>';
  initial-value: #d7ebf7;
  inherits: false;
}

.orbit-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(var(--orbit-glow) 0%, #fff 70%);
  animation: orbit-glow 10s ease-in-out infinite;
}

@keyframes orbit-glow {
  0%, 100% { --orbit-glow: #d7ebf7; }
  25% { --orbit-glow: #ecd4f4; }
  50% { --orbit-glow: #d4f0f2; }
  75% { --orbit-glow: #fffae0; }
}

.pulse-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 96px;
  height: 96px;
  margin: -48px 0 0 -48px;
  border: 5px solid #fff;
  border-radius: 50%;
  opacity: 0;
  transform: scale(.6);
  animation: orbit-pulse 4s ease-out infinite;
  pointer-events: none;
}

@keyframes orbit-pulse {
  0% { transform: scale(.6); opacity: .8; }
  100% { transform: scale(1.8); opacity: 0; }
}

.orbit-center {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 66px;
  height: 66px;
  margin: -33px 0 0 -33px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
}

.orbit-center .fb {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
}
.orbit-center img { width: 100%; height: 100%; object-fit: contain; }

.orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 2px dashed rgba(0, 0, 0, .08);
  border-radius: 50%;
  pointer-events: none;
}

.orbit-ring-1 { width: 220px; height: 220px; margin: -110px 0 0 -110px; }
.orbit-ring-2 { width: 340px; height: 340px; margin: -170px 0 0 -170px; border-color: rgba(0, 0, 0, .06); }

.orbit-item {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit-item .fb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, .12);
  transform-origin: center;
  animation: orbit-breathe var(--dur, 8s) ease-in-out infinite;
  animation-delay: var(--wave, 0s);
}

@keyframes orbit-breathe {
  0%, 20% { transform: scale(1); }
  24%, 74% { transform: scale(.62); }
  78%, 100% { transform: scale(1); }
}

.orbit-item .fb img {
  width: 62%;
  height: 62%;
  object-fit: contain;
  animation: orbit-fade var(--dur, 8s) ease-in-out infinite;
  animation-delay: var(--wave, 0s);
}

@keyframes orbit-fade {
  0%, 20% { opacity: 1; }
  24%, 74% { opacity: .38; }
  78%, 100% { opacity: 1; }
}

@keyframes orbit-upright {
  from { transform: rotate(0deg) translateY(var(--r)) rotate(0deg); }
  to   { transform: rotate(360deg) translateY(var(--r)) rotate(-360deg); }
}

.orbit-ring-1 .orbit-item { --r: -110px; animation: orbit-upright 90s linear infinite; }
.orbit-ring-2 .orbit-item { --r: -170px; animation: orbit-upright 120s linear infinite reverse; }

.orbit-ring-1 .pos-0 { animation-delay: 0s; }
.orbit-ring-1 .pos-60 { animation-delay: -15s; }
.orbit-ring-1 .pos-120 { animation-delay: -30s; }
.orbit-ring-1 .pos-180 { animation-delay: -45s; }
.orbit-ring-1 .pos-240 { animation-delay: -60s; }
.orbit-ring-1 .pos-300 { animation-delay: -75s; }

.orbit-ring-2 .pos-0 { animation-delay: 0s; }
.orbit-ring-2 .pos-60 { animation-delay: -20s; }
.orbit-ring-2 .pos-120 { animation-delay: -40s; }
.orbit-ring-2 .pos-180 { animation-delay: -60s; }
.orbit-ring-2 .pos-240 { animation-delay: -80s; }
.orbit-ring-2 .pos-300 { animation-delay: -100s; }

.orbit-ring-1 .pos-0 .fb, .orbit-ring-1 .pos-0 .fb img { --dur: 8s; --wave: -.5s; }
.orbit-ring-1 .pos-60 .fb, .orbit-ring-1 .pos-60 .fb img { --dur: 11s; --wave: -6.2s; }
.orbit-ring-1 .pos-120 .fb, .orbit-ring-1 .pos-120 .fb img { --dur: 9.5s; --wave: -2.7s; }
.orbit-ring-1 .pos-180 .fb, .orbit-ring-1 .pos-180 .fb img { --dur: 12.5s; --wave: -9.1s; }
.orbit-ring-1 .pos-240 .fb, .orbit-ring-1 .pos-240 .fb img { --dur: 7s; --wave: -4.3s; }
.orbit-ring-1 .pos-300 .fb, .orbit-ring-1 .pos-300 .fb img { --dur: 10.5s; --wave: -1.6s; }

.orbit-ring-2 .pos-0 .fb, .orbit-ring-2 .pos-0 .fb img { --dur: 13s; --wave: -7.8s; }
.orbit-ring-2 .pos-60 .fb, .orbit-ring-2 .pos-60 .fb img { --dur: 8.5s; --wave: -3.4s; }
.orbit-ring-2 .pos-120 .fb, .orbit-ring-2 .pos-120 .fb img { --dur: 11.5s; --wave: -.9s; }
.orbit-ring-2 .pos-180 .fb, .orbit-ring-2 .pos-180 .fb img { --dur: 9s; --wave: -5.5s; }
.orbit-ring-2 .pos-240 .fb, .orbit-ring-2 .pos-240 .fb img { --dur: 12s; --wave: -10.2s; }
.orbit-ring-2 .pos-300 .fb, .orbit-ring-2 .pos-300 .fb img { --dur: 7.5s; --wave: -2.1s; }

.data-particle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  opacity: .7;
  pointer-events: none;
  animation: orbit-drift var(--dur, 4s) ease-in-out infinite;
}

@keyframes orbit-drift {
  0%, 100% { transform: translate(0, 0); opacity: .25; }
  50% { transform: translate(var(--dx, 30px), var(--dy, -40px)); opacity: .8; }
}

@media (max-width: 720px) {
  .orbit-wrap { width: 280px; height: 280px; }
  .orbit-ring-1 { width: 176px; height: 176px; margin: -88px 0 0 -88px; }
  .orbit-ring-2 { width: 264px; height: 264px; margin: -132px 0 0 -132px; }
  .orbit-item { width: 36px; height: 36px; margin: -18px 0 0 -18px; }
  .orbit-center { width: 60px; height: 60px; margin: -30px 0 0 -30px; }
  .orbit-ring-1 .orbit-item { --r: -88px; }
  .orbit-ring-2 .orbit-item { --r: -132px; }
  .orbit { height: 318px; margin: 0 calc(-1 * var(--gutter)); padding: 16px 0; }
}