 .page4 {
  position: relative;
  overflow: hidden;
  display: block;
  height: 100%;
  background: url(../image/section4/bg.png) no-repeat;
  background-size: 100%;
}

.page4 .page4-top {
  width: 5.78rem;
  height: 0.91rem;
  position: absolute;
  /* width: 100%; */
  top: 1.4rem;
  left: 6.7rem;
  z-index: 2;
}

.page4-top.animated.ani {
  animation-name: fadeInUp;
  animation-duration: .8s;
  animation-delay: 0.35s;
}

.page4-top.animated.ani {
  animation-name: fadeInUp;
  animation-duration: .8s;
  animation-delay: 0.25s;
}

/* 手动添加动画样式 */
.hunter_op_bg.animated.ani {
  animation-name: fadeInLeft;
  animation-duration: 0.4s;
  animation-delay: 0.3s;
}

.hunter_img.animated.ani { 
  animation-name: fadeInRight;
  animation-duration: 0.4s;
  animation-delay: 0.25s;
}

.hunter_text.animated.ani {
  animation-name: fadeInLeft;
  animation-duration: 0.4s;
  animation-delay: 0.25s;
}

.play-voice-btn.animated.ani {
  animation-name: fadeInRight;
  animation-duration: 0.4s;
  animation-delay: 0.25s;
}

.hunter_map.animated.ani {
  animation-name: fadeInRight;
  animation-duration: 0.4s;
  animation-delay: 0.33s;
}


@keyframes fadeIn_ben {
  0% {
      opacity: 0
  }

  to {
      opacity: 1
  }
}
.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  /* display: block; */
  width: 100%;
}


/* 分页器容器基础样式 */
.swiper-pagination {
    position: absolute;
    text-align: center;
    transition: .3s opacity;
    transform: translate3d(0,0,0);
    z-index: 10;
    
}

/* 子系职业分页器容器定位 */
.swiper-1  > .swiper-pagination,
.swiper-2  > .swiper-pagination,
.swiper-3  > .swiper-pagination {
  width: auto;
  position: absolute;
  top: 7.2rem; /* 示例：距离底部 10px */
    left: 10.6rem;
    z-index: 10;
}

 /* 战士子职选中和未选中  */
.swiper-1 > .swiper-pagination .swiper-pagination-bullet:nth-child(1) {
  width: 1.48rem;
  height: 1.49rem;
  position: absolute;
  left: 0.11rem;
  background: url(../image/section4/career-top1.png) no-repeat;
  background-size: 100%;
  border-radius: 0;
}

.swiper-1 > .swiper-pagination .swiper-pagination-bullet:nth-child(1).swiper-pagination-bullet-active {
  /* 在这里添加被选中的第一个点的样式 */
  width: 1.48rem;
  height: 1.49rem;
  position: absolute;
  left: 0.11rem;
  background: url(../image/section4/career-active-top1.png) no-repeat;
  background-size: 100%;
  border-radius: 0;
}

.swiper-1 > .swiper-pagination .swiper-pagination-bullet:nth-child(2) {
  width: 1.48rem;
  height: 1.49rem;
  position: absolute;
  left: 1.83rem;
  background: url(../image/section4/career-top2.png) no-repeat;
  background-size: 100%;
  border-radius: 0;
}

.swiper-1 > .swiper-pagination .swiper-pagination-bullet:nth-child(2).swiper-pagination-bullet-active {
  width: 1.48rem;
  height: 1.49rem;
  position: absolute;
  left: 1.83rem;
  background: url(../image/section4/career-active-top2.png) no-repeat;
  background-size: 100%;
  border-radius: 0;
}

.swiper-1 > .swiper-pagination .swiper-pagination-bullet:nth-child(3) {
  width: 1.48rem;
  height: 1.49rem;
  position: absolute;
  left: 3.6rem;
  background: url(../image/section4/career-top3.png) no-repeat;
  background-size: 100%;
  border-radius: 0;
}

.swiper-1 > .swiper-pagination .swiper-pagination-bullet:nth-child(3).swiper-pagination-bullet-active {
  width: 1.48rem;
  height: 1.49rem;
  position: absolute;
  left: 3.6rem;
  background: url(../image/section4/career-active-top3.png) no-repeat;
  background-size: 100%;
  border-radius: 0;
}

