.hero {
  position: relative;
  padding-top: var(--header-h);
  overflow: hidden;
  background: linear-gradient(180deg, #09153c 0%, #09153c 80%, rgba(9, 21, 60, 0) 100%);
  width: 100%;
}

.hero-banner {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  pointer-events: none;
  background: url("../img/banner.png") no-repeat center bottom / contain;
  -webkit-mask-image: linear-gradient(180deg, #000 80%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 80%, transparent 100%);
  transform-origin: 50% 60%;
  animation: heroBreath 6s ease-in-out infinite;
  will-change: transform, opacity;
}

@keyframes heroBreath {
  0%,
  100% {
    transform: scale(1);
    opacity: .92;
  }

  50% {
    transform: scale(1.025);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-banner {
    animation: none;
  }
}

.hero-fx {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.fx-dot {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  background: #5EF1FF;
  box-shadow: 0 0 .1rem rgba(94, 241, 255, .9), 0 0 .2rem rgba(47, 139, 255, .5);
  opacity: 0;
  animation: heroDotFloat var(--t) ease-in-out var(--d) infinite;
  will-change: transform, opacity;
}

@keyframes heroDotFloat {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0;
  }

  25% {
    opacity: .85;
  }

  50% {
    transform: translateY(-.32rem);
    opacity: .5;
  }

  75% {
    opacity: .85;
  }
}

.hero-inner {
  height: 6.30rem;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: .3rem;
  padding: .55rem 0.5rem 0 0.5rem;
}

.hero-text {
  flex: 1 1 0;
  min-width: 0;
}

.hero-title {
  display: flex;
  flex-direction: column;
  font-family: "Alimama ShuHeiTi", "PingFang SC", "Microsoft YaHei", sans-serif;
  gap:0.15rem;
}

.hero-title .t1 {
  font-size: .60rem;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: .04rem;
  background: linear-gradient(0deg, #7866FF, #0E90FF, #3BDCFF);
  background-clip: text;
  -webkit-text-fill-color: transparent; 
  color: transparent;
  text-shadow: 0 0 .3rem rgba(47, 139, 255, .55);
}

.hero-title .t2 {
  font-size: .6rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: .02rem;
  color: #fff;
  text-shadow: 0 0 .36rem rgba(47, 139, 255, .55);
}

.hero-stats {
  display: flex;
  margin-top: .5rem;
  max-width: 7.8rem;
}

.hero-stat {
  flex: 1;
  padding-left: .2rem;
  border-left: 1px solid rgba(255, 255, 255, .28);
}

.hero-stat:first-child {
  border-left: 0;
  padding-left: 0;
}

.hero-stat .num {
  display: flex;
  align-items: baseline;
  font-family: "Alimama ShuHeiTi", "Bahnschrift", "DIN Alternate", "PingFang SC", sans-serif;
  font-size: .32rem;
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
}

.hero-stat .count {
  color: #fff;
}

.hero-stat .num i {
  font-style: normal;
  font-size: .18rem;
  font-weight: 400 !important;
  color: rgba(255, 255, 255, .9);
  margin-left: .03rem;
}

.hero-stat p {
  font-size: .16rem;
  color: rgba(255, 255, 255, .85);
  margin-top: .14rem;
  white-space: nowrap;
}

/* ============================================================
   3. 区块通用（各科普板块共用：标题 + 资源行 + 轮播指示点）
   ============================================================ */
.main-content {
  position: relative;
  overflow: hidden;
}

.sec {
  position: relative;
  padding: .26rem 0 .5rem;
}

.sec-head {
  position: relative;
  text-align: center;
  margin-bottom: .34rem;
  z-index: 2;
}

.sec-label {
  display: inline-block;
  padding: .04rem .20rem;
  border-radius: .08rem;
  border: 1px solid #182D7E;
  background: #0B1743;
}
.sec-label span {
  font-size: .16rem;
  background: linear-gradient(0deg, #7866FF 0%, #0E90FF 39.2578125%, #3BDCFF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-family: Source Han Sans CN;
}

.sec-title {
  display: block;
  margin-top: .1rem;
  font-family: "Alimama ShuHeiTi", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: .36rem;
  font-weight: 700;
  letter-spacing: .01rem;
  line-height: 1.3;
  color: #fff;
  text-shadow: 0 0 .3rem rgba(47, 139, 255, .45);
}

.sec-sub {
  font-size: .14rem;
  color: #fff;
  margin-top: .12rem;
}

 .res-link {
  font-family: Source Han Sans CN;
  font-weight: 500;
  font-size: 0.12rem;
  background: linear-gradient(0deg, #7866FF 0%, #0E90FF 39.2578125%, #3BDCFF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #fff;
}

.res-link .jt {
  display: inline-block;
  width: 0.16rem;
  height: 0.09rem;
  background: url('../img/jaintou.png') no-repeat center;
}

.res-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .16rem;
}

.res-qr {
  display: flex;
  align-items: center;
  gap: .1rem;
  min-width: 0;
  cursor: zoom-in;
}

.res-qr:focus-visible {
  outline: 2px solid rgba(94, 241, 255, .7);
  outline-offset: 3px;
  border-radius: .04rem;
}

.qr-label {
  font-size: .13rem;
  color: #B7CBE8;
  white-space: nowrap;
}

.qr-img {
  flex: 0 0 auto;
  width: .56rem;
  height: .56rem;
  border-radius: .06rem;
  background: #fff;
  padding: .03rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.qr-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qr-img canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.res-link {
  display: inline-flex;
  align-items: center;
  gap: .04rem;
  font-size: .13rem;
  color: #fff;
  white-space: nowrap;
  opacity: .85;
  transition: opacity .3s ease, transform .3s ease;
}

.res-link .ico {
  width: .14rem;
  height: .14rem;
}

.res-link:hover {
  opacity: 1;
  transform: translateX(2px);
}

/* 统一：父级卡片 hover 时，内部 .res-link 文字变白，箭头图标切换为 jt.png */
.news-card:hover .res-link,
.anim-card:hover .res-link,
.gallery-item:hover .res-link,
.game-card:hover .res-link,
.vsim-card:hover .res-link {
  color: #fff;
  -webkit-text-fill-color: #fff;
  background: none;
  opacity: 1;
}

.news-card:hover .res-link .jt,
.anim-card:hover .res-link .jt,
.gallery-item:hover .res-link .jt,
.game-card:hover .res-link .jt,
.vsim-card:hover .res-link .jt {
  background: url('../img/jt.png') no-repeat center;
  background-size: contain;
}

/* 轮播指示点：科普游戏 / 虚拟仿真 / 科普动画共用，选中项放大并显示页码 */
.dots {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .08rem;
  margin-top: .34rem;
  z-index: 2;
  height: 0.3rem;
}

.dots li,
.anim-swiper .swiper-pagination-bullet {
  display: flex;
  align-items: center;
  justify-content: center;
  width: .12rem;
  height: .12rem;
  border-radius: 50%;
  background: rgba(36,122,255,0.38);
  font-size: 0;
  cursor: pointer;
  transition: width .3s ease, height .3s ease, background .3s ease;
}

.dots li.is-active,
.anim-swiper .swiper-pagination-bullet-active {
  width: .28rem;
  height: .28rem;
  line-height: 0.28rem;
  font-size: .13rem;
  font-weight: 400;
  color: #fff;
  background: url(../img/dot_active.png) no-repeat center;
  background-size: contain;
  box-shadow: 0 0 .12rem rgba(94, 241, 255, .6);
  animation: dotPulse 2.6s ease-in-out infinite;
}

@keyframes dotPulse {
  0%,
  100% {
    box-shadow: 0 0 .1rem rgba(94, 241, 255, .45);
  }

  50% {
    box-shadow: 0 0 .24rem rgba(94, 241, 255, .95);
  }
}

.pager-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .24rem;
  margin-top: .34rem;
  z-index: 2;
}

/* 外边距由控制栏统一提供；同时抵消 Swiper 默认给分页器的 width:100%，避免挤开箭头 */
.pager-bar .dots {
  flex: 0 1 auto;
  width: auto;
  margin-top: 0;
}

.pager-arrow {
  flex: 0 0 auto;
  width: .2rem;
  height: .19rem;
  padding: 0;
  border: 0;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  cursor: pointer;
  transition: transform .25s ease, filter .25s ease;
}

.pager-arrow:focus-visible {
  outline: 2px solid rgba(94, 241, 255, .7);
  outline-offset: 3px;
  border-radius: .04rem;
}

/* 可点击态：亮蓝双箭头 */
.pager-prev {
  background-image: url("../img/jiantou_active_left.png");
}

.pager-next {
  background-image: url("../img/jiantou_active_right.png");
}

/* 禁用态：深蓝双箭头 */
.pager-prev:disabled {
  background-image: url("../img/jaintou_left.png");
}

.pager-next:disabled {
  background-image: url("../img/jaintou_right.png");
}

.pager-arrow:not(:disabled):hover {
  transform: scale(1.12);
  filter: drop-shadow(0 0 .08rem rgba(94, 241, 255, .55));
}

.pager-arrow:disabled {
  cursor: default;
  pointer-events: none;
}

/* ============================================================
   4. 科普动态
   ============================================================ */
.kpjd-szbwg-box {
  width: 100%;
  height: auto;
  background: url('../img/kpdt_bg2.png') no-repeat center 48%;
  background-size: contain;
}

.news-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .20rem;
  z-index: 2;
}

.news-card {
  position: relative;
  height: 1.9rem;
  padding: .3rem .2rem .2rem .21rem;
  background: linear-gradient(0deg, rgba(36,122,255,0.21) 0%, rgba(4,15,59,0.04) 100%);
  border-radius: 0.12rem;
  border: 1px solid #1D348E;
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
  box-sizing: border-box;
}

.news-card:hover {
  transform: translateY(-4px);
  border-color: rgba(94, 241, 255, .45);
  box-shadow: 0 .12rem .32rem rgba(30, 99, 255, .26);
}

.news-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .16rem;
}

.news-date {
  color:#24C0FF;
  display: flex;
  align-items: baseline;
  gap: .05rem;
  font-family: "Bahnschrift", "DIN Alternate", "Arial Narrow", "PingFang SC", sans-serif;
}

.news-date b {
  font-size: .28rem;
  font-weight: 500;
  line-height: 1;
}

.news-date i {
  font-style: normal;
  font-size: .12rem;
  opacity: 0.6;
}

.news-card h3 {
  margin-top: .18rem;
  font-size: .18rem;
  font-weight: 400;
  line-height: 1.5;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-card p {
  margin-top: .1rem;
  font-size: .14rem;
  line-height: 1.71;
  color: rgba(232, 243, 255, .88);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-more-wrap {
  margin-top: 0.34rem;
  text-align: center;
}

.news-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: .34rem;
  padding: 0 .24rem;
  border-radius: 0.09rem;
  font-size: .14rem;
  color: #fff;
  background: #182D7E;
  border: 1px solid #182D7E;
  box-shadow: 0 .08rem .24rem rgba(30, 99, 255, .3);
  transition: filter .3s ease, transform .3s ease;
}

.news-more:hover {
  color: #fff;
  filter: brightness(1.12);
  transform: translateY(-2px);
}

/* ============================================================
   5. 数字博物馆
   ============================================================ */
.sec-museum {
  padding-top: 0.2rem;
  padding-bottom: 0.05rem;
}
.sec-museum .sec-label span{
  background: linear-gradient(0deg, #7866FF 0%, #0E90FF 39.2578125%, #3BDCFF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #fff;
}
.museum-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .9rem;
  padding: 0 .6rem;
  z-index: 2;
}

.museum-visual {
  position: relative;
  width: 5rem;
  height: 5rem;
}

.museum-visual::before,
.museum-visual::after {
  content: none;
}

.museum-photo {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* 大圆：bwg_bg.png 原图 500px，即 5rem，撑满 .museum-visual */
.museum-photo .museum-rings {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  pointer-events: none;
  animation: spin 26s linear infinite;
}

/* 小圆：照片 3.58rem，居中于大圆内，四周留 .71rem 间隙 */
.museum-photo .museum-pic {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  width: 3.58rem;
  height: 3.58rem;
  object-fit: cover;
  display: block;
  border-radius: 50%;
  box-shadow: 0 0 .5rem rgba(30, 99, 255, .28), inset 0 0 .4rem rgba(94, 241, 255, .16);
}

.museum-content {
  flex: 1;
  min-width: 0;
  max-width: 5.2rem;
}

.museum-content > p {
  font-size: .16rem;
  line-height: 2.25;
  color: rgba(232, 243, 255, .9);
  text-align: justify;
  max-width: 5.35rem;
}

.museum-content .res-row {
  margin-top: .34rem;
}

.museum-content .btn-primary {
  height: .34rem;
  padding: 0 .2rem;
  font-size: .12rem;
  background: linear-gradient(0deg, #7866FF, #0E90FF);
  border-radius: 8px;
}
.museum-content .btn-primary .jt{
  display: inline-block;
  width: 0.16rem;
  height: 0.2rem;
  background: url(../img/jt.png) no-repeat left;
  background-size: contain;
}

/* ============================================================
   6. 科普动画
   ============================================================ */
   .sec-anim.sec {
    padding-top: 0;
   }
.anim-swiper {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0 auto;
  padding: 0 0 .16rem;
  overflow: hidden;
}

.anim-swiper .swiper-wrapper {
  align-items: stretch;
}

.anim-swiper .swiper-slide {
  height: auto;
}

.anim-swiper .anim-card {
  height: 100%;
}

.anim-swiper .swiper-pagination {
  position: static !important;
  bottom: auto !important;
  top: auto !important;
}

/* 圆点外观见上方「轮播指示点」，此处仅覆盖 Swiper 默认间距与透明度 */
.anim-swiper .swiper-pagination-bullet {
  margin: 0 !important;
  opacity: 1;
}

/* 触摸手势归属：横向轮播只接管横向手势（页面仍可纵向滚动），
   竖向轮播反之。避免浏览器先判定滚动导致跟手延迟 */
.anim-swiper,
.game-swiper,
.vsim-swiper {
  touch-action: pan-y;
}

.gallery-swiper {
  touch-action: pan-x;
}

.anim-card {
  height: 100%;
  padding: 0;
  border-radius: .1rem;
  border: 1px solid rgba(94, 153, 255, .16);
  background: linear-gradient(180deg, rgba(36, 122, 255, .58) 0%, rgba(4, 15, 59, .34) 100%);
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}

.anim-card:hover {
  transform: translateY(-6px);
  border-color: rgba(94, 241, 255, .45);
  box-shadow: 0 .16rem .4rem rgba(30, 99, 255, .26);
}

.anim-cover {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: .08rem .08rem 0 0;
  overflow: hidden;
  background: #0A1430;
}

.anim-cover > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.anim-card h4 {
  font-size: .18rem;
  font-weight: 400;
  line-height: 1.5;
  color: #fff;
  margin: .13rem 0 .1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: .54rem;
  padding: 0 0.2rem;
  align-items: center;
}

.anim-card .res-row {
  border-top: 1px solid rgba(24, 45, 126, .9);
  padding: .12rem 0.2rem;
}

.anim-card .qr-img {
  width: .42rem;
  height: .42rem;
}

/* ============================================================
   7. 科普视频
   ============================================================ */
.kpsp-kpyx-box {
  width: 100%;
  height: auto;
  background: url('../img/yuansu2.png') no-repeat center 78%;
  background-size: contain;
}
.sec-gallery{
  padding-bottom: 0;
}
.gallery-inner {
  position: relative;
  display: grid;
  grid-template-columns: 7fr 6.6fr;
  gap: .4rem;
  align-items: stretch;
  z-index: 2;
}

.gallery-list-col {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* 竖向轮播：每页 4 条（高度 = 4 * 卡片 + 3 * 间距） */
.gallery-swiper {
  width: 100%;
  position: relative;
  height: 5rem;
  overflow: hidden;
}

.gallery-swiper .swiper-slide {
  height: auto;
  box-sizing: border-box;
}

.gallery-nav {
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .2rem;
  margin-top: .24rem;
}

.gallery-next,
.gallery-prev {
  display: flex;
  align-items: center;
  justify-content: center;
  width: .4rem;
  height: .32rem;
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  filter: drop-shadow(0 0 .1rem rgba(94, 241, 255, .45));
  cursor: pointer;
  transition: opacity .3s ease, transform .3s ease;
  outline: none;
}

.gallery-next .ico,
.gallery-prev .ico {
  width: .28rem;
  height: .28rem;
  object-fit: contain;
}

/* 默认只显示可点击的亮色箭头 */
.gallery-next .ico + .ico,
.gallery-prev .ico + .ico {
  display: none;
}

.gallery-next:hover:not(.swiper-button-disabled) {
  transform: translateY(2px);
}

.gallery-prev:hover:not(.swiper-button-disabled) {
  transform: translateY(-2px);
}

/* 到达边缘时切换为不可点击的深色箭头 */
.gallery-next.swiper-button-disabled .ico:first-child,
.gallery-prev.swiper-button-disabled .ico:first-child {
  display: none;
}

.gallery-next.swiper-button-disabled .ico + .ico,
.gallery-prev.swiper-button-disabled .ico + .ico {
  display: block;
}

.gallery-next.swiper-button-disabled,
.gallery-prev.swiper-button-disabled {
  filter: none;
  cursor: default;
  transform: none;
}

.gallery-item {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: .20rem .21rem .14rem;
  box-sizing: border-box;
  border-radius: .12rem;
  border: 1px solid #1D348E;
  background: linear-gradient(0deg, rgba(36,122,255,0.21) 0%, rgba(4,15,59,0.04) 100%);
  transition: transform .35s ease, border-color .35s ease, background .35s ease;
}

.gallery-item:hover {
  transform: translateX(4px);
  border-color: rgba(94, 241, 255, .45);
}

.gallery-item.is-hot {
  border-color: rgba(94, 153, 255, .4);
  background: linear-gradient(0deg, #1656D9, #3F42D2);
  box-shadow: 0 .1rem .3rem rgba(30, 99, 255, .3);
}
.gallery-item.is-hot .res-link{
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background: none !important;
  opacity: 1;
}

.gallery-item h3 {
  font-size: .18rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: .01rem;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gallery-item .res-row {
  margin-top: auto;
}

.gallery-item .res-qr {
  flex-direction: row;
  align-items: center;
  gap: .12rem;
}

.gallery-item .qr-label {
  font-size: .14rem;
  color: #fff;
}

.gallery-item .res-link {
  font-size: .12rem;
}

.gallery-item .qr-img {
  width: .34rem;
  height: .34rem;
}

.gallery-visual {
  position: relative;
  align-self: start;
  width: 100%;
  aspect-ratio: 660 / 496;
  min-height: 0;
  border-radius: .12rem;
  overflow: hidden;
  border: 1px solid rgba(94, 153, 255, .2);
  background: #182D7E;
  box-shadow: 0 .16rem .5rem rgba(8, 19, 54, .6);
}

.gallery-visual > img,
.gallery-visual > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #0A1430;
}

/* ============================================================
   8. 科普游戏
   ============================================================ */
.sec-game {
  padding-top: 0.1rem !important;
}
.game-swiper {
  position: relative;
  overflow: hidden;
  z-index: 2;
}

.game-swiper .swiper-slide {
  height: auto;
  box-sizing: border-box;
}

.game-col {
  display: flex;
  flex-direction: column;
  gap: .28rem;
  height: 100%;
}

.game-col .game-card {
  flex: 1;
}

.game-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: .2rem .18rem .16rem;
  border-radius: .12rem;
  border: 1px solid #1D348E;
  background: linear-gradient(0deg, rgba(36,122,255,0.21) 0%, rgba(4,15,59,0.04) 100%);
  overflow: hidden;
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}

.game-card:hover {
  border-color: rgba(94, 153, 255, .4);
  background: linear-gradient(0deg, #1656D9, #3F42D2);
  box-shadow: 0 .1rem .3rem rgba(30, 99, 255, .3);
}

.game-card h3 {
  font-size: .18rem;
  font-weight: 500;
  line-height: 1.55;
  color: #E8F3FF;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: .46rem;
}

.game-mid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .1rem;
  margin-top: .14rem;
}

.game-card .qr-img {
  width: .4rem;
  height: .4rem;
}

.game-icon {
  flex: 0 0 auto;
  width: .80rem;
  height: .80rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5EF1FF;
  filter: drop-shadow(0 0 .1rem rgba(94, 241, 255, .4));
  position: absolute;
  right: 0.2rem;
  bottom: 0.2rem;
}

.game-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.game-card .res-link {
  margin-top: .12rem;
}

/* ============================================================
   9. 科普虚拟仿真体验
   ============================================================ */
.sec-vsim {
  padding-top: 0.2rem !important;
}
.vsim-swiper {
  position: relative;
  overflow: hidden;
  z-index: 2;
}

.vsim-swiper .swiper-slide {
  height: auto;
  box-sizing: border-box;
}

.vsim-col {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  height: 100%;
}

.vsim-col .vsim-card {
  flex: 1;
}

/* 卡片按“行优先”排布：每屏先占满上排 3 张再占下排。
   列内改成 2 行网格，只有 1 张卡的列会自动落在第一行，
   与相邻两卡列的第一排等高对齐（末屏即 3 张 + 下方 1 张） */
@media (min-width: 769px) {
  .vsim-col {
    display: grid;
    grid-template-rows: 1fr 1fr;
  }
}

.vsim-card {
  position: relative;
  padding: .24rem .2rem;
  border-radius: .12rem;
  border: 1px solid #1D348E;
  background: linear-gradient(0deg, rgba(36,122,255,0.58) 0%, rgba(4,15,59,0.34) 100%);
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}

.vsim-card:hover {
  transform: translateY(-4px);
  border-color: rgba(94, 241, 255, .42);
  box-shadow: 0 .12rem .32rem rgba(30, 99, 255, .26);
}

.vsim-card h3 {
  font-size: .18rem;
  font-weight: 500;
  color: #E8F3FF;
  line-height: 1.5;
  margin-bottom: .18rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vsim-card .qr-img {
  width: .5rem;
  height: .5rem;
}

/* ============================================================
   10. 360 全景
   ============================================================ */
.sec-pano {
  width: 100%;
  height: 100%;
  padding-bottom: 2rem;
  /* 地球地平线贴底对齐：尺寸只跟宽度等比缩放，窗口高度变化不会让图位移/变形 */
  background: url('../img/yuansu3.png') no-repeat center 10%;
  background-size: 100% auto;
}

/* 地平线上浮光粒子层（canvas 由 js/index.js 绘制，位于内容之下） */
.pano-particles {
  position: absolute;
  left: 0;
  bottom: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 88%, rgba(0, 0, 0, .55) 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 88%, rgba(0, 0, 0, .55) 100%);
}

  .pano {
  position: relative;
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .6rem .5rem 1.38rem;
  border-radius: .2rem;
  border: 1px solid rgba(120, 150, 255, .32);
  background: url("../img/360_bg.png") center / cover no-repeat;
  box-shadow: 0 .2rem .6rem rgba(30, 45, 150, .28);
  z-index: 2;
}
.pano::after {
  content: '';
  background: url('../img/360_bg_icon.png') no-repeat;
  position: absolute;
  z-index: 3;
  right: 1.82rem;
  top:-0.27rem;
  display: inline-block;
  width: 3.22rem;
  height: 3.52rem;
  background-size: 100% 100%;
  animation: panoFloat 4.5s ease-in-out infinite;
  will-change: transform;
}

@keyframes panoFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-.08rem);
  }
}

.pano-left {
  position: relative;
  flex: 1;
  min-width: 0;
  z-index: 2;
}

.pano h3 {
  font-family: "Alimama ShuHeiTi", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: .26rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: .01rem;
}

.pano p {
  font-size: .14rem;
  line-height: 2.57;
  color: rgba(232, 243, 255, .85);
  margin-top: .1rem;
  max-width: 5.35rem;
  text-align: justify;
}

.pano-res {
  margin-top: .3rem;
  max-width: 4.6rem;
}

.pano-res .qr-label {
  color: rgba(232, 243, 255, .9);
}

.pano-res .btn-primary {
  height: .44rem;
  padding: 0 .24rem;
  font-size: .15rem;
  background: linear-gradient(0deg, #7866FF, #0E90FF);
  border-radius: 8px;
}
.pano-res .btn-primary .jt {
  display: inline-block;
  width: 0.16rem;
  height: 0.2rem;
  background: url(../img/jt.png) no-repeat left;
  background-size: contain;
}

.earth-band {
  position: relative;
  height: 2.3rem;
  margin-top: .7rem;
  overflow: hidden;
}

.earth-band .earth-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 72%;
}

/* ============================================================
   11. Footer（三页共用样式已移入 common.css）
   ============================================================ */
/* ============================================================
   12. 二维码弹窗（小码 hover 态 + 点击放大）
   ============================================================ */
.qr-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(5, 11, 35, .68);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}

.qr-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.qr-dialog {
  position: relative;
  width: 3.4rem;
  max-width: 100%;
  padding: .3rem .26rem .26rem;
  border-radius: .18rem;
  border: 1px solid rgba(94, 241, 255, .35);
  background: linear-gradient(165deg, #12265A 0%, #081336 78%);
  box-shadow:
    0 .24rem .6rem rgba(3, 8, 26, .6),
    0 0 .4rem rgba(47, 139, 255, .25),
    inset 0 0 .3rem rgba(94, 241, 255, .08);
  text-align: center;
  transform: translateY(.14rem) scale(.97);
  transition: transform .25s ease;
}

.qr-modal.is-open .qr-dialog {
  transform: translateY(0) scale(1);
}

.qr-dialog__close {
  position: absolute;
  top: .12rem;
  right: .12rem;
  width: .32rem;
  height: .32rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(94, 153, 255, .3);
  color: #9FB6D6;
  background: rgba(94, 153, 255, .1);
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.qr-dialog__close:hover {
  color: #5EF1FF;
  border-color: rgba(94, 241, 255, .6);
  background: rgba(94, 241, 255, .12);
}

.qr-dialog__close .ico {
  width: .15rem;
  height: .15rem;
}

.qr-dialog__kicker {
  display: block;
  font-size: .11rem;
  font-weight: 500;
  letter-spacing: .06rem;
  color: #5EF1FF;
}

.qr-dialog__title {
  margin: .07rem .3rem 0;
  font-size: .16rem;
  font-weight: 600;
  line-height: 1.5;
  color: #E8F3FF;
}

.qr-dialog__code {
  width: 2.16rem;
  height: 2.16rem;
  max-width: 100%;
  margin: .2rem auto .14rem;
  padding: .1rem;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: .1rem;
  background: #fff;
}

.qr-dialog__code img,
.qr-dialog__code canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.qr-dialog__tip {
  font-size: .12rem;
  line-height: 1.7;
  color: #9FB6D6;
}

body.modal-open {
  overflow: hidden;
}

/* ============================================================
   13. 动画
   ============================================================ */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* 新增装饰动效降级：移动端关闭粒子/光环/浮动/呼吸，保持轻量 */
@media screen and (max-width: 1024px) {
  .hero-fx {
    display: none;
  }

  .museum-visual::before,
  .museum-visual::after,
  .pano::after,
  .dots li.is-active,
  .anim-swiper .swiper-pagination-bullet-active {
    animation: none;
  }
}

/* 减少动态偏好：所有新增装饰动画完全静止 */
@media (prefers-reduced-motion: reduce) {
  .hero-fx {
    display: none;
  }

  .museum-visual::before,
  .museum-visual::after,
  .pano::after,
  .dots li.is-active,
  .anim-swiper .swiper-pagination-bullet-active {
    animation: none;
  }
}

/* ============================================================
   14. 响应式（内部同样按页面顺序排列）
   ============================================================ */
@media screen and (max-width: 1360px) {
  /* 数字博物馆 */
  .museum-inner {
    padding: 0;
    gap: .6rem;
  }
}

@media screen and (max-width: 1200px) {
  /* 区块通用 */
  .sec {
    padding: .5rem 0 .44rem;
  }

  /* hero */
  .hero-inner {
    gap: .2rem;
    padding: .5rem 0 .44rem;
  }

  .hero-title .t1 {
    font-size: .44rem;
  }

  .hero-title .t2 {
    font-size: .5rem;
  }

  /* 数字博物馆 */
  .museum-visual {
    flex: 0 0 3.4rem;
    width: 3.4rem;
    height: 3.4rem;
  }

  /* 科普视频 */
  .gallery-inner {
    grid-template-columns: 1fr;
    gap: .3rem;
  }

  .gallery-visual {
    min-height: 2.6rem;
  }

  /* 360 全景 */
  .pano {
    padding: .4rem;
  }
}

/* 平板 / 手机 */
@media screen and (max-width: 1024px) {
  /* 区块通用 */
  .sec {
    padding: 44px 0 34px;
  }

  .sec-head {
    margin-bottom: 22px;
  }

  .sec-label {
    font-size: 12px;
    padding: 3px 12px;
  }

  .sec-title {
    font-size: 28px;
    margin-top: 12px;
  }

  .sec-sub {
    font-size: 13px;
    margin-top: 8px;
  }

  /* hero */
  .hero-inner {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 48px 0 40px;
  }

  .hero-text {
    text-align: center;
    width: 100%;
  }

  .hero-title .t1 {
    font-size: 34px;
    letter-spacing: 2px;
  }

  .hero-title .t2 {
    font-size: 40px;
    letter-spacing: 1px;
  }

  .hero-stats {
    margin: 26px auto 0;
    max-width: 600px;
  }

  .hero-stat {
    padding-left: 8px;
    text-align: center;
  }

  .hero-stat .num {
    justify-content: center;
    font-size: 24px;
  }

  .hero-stat .num i {
    font-size: 11px;
  }

  .hero-stat p {
    font-size: 11px;
  }

  /* 区块通用：资源行 */
  .qr-label {
    font-size: 12px;
  }

  .qr-img {
    width: 48px;
    height: 48px;
  }

  .res-link {
    font-size: 12px;
  }

  .btn-primary {
    height: 40px;
    padding: 0 22px;
    font-size: 13px;
    border-radius: 20px;
    gap: 6px;
  }

  .btn-primary .ico {
    width: 15px;
    height: 15px;
  }

  /* 轮播指示点 */
  .dots {
    margin-top: 22px;
  }

  .dots li.is-active,
  .anim-swiper .swiper-pagination-bullet-active {
    width: 20px;
    height: 20px;
    line-height: 20px;
    font-size: 11px;
    background: url(../img/dot_active.png) no-repeat center;
    background-size: contain;
  }

  /* 轮播控制栏 */
  .pager-bar {
    gap: 14px;
    margin-top: 22px;
  }

  .pager-arrow {
    width: 20px;
    height: 26px;
  }

  /* 科普基地动态 */
  .news-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .news-card {
    padding: 14px 16px 16px;
  }

  .news-card h3 {
    font-size: 14px;
  }

  .news-card p {
    font-size: 12px;
  }

  .news-date b {
    font-size: 24px;
  }

  .news-more-wrap {
    margin-top: 24px;
  }

  /* 数字博物馆 */
  .museum-inner {
    flex-direction: column;
    gap: 36px;
  }

  .museum-visual {
    flex: 0 0 auto;
    width: 260px;
    height: 260px;
  }

  .museum-content {
    max-width: none;
  }

  .museum-content > p {
    font-size: 13px;
    line-height: 1.9;
    max-width: none;
  }

  .museum-content .res-row {
    margin-top: 22px;
  }

  /* 科普动画：swiper 响应式由 JS 控制 */
  .anim-card h4 {
    font-size: 13px;
    min-height: 42px;
  }

  .anim-card .qr-img {
    width: 42px;
    height: 42px;
  }

  /* 科普视频 */
  .gallery-swiper {
    height: 500px;
  }

  .gallery-nav {
    gap: 12px;
    margin-top: 16px;
  }

  .gallery-next,
  .gallery-prev {
    width: 36px;
    height: 28px;
    margin: 0;
  }

  .gallery-next .ico,
  .gallery-prev .ico {
    width: 24px;
    height: 24px;
  }

  .gallery-item {
    gap: 14px;
    padding: 14px 18px;
  }

  .gallery-item h3 {
    font-size: 14px;
  }

  /* 科普游戏 */
  .game-col {
    gap: 12px;
  }

  .game-card h3 {
    font-size: 13px;
    min-height: 40px;
  }

  .game-icon {
    width: 44px;
    height: 44px;
  }

  .game-arc {
    height: 60px;
  }

  .arc-dot {
    top: 22px;
  }

  /* 科普虚拟仿真体验 */
  .vsim-page {
    gap: 12px;
  }

  .vsim-card h3 {
    font-size: 14px;
    margin-bottom: 12px;
  }

  /* 360 全景 */
  .pano {
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
    padding: 24px 20px;
    border-radius: 14px;
  }

  .pano h3 {
    font-size: 22px;
  }

  .pano p {
    font-size: 13px;
    line-height: 1.9;
  }

  .pano-res {
    max-width: none;
    margin-top: 20px;
  }

  .earth-band {
    height: 140px;
    margin-top: 40px;
  }

  /* footer */
  .footer {
    padding: 28px 0;
  }

  .footer-info p {
    font-size: 12px;
    line-height: 2.1;
  }

  /* --- 同步 PC 端手改项的移动端覆盖 --- */
  /* hero：取消 PC 端固定高度，恢复自适应，避免手机上大片空白 */
  .hero-inner {
    height: auto;
  }

  /* 区块顶距：抵消 PC 端手动收紧的顶距 */
  .sec-anim.sec {
    padding-top: 36px;
  }

  .sec-game {
    padding-top: 22px !important;
  }

  .sec-vsim {
    padding-top: 30px !important;
  }

  /* 科普动态：取消 PC 端固定高度，防止单列内容溢出 */
  .news-card {
    height: auto;
  }

  /* 数字博物馆 / 360 全景：恢复移动端按钮尺寸（rem 值优先级更高需显式覆盖） */
  .museum-content .btn-primary,
  .pano-res .btn-primary {
    height: 40px;
    padding: 0 22px;
    font-size: 13px;
  }

  /* 360 全景：隐藏 PC 端装饰图标，避免遮挡文字 */
  .pano::after {
    display: none;
  }
}

@media screen and (max-width: 640px) {
  /* 区块通用 */
  .sec {
    padding: 36px 0 28px;
  }

  .sec-title {
    font-size: 24px;
  }

  /* hero */
  .hero-inner {
    padding: 32px 0 28px;
  }

  .hero-title .t1 {
    font-size: 28px;
  }

  .hero-title .t2 {
    font-size: 32px;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px 0;
  }

  .hero-stat,
  .hero-stat:first-child {
    padding-left: 0;
    border-left: 0;
  }

  .hero-stat .num {
    font-size: 20px;
  }

  /* 区块通用：资源行 */
  .res-row {
    gap: 10px;
  }

  /* 数字博物馆 */
  .museum-visual {
    width: 210px;
    height: 210px;
  }

  /* 科普动画 */
  .anim-card {
    max-width: 420px;
    margin: 0 auto;
    width: 100%;
  }

  /* 科普游戏 */
  .game-arc {
    display: none;
  }

  /* 二维码弹窗 */
  .qr-dialog {
    width: min(340px, calc(100vw - 40px));
    padding: 26px 20px 22px;
    border-radius: 16px;
  }

  .qr-dialog__close {
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
  }

  .qr-dialog__close .ico {
    width: 15px;
    height: 15px;
  }

  .qr-dialog__kicker {
    font-size: 11px;
  }

  .qr-dialog__title {
    margin: 6px 30px 0;
    font-size: 16px;
  }

  .qr-dialog__code {
    width: 200px;
    height: 200px;
    margin: 18px auto 12px;
    padding: 9px;
    border-radius: 9px;
  }

  .qr-dialog__tip {
    font-size: 12px;
  }
}

@media screen and (max-width: 400px) {
  /* hero */
  .hero-stat .num {
    font-size: 18px;
  }

  .hero-stat p {
    font-size: 10px;
  }
}
