/* 角色介绍 */
.yzj_hunter {
  width: 100%;
  /* padding: 50px 0 80px; */
  height: 1120px;
  position: relative;
  top: 65px;
}

/* 标题 */
.hunter-title {
  width: 579px;
  height: 163px;
  background: url(../image/section4/title_p4.png) no-repeat;
  background-size: 100%;
  position: absolute;
  top: -20px;
  left: 50%;
  margin-left: -221.5px;
  z-index: 4;
}

/* Swiper容器 */
.hunterinfo {
  width: 100%;
  height: 100%;
  position: relative;
}

.page4-fire-particles {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 100px;
  left: 0;
  width: 100%;
  height: 1200px;
  pointer-events: none;
  mix-blend-mode: screen;
}

.hunter-info {
  width: 720px;
  height: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  /* top: 300px; */
}

.hunter-swiper,
.hunter-swiper-pc {
  width: 720px;
  height: 100%;
  position: relative;
}

.hunter-swiper .swiper-wrapper,
.hunter-swiper-pc .swiper-wrapper {
  align-items: center;
}

.hunter-swiper .swiper-slide,
.hunter-swiper-pc .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 角色容器 */
.hunter-pic {
  width: 720px;
  height: 953px;
  position: relative;
}

/* 角色元素定位 */
.hunter_op_bg,
.hunter_img,
.hunter_text {
  position: absolute;
  background-size: 100%;
  background-repeat: no-repeat;
}

.hunter_op_bg {
  width: 720px;
  height: 1230px;
  top: 0px;
  left: 0;
}

.hunter_img {
  width: 720px;
  height: 1006px;
  top: -90px;
  left: 0;
  z-index: 2;
  transition: opacity 0.5s ease-in-out;
}

.hunter_text {
  width: 630px;
  height: 421px;
  right: 0%;
  bottom: 340px;
  z-index: 3
}

/* 装饰背景 */
/* .hunter_deco_bg {
  position: absolute;
  width: 670px;
  height: 671px;
  top: 130px;
  left: 25px;
  z-index: 0;
  background-image: url(../image/section4/imgbg.png);
  background-size: 100%;
  background-repeat: no-repeat;
  pointer-events: none;
} */

/* 角色1 */
.hunter-one .hunter_op_bg {
  background-image: url(../image/section4/op1.png);
}

.hunter-one .hunter_img {
  width: 720px;
  height: 884px;
  background-image: url(../image/section4/hunter_img_1.png);
}

.hunter-one .hunter_text {
  width: 600px;
  height: 176px;
  background-image: url(../image/section4/hunter_text_1.png);
}

/* 角色2 */
.hunter-two .hunter_op_bg {
  background-image: url(../image/section4/op2.png);
}

.hunter-two .hunter_img {
  width: 720px;
  height: 906px;
  background-image: url(../image/section4/hunter_img_2.png);
}

.hunter-two .hunter_text {
  background-image: url(../image/section4/hunter_text_2.png);
}

/* 角色3 */
.hunter-three .hunter_op_bg {
  background-image: url(../image/section4/op3.png);
}

.hunter-three .hunter_img {
  width: 720px;
  height: 858px;
  background-image: url(../image/section4/hunter_img_3.png);
}

.hunter-three .hunter_text {
  width: 676px;
  height: 417px;
  background-image: url(../image/section4/hunter_text_3.png);
}

/* 角色4 */
.hunter-four .hunter_op_bg {
  background-image: url(../image/section4/op4.png);
}

.hunter-four .hunter_img {
  width: 720px;
  height: 874px;
  background-image: url(../image/section4/hunter_img_4.png);
}

.hunter-four .hunter_text {
  width: 686px;
  height: 392px;
  background-image: url(../image/section4/hunter_text_4.png);
}

/* 角色5 */
.hunter-five .hunter_op_bg {
  background-image: url(../image/section4/op5.png);
}

.hunter-five .hunter_img {
  height: 904px;
  background-image: url(../image/section4/hunter_img_5.png);
}

