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

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

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

.hunter-info {
  width: 720px;
  margin: 0 auto;
  position: relative;
  /* 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/section3/imgbg.png);
  background-size: 100%;
  background-repeat: no-repeat;
  pointer-events: none;
}

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

.hunter-one .hunter_img {
  width: 633px;
  height: 804px;
  background-image: url(../image/section3/hunter_img_1.png);
}

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

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

.hunter-two .hunter_img {
  width: 623px;
  height: 813px;
  background-image: url(../image/section3/hunter_img_2.png);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.hunter-swiper-button-next {
  width: 52px;
  height: 76px;
  position: absolute;
  top: 90.5%;
  right: 5px;
  transform: translateY(-50%);
  background: url(../image/section3/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: -200px;
}

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

.hunter-swiper-pagination .swiper-pagination-bullet {
  background: none;
  width: 107px;
  height: 107px;
  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/section3/activebg2.png) no-repeat;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.hunter-swiper-pagination .swiper-pagination-bullet-active:nth-child(8) {
  background-image: url(../image/section3/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: 440px;
  left: 35px;
  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/section3/gender-male.png);
}

.gender-btn-female {
  background-image: url(../image/section3/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/section3/bt1.png);
}

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

.interaction-btn::before {
  background-image: url(../image/section3/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/section3/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/section3/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/section3/hunter_op_5.png);
}

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

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

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

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

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

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

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

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

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

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

.hunter-eight .hunter_text {
  background-image: url(../image/section3/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: -50px;
  left: -17px;
  background-image: url(../image/section3/hunter_img_1.png);
}

.hunter-one .hunter_img-interaction {
  width: 600px;
  height: 807px;
  background-image: url(../image/section3/j1.png);
  background-size: 100%;
  background-repeat: no-repeat;
  top: -50px;
  left: 0px;
}

.hunter-two .hunter_img-default,
.hunter-two .hunter_img-interaction {
  height: 804px;
}

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

.hunter-two .hunter_img-interaction {
  width: 612px;
  height: 861px;
  background-image: url(../image/section3/j2.png);
  background-size: 100%;
  background-repeat: no-repeat;
  top: -55px;
  left: 6px;
}

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

.hunter-three .hunter_img-default {
  top: -18px;
  background-image: url(../image/section3/hunter_img_3.png);
}

.hunter-three .hunter_img-interaction {
  width: 617px;
  height: 787px;
  background-image: url(../image/section3/j3.png);
  background-size: 100%;
  background-repeat: no-repeat;
  top: -40px;
  left: 8px;
}

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

.hunter-four .hunter_img-default {
  top: -52px;
  background-image: url(../image/section3/hunter_img_4.png);
}

.hunter-four .hunter_img-interaction {
  width: 707px;
  height: 741px;
  background-image: url(../image/section3/j4.png);
  background-size: 100%;
  background-repeat: no-repeat;
  top: -20px;
  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/section3/hunter_img_5.png);
  top: -82px;
  left: -20px;
}

.hunter-five .hunter_img-interaction {
  width: 523px;
  height: 682px;
  background-image: url(../image/section3/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/section3/hunter_img_6.png);
}

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