.page2{
  width: 7.20rem;
  margin: 0 auto;
  height: 14.92rem;
  position: relative;
  background: url(../image/section5/bg.jpg) no-repeat;
  background-size: 100%;
}

/* p5 标题 */
.page2-top {
  position: absolute;
  width: 3rem;
  height: 2rem;
  margin: 0 auto;
  top: 0rem;
  left: 0;
  right: 0;
  z-index: 4;
}

.swiper {
  max-width: 7.2rem;
  width: 100%;
  height: 100%;
}

.role-bg {
  width: 100%;
  height: 10.09rem;
 position: absolute;
 bottom: 0rem;
  background: url(../image/section5/role-bg.png) no-repeat;
  background-size: 100%;
  z-index: 1;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 分页器容器基础样式 */
.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: 5.72rem;
height: .65rem;
position: absolute;
top: 8.34rem;
left: .74rem;
  background: url(../image/section5/ui-line-top.png) no-repeat;
  background-size: 100%;
  z-index: 10;
}


/* 战士子职未选中 */
.swiper-1 > .swiper-pagination .swiper-pagination-bullet:nth-child(1) {
width: 1.90rem;
height: .69rem;
position: absolute;
bottom: -0.02rem;
left: 0rem;
background: url(../image/section5/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.90rem;
height: .69rem;
position: absolute;
bottom: -0.1rem;
left: 0.06rem;
background: url(../image/section5/career-active-top1.png) no-repeat;
background-size: 100%;
border-radius: 0;
}

.swiper-1 > .swiper-pagination .swiper-pagination-bullet:nth-child(2) {
  width: 1.90rem;
  height: .69rem;
position: absolute;
bottom: -0.01rem;
left: 1.95rem;
background: url(../image/section5/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.90rem;
  height: .69rem;
position: absolute;
bottom: -0.11rem;
left: 1.93rem;
background: url(../image/section5/career-active-top2.png) no-repeat;
background-size: 100%;
border-radius: 0;
}

.swiper-1 > .swiper-pagination .swiper-pagination-bullet:nth-child(3) {
  width: 1.90rem;
  height: .69rem;
position: absolute;
bottom: -0.01rem;
left: 3.70rem;
background: url(../image/section5/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.90rem;
  height: .69rem;
position: absolute;
bottom: -0.08rem;
left: 3.75rem;
background: url(../image/section5/career-active-top3.png) no-repeat;
background-size: 100%;
border-radius: 0;
}

/* 法师*/
.swiper-2 > .swiper-pagination .swiper-pagination-bullet:nth-child(1) {
  width: 2.80rem;
  height: .69rem;
  position: absolute;
  bottom: 0.01rem;
  left: 0.04rem;
  background: url(../image/section5/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: 2.80rem;
  height: .69rem;
  position: absolute;
  bottom: -0.07rem;
  left: 0.03rem;
  background: url(../image/section5/career-active-top4.png) no-repeat;
  background-size: 100%;
  border-radius: 0;
  }
  
  .swiper-2 > .swiper-pagination .swiper-pagination-bullet:nth-child(2) {
    width: 2.80rem;
    height: .69rem;
  position: absolute;
  bottom: -0.01rem;
  left: 2.82rem;
  background: url(../image/section5/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: 2.80rem;
    height: .69rem;
  position: absolute;
  bottom: -0.09rem;
  left: 2.79rem;
  background: url(../image/section5/career-active-top5.png) no-repeat;
  background-size: 100%;
  border-radius: 0;
  }


  /* 炮手 */
  .swiper-3 > .swiper-pagination .swiper-pagination-bullet:nth-child(1) {
    width: 2.80rem;
    height: .69rem;
    position: absolute;
    bottom: -0.02rem;
    left: 0.04rem;
    background: url(../image/section5/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: 2.80rem;
    height: .69rem;
    position: absolute;
    bottom: -0.07rem;
    left: 0.03rem;
    background: url(../image/section5/career-active-top6.png) no-repeat;
    background-size: 100%;
    border-radius: 0;
    }
    
    .swiper-3 > .swiper-pagination .swiper-pagination-bullet:nth-child(2) {
      width: 2.80rem;
      height: .69rem;
    position: absolute;
    bottom: -0.01rem;
    left: 2.81rem;
    background: url(../image/section5/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: 2.80rem;
      height: .69rem;
    position: absolute;
    bottom: -0.08rem;
    left: 2.79rem;
    background: url(../image/section5/career-active-top7.png) no-repeat;
    background-size: 100%;
    border-radius: 0;
    }

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

.mySwiper > .swiper-pagination {
position: absolute;
width: 1.43rem;
height: 1.15rem;
  bottom: 2.16rem;
  left: 2.90rem;
  background: url(../image/section5/ui-line.png) no-repeat;
  background-size: 100%;
}
.mySwiper > .swiper-pagination .swiper-pagination-bullet:nth-child(1) {
width: 1rem;
height: 1.37rem;
position: absolute;
bottom: -0.21rem;
left: -1.25rem;
background: url(../image/section5/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: 1rem;
height: 1.77rem;
position: absolute;
bottom: -0.21rem;
left: -1.25rem;
background: url(../image/section5/career-active-1.png) no-repeat;
background-size: 100%;
border-radius: 0;
}



.mySwiper > .swiper-pagination .swiper-pagination-bullet:nth-child(2) {
  width: 1rem;
  height: 1.37rem;
position: absolute;
bottom: -0.21rem;
left: 0.17rem;
background: url(../image/section5/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: 1rem;
height: 1.77rem;
position: absolute;
bottom: -0.21rem;
left: 0.17rem;
background: url(../image/section5/career-active-2.png) no-repeat;
background-size: 100%;
border-radius: 0;
}

.mySwiper > .swiper-pagination .swiper-pagination-bullet:nth-child(3) {
  width: 1rem;
  height: 1.37rem;
position: absolute;
bottom: -0.21rem;
left: 1.59rem;
background: url(../image/section5/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: 1rem;
height: 1.77rem;
position: absolute;
bottom: -0.21rem;
left:  1.59rem;
background: url(../image/section5/career-active-3.png) no-repeat;
background-size: 100%;
border-radius: 0;
}
/* 分页器点样式 (示例，可根据需要调整颜色和大小) */
.swiper-pagination-bullet {
background-color: #2a2c9c; /* 分页器点颜色 */
width: 1rem; /* 分页器点大小 */
height: 1rem;
display: inline-block;
opacity: 0.8;
}

.swiper-pagination-bullet-active {
  opacity: 1;
  background-color: #911717; /* 激活状态的分页器点颜色 */
}

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

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


/* 战士职业系列 */
.swiper .swiper-1 .hunter-one .hunter_img {
width: 7.20rem;
height: 10.79rem;
position: absolute;
bottom: 1.60rem;
background: url(../image/section5/hunter-1.png) no-repeat;
background-size: 100%;
}

.swiper .swiper-1 .hunter-one .hunter_text {
width: 3.10rem;
height: 1.85rem;
bottom: 3.70rem;
left: 2.10rem;
position: absolute;
background: url(../image/section5/hunter-1-text.png) no-repeat;
background-size: 100%;
}

.swiper .swiper-1 .hunter-two .hunter_img {
  width: 6.35rem;
  height: 11.12rem;
  position: absolute;
  bottom: 1.60rem;
  left: .88rem;
background: url(../image/section5/hunter-2.png) no-repeat;
background-size: 100%;
}

.swiper .swiper-1 .hunter-two .hunter_text {
  width: 2.92rem;
  height: 1.85rem;
  bottom: 3.70rem;
  left: 2.10rem;
position: absolute;
background: url(../image/section5/hunter-2-text.png) no-repeat;
background-size: 100%;
}
.swiper .swiper-1 .hunter-three .hunter_img {
  width: 6.43rem;
  height: 11.25rem;
  position: absolute;
  left: .80rem;
  bottom: 1.60rem;
background: url(../image/section5/hunter-3.png) no-repeat;
background-size: 100%;
}

.swiper .swiper-1 .hunter-three .hunter_text {
  width: 3.77rem;
  height: 1.86rem;
  bottom: 3.70rem;
  left: 1.80rem;
position: absolute;
background: url(../image/section5/hunter-3-text.png) no-repeat;
background-size: 100%;
}


/* 法师系列职业 */
.swiper .swiper-2 .hunter-one .hunter_img {
  width: 7.20rem;
  height: 13.18rem;
  position: absolute;
  bottom: 1.40rem;
background: url(../image/section5/hunter-4.png) no-repeat;
background-size: 100%;
}

.swiper .swiper-2 .hunter-one .hunter_text {
  width: 3.43rem;
  height: 1.85rem;
  bottom: 3.70rem;
  left: 1.86rem;
position: absolute;
background: url(../image/section5/hunter-4-text.png) no-repeat;
background-size: 100%;
}

.swiper .swiper-2 .hunter-two .hunter_img {
  width: 7.05rem;
  height: 11.63rem;
  position: absolute;
  left: .30rem;
  bottom: 1.10rem;
background: url(../image/section5/hunter-5.png) no-repeat;
background-size: 100%;
}

.swiper .swiper-2 .hunter-two .hunter_text {
  width: 3.85rem;
  height: 1.86rem;
  bottom: 3.70rem;
  left: 1.74rem;
position: absolute;
background: url(../image/section5/hunter-5-text.png) no-repeat;
background-size: 100%;
}

/* 炮手职业系列 */

.swiper .swiper-3 .hunter-one .hunter_img {
  width: 6.18rem;
  height: 11.67rem;
  position: absolute;
  left: 1.05rem;
  bottom: 1rem;
background: url(../image/section5/hunter-6.png) no-repeat;
background-size: 100%;
}

.swiper .swiper-3 .hunter-one .hunter_text {
  width: 2.97rem;
  height: 1.85rem;
  bottom: 3.70rem;
  left: 2.10rem;
position: absolute;
background: url(../image/section5/hunter-6-text.png) no-repeat;
background-size: 100%;
}

.swiper .swiper-3 .hunter-two .hunter_img {
  width: 5.72rem;
  height: 8.98rem;
  position: absolute;
  bottom: 2.05rem;
  left: 1.50rem;
background: url(../image/section5/hunter-7.png) no-repeat;
background-size: 100%;
}

.swiper .swiper-3 .hunter-two .hunter_text {
  width: 3.65rem;
  height: 1.98rem;
  bottom: 3.70rem;
  left: 1.70rem;
position: absolute;
background: url(../image/section5/hunter-7-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; /* 隐藏 swiper-wrapper，但不影响布局 */
}

.mySwiper > .swiper-wrapper > .swiper-slide:not(.swiper-slide-active) .mySwiper2 .swiper-pagination {
  visibility: hidden; /* 隐藏非活动主 slide 的嵌套分页器 */
}

/* 隐藏非活动主轮播图 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; /* 隐藏非活动主 slide 的嵌套分页器 */
}

/* 修复人物和文案的显示 */
.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;
}

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

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

.hunter_text.animated.ani {
  animation-name: fadeInRight;
  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: fadeInLeft;
  animation-duration: 0.4s;
  animation-delay: 0.15s;
}