/* 角色6 */
.hunter-six .hunter_op_bg {
  background-image: url(../image/section4/op6.png);
}

.hunter-six .hunter_img {
  height: 1003px;
  background-image: url(../image/section4/hunter_img_6.png);
}

.hunter-seven .hunter_img {
  height: 1006px;
  background-image: url(../image/section4/hunter_img_7.png);
}

.hunter-eight .hunter_img {
  height: 1006px;
  background-image: url(../image/section4/hunter_img_8.png);
}

/* 交互状态的角色图片 */
/* 导航按钮 */
.hunter-swiper-button-prev {
  width: 68px;
  height: 74px;
  position: absolute;
  top: 103.5%;
  left: 15px;
  transform: translateY(-50%);
  background: url(../image/section4/prev.png) no-repeat;
  background-size: 100%;
  cursor: pointer;
  z-index: 11;
}

.hunter-swiper-button-next {
  width: 68px;
  height: 74px;
  position: absolute;
  top: 104%;
  right: 15px;
  transform: translateY(-50%);
  background: url(../image/section4/next.png) no-repeat;
  background-size: 100%;
  cursor: pointer;
  z-index: 11;
}

/* 分页器 */
.hunter-swiper-pagination {
  background: none;
  width: 718px;
  height: 143px;
  margin: 30px auto 0;
  position: relative;
  /* overflow: hidden; */
  display: flex;
  justify-content: center;
  align-items: center;
  top: -60px;
  gap: 5px;
}

.hunter-swiper-pagination::after {
  content: '';
  background-image: url(../image/section4/activebg.png);
  background-size: 100%;
  background-repeat: no-repeat;
  width: 603px;
  height: 17px;
  position: absolute;
  top: -40px;
  /* left: -80px; */
  z-index: 0;
}

.hunter-swiper-pagination .swiper-pagination-bullet {
  background: none;
  width: 125px;
  height: 125px;
  border-radius: 0;
  opacity: 1;
  background-size: 100%;
  background-repeat: no-repeat;
  display: inline-block;
  flex-shrink: 0;
  margin: 0 20px;
  background-size: 100%;
  z-index: 2;
  position: relative;
}
/* .hunter-swiper-pagination .swiper-pagination-bullet::after {
  content: '';
  width: 118px;
  height: 117px;
  position: absolute;
  top: -6.5px;
  left: -5px;
  background: url(../image/section4/activebg2.png) no-repeat;
} */

.hunter-swiper-pagination .swiper-pagination-bullet-active {
  /* background: none; */
  width: 125px;
  height: 125px;
}

.hunter-swiper-pagination .swiper-pagination-bullet:nth-child(1) {
  background-image: url(../image/section4/noactive1.png);
}

.hunter-swiper-pagination .swiper-pagination-bullet-active:nth-child(1) {
  background-image: url(../image/section4/active1.png);
}

.hunter-swiper-pagination .swiper-pagination-bullet:nth-child(2) {
  background-image: url(../image/section4/noactive2.png);
}

.hunter-swiper-pagination .swiper-pagination-bullet-active:nth-child(2) {
  background-image: url(../image/section4/active2.png);
}

.hunter-swiper-pagination .swiper-pagination-bullet:nth-child(3) {
  background-image: url(../image/section4/noactive3.png);
}

.hunter-swiper-pagination .swiper-pagination-bullet-active:nth-child(3) {
  background-image: url(../image/section4/active3.png);
}

.hunter-swiper-pagination .swiper-pagination-bullet:nth-child(4) {
  background-image: url(../image/section4/noactive4.png);
}

.hunter-swiper-pagination .swiper-pagination-bullet-active:nth-child(4) {
  background-image: url(../image/section4/active4.png);
}

/* 女性形态的分页器按钮样式 */
.hunter-swiper-pagination .swiper-pagination-bullet.gender-female:nth-child(1) {
  background-image: url(../image/section4/noactive11.png);
}

.hunter-swiper-pagination .swiper-pagination-bullet-active.gender-female:nth-child(1) {
  background-image: url(../image/section4/active11.png);
}

