.index {
  background: #e1381f;
  padding-bottom: 2rem;
}
.index .head {
  width: 7.5rem;
  height: 11.81rem;
  background: url(/statics/img/shengxiao_2026/video-bg.png) no-repeat top;
  background-size: 100%;
}
.index .main {
  width: 100%;
  min-height: 30rem;
  background: url(/statics/img/shengxiao_2026/index-bg.png) no-repeat top,
    url(/statics/img/shengxiao_2026/index-repeart.png) repeat-y;
  background-size: contain, 100% auto;
  padding-top: 0.3rem;
}
.index .ad-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 0.44rem;
  background-color: #9b1816;
  color: #fff;
  overflow: hidden;
  z-index: 9999;
}
/* 滚动内容容器 */
.index .ad-scroll {
  display: flex;
  align-items: center;
  height: 100%;
  position: absolute;
  white-space: nowrap;
}

/* 广告文本样式 */
.index .ad-content {
  padding: 0 0.2rem;
  font-size: 0.22rem;
}

.index .imgs {
  width: 100%;
  position: relative;
  margin-top: 0.3rem;
}
.index .imgs img {
  width: 100%;
  height: auto;
  margin-top: 0.1rem;
}
.index .imgs .title {
  position: absolute;
  bottom: 8.5rem;
  left: calc(50% - 2.16rem);
  width: 4.32rem;
  height: 1.21rem;
  background: url(/statics/img/shengxiao_2026/index-imgs-title.png) no-repeat center;
  background-size: 100%;
}

.index-container .card {
  transition: all 0.5s ease;
  transform: scale(0.9);
  opacity: 0.7;
  width: 100%;
  height: 100%;
}
.index-container .card.active {
  transform: scale(1);
  opacity: 1;
  z-index: 10;
}
.index-container .card-prev {
  transform: translateX(-80%) scale(0.9);
  z-index: 5;
  filter: blur(1px);
}
.index-container .card-next {
  transform: translateX(80%) scale(0.9);
  z-index: 5;
  filter: blur(1px);
}

.index-container .card-container {
  perspective: 1000px;
  width: 100%;
  height: 100%;
  position: relative;
}
.index-container {
  width: 6.4rem !important;
  margin: auto;
  padding: 0.2rem 0.9rem;
  overflow: hidden;
  bottom: 1.2rem;
  height: 6.94rem;
  position: absolute;
  left: calc(50% - 3.2rem);
}
.index-container .mx-auto {
  height: 6.94rem;
}
.index-container .box {
  position: relative;
  height: 6.94rem;
}