/* 法师职业 */
.swiper-2 > .swiper-pagination .swiper-pagination-bullet:nth-child(1) {
  width: 1.48rem;
  height: 1.49rem;
  position: absolute;
  left: 0.4rem;
  background: url(../image/section4/career-top4.png) no-repeat;
  background-size: 100%;
  border-radius: 0;
}

.swiper-2 > .swiper-pagination .swiper-pagination-bullet:nth-child(1).swiper-pagination-bullet-active {
  /* 在这里添加被选中的第一个点的样式 */
  width: 1.48rem;
  height: 1.49rem;
  position: absolute;
  left: 0.4rem;
  background: url(../image/section4/career-active-top4.png) no-repeat;
  background-size: 100%;
  border-radius: 0;
}

.swiper-2 > .swiper-pagination .swiper-pagination-bullet:nth-child(2) {
  width: 1.48rem;
  height: 1.49rem;
  position: absolute;
  left: 2.35rem;
  background: url(../image/section4/career-top5.png) no-repeat;
  background-size: 100%;
  border-radius: 0;
}

.swiper-2 > .swiper-pagination .swiper-pagination-bullet:nth-child(2).swiper-pagination-bullet-active {
  /* 在这里添加被选中的第一个点的样式 */
  width: 1.48rem;
  height: 1.49rem;
  position: absolute;
  left: 2.35rem;
  background: url(../image/section4/career-active-top5.png) no-repeat;
  background-size: 100%;
  border-radius: 0;
}



/* 炮手职业 */
.swiper-3 > .swiper-pagination .swiper-pagination-bullet:nth-child(1) {
  width: 1.48rem;
  height: 1.49rem;
  position: absolute;
  left: 0.11rem;
  background: url(../image/section4/career-top6.png) no-repeat;
  background-size: 100%;
  border-radius: 0;
}

.swiper-3 > .swiper-pagination .swiper-pagination-bullet:nth-child(1).swiper-pagination-bullet-active {
  /* 在这里添加被选中的第一个点的样式 */
  width: 1.48rem;
  height: 1.49rem;
  position: absolute;
  left: 0.11rem;
  background: url(../image/section4/career-active-top6.png) no-repeat;
  background-size: 100%;
  border-radius: 0;
}

.swiper-3 > .swiper-pagination .swiper-pagination-bullet:nth-child(2) {
  width: 1.48rem;
  height: 1.49rem;
  position: absolute;
  left: 1.83rem;
  background: url(../image/section4/career-top7.png) no-repeat;
  background-size: 100%;
  border-radius: 0;
}

.swiper-3 > .swiper-pagination .swiper-pagination-bullet:nth-child(2).swiper-pagination-bullet-active {
  /* 在这里添加被选中的第一个点的样式 */
  width: 1.48rem;
  height: 1.49rem;
  position: absolute;
  left: 1.83rem;
  background: url(../image/section4/career-active-top7.png) no-repeat;
  background-size: 100%;
  border-radius: 0;
}

.swiper-3 > .swiper-pagination .swiper-pagination-bullet:nth-child(3) {
  width: 1.48rem;
  height: 1.49rem;
  position: absolute;
  left: 3.6rem;
  background: url(../image/section4/career-top8.png) no-repeat;
  background-size: 100%;
  border-radius: 0;
}

.swiper-3 > .swiper-pagination .swiper-pagination-bullet:nth-child(3).swiper-pagination-bullet-active {
  /* 在这里添加被选中的第一个点的样式 */
  width: 1.48rem;
  height: 1.49rem;
  position: absolute;
  left: 3.6rem;
  background: url(../image/section4/career-active-top8.png) no-repeat;
  background-size: 100%;
  border-radius: 0;
}




/* 如果需要调整主轮播图分页器位置，可以添加类似规则 */

.mySwiper > .swiper-pagination {
  position: absolute;
  width: auto;
  top: 6rem;
  left: 3.8rem;
}
.mySwiper > .swiper-pagination .swiper-pagination-bullet:nth-child(1) {
  width: 1.28rem;
  height: 1.25rem;
  position: absolute;
  bottom: 5.3rem;
  left: -1.2rem;
  background: url(../image/section4/career-1.png) no-repeat;
  background-size: 100%;
  border-radius: 0;
}
.mySwiper > .swiper-pagination .swiper-pagination-bullet:nth-child(1).swiper-pagination-bullet-active {
  /* 在这里添加被选中的第一个点的样式 */
  width: 1.42rem;
  height: 1.39rem;
  position: absolute;
  bottom: 5.23rem;
  left: -1.27rem;
  background: url(../image/section4/career-active-1.png) no-repeat;
  background-size: 100%;
  border-radius: 0;
}



