/* 角色详情页专用样式 */
html,
body.role-page {
  height: 100%;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  background: #000;
}

.role-page .wrap {
  width: 100%;
  height: 100%;
  background: transparent;
  overflow: visible !important;
  display: flex;
  justify-content: center;
}

.role-page .wrap .page5 {
  margin: 0;
  width: 100%;
  max-width: 720px;
  height: 100%;
  position: relative;
  background: url(../image/section5/bg.jpg) no-repeat center center !important;
  background-size: cover !important;
}

.role-page-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

/* Swiper 容器 */
.role-swiper {
  width: 100%;
  height: 100%;
  overflow: visible;
  position: relative;
}

.role-swiper .swiper-wrapper {
  height: 100%;
  align-items: center;
}

.role-swiper .swiper-slide {
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 角色ID显示（测试用） */
.role-id {
  color: #ffd221;
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 10px;
}

/* 角色图片 - 保持原尺寸，统一位置 */
.role-img {
  position: relative;
  width: 100%;
  height: 100%;
}

/* 角色文案 - 统一基础位置 */
.role-copy {
  position: absolute;
  top: 520px;
  left: 50%;
  transform: translateX(-50%);
}

/* 每个角色文案的单独偏移调整 */
.role-copy-1 {
  margin-top: -80px;
}

.role-copy-2 {
  margin-top: -25px;
}

.role-copy-3 {
  margin-top: -52px;
}

.role-copy-4 {
  margin-top: -70px;
}

.role-copy-5 {
  margin-top: -35px;
}

.role-copy-6 {
  margin-top: -50px;
}

.role-nav-next {
  position: absolute;
  bottom: 90px;
  right: 20px;
  width: 66px;
  height: 34px;
  background: url(../image/section5/role-nav-next.png) no-repeat;
  background-size: 100%;
  z-index: 5;
  cursor: pointer;
}

.role-nav-prev {
  position: absolute;
  bottom: 90px;
  left: 20px;
  width: 66px;
  height: 34px;
  background: url(../image/section5/role-nav-prev.png) no-repeat;
  background-size: 100%;
  z-index: 5;
  cursor: pointer;
}

/* 返回按钮 */
.role-back {
  width: 242px;
  height: 58px;
  position: relative;
  top: 0px;
  left: 0;
  background: url(../image/section5/role-back.png) no-repeat;
  background-size: 100%;
  z-index: 5;
    cursor: pointer;
}

/* 分页器 */
.role-pagination-wrap {
  position: absolute;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.role-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  height: 30px;
}

.role-pagination .role-bullet {
  width: 143px;
  height: 143px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  background-repeat: no-repeat;
}

.role-pagination .role-bullet.active {
  transform: scale(1.2);
}

/* 每个角色分页器的背景图片 */
.role-pagination .role-pagination-1 {
  background-image: url(../image/section5/role-pagination-1.png);
  background-size: cover;
  background-position: center;
}

.role-pagination .role-pagination-2 {
  background-image: url(../image/section5/role-pagination-2.png);
  background-size: cover;
  background-position: center;
}

.role-pagination .role-pagination-3 {
  background-image: url(../image/section5/role-pagination-3.png);
  background-size: cover;
  background-position: center;
}

.role-pagination .role-pagination-4 {
  background-image: url(../image/section5/role-pagination-4.png);
  background-size: cover;
  background-position: center;
}

.role-pagination .role-pagination-5 {
  background-image: url(../image/section5/role-pagination-5.png);
  background-size: cover;
  background-position: center;
}

.role-pagination .role-pagination-6 {
  background-image: url(../image/section5/role-pagination-6.png);
  background-size: cover;
  background-position: center;
}

/* 激活状态的角色分页器背景图片 */
.role-pagination .role-pagination-active-1 {
  background-image: url(../image/section5/role-pagination-active-1.png);
  background-size: cover;
  background-position: center;
}

.role-pagination .role-pagination-active-2 {
  background-image: url(../image/section5/role-pagination-active-2.png);
  background-size: cover;
  background-position: center;
}

.role-pagination .role-pagination-active-3 {
  background-image: url(../image/section5/role-pagination-active-3.png);
  background-size: cover;
  background-position: center;
}

.role-pagination .role-pagination-active-4 {
  background-image: url(../image/section5/role-pagination-active-4.png);
  background-size: cover;
  background-position: center;
}

.role-pagination .role-pagination-active-5 {
  background-image: url(../image/section5/role-pagination-active-5.png);
  background-size: cover;
  background-position: center;
}

.role-pagination .role-pagination-active-6 {
  background-image: url(../image/section5/role-pagination-active-6.png);
  background-size: cover;
  background-position: center;
}
