.page5{
  width: 720px;
  margin: 0 auto;
  height: 950px;
  position: relative;
  top: 300px;
  /* background: url(../image/section5/bg.jpg) no-repeat;
  background-size: 100%; */
}

.page5.fadeInUpPlus5 {
  animation: fadeInUpPlus5 1s ease-in-out;
}
@keyframes fadeInUpPlus5 {
  from {
    opacity: 0;
    transform: translateY(10%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.title-hunter {
  width: 261px;
  height: 68px;
  position: absolute;
  top: -25px;
  background: url(../image/section5/title-hunter.png) no-repeat;
  background-size: 100%;
  z-index: 3;
  left: 50%;
  transform: translateX(-50%);
}

.swiper {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.mySwiper .swiper-slide {
  width: 500px;
  height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
}



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

.pagination-bg {
    width: 426px;
  height: 9px;
  position: absolute;
  bottom: -43px;
  left: 148px;
  background: url(../image/section5/pagination-bg.png) no-repeat;
  background-size: 100%;
  pointer-events: none; /* 不阻挡点击事件 */
  z-index: 1; /* 确保在分页器下方 */
}

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

.mySwiper > .swiper-pagination {
  position: absolute;
  bottom: -30px;
  left: 98%;
  transform: translateX(-50%);
   z-index: 10; /* 提高层级，确保在 pagination-bg 上方 */
}

.mySwiper > .swiper-pagination .swiper-pagination-bullet:nth-child(1) {
  width: 20px;
  height: 24px;
  position: absolute;
  bottom: -21px;
  left: -75px;
  background: url(../image/section5/career-1.png) no-repeat;
  background-size: 100%;
  border-radius: 0;
  z-index: 1;
}

.mySwiper > .swiper-pagination .swiper-pagination-bullet:nth-child(1).swiper-pagination-bullet-active {
  width: 32px;
  height: 36px;
  position: absolute;
  bottom: -25px;
  left: -81px;
  background: url(../image/section5/career-active-1.png) no-repeat;
  background-size: 100%;
  border-radius: 0;
   z-index: 1;
}

.mySwiper > .swiper-pagination .swiper-pagination-bullet:nth-child(2) {
  width: 20px;
  height: 24px;
  position: absolute;
  bottom: -21px;
  left: -25px;
  background: url(../image/section5/career-2.png) no-repeat;
  background-size: 100%;
  border-radius: 0;
   z-index: 1;
}

.mySwiper > .swiper-pagination .swiper-pagination-bullet:nth-child(2).swiper-pagination-bullet-active {
  width: 32px;
  height: 36px;
  position: absolute;
  bottom: -25px;
  left: -31px;
  background: url(../image/section5/career-active-2.png) no-repeat;
  background-size: 100%;
  border-radius: 0;
   z-index: 1;
}

.mySwiper > .swiper-pagination .swiper-pagination-bullet:nth-child(3) {
  width: 20px;
  height: 24px;
  position: absolute;
  bottom: -21px;
  left: 25px;
  background: url(../image/section5/career-3.png) no-repeat;
  background-size: 100%;
  border-radius: 0;
   z-index: 1;
}

.mySwiper > .swiper-pagination .swiper-pagination-bullet:nth-child(3).swiper-pagination-bullet-active {
  width: 32px;
  height: 36px;
  position: absolute;
  bottom: -25px;
  left: 19px;
  background: url(../image/section5/career-active-3.png) no-repeat;
  background-size: 100%;
  border-radius: 0;
   z-index: 1;
}
.mySwiper > .swiper-pagination .swiper-pagination-bullet:nth-child(4) {
  width: 20px;
  height: 24px;
  position: absolute;
  bottom: -21px;
  left: 75px;
  background: url(../image/section5/career-4.png) no-repeat;
  background-size: 100%;
  border-radius: 0;
   z-index: 1;
}

.mySwiper > .swiper-pagination .swiper-pagination-bullet:nth-child(4).swiper-pagination-bullet-active {
  width: 32px;
  height: 36px;
  position: absolute;
  bottom: -25px;
  left: 69px;
  background: url(../image/section5/career-active-4.png) no-repeat;
  background-size: 100%;
  border-radius: 0;
   z-index: 1;
}


/* 分页器点基础样式 */
.swiper-pagination-bullet {
  background-color: #2a2c9c;
  width: 100px;
  height: 100px;
  display: inline-block;
  opacity: 0.8;
   z-index: 1;
}

/* .swiper-slide .hunter_img {
  position:absolute;
  top: 50px;
} */

/* .swiper-pagination-bullet-active {
  opacity: 1;
  background-color: #911717;
} */
/* 
.hunter-pic {
  position: absolute;
  width: 100%;
  height: 100%;
} */

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

/* 战士职业 */
.hunter-warrior .hunter_img {
  width: 429px;
  height: 653px;
  position: absolute;
  /* bottom: 160px; */
  left: -60px;
  top: 170px;
  background: url(../image/section5/hunter-1.png) no-repeat;
  background-size: 100%;
}

.hunter-warrior .hunter_text {
  width: 720px;
  height: 562px;
  top: 900px;
  left: 0px;
  position: absolute;
  background: url(../image/section5/hunter-1-text.png) no-repeat;
  background-size: 100%;
}

/* 法师职业 */
.hunter-mage .hunter_img {
  width: 487px;
  height: 605px;
  position: absolute;
  top: 218px;
  left: -60px;
  background: url(../image/section5/hunter-2.png) no-repeat;
  background-size: 100%;
}

.hunter-mage .hunter_text {
  width: 720px;
  height: 562px;
  top: 900px;
  left: 0px;
  position: absolute;
  background: url(../image/section5/hunter-2-text.png) no-repeat;
  background-size: 100%;
}

/* 炮手职业 */
.hunter-gunner .hunter_img {
  width: 369px;
  height: 640px;
  position: absolute;
  top: 180px;
  left: -55px;
  background: url(../image/section5/hunter-3.png) no-repeat;
  background-size: 100%;
}

.hunter-gunner .hunter_text {
  width: 720px;
  height: 562px;
  top: 900px;
  left: 0px;
  position: absolute;
  background: url(../image/section5/hunter-3-text.png) no-repeat;
  background-size: 100%;
}

/* 刺客职业 */
.hunter-assassin .hunter_img {
  width: 369px;
  height: 632px;
  position: absolute;
  top: 191px;
  left: -55px;
  background: url(../image/section5/hunter-4.png) no-repeat;
  background-size: 100%;
}
.swiper-button-next {
  position: absolute;
  top: 50%;
  right: 0px;
  width: 124px;
  height: 65px;
  background: url(../image/section5/swiper-button-next.png) no-repeat;
  background-size: 100%;
}
.swiper-button-prev {
  position: absolute;
  top: 50%;
  left: 0px;
  width: 124px;
  height: 65px;
  background: url(../image/section5/swiper-button-prev.png) no-repeat;
  background-size: 100%;
}

.hunter-assassin .hunter_text {
  width: 720px;
  height: 562px;
  top: 900px;
  left: 0px;
  position: absolute;
  background: url(../image/section5/hunter-4-text.png) no-repeat;
  background-size: 100%;
}

/* 动画样式 */
.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;
}


/* 激活状态的角色背景图 */
.swiper-slide-active .hunter-warrior .hunter_img {
    width: 518px;
  height: 791px;
  position: absolute;
  left: -98px;
  top: 107px;
  background-size: 100%;
  background: url(../image/section5/hunter-1-active.png) no-repeat;
}

.swiper-slide-active .hunter-mage .hunter_img {
 width: 566px;
  height: 731px;
  position: absolute;
  top: 169px;
  left: -95px;
  background: url(../image/section5/hunter-2-active.png) no-repeat;
  background-size: 100%;
}

.swiper-slide-active .hunter-gunner .hunter_img {
  width: 439px;
  height: 776px;
  position: absolute;
   top: 125px;
  left: -90px;
  background: url(../image/section5/hunter-3-active.png) no-repeat;
  background-size: 100%;
}

.swiper-slide-active .hunter-assassin .hunter_img {
   width: 439px;
  height: 764px;
  position: absolute;
 top: 125px;
  left: -90px;
  background: url(../image/section5/hunter-4-active.png) no-repeat;
  background-size: 100%;
}