.index .jubaopen {
  width: 7.5rem;
  height: 11.87rem;
  margin: auto;
  background: url(/statics/img/shengxiao_2026/index-img04.png) no-repeat top;
  background-size: 100%;
  padding-top: 1.8rem;
  position: relative;
}
.index .jubaopen .tabs {
  width: 6rem;
  height: 3rem;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
}
.index .jubaopen .tabs div {
  flex: 1;
  height: 3rem;
  background: url(/statics/img/shengxiao_2026/index-tab-bg.png) no-repeat center;
  background-size: auto 100%;
  font-size: 0.3rem;
  color: #af0202;
  display: flex;
  padding: 0.4rem 0.05rem 0 0;
  justify-content: center;
  align-items: center;
  position: relative;
}
.index .jubaopen .tabs div span {
  writing-mode: vertical-lr; /* 文字竖排 */
  text-orientation: mixed;
  letter-spacing: 0.1rem;
}
.index .jubaopen .tabs .active {
  color: #fff;
  padding: 0.4rem 0.1rem 0 0;
  background: url(/statics/img/shengxiao_2026/index-tab-active.png) no-repeat center !important;
  background-size: auto 100% !important;
}
.index .jubaopen .hua {
  width: 1.2rem;
  height: 1.2rem;
  position: absolute;
  background: url(/statics/img/shengxiao_2026/index-tab-hua.png) no-repeat center;
  background-size: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.index .jubaopen .hua span {
  width: 0.5rem;
  display: block;
  font-size: 0.22rem;
  color: #fff;
  text-align: center;
  line-height: 0.25rem;
}
.index .jubaopen .one {
  left: 0.8rem;
  bottom: 4.3rem;
}
.index .jubaopen .two {
  left: 2.2rem;
  bottom: 5.6rem;
}
.index .jubaopen .three {
  right: 2.2rem;
  bottom: 5.6rem;
}
.index .jubaopen .four {
  right: 0.8rem;
  bottom: 4.3rem;
}

.index .yunshi {
  width: 7.5rem;
  height: 7.98rem;
  background: url(/statics/img/shengxiao_2026/index-ys-bg.png) no-repeat center;
  background-size: 100%;
  margin: auto;
  padding: 0.8rem 0 0 0.3rem;
}
.index .yunshi .xiantu {
  width: 6.13rem;
  height: 4.32rem;
  position: relative;
  background: url(/statics/img/shengxiao_2026/index-xian-bg.png) no-repeat center;
  background-size: 100%;
  left: 0.4rem;
  top: 1.2rem;
}
.index .yunshi .xiantu .xian {
  width: 5.3681rem;
  height: 3.7361rem;
  margin: 0.31rem 0 0 0.58rem;
  background: url(/statics/img/shengxiao_2026/index-xian.png) no-repeat center;
  background-size: 100%;
  /* 初始状态：完全隐藏 */
  clip-path: inset(0 100% 0 0);
}

.index .yunshi .xiantu .animate {
  animation: revealFromLeft 3s forwards;
}

/* 从左到右显示的动画 */
@keyframes revealFromLeft {
  0% {
    /* 初始状态：只显示最左侧一条线 */
    clip-path: inset(0 100% 0 0);
  }
  100% {
    /* 结束状态：完全显示 */
    clip-path: inset(0 0 0 0);
  }
}

.index .yunshi .xiantu .cy,
.index .yunshi .xiantu .ql,
.index .yunshi .xiantu .cg {
  position: absolute;
  width: 1.42rem;
  height: 0.61rem;
  opacity: 0;
}
.index .yunshi .xiantu .cy {
  top: 0.8rem;
  left: 1.1rem;
}
.index .yunshi .xiantu .ql {
  top: 2.2rem;
  left: 2.52rem;
}
.index .yunshi .xiantu .cg {
  top: 0.25rem;
  right: 0.4rem;
}
.index .cyAnimate {
  animation: xianIn 1.2s 0.6s forwards;
}
.index .syAnimate {
  animation: xianIn 1.2s 1.2s forwards;
}
.index .grAnimate {
  animation: xianIn 1.2s 1.8s forwards;
}
@keyframes xianIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.index .last-part {
  width: 7.5rem;
  height: 11.57rem;
  margin: 0.3rem 0 0 0;
  background: url(/statics/img/shengxiao_2026/index-last-part-bg.png) no-repeat center;
  background-size: 100%;
  padding: 1.4rem 0 0 0.45rem;
}
.index .last-part .jg {
  width: 6.66rem;
  height: 6.05rem;
  padding: 0.9rem 0 0;
}
.index .last-part .jg .box {
  width: 100%;
  height: 5rem;
  margin: 0 auto;
  background: url(/statics/img/shengxiao_2026/index-last-grid.png) no-repeat center;
  background-size: 6.14rem auto;
  position: relative;
}
.index .last-part .jg .box img {
  position: absolute;
  left: 0.282rem;
  width: 2rem;
  height: auto;
  transition: transform 0.5s ease-in-out;
}
.index .last-part .jg .box .dw {
  top: 0.1rem;
}
.index .last-part .jg .box .gr {
  top: 1.7rem;
}
.index .last-part .jg .box .wc {
  bottom: 0.1rem;
}
.index .last-part .jg .box .th {
  left: 2.3rem;
  top: 1.7rem;
}
.index .last-part .jg .box .zooming {
  animation: zoomInOut 1.5s ease-in-out;
  z-index: 99;
}
@keyframes zoomInOut {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
.index .last-part .qian {
  display: flex;
  justify-content: space-between;
  width: 6.2rem;
  height: 2.8rem;
  margin-top: 0.4rem;
  margin-left: 0.2rem;
}
.index .last-part .qian div {
  position: relative;
  width: 0.78rem;
}
.index .last-part .qian div img {
  max-width: 0.89rem;
  width: 0.89rem;
  height: 2.5rem;
  position: absolute;
  left: 0;
  top: 0;
  transition: transform 0.6s ease-in-out;
}
.index .last-part .qian div.moving img {
  animation: moveUpDown 1.2s ease-in-out;
}
@keyframes moveUpDown {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}

.index .des {
  width: 100%;
  font-size: 0.24rem;
  color: #fff;
  margin-top: 0.2rem;
  text-align: center;
}
.index .buy {
  width: 100%;
  text-align: center;
  background: rgba(0, 0, 0, 0.6);
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 999;
  height: 1.6rem;
  text-align: center;
  padding-top: 0.15rem;
}
.index .buy img {
  width: 6.23rem;
  height: 1.37rem;
  animation: pulse 2s infinite;
  /* 保持点击时的交互效果 */
  cursor: pointer;
  transition: transform 0.2s ease;
  margin: auto;
}
/* 定义放大缩小的动画 */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}