.mySwiper > .swiper-pagination .swiper-pagination-bullet:nth-child(2) {
  width: 1.28rem;
  height: 1.25rem;
  position: absolute;
  bottom: 3.57rem;
  left: -1.22rem;
  background: url(../image/section4/career-2.png) no-repeat;
  background-size: 100%;
  border-radius: 0;
}

.mySwiper > .swiper-pagination .swiper-pagination-bullet:nth-child(2).swiper-pagination-bullet-active {
  /* 在这里添加被选中的第二个点的样式 */
  width: 1.42rem;
  height: 1.39rem;
  position: absolute;
  bottom: 3.5rem;
  left: -1.29rem;
  background: url(../image/section4/career-active-2.png) no-repeat;
  background-size: 100%;
  border-radius: 0;
}

.mySwiper > .swiper-pagination .swiper-pagination-bullet:nth-child(3) {
  width: 1.28rem;
  height: 1.25rem;
  position: absolute;
  bottom: 1.87rem;
  left: -1.23rem;
  background: url(../image/section4/career-3.png) no-repeat;
  background-size: 100%;
  border-radius: 0;
}

.mySwiper > .swiper-pagination .swiper-pagination-bullet:nth-child(3).swiper-pagination-bullet-active {
  /* 在这里添加被选中的第三个点的样式 */
  width: 1.42rem;
  height: 1.39rem;
  position: absolute;
  bottom: 1.8rem;
  left: -1.3rem;
  background: url(../image/section4/career-active-3.png) no-repeat;
  background-size: 100%;
  border-radius: 0;
}
/* 分页器点样式 (示例，可根据需要调整颜色和大小) */
.swiper-pagination-bullet {
  width: 1rem; /* 分页器点大小 */
  height: 1rem;
  display: inline-block;
  opacity: 0.8;
}

.swiper-pagination-bullet-active {
    opacity: 1;
}

