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

.title-hunter {
  width: 1.76rem;
  height: 1.15rem;
  position: absolute;
  top: 0.7rem;
  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%;
}

/* .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;
  
}

.mySwiper > .swiper-pagination {
  position: absolute;
  bottom: 1.3rem;
  left: 2rem;
}

.mySwiper > .swiper-pagination .swiper-pagination-bullet:nth-child(1) {
  width: 1.47rem;
  height: 1.48rem;
  position: absolute;
  bottom: -0.21rem;
  left: -1.80rem;
  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: 1.47rem;
  height: 1.48rem;
  position: absolute;
  bottom: -0.21rem;
  left: -1.80rem;
  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: 1.49rem;
  height: 1.48rem;
  position: absolute;
  bottom: -0.21rem;
  left: 0rem;
  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: 1.49rem;
  height: 1.48rem;
  position: absolute;
  bottom: -0.21rem;
  left: 0px;
  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: 1.59rem;
  height: 1.49rem;
  position: absolute;
  bottom: -0.21rem;
  left: 1.75rem;
  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: 1.59rem;
  height: 1.49rem;
  position: absolute;
  bottom: -0.21rem;
  left: 1.75rem;
  background: url(../image/section5/career-active-3.png) no-repeat;
  background-size: 100%;
  border-radius: 0;
}
.mySwiper > .swiper-pagination .swiper-pagination-bullet:nth-child(4) {
  width: 1.48rem;
  height: 1.5rem;
  position: absolute;
  bottom: -0.21rem;
  left: 3.5rem;
  background: url(../image/section5/career-4.png) no-repeat;
  background-size: 100%;
  border-radius: 0;
}

.mySwiper > .swiper-pagination .swiper-pagination-bullet:nth-child(4).swiper-pagination-bullet-active {
  width: 1.48rem;
  height: 1.5rem;
  position: absolute;
  bottom: -0.21rem;
  left: 3.5rem;
  background: url(../image/section5/career-active-4.png) no-repeat;
  background-size: 100%;
  border-radius: 0;
}

/* 分页器点样式 (示例，可根据需要调整颜色和大小) */
.swiper-pagination-bullet {
width: 1rem; /* 分页器点大小 */
height: 1.4rem;
display: inline-block;
opacity: 0.8;
}

.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;
}

.swiper-button-prev:after{
  display: none;
}
.swiper-button-next:after{
  display: none;
}

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

.hunter-warrior .hunter_text {
  width: 7.2rem;
  height: 5.62rem;
  top: 9rem;
  left: 0rem;
  position: absolute;
  background: url(../image/section5/hunter-1-text.png) no-repeat;
  background-size: 100%;
}

/* 法师职业 */
.hunter-mage .hunter_img {
  width: 7.2rem;
  height: 14.17rem;
  position: absolute;
  top: 0.6rem;
  background: url(../image/section5/hunter-2.png) no-repeat;
  background-size: 100%;
}

.hunter-mage .hunter_text {
  width: 7.2rem;
  height: 5.62rem;
  top: 9rem;
  left: 0rem;
  position: absolute;
  background: url(../image/section5/hunter-2-text.png) no-repeat;
  background-size: 100%;
}

/* 炮手职业 */
.hunter-gunner .hunter_img {
  width: 7.2rem;
  height: 14.2rem;
  position: absolute;
  top: 0.6rem;
  background: url(../image/section5/hunter-3.png) no-repeat;
  background-size: 100%;
}

.hunter-gunner .hunter_text {
  width: 7.2rem;
  height: 5.62rem;
  top: 9rem;
  left: 0rem;
  position: absolute;
  background: url(../image/section5/hunter-3-text.png) no-repeat;
  background-size: 100%;
}

/* 刺客职业 */
.hunter-assassin .hunter_img {
    width: 7.2rem;
  height: 14.35rem;
  position: absolute;
  top: 0.8rem;
  left: 0.5rem;
  background: url(../image/section5/hunter-4.png) no-repeat;
  background-size: 100%;
}
.swiper-button-next {
  position: absolute;
  top: 50%;
  right: 0rem;
  width: 1.24rem;
  height: 0.65rem;
  background: url(../image/section5/swiper-button-next.png) no-repeat;
  background-size: 100%;
}
.swiper-button-prev {
  position: absolute;
  top: 50%;
  left: 0px;
  width: 1.24rem;
  height: 0.65rem;
  background: url(../image/section5/swiper-button-prev.png) no-repeat;
  background-size: 100%;
}