.hunter-swiper-pagination .swiper-pagination-bullet.gender-female:nth-child(2) {
  background-image: url(../image/section4/noactive21.png);
}

.hunter-swiper-pagination .swiper-pagination-bullet-active.gender-female:nth-child(2) {
  background-image: url(../image/section4/active21.png);
}

.hunter-swiper-pagination .swiper-pagination-bullet.gender-female:nth-child(3) {
  background-image: url(../image/section4/noactive31.png);
}

.hunter-swiper-pagination .swiper-pagination-bullet-active.gender-female:nth-child(3) {
  background-image: url(../image/section4/active31.png);
}

.hunter-swiper-pagination .swiper-pagination-bullet.gender-female:nth-child(4) {
  background-image: url(../image/section4/noactive41.png);
}

.hunter-swiper-pagination .swiper-pagination-bullet-active.gender-female:nth-child(4) {
  background-image: url(../image/section4/active41.png);
}

/* 性别状态视觉标识 */
/* .hunter-swiper-pagination .swiper-pagination-bullet.gender-female::before {
  content: '';
  position: absolute;
  top: -5px;
  right: -5px;
  width: 20px;
  height: 20px;
  background: #ff69b4;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
  z-index: 1;
}

.hunter-swiper-pagination .swiper-pagination-bullet.gender-male::after {
  content: '';
  position: absolute;
  top: -5px;
  right: -5px;
  width: 20px;
  height: 20px;
  background: #4a90e2;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
  z-index: 1;
} */

.hunter-swiper-pagination .swiper-pagination-bullet:nth-child(5) {
  background-image: url(../image/section4/noactive5.png);
}

.hunter-swiper-pagination .swiper-pagination-bullet-active:nth-child(5) {
  background-image: url(../image/section4/active5.png);
}

.hunter-swiper-pagination .swiper-pagination-bullet:nth-child(6) {
  background-image: url(../image/section4/noactive6.png);
}

.hunter-swiper-pagination .swiper-pagination-bullet-active:nth-child(6) {
  background-image: url(../image/section4/active6.png);
}

.hunter-swiper-pagination .swiper-pagination-bullet:nth-child(7) {
  background-image: url(../image/section4/noactive7.png);
}

.hunter-swiper-pagination .swiper-pagination-bullet-active:nth-child(7) {
  background-image: url(../image/section4/active7.png);
}

.hunter-swiper-pagination .swiper-pagination-bullet:nth-child(8) {
  background-image: url(../image/section4/noactive8.png);
}

.hunter-swiper-pagination .swiper-pagination-bullet-active:nth-child(8) {
  background-image: url(../image/section4/active8.png);
}

/* 动画效果 */
.hunter_op_bg.animated.ani {
  animation: fadeInLeft 0.4s 0.25s both;
}

.hunter_img.animated.ani {
  animation: fadeInLeft 0.4s 0.25s both;
}

.hunter_text.animated.ani {
  animation: fadeInRight 0.4s 0.25s both;
}

.gender-btn.animated.ani.zoom,
.interaction-btn.animated.ani.zoom {
  animation: fadeInLeft 0.4s 0.25s both;
}

/* 状态切换按钮 */
.gender-switch-group {
  position: absolute;
  top: 335px;
  left: 5px;
  z-index: 10;
  display: flex;
  gap: 0px;
}

.gender-btn {
  width: 86px;
  height: 86px;
  cursor: pointer;
  background: none;
  background-size: 100%;
  position: relative;
  transition: opacity 0.3s ease, transform 0.2s ease, filter 0.3s ease;
  opacity: 0.5;
  filter: grayscale(100%);
}

.gender-btn.active {
  opacity: 1;
  filter: grayscale(0%);
  /* animation: pulse22 1.5s infinite; */
}

.gender-btn:active {
  transform: scale(0.95);
}

/* .gender-btn-male {
  background-image: url(../image/section4/gender-male.png);
}

.gender-btn-female {
  background-image: url(../image/section4/gender-female.png);
} */

