/* Part 2 背景容器 */
.game-part3-section2-bg {
  width: 100%;
  height: 800px;
  background-image: image-set(
    url('../images/part2-bg_4106c11a.webp') type('image/webp'),
    url('../images/part2-bg_4106c11a.png') type('image/png')
  );
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Part 2 文字样式 */
.game-part3-section2-title {
  position: absolute;
  top: 500px;
  width: 100%;
  text-align: center;
  font-size: 50px;
  color: #d1d7f3;
}

.game-part3-section2-desc {
  position: absolute;
  top: 600px;
  width: 35%;
  text-align: center;
  font-size: 20px;
  color: #ffffff;
}

/* Part 2 分割线 */
.game-part3-section2-line {
  width: 100%;
  height: 50px;
  margin-top: -40px;
  background-image: image-set(
    url('../images/line_48ca73ec.webp') type('image/webp'),
    url('../images/line_48ca73ec.png') type('image/png')
  );
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Part 3 背景容器 */
.game-part3-section3-bg {
  width: 100%;
  height: 1100px;
  background-image: image-set(
    url('../images/part3-bg_8127752a.webp') type('image/webp'),
    url('../images/part3-bg_8127752a.png') type('image/png')
  );
  position: relative;
}



/* 主容器 */
.game-part3-section3-ini {
  display: flex;
  justify-content: space-between;
  width: 80%;
  position: absolute;
  top: 620px;
  left: 10%;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* 左侧区域 */
.game-part3-section3-ini-left {
  width: 65%;
  display: flex;
  flex-direction: column;
}

/* 标题 */
.game-part3-section3-ini-title {
  margin-left: auto;
  margin-right: auto;
  font-size: 35px;
  font-weight: bold;
  color: #ffd700;
  margin-bottom: 10px;
  margin-top: 50px; /* 添加的：与上方容器的距离 */
}

/* 职业列表 */
.game-part3-section3-ini-class-list {
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 15px;
  margin-top: 50px; /* 添加的：与标题的距离 */
}

.game-part3-section3-ini-class-item {
  padding: 8px 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.game-part3-section3-ini-class-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #ffd700;
  color: #ffd700;
}

/* 装备说明区域 */
.game-part3-section3-ini-desc {
  min-height: 120px;
  padding: 10px;
  border: 1px dashed rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  background-color: rgba(255, 255, 255, 0.05);
  margin-top: 50px; /* 添加的：与职业列表的距离 */
}


/* 右侧图像区域 */
.game-part3-section3-ini-right {
  width: 30%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.game-part3-section3-ini-image {
  width: 360px;
  height: 400px;
  background-size: cover;
  background-position: center;
  border-radius: 8px;

}





/* Part 3 图片边框 */
.game-part3-img-frame {
  position: absolute;
  top: 130px;
  left: 180px;
  width: 580px;
  height: 400px;
  background-image: image-set(
    url('../images/part1-border_4ed5d82a.webp') type('image/webp'),
    url('../images/part1-border_4ed5d82a.png') type('image/png')
  );
  background-size: 100% 100%;
  background-repeat: no-repeat;
  z-index: 3;
}

.game-part3-img {
  position: absolute;
  top: 140px;
  left: 190px;
  width: 550px;
  height: 350px;
  object-fit: cover;
  z-index: 2;
}

/* Part 3 文字 */
.game-part3-title {
  position: absolute;
  top: 520px;
  left: 330px;
  font-size: 25px;
  color: #ffffff;
  padding: 10px;
  z-index: 3;
}

.game-part3-subtitle {
  position: absolute;
  top: 80px;
  left: 1200px;
  font-size: 35px;
  color: #ffffff;
  padding: 10px;
  z-index: 3;
  letter-spacing: 5px;
}

.game-part3-reward-title {
  position: absolute;
  top: 100px;
  left: 900px;
  width: 30%;
  font-size: 35px;
  color: #ffffff;
  padding: 10px;
  z-index: 3;
  letter-spacing: 5px;
}

/* Part 3 列表 */
.game-part3-list {
  position: absolute;
  top: 200px;
  left: 1000px;
  width: 700px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 20px;
  font-size: 20px;
  color: #fff;
}

.game-part3-list-item {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 6px;
  gap: 10px;
}

.game-part3-star {
  height: 20px;
  background-image: url('../images/star_favourite.png');
  background-repeat: repeat-x;
  background-size: auto 100%;
  background-position: left center;
  flex-shrink: 0;
}

/* Part 3 表格 */
.game-part3-table {
  position: absolute;
  top: 200px;
  left: 250px;
  display: grid;
  grid-template-columns: 3fr 7fr; /* 图片占 30%，文字占 70% */
  grid-template-rows: repeat(8, auto);
  width: 70%;
  margin: 0 auto;
}

.game-part3-table-row {
  display: contents;
}

.game-part3-table-cell {
  color: #fff;
  padding: 12px 16px;
  font-size: 16px;
  line-height: 2;
  display: flex; /* 添加 Flexbox */
  align-items: center; /* 垂直居中 */
}

/* Part 3 图片容器 */
.game-part3-img-container {
  width: 100%; /* 占满单元格宽度，即 30% 的比例 */
  height: auto;
  z-index: 2;
}

.game-part3-img-content {
  width: 100%; /* 图片宽度自适应容器 */
  max-width: 180px; /* 限制最大宽度，避免过大 */
  height: auto;
  display: block;
  border: 3px solid gold;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

/* Part 4 背景容器 */
.game-part3-section4-bg {
  width: 100%;
  height: 1900px;
  background-image: image-set(
    url('../images/part3-bg_8127752a.webp') type('image/webp'),
    url('../images/part3-bg_8127752a.png') type('image/png')
  );
  position: relative;
}

.game-part3-section3-line {
  width: 100%;
  height: 35px;
  margin-top: -25px; /* 这个根据视觉调整 */
  background-image: image-set(
    url('../images/line_48ca73ec.webp') type('image/webp'),
    url('../images/line_48ca73ec.png') type('image/png')
  );
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 2;
}

/* Part 4 背景容器 */
.game-part3-section5-bg {
  width: 100%;
  height: 500px;
  background-image: image-set(
    url('../images/part3-bg_c99e9a72.webp') type('image/webp'),
    url('../images/part3-bg_c99e9a72.jpg') type('image/jpg')
  );
  position: relative;
}