.hunter-assassin .hunter_text {
  width: 7.2rem;
  height: 5.62rem;
  top: 9rem;
  left: 0rem;
  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;
}

.hunter-slogan {
  width: 4.76rem;
  height: 2.78rem;
  position: absolute;
  top: 6.25rem;
  left: 1.15rem;
  background: url(../image/section5/hunter-slogan.png) no-repeat;
  background-size: 100%;
  z-index: 3;           /* 保证在角色图上方显示 */
  pointer-events: none; /* 不拦截鼠标/触摸事件 */
}

/* 基础样式：所有 hunter 链接 */
.hunter-pic {
  display: block;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  text-decoration: none;
  /* 确保链接占满整个裁剪区域 */
  overflow: hidden;
}

.hunter-pic:hover {
  transform: scale(1.08);
  filter: brightness(1.08);
}

.hunter-pic:active {
  transform: scale(0.92);
}

/* hunter-1: 左下角，倒三角形（顶点在上） */
.hunter-1 {
  position: absolute;
  width: 5.31rem;
  height: 7.65rem;
  background: url(../image/section5/hunter-1.png) no-repeat;
  background-size: 100%;
  left: 0px;
  top: 7.6rem;
  /* 裁剪为倒三角形：顶点在上方中央，底边在下 */
  clip-path: polygon(64% 3%, 102% 100%, -54% 100%);
  -webkit-clip-path: polygon(64% 3%, 102% 100%, -54% 100%);
  pointer-events: auto;
}

.hunter-2 {
  position: absolute;
  width: 6.5rem;
  height: 6.74rem;
  background: url(../image/section5/hunter-2.png) no-repeat;
  background-size: 100%;
  right: 0px;
    top: 1.05rem;
  /* 裁剪为正三角形：顶点在下方，底边在上 */
  clip-path: polygon(0% -2%, 112% 0%, 47% 98%);
  -webkit-clip-path: polygon(0% -2%, 112% 0%, 47% 98%);
  pointer-events: auto;
} 

.hunter-3 {
  position: absolute;
  width: 3.6rem;
  height: 5.49rem;
  background: url(../image/section5/hunter-3.png) no-repeat;
  background-size: 100%;
  left: 0px;
  top: 2.35rem;
  /* 裁剪为左上角三角形：顶点在右下角 */
  clip-path: polygon(0% -15%, 0% 81%, 111% 98%);
  -webkit-clip-path: polygon(0% -15%, 0% 81%, 111% 98%);
  pointer-events: auto;
} 


.hunter-4 {
  position: absolute;
  width: 3.6rem;
  height: 4.87rem;
  background: url(../image/section5/hunter-4.png) no-repeat;
  background-size: 100%;
  left: 0px;
  top: 6.5rem;
  /* 裁剪为左下角三角形：顶点在右上角 */
  clip-path: polygon(0% 5%, 0% 111%, 103% 25%);
  -webkit-clip-path: polygon(0% 5%, 0% 111%, 103% 25%);
  pointer-events: auto;
} 


.hunter-5 {
  position: absolute;
  width: 3.91rem;
  height: 6.88rem;
  background: url(../image/section5/hunter-5.png) no-repeat;
  background-size: 100%;
  right: 0px;
  top: 8.1rem;
  /* 裁剪为右下角三角形：顶点在左上角 */
  clip-path: polygon(4% 0%, 100% 3%, 102% 162%);
  -webkit-clip-path: polygon(4% 0%, 100% 1%, 102% 162%);
  pointer-events: auto;
} 

/* hunter-6: 右上角，三角形（顶点在左下） */
.hunter-6 {
  position: absolute;
  width: 3.39rem;
  height: 5.97rem;
  background: url(../image/section5/hunter-6.png) no-repeat;
  background-size: 100%;
  right: 0px;
  top: 2.15rem;
  /* 裁剪为右上角三角形：顶点在左下角 */
  clip-path: polygon(0% 95%, 100% 5%, 100% 97%);
  -webkit-clip-path: polygon(0% 95%, 100% 5%, 100% 97%);
  pointer-events: auto;
} 