/* 互动按钮 */
.interaction-btn {
  position: absolute;
  width: 92px;
  height: 102px;
  background: none;
  background-size: 100%;
  cursor: pointer;
  z-index: 10;
  /* transition: all 0.3s ease; */
  top: 710px;
  left: 35px;
  animation: pulse22 1.5s infinite;
}

.gender-btn::before,
.interaction-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
  /* animation: pulse22 1.5s infinite; */
  pointer-events: none;
}

.gender-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
  pointer-events: none;
}

.gender-btn.active::before {
  /* animation: pulse22 1.5s infinite; */
}

.gender-btn-male::before {
  background-image: url(../image/section4/bt1.png);
}

.gender-btn-female::before {
  background-image: url(../image/section4/bt12.png);
}

.interaction-btn::before {
  background-image: url(../image/section4/bt2.png);
}

@keyframes pulse22 {
  0% {
      -webkit-transform: scaleX(1);
      transform: scaleX(1)
  }

  50% {
      -webkit-transform: scale3d(1.1,1.1,1.1);
      transform: scale3d(1.1,1.1,1.1)
  }

  to {
      -webkit-transform: scaleX(1);
      transform: scaleX(1)
  }
}

.interaction-btn:active {
  transform: translateX(-50%) scale(0.95);
}

/* 互动弹窗 */
.character-interaction-container {
}

.character-interaction-content {
  background: url(../image/section4/character-interaction-container.png) no-repeat center;
  background-size: 100%;
  width: 720px;
  height: 1196px;
  /* position: absolute; */
  top: 35%;
  left: 50%;
  /* transform: translate(-50%, -50%); */
  z-index: 10;
}

.btn-close-interaction {
  display: block;
  width: 51px;
  height: 52px;
  position: absolute;
  background: url(../image/pop/pop-close.png) no-repeat;
  background-size: 100%;
  top: 247px;
  right: 20px;
  cursor: pointer;
  z-index: 12;
}

.character-interaction-content .btn {
  width: 390px;
  height: 91px;
  background: url(../image/section4/btn.png) no-repeat;
  background-size: 100%;
  position: absolute;
  top: 1230px;
  left: 24%;
}

/* .btn-close-interaction::before {
  content: '×';
  line-height: 1;
}

.btn-close-interaction:active {
  transform: scale(0.9);
  background: rgba(255, 255, 255, 0.3);
} */

.interaction-content-inner {
  width: 100%;
  height: 100%;
  color: #fff;
  font-size: 28px;
  line-height: 1.6;
  overflow-y: auto;
}

/* 女性角色图片切换逻辑已由角色形态状态机接管。 */

/* 隐藏的分页容器 */
.pagination-swiper-container {
  display: none;
}

/* /* 角色5 */
.hunter-five .hunter_op_bg {
  background-image: url(../image/section4/hunter_op_5.png);
}

.hunter-five .hunter_img {
  height: 904px;
  background-image: url(../image/section4/hunter_img_5.png);
}

.hunter-five .hunter_text {
  width: 669px;
  height: 395px;
  background-image: url(../image/section4/hunter_text_5.png);
}

/* /* 角色6/ */
.hunter-six .hunter_op_bg {
  background-image: url(../image/section4/hunter_op_6.png);
}

.hunter-six .hunter_img {
  height: 1003px;
  background-image: url(../image/section4/hunter_img_6.png);
}

.hunter-six .hunter_text {
  width: 639px;
  height: 399px;
  background-image: url(../image/section4/hunter_text_6.png);
}

.hunter-seven .hunter_op_bg {
  background-image: url(../image/section4/hunter_op_7.png);
}

.hunter-seven .hunter_img {
  height: 1006px;
  background-image: url(../image/section4/hunter_img_7.png);
}

.hunter-seven .hunter_text {
  background-image: url(../image/section4/hunter_text_7.png);
}

.hunter-eight .hunter_op_bg {
  background-image: url(../image/section4/hunter_op_8.png);
}

.hunter-eight .hunter_img {
  height: 1006px;
  background-image: url(../image/section4/hunter_img_8.png);
}

