/* 首页 VR 球体：视频作淡底，HTML 子项负责可点击环绕 */
.cpzx-sphere {
  position: relative;
  overflow: hidden;
  background: #f4f7fb;
  padding: 72px 0 96px;
  color: #1a2a3a;
}

.cpzx-sphere-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
  pointer-events: none;
  opacity: 1;
  filter: saturate(0.9);
  /* iOS 部分机型 absolute 视频需要合成层才稳定显示 */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.cpzx-sphere-mask {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at 50% 55%, rgba(244, 247, 251, 0.22) 0%, rgba(244, 247, 251, 0.42) 48%, rgba(244, 247, 251, 0.72) 100%);
  pointer-events: none;
}

.cpzx-sphere > .max1600 {
  position: relative;
  z-index: 2;
}

.cpzx-sphere .cpzx_ft {
  position: relative;
  text-align: center;
  padding-top: 0;
  background: none;
  z-index: 3;
}

.cpzx-sphere .cpzx_ft .diqiu { display: none; }

.cpzx-sphere .cpzx_ft h3 {
  margin: 0;
  color: rgba(70, 120, 170, 0.55);
  font-size: 13px;
  letter-spacing: 6px;
  font-weight: 500;
}

.cpzx-sphere .cpzx_ft h4 {
  margin: 12px 0 0;
  color: #1c3550;
  font-size: clamp(28px, 2.4vw, 42px);
  font-weight: 400;
  letter-spacing: 2px;
  text-shadow: none;
}

.cpzx-sphere .cpzx_ft h5 {
  margin-top: 12px;
  color: rgba(60, 90, 120, 0.72);
  font-size: 14px;
  letter-spacing: 2px;
}

.vr-sphere-stage {
  position: relative;
  height: 560px;
  margin-top: 48px;
  perspective: 1600px;
  perspective-origin: 50% 50%;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  overflow: visible;
  z-index: 2;
}

.vr-sphere-stage.is-dragging { cursor: grabbing; }

.vr-sphere {
  position: absolute;
  left: 50%;
  top: 52%;
  width: 0;
  height: 0;
  transform-style: preserve-3d;
  z-index: 2;
}

.vr-sphere-item {
  position: absolute;
  left: 0;
  top: 0;
  width: 120px;
  margin-left: -60px;
  margin-top: -58px;
  transform-style: flat;
  text-align: center;
  will-change: transform, opacity;
  backface-visibility: hidden;
}

.vr-sphere-item a {
  display: block;
  width: 120px;
  text-decoration: none;
  color: #1c3550;
  transition: filter 0.25s ease;
}

.vr-sphere-item a:hover {
  filter: drop-shadow(0 8px 14px rgba(40, 110, 180, 0.22));
}

.vr-sphere-item a:hover .vr-sphere-icon {
  transform: scale(1.08);
  border-color: #fff;
  box-shadow:
    0 0 0 1px rgba(80, 150, 210, 0.4),
    0 6px 18px rgba(50, 120, 190, 0.2);
}

.vr-sphere-item a:hover .vr-sphere-label {
  color: #117dc2;
}

.vr-sphere-icon {
  width: 88px;
  height: 88px;
  margin: 0 auto;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid #fff;
  box-shadow:
    0 0 0 1px rgba(120, 170, 210, 0.25),
    0 4px 14px rgba(40, 90, 140, 0.12);
  overflow: hidden;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.vr-sphere-icon-inner {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
}

.vr-sphere-icon-inner::before,
.vr-sphere-icon-inner::after {
  content: none !important;
  display: none !important;
}

.vr-sphere-pic {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  height: 100% !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.vr-sphere-pic img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: 88px;
  height: 88px;
  object-fit: contain;
  transform: none !important;
}

.vr-sphere-pic--b {
  opacity: 0 !important;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.vr-sphere-item a:hover .vr-sphere-pic--b {
  opacity: 1 !important;
}

.vr-sphere-label {
  display: block !important;
  box-sizing: border-box;
  width: 120px !important;
  max-width: 120px !important;
  min-height: 1.4em;
  margin: 10px auto 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
  letter-spacing: 0 !important;
  word-spacing: normal !important;
  white-space: nowrap !important;
  writing-mode: horizontal-tb !important;
  text-align: center !important;
  color: #2a4660 !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) !important;
  float: none !important;
  position: static !important;
  transform: none !important;
}

.vr-sphere-label::before,
.vr-sphere-label::after {
  content: none !important;
  display: none !important;
}

.vr-sphere-hint {
  position: relative;
  z-index: 3;
  margin-top: 8px;
  text-align: center;
  font-size: 12px;
  letter-spacing: 1px;
  color: rgba(80, 110, 140, 0.5);
}

@media (max-width: 900px) {
  .vr-sphere-stage { height: 480px; }
  .vr-sphere-item,
  .vr-sphere-item a,
  .vr-sphere-label {
    width: 100px;
    max-width: 100px;
  }
  .vr-sphere-item {
    margin-left: -50px;
    margin-top: -50px;
  }
  .vr-sphere-icon,
  .vr-sphere-pic img {
    width: 72px;
    height: 72px;
  }
  .vr-sphere-label { font-size: 12px; }
}

@media (max-width: 560px) {
  .cpzx-sphere { padding: 48px 0 64px; }
  .cpzx-sphere-mask {
    background:
      radial-gradient(ellipse at 50% 52%, rgba(244, 247, 251, 0.12) 0%, rgba(244, 247, 251, 0.28) 45%, rgba(244, 247, 251, 0.55) 100%);
  }
  .cpzx-sphere-bg {
    opacity: 1;
    /* 部分安卓 WebView 对 cover + absolute 裁切异常，改为稍放大 */
    object-fit: cover;
    min-height: 100%;
  }
  .vr-sphere-stage { height: 400px; margin-top: 28px; }
  .vr-sphere-item,
  .vr-sphere-item a,
  .vr-sphere-label {
    width: 84px;
    max-width: 84px;
  }
  .vr-sphere-item {
    margin-left: -42px;
    margin-top: -44px;
  }
  .vr-sphere-icon,
  .vr-sphere-pic img {
    width: 60px;
    height: 60px;
  }
  .vr-sphere-label {
    font-size: 11px;
    margin-top: 8px;
  }
}