.swiper .mySwiper2 .hunter-pic {
  position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.swiper .hunter-bg {
  width: 19.2rem;
  height: 10.8rem;
  position: absolute;
  top: 0rem;
  left: 0rem;
  object-fit: cover;
  z-index: 1;
}


/* 战士职业系列 */
.swiper .swiper-1 .hunter-one .hunter_img {
  width: 8.91rem;
  height: 8.97rem;
  top: 2rem;
  left: 10.5rem;
  position: absolute;
  background: url(../image/section4/hunter-1.png) no-repeat;
  background-size: 100%;
}

.swiper .swiper-1 .hunter-one .hunter_text {
  width: 3.95rem;
  height: 4.06rem;
  top: 4rem;
  left: 4.8rem;
  position: absolute;
  background: url(../image/section4/hunter-1-text.png) no-repeat;
  background-size: 100%;
}

.swiper .swiper-1 .hunter-two .hunter_img {
  width: 7.55rem;
  height: 9.3rem;
  top: 1.9rem;
  left: 9.55rem;
  position: absolute;
  background: url(../image/section4/hunter-2.png) no-repeat;
  background-size: 100%;
}

.swiper .swiper-1 .hunter-two .hunter_text {
  width: 4.29rem;
  height: 4.54rem;
  top: 3.5rem;
  left: 4.8rem;
  position: absolute;
  background: url(../image/section4/hunter-2-text.png) no-repeat;
  background-size: 100%;
}
.swiper .swiper-1 .hunter-three .hunter_img {
  width: 10.70rem;
  height: 8.92rem;
  top: 2rem;
  left: 6.9rem;
  position: absolute;
  background: url(../image/section4/hunter-3.png) no-repeat;
  background-size: 100%;
}

.swiper .swiper-1 .hunter-three .hunter_text {
  width: 4.01rem;
  height: 4.46rem;
  top: 3.5rem;
  left: 4.8rem;
  position: absolute;
  background: url(../image/section4/hunter-3-text.png) no-repeat;
  background-size: 100%;
}


/* 法师系列职业 */
.swiper .swiper-2 .hunter-one .hunter_img {
  width: 10.84rem;
  height: 8.73rem;
  top: 2.05rem;
  left: 9.1rem;
  position: absolute;
  background: url(../image/section4/hunter-4.png) no-repeat;
  background-size: 100%;
}

.swiper .swiper-2 .hunter-one .hunter_text {
  width: 4.51rem;
  height: 4.49rem;
  top: 3.5rem;
  left: 4.8rem;
  position: absolute;
  background: url(../image/section4/hunter-4-text.png) no-repeat;
  background-size: 100%;
}

.swiper .swiper-2 .hunter-two .hunter_img {
  width: 11.40rem;
  height: 10.8rem;
  top: 0rem;
  left: 7.5rem;
  position: absolute;
  background: url(../image/section4/hunter-5.png) no-repeat;
  background-size: 100%;
}

.swiper .swiper-2 .hunter-two .hunter_text {
  width: 4.26rem;
  height: 4.49rem;
  top: 3.5rem;
  left: 4.8rem;
  position: absolute;
  background: url(../image/section4/hunter-5-text.png) no-repeat;
  background-size: 100%;
}

/* 炮手职业系列 */

.swiper .swiper-3 .hunter-one .hunter_img {
  width: 11.18rem;
  height: 8.92rem;
  top: 2rem;
  left: 6rem;
  position: absolute;
  background: url(../image/section4/hunter-6.png) no-repeat;
  background-size: 100%;
}

.swiper .swiper-3 .hunter-one .hunter_text {
  width: 4.3rem;
  height: 4.59rem;
  top: 3.5rem;
  left: 4.8rem;
  position: absolute;
  background: url(../image/section4/hunter-6-text.png) no-repeat;
  background-size: 100%;
}

.swiper .swiper-3 .hunter-two .hunter_img {
  width: 10.91rem;
  height: 9.31rem;
  top: 1.8rem;
  left: 6.2rem;
  position: absolute;
  background: url(../image/section4/hunter-7.png) no-repeat;
  background-size: 100%;
}

.swiper .swiper-3 .hunter-two .hunter_text {
  width: 4.27rem;
  height: 4.59rem;
  top: 3.5rem;
  left: 4.8rem;
  position: absolute;
  background: url(../image/section4/hunter-7-text.png) no-repeat;
  background-size: 100%;
}

.swiper .swiper-3 .hunter-three .hunter_img {
  width: 11.58rem;
  height: 10.02rem;
  top: 1rem;
  left: 8.2rem;
  position: absolute;
  background: url(../image/section4/hunter-8.png) no-repeat;
  background-size: 100%;
}

.swiper .swiper-3 .hunter-three .hunter_text {
  width: 4.01rem;
  height: 4.45rem;
  top: 3.5rem;
  left: 4.8rem;
  position: absolute;
  background: url(../image/section4/hunter-8-text.png) no-repeat;
  background-size: 100%;
}


/* 添加或修改针对嵌套轮播图内部 slide 的样式 */
.mySwiper2 .swiper-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    transition-property: transform;
    box-sizing: content-box;
}

.mySwiper2 .swiper-wrapper .swiper-slide {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    position: relative;
    transition: opacity 0.3s ease-out;
}

/* 非活动slide的样式 */
.mySwiper2 .swiper-wrapper .swiper-slide:not(.swiper-slide-active) {
    opacity: 0;
}

/* 确保 .hunter-pic 撑满其父容器 .swiper-slide */
.mySwiper2 .swiper-wrapper .swiper-slide .hunter-pic {
    width: 100%;
    height: 100%;
    position: relative;
}

/* 隐藏非活动主轮播图 slide 的嵌套轮播图内容 */
.mySwiper > .swiper-wrapper > .swiper-slide:not(.swiper-slide-active) .mySwiper2 .swiper-wrapper {
    visibility: hidden;
}

.mySwiper > .swiper-wrapper > .swiper-slide:not(.swiper-slide-active) .mySwiper2 .swiper-pagination {
    visibility: hidden;
}

/* 隐藏非活动主轮播图 slide 的嵌套轮播图的 swiper-wrapper (内容) */
.mySwiper > .swiper-wrapper > .swiper-slide:not(.swiper-slide-active) .mySwiper2 .swiper-wrapper {
    display: none;
}

/* 确保嵌套分页器在非活动主 slide 时也隐藏 */
.mySwiper > .swiper-wrapper > .swiper-slide:not(.swiper-slide-active) .mySwiper2 > .swiper-pagination {
    display: none;
}

/* 修复人物和文案的显示 */
.swiper .mySwiper2 .hunter-pic {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

/* 确保所有人物和文案元素在过渡时保持可见 */
.swiper .mySwiper2 .hunter_img,
.swiper .mySwiper2 .hunter_text {
    z-index: 2;
}