/* 澶氭柟鍚戦€忔槑鏈哄櫒浜哄抚锛氬彧鍒囨崲棰勬覆鏌撹瑙掞紝涓嶅鏁村紶鍥剧墖鍋氶€忚鍙樺舰銆?*/
.robot-stage {
  position: relative;
  z-index: 3;
  justify-self: center;
  width: min(62vw, 860px);
  height: min(76vh, 760px);
  min-height: 540px;
  isolation: isolate;
  overflow: visible;
}

.robot-stage::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 2% -7% 8%;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 52% 31%, rgba(68, 221, 255, .16), transparent 56%),
    radial-gradient(ellipse at 48% 70%, rgba(130, 78, 255, .11), transparent 63%);
  filter: blur(22px);
  pointer-events: none;
}

.robot-stage::after {
  content: "";
  position: absolute;
  z-index: 1;
  left: 17%;
  right: 10%;
  bottom: 3%;
  height: 16%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(45, 203, 255, .2), transparent 71%);
  filter: blur(24px);
  pointer-events: none;
}

.robot,
.tracking-arm,
.cognition-core { display: none !important; }

.robot-frame-stack {
  position: absolute;
  z-index: 3;
  inset: -27% -30% -28%;
  display: grid;
  place-items: center;
  pointer-events: none;
  overflow: visible;
  -webkit-mask-image: radial-gradient(ellipse 64% 73% at 50% 45%, #000 58%, rgba(0, 0, 0, .88) 78%, transparent 100%);
  mask-image: radial-gradient(ellipse 64% 73% at 50% 45%, #000 58%, rgba(0, 0, 0, .88) 78%, transparent 100%);
}

.robot-frame-stack::before {
  content: "";
  position: absolute;
  inset: 16% 14% 11%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(78, 216, 255, .12), transparent 65%);
  filter: blur(28px);
  z-index: -1;
}

.robot-body-fixed,
.robot-frame-layer {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center 22%;
  transform: scale(1.18) translateY(14%);
  transform-origin: center 48%;
}

.robot-body-fixed {
  --body-lock-mask: linear-gradient(to bottom, transparent 0 50%, rgba(0, 0, 0, .14) 54%, rgba(0, 0, 0, .88) 59%, #000 62% 100%);
  z-index: 1;
  opacity: 1;
  -webkit-mask-image: var(--body-lock-mask);
  mask-image: var(--body-lock-mask);
  filter: drop-shadow(0 24px 32px rgba(0, 0, 0, .38)) drop-shadow(0 0 28px rgba(71, 214, 255, .14));
}

.robot-head-frame { backface-visibility: hidden; }

.robot-frame-layer {
  --head-neck-mask: linear-gradient(to bottom, #000 0 50%, rgba(0, 0, 0, .96) 53%, rgba(0, 0, 0, .34) 58%, transparent 64% 100%);
  z-index: 2;
  opacity: 0;
  -webkit-mask-image: var(--head-neck-mask);
  mask-image: var(--head-neck-mask);
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .24)) drop-shadow(0 0 22px rgba(71, 214, 255, .12));
  transition: opacity .5s ease-in-out;
  will-change: opacity;
}

.robot-frame-layer.is-active { opacity: 1; }
.orbit {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 42%;
  border: 1px solid rgba(100, 213, 255, .16);
  border-radius: 50%;
  pointer-events: none;
}

.orbit::before,
.orbit::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 14px var(--cyan);
}

.orbit-one { width: 82%; aspect-ratio: 1; margin: -41% 0 0 -41%; animation: realistic-orbit 26s linear infinite; }
.orbit-two { width: 106%; aspect-ratio: 1; margin: -53% 0 0 -53%; border-style: dashed; opacity: .4; animation: realistic-orbit-reverse 44s linear infinite; }
.orbit-three { width: 63%; aspect-ratio: 1; margin: -31.5% 0 0 -31.5%; border-color: rgba(163, 123, 255, .1); animation: realistic-orbit 34s linear infinite reverse; }
.orbit-one::before { left: 12%; top: 22%; }
.orbit-one::after { right: 5%; bottom: 30%; }
.orbit-two::before { right: 18%; top: 13%; }
.orbit-two::after { left: 21%; bottom: 9%; }

.pointer-readout {
  z-index: 10;
  left: 72%;
  top: 17%;
  padding-left: 17px;
  color: rgba(148, 207, 225, .62);
  transition: transform .16s ease-out;
}

.pointer-readout::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 0;
  width: 10px;
  height: 10px;
  border: 1px solid var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 17px rgba(85, 231, 255, .8), inset 0 0 5px var(--cyan);
}

.pointer-readout b { color: rgba(85, 231, 255, .9); }
.interaction-hint { z-index: 10; }

@keyframes realistic-orbit { to { transform: rotate(360deg); } }
@keyframes realistic-orbit-reverse { to { transform: rotate(-360deg); } }

@media (max-width: 1080px) {
  .robot-stage { width: 66vw; }
  .robot-frame-stack { inset: -23% -25% -24%; }
}

@media (max-width: 820px) {
  .robot-stage {
    width: min(100%, 720px);
    height: 590px;
    min-height: 0;
    margin: 8px auto -30px;
  }
  .robot-frame-stack { inset: -20% -20% -20%; }
  .robot-body-fixed, .robot-frame-layer { transform: scale(1.12) translateY(10%); }
}

@media (max-width: 560px) {
  .robot-stage {
    width: 720px;
    left: 50%;
    margin-left: -360px;
    transform: scale(.66);
  }
}

@media (prefers-reduced-motion: reduce) {
  .robot-frame-layer { transition: none; }
  .orbit { animation: none; }
}