.hunter-eight .hunter_text {
  background-image: url(../image/section4/hunter_text_8.png);
}

/* hunter-pic 容器需要相对定位 */
.hunter-pic {
  position: relative;
  width: 100%;
  height: 100%;
}

/* 形态切换 Swiper 容器 */
.hunter-state-swiper {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  overflow: hidden;
  z-index: 1;
}

.hunter-state-swiper .swiper-wrapper {
  height: 100%;
  /* width: 100%; - 移除，让 Swiper 自动计算 wrapper 宽度 */
  display: flex;
}

.hunter-state-slide {
  /* width: 100%; - 移除，让 Swiper 根据 slidesPerView 自动计算 slide 宽度 */
  flex-shrink: 0;
  height: 100%;
  overflow: hidden;
  flex-shrink: 0;
}

.hunter_img-default,
.hunter_img-interaction {
  will-change: transform;
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}

/* .hunter-one .hunter_img-default,
.hunter-one .hunter_img-interaction {
  height: 804px;
} */

.hunter-one .hunter_img-default {
  top: 30px;
  left: 0px;
  background-image: url(../image/section4/hunter_img_1.png);
}

.hunter-one .hunter_img-interaction {
  width: 720px;
  height: 856px;
  background-image: url(../image/section4/j1.png);
  background-size: 100%;
  background-repeat: no-repeat;
  top: 42px;
  left: 0px;
}

.hunter-two .hunter_img-default,
.hunter-two .hunter_img-interaction {
  /* height: 893px; */
}

.hunter-two .hunter_img-default {
  background-image: url(../image/section4/hunter_img_2.png);
  background-size: 100%;
  top: 17px;
  left: 0px;
}

.hunter-two .hunter_img-interaction {
  width: 720px;
  height: 893px;
  background-image: url(../image/section4/j2.png);
  background-size: 100%;
  background-repeat: no-repeat;
  top: 23px;
  left: 0px;
}

/* .hunter-three .hunter_img-default,
.hunter-three .hunter_img-interaction {
  height: 1001px;
} */

.hunter-three .hunter_img-default {
  top: 43px;
  height: 858px;
  background-image: url(../image/section4/hunter_img_3.png);
}

.hunter-three .hunter_img-interaction {
  width: 720px;
  height: 858px;
  background-image: url(../image/section4/j3.png);
  background-size: 100%;
  background-repeat: no-repeat;
  top: 43px;
  left: 0px;
}

/* .hunter-four .hunter_img-default,
.hunter-four .hunter_img-interaction {
  width: 668px;
  height: 873px;
} */

.hunter-four .hunter_img-default {
  top: 30px;
  height: 874px;
  background-image: url(../image/section4/hunter_img_4.png);
}

.hunter-four .hunter_img-interaction {
  width: 720px;
  height: 858px;
  background-image: url(../image/section4/j4.png);
  background-size: 100%;
  background-repeat: no-repeat;
  top: 42px;
  /* left: 5px;*/
}

.hunter-five .hunter_img-default,
.hunter-five .hunter_img-interaction {
  height: 969px;
}

.hunter-five .hunter_img-default {
  width: 634px;
  height: 904px;
  background-image: url(../image/section4/hunter_img_5.png);
  top: -82px;
  left: -20px;
}

.hunter-five .hunter_img-interaction {
  width: 523px;
  height: 682px;
  background-image: url(../image/section4/j5.png);
  background-size: 100%;
  background-repeat: no-repeat;
  top: -185px;
  left: -70px;
}

.hunter-six .hunter_img-default,
.hunter-six .hunter_img-interaction {
  height: 1003px;
}

.hunter-six .hunter_img-default {
  top: -40px;
  background-image: url(../image/section4/hunter_img_6.png);
}

.hunter-six .hunter_img-interaction {
  width: 470px;
  height: 696px;
  background-image: url(../image/section4/j6.png);
  background-size: 100%;
  background-repeat: no-repeat;
  top: -189px;
  left: -94px;
}