/* 重置默认样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== 全局自定义滚动条 ===== */
/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(218, 165, 32, 0.6) rgba(0, 0, 0, 0.15);
}

/* WebKit (Chrome / Edge / Safari) */
*::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

*::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 8px;
}

*::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(218, 165, 32, 0.7), rgba(184, 134, 11, 0.7));
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.3s ease;
}

*::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(255, 200, 80, 0.95), rgba(218, 165, 32, 0.95));
}

*::-webkit-scrollbar-thumb:active {
  background: rgba(255, 215, 100, 1);
}

*::-webkit-scrollbar-corner {
  background: transparent;
}

/* 平滑滚动 */
html {
  scroll-behavior: smooth;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  background-color: #000000;
}

body {
  font-family: "Microsoft YaHei", Arial, sans-serif;
  color: #333;
  position: relative;
}

/* 主容器 */
.main-container {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  position: relative;
  padding-top: 80px;
}

/* 通用section样式 */
.section {
  width: 100%;
  min-height: 100vh;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
  flex-direction: column-reverse;
}

/* 根据背景图比例调整各部分高度 */
.section-1 {
  height: 100vh;
}

.section-2 {
  height: 100vh;
}

.section-3 {
  height: 100vh;
}

.section-4 {
  height: 100vh;
}

/* 导航条样式 */
.navigation {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  padding: 20px 40px;
  height: 80px;
  /* background-image: url('https://m-cdn.xxgameos.com/website/cdn/pantheon/images/nav.png'); */
  background-color: rgba(0, 0, 0, 0.7);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.nav-left,
.nav-center,
.nav-right {
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-left {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
}

.nav-center {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  justify-content: center;
  gap: 60px;
  width: max-content;
  max-width: calc(100% - 560px);
  z-index: 2;
  padding-bottom: 10px;
  align-items: end;
}

/* 导航链接之间的金色竖线分隔符（绝对定位，不占布局，不影响 gap 计算） */
.nav-center .nav-link {
  position: relative;
}

.nav-center .nav-link:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -30px;                 /* gap(60) 的一半 */
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 14px;
  background: linear-gradient(180deg,
      rgba(240, 192, 64, 0) 0%,
      rgba(240, 192, 64, 0.85) 50%,
      rgba(240, 192, 64, 0) 100%);
  pointer-events: none;
}

.nav-right {
  margin-left: auto;
  justify-content: flex-end;
  gap: 12px;
  width: clamp(300px, 34vw, 520px);
  min-width: 300px;
  position: relative;
  z-index: 1;
}

.nav-role-info {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 230px;
  justify-content: flex-end;
}

.nav-role-text {
  min-width: 0;
  max-width: 100%;
  text-align: right;
  line-height: 1.4;
}

#navRoleName,
#navRoleDetail {
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.login-btn-container {
  flex: 0 0 auto;
  align-items: flex-end;
}

.logged-in-actions {
  align-items: flex-end;
}

.logged-in-actions-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.fac-button {
  max-width: 100%;
  height: auto;
  max-height: 70px;
  object-fit: contain;
  cursor: pointer;
  transition: transform 0.2s ease;
  margin-top: 18px;
}

.fac-button:hover {
  transform: scale(1.05);
}

.nav-link {
  color: #ffd700;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #ffd700;
}

.nav-separator {
  color: #ffd700;
  font-size: 10px;
  font-weight: bold;
}

.login-btn {
  background: linear-gradient(45deg, #ffd700, #ffed4e);
  color: #333;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.login-btn:hover {
  background: linear-gradient(45deg, #ffed4e, #ffd700);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* 浮窗样式 */
.floating-window {
  position: absolute;
  top: 85px;
  right: 20px;
  width: 200px;
  height: 445px;
  background-image: url("https://m-cdn.xxgameos.com/website/cdn/pantheon/images/fu_1.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-buttons {
  display: flex;
  flex-direction: column;
  gap: 20px;

  width: 100%;
  height: 100%;
  justify-content: flex-start;
  align-items: center;
  margin-top: 260px;
}

.floating-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 160px;
}

.floating-btn-down {
  margin-top: 10px;
}

.btn-pos-1 {
  transform: translateY(10px);
}

.btn-pos-2 {
  transform: translateY(20px);
}

.btn-pos-3 {
  transform: translateY(30px);
}

.btn-pos-4 {
  transform: translateY(40px);
}

.floating-btn:hover {
  transform: translateX(-5px) scale(1.05);
}

.btn-pos-1:hover {
  transform: translateX(-5px) translateY(10px) scale(1.05);
}

.btn-pos-2:hover {
  transform: translateX(-5px) translateY(20px) scale(1.05);
}

.btn-pos-3:hover {
  transform: translateX(-5px) translateY(30px) scale(1.05);
}

.btn-pos-4:hover {
  transform: translateX(-5px) translateY(40px) scale(1.05);
}

.btn-icon {
  width: 100%;
  height: auto;
  max-width: 130px;
  object-fit: contain;
  pointer-events: none;
}

.btn-icon-smaller {
  max-width: 110px;
}

/* 底部按钮区域 */
.bottom-buttons {
  position: absolute;
  bottom: 35px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 8;
  align-items: center;
}

.bottom-buttons-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
}

.bottom-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.bottom-btn:hover {
  transform: translateY(-3px) scale(1.05);
}

.bottom-btn-icon {
  height: 100%;
  width: auto;
  object-fit: contain;
}

/* 第二部分文字链接区域 */
.text-links-section {
  position: absolute;
  right: 19%;
  top: 59%;
  transform: translateY(-50%);
  z-index: 10;
  width: 503px;
  max-height: 400px;
  overflow-y: auto;
  padding-right: 10px;
}

/* 第二部分图片 */
.section2-image {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 42%;
  left: 20%;
}

.guanggao-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  max-height: 500px;
  object-fit: contain;
  display: block;
  z-index: 1;
}

/* PC端中等屏幕适配 - 防止重叠 */
@media (max-width: 1600px) and (min-width: 769px) {
  .text-links-section {
    right: 15%;
    width: 400px;
    font-size: 14px;
  }

  .section2-image {
    left: 15%;
  }

  .guanggao-image {
    max-width: 600px;
    max-height: 400px;
  }
}

@media (max-width: 1366px) and (min-width: 769px) {
  .text-links-section {
    right: 10%;
    width: 350px;
    top: 55%;
  }

  .section2-image {
    left: 10%;
    top: 38%;
  }

  .guanggao-image {
    max-width: 500px;
    max-height: 350px;
  }
}

@media (max-width: 1200px) and (min-width: 769px) {
  .text-links-section {
    right: 5%;
    width: 300px;
    top: 50%;
  }

  .section2-image {
    left: 5%;
    top: 35%;
  }

  .guanggao-image {
    max-width: 400px;
    max-height: 300px;
  }

  .text-title {
    font-size: 13px;
  }

  .text-date {
    font-size: 11px;
  }
}

/* 自定义滚动条样式 - text-links-section 内部细滚动条 */
.text-links-section {
  scrollbar-width: thin;
  scrollbar-color: rgba(218, 165, 32, 0.5) rgba(255, 255, 255, 0.08);
  scroll-behavior: smooth;
  overscroll-behavior: contain;
}

.text-links-section::-webkit-scrollbar {
  width: 6px;
}

.text-links-section::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  margin: 4px 0;
}

.text-links-section::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(218, 165, 32, 0.6), rgba(184, 134, 11, 0.6));
  border-radius: 6px;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.text-links-section::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(255, 210, 100, 0.95), rgba(218, 165, 32, 0.95));
  box-shadow: 0 0 6px rgba(255, 200, 80, 0.6);
}

.text-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  text-decoration: none;
  color: #ccc;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: color 0.3s ease;
}

.text-link:hover {
  color: #fff;
}

.text-link:last-child {
  border-bottom: none;
}

.text-title {
  font-size: 16px;
  font-weight: 500;
  flex: 1;
  margin-right: 15px;
}

.text-date {
  font-size: 14px;
  color: #999;
  white-space: nowrap;
}

/* 第三部分轮播图 */
.career-section {
  position: absolute;
  top: 65%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 80%;
  max-width: 90%;
  height: 60vh;
  padding: 2%;
  z-index: 10;
}

.career-carousel {
  position: absolute;
  width: 100%;
  height: 100%;
  margin-bottom: 0;
  overflow: unset;
  border-radius: 1vw;
  z-index: 1;
}

.career-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.career-item.active {
  opacity: 1;
}

.career-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-width: 100%;
  max-height: 100%;
  transform: scale(1.2);
}

.career-buttons {
  display: flex;
  gap: 1.5vw;
  justify-content: center;
  align-items: center;
  margin-top: -1.5vw;
  position: absolute;
  z-index: 15;
  top: 87%;
  left: 56%;
}

.career-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
  transition: transform 0.3s ease;
}

.career-btn:hover {
  transform: scale(1.05);
}

.career-btn-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  display: block;
}

.career-btn .active-img {
  display: block;
}

.career-btn .inactive-img {
  display: none;
}

.career-btn:not(.active) .active-img {
  display: none;
}

.career-btn:not(.active) .inactive-img {
  display: block;
}

/* 内容容器 */
.content {
  text-align: center;
  color: white;
  z-index: 2;
  padding: 20px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  max-width: 800px;
  margin: 0 20px;
  margin-top: auto;
  margin-bottom: auto;
}

.content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.content p {
  font-size: 1.2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

/* 各个部分的背景图片 */
.section-1 {
  background-image: url("https://m-cdn.xxgameos.com/website/cdn/pantheon/images/base_1.jpg");
}

.section-2 {
  background-image: url("https://m-cdn.xxgameos.com/website/cdn/pantheon/images/base_2.jpg");
}

.section-3 {
  background-image: url("https://m-cdn.xxgameos.com/website/cdn/pantheon/images/base_3.jpg");
}

.section-4 {
  background-image: url("https://m-cdn.xxgameos.com/website/cdn/pantheon/images/base_4.jpg");
}

.section-5 {
  background-image: url("https://m-cdn.xxgameos.com/website/cdn/pantheon/images/base_5.jpg");
  height: 30vh;
  min-height: 30vh;
}

.ysXy {
  position: absolute;
  top: 64%;
  left: 42%;
  width: 10%;
  height: 15%;
  z-index: 10;
}

.userXy {
  position: absolute;
  top: 64%;
  left: 53%;
  width: 5%;
  height: 15%;
  z-index: 10;
}

/* 第四部分游戏亮点轮播图 */
.game-highlights-section {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 38%;
  max-width: 1200px;
  z-index: 10;
  box-sizing: border-box;
}

.game-highlights-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.game-highlights-wrapper {
  position: relative;
  width: 100%;
  height: 400px;
  perspective: 1200px;
  perspective-origin: center center;
  overflow: visible;
  box-sizing: border-box;
}

.game-highlight-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translateX(0);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
}

.game-highlight-item.current {
  opacity: 1;
  transform: translateX(0);
  z-index: 10;
}

.game-highlight-item.previous {
  opacity: 0.8;
  transform: translateX(-20%) scale(0.8);
  z-index: 1;
}

.game-highlight-item.following {
  opacity: 0.8;
  transform: translateX(20%) scale(0.8);
  z-index: 1;
}

.game-highlight-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  /* border-radius: 20px; */
  box-shadow: none;
  border: none;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
}

.game-highlight-item.current .game-highlight-image {
  box-shadow: none;
  border: none;
  filter: brightness(1.05) contrast(1.02);
}

.game-highlight-item.previous .game-highlight-image,
.game-highlight-item.following .game-highlight-image {
  box-shadow: none;
  border: none;
  filter: brightness(0.8) contrast(0.9);
}

.game-highlights-indicators {
  display: none;
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  gap: 15px;
  z-index: 10;
  box-sizing: border-box;
}

.game-highlight-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 215, 0, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.game-highlight-dot::before {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.game-highlight-dot:hover {
  background: rgba(255, 215, 0, 0.6);
  transform: scale(1.2);
}

.game-highlight-dot:hover::before {
  border-color: rgba(255, 215, 0, 0.6);
}

.game-highlight-dot.current {
  background: rgba(255, 215, 0, 1);
  transform: scale(1.3);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
}

.game-highlight-dot.current::before {
  border-color: rgba(255, 215, 0, 1);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

.game-highlight-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 15;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.game-highlight-btn:hover {
  transform: translateY(-50%) scale(1.1);
}

.game-highlight-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.game-highlight-btn-prev {
  left: -185px;
}

.game-highlight-btn-next {
  right: -185px;
}

.game-highlight-btn-img {
  width: 60px;
  height: 45px;
  display: block;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.game-highlight-btn:hover .game-highlight-btn-img {
  filter: brightness(1.1);
}

/* 响应式设计 - 移动端适配 */
@media (max-width: 768px) {
  .main-container {
    width: 100%;
    overflow-x: hidden;
    padding-top: 7%;
  }

  .content h1 {
    font-size: 2rem;
  }

  .content p {
    font-size: 1rem;
  }

  .content {
    margin: 0 10px;
    padding: 15px;
  }

  .section {
    min-height: 50vh;
    width: 100%;
    overflow: hidden;
  }

  .section-1 {
    height: 50vh;
  }

  .section-2 {
    height: 50vh;
  }

  .section-3 {
    height: 50vh;
  }

  .section-4 {
    height: 50vh;
  }

  .section-5 {
    height: 30vh;
  }

  .navigation {
    padding: 8px 15px;
    height: 50px;
  }

  .nav-left {
    margin-left: -8px;
  }

  .nav-center {
    gap: 20px;
    max-width: calc(100% - 220px);
    align-items: center;
    padding-bottom: 0;
  }

  .nav-center .nav-link:not(:last-child)::after {
    right: -10px;               /* gap(20) 的一半 */
    height: 10px;
  }

  .nav-right {
    width: auto;
    min-width: 0;
    max-width: 48%;
    gap: 6px;
  }

  .nav-role-info {
    display: none !important;
  }

  #select_role_btn {
    display: none !important;
  }

  #logout_btn {
    padding: 5px 10px;
    font-size: 11px;
    border-radius: 18px;
  }

  .nav-link {
    font-size: 14px;
  }

  .fac-button {
    max-height: 44px;
  }

  .login-btn {
    padding: 8px 18px;
    font-size: 13px;
  }

  .logged-in-actions-row {
    gap: 6px;
  }

  .floating-window {
    width: 100px;
    height: 222px;
    right: 8px;
    top: 60px;
  }

  /* 第二部分H5适配 */
  .section2-content {
    flex-direction: column;
    gap: 10px;
    padding: 10px;
  }

  .text-links-section {
    position: relative;
    width: 80%;
    max-width: none;
    left: 10%;
    transform: none;
    margin-bottom: 10px;
    max-height: none;
    overflow-y: visible;
    padding-right: 5px;
  }

  .text-link {
    font-size: 10px;
    padding: 4px 0;
    white-space: normal;
  }

  .text-title {
    font-size: 10px;
    white-space: normal;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .text-date {
    font-size: 8px;
  }

  .section2-image {
    top: 30%;
    left: 10%;
    width: 80%;
  }

  .guanggao-image {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  /* 第三部分H5适配 */
  .career-section {
    width: 80%;
    max-width: none;
    padding: 2vw;
    top: 50%;
    height: 40vh;
  }

  .career-carousel {
    height: 30vh;
    min-width: 70%;
    max-width: 100%;
  }

  .career-buttons {
    top: 80%;
    left: 50%;
    transform: translateX(-50%);
    gap: 2vw;
  }

  .career-btn-img {
    width: 6vw;
    height: 6vw;
    max-width: 35px;
    max-height: 35px;
  }

  /* 第四部分H5适配 */
  .game-highlights-section {
    width: 85%;
    top: 50%;
  }

  .game-highlights-wrapper {
    height: 32vh;
    perspective: 40vw;
  }

  .game-highlight-btn-prev {
    left: -6vw;
    top: 42%;
  }

  .game-highlight-btn-next {
    right: -6vw;
    top: 42%;
  }

  .game-highlight-btn-img {
    width: 4vw;
    height: 3vw;
    max-width: 35px;
    max-height: 25px;
  }

  .game-highlights-indicators {
    bottom: -30px;
    gap: 6px;
  }

  .game-highlight-dot {
    width: 8px;
    height: 8px;
  }

  /* H5背景图适配 - 铺满等比例缩放 */
  .section-1 {
    background-size: cover !important;
    background-position: center center !important;
  }

  .section-2 {
    background-size: cover !important;
    background-position: center center !important;
  }

  .section-3 {
    background-size: cover !important;
    background-position: center center !important;
  }

  .section-4 {
    background-size: cover !important;
    background-position: center center !important;
  }

  .section-5 {
    background-size: cover !important;
    background-position: center center !important;
    height: 25vh;
  }

  .floating-buttons {
    gap: 10px;
    margin-top: 130px;
  }

  .btn-icon {
    max-width: 65px;
  }

  .btn-icon-smaller {
    max-width: 55px;
  }

  .btn-pos-1 {
    transform: translateY(5px);
  }

  .btn-pos-2 {
    transform: translateY(10px);
  }

  .btn-pos-3 {
    transform: translateY(15px);
  }

  .btn-pos-4 {
    transform: translateY(20px);
  }

  .btn-pos-1:hover {
    transform: translateX(-5px) translateY(5px) scale(1.05);
  }

  .btn-pos-2:hover {
    transform: translateX(-5px) translateY(10px) scale(1.05);
  }

  .btn-pos-3:hover {
    transform: translateX(-5px) translateY(15px) scale(1.05);
  }

  .btn-pos-4:hover {
    transform: translateX(-5px) translateY(20px) scale(1.05);
  }

  .bottom-buttons {
    bottom: 20px;
    gap: 0;
  }

  .bottom-buttons-row + .bottom-buttons-row {
    margin-top: -20px;
  }

  .bottom-btn-icon {
    height: 35px;
  }

  .text-links-section {
    left: 30px;
    width: 250px;
    max-height: 250px;
    overflow-y: auto;
  }

  .text-title {
    font-size: 14px;
  }

  .text-date {
    font-size: 12px;
  }

  .section2-image {
    padding: 20px;
  }

  .guanggao-image {
    max-width: 100%;
  }

  .career-section {
    width: 98%;
    padding: 15px;
    max-width: none;
    top: 50%;
  }

  .career-carousel {
    height: 250px;
    min-width: 250px;
    max-width: 100%;
  }

  .career-buttons {
    top: -5%;
    left: 50%;
    transform: translateX(-50%);
    gap: 10px;
  }

  .career-btn-img {
    width: 35px;
    height: 35px;
  }
}

/* 响应式设计 - 小屏幕手机 */
@media (max-width: 480px) {
  .content h1 {
    font-size: 1.5rem;
  }

  .content p {
    font-size: 0.9rem;
  }

  .content {
    margin: 0 5px;
    padding: 10px;
  }

  .section {
    min-height: 10vh;
    margin: 0;
    padding: 0;
  }

  .section-1 {
    height: 21vh;
  }

  .section-2 {
    height: 21vh;
  }

  .section-3 {
    height: 21vh;
  }

  .section-4 {
    height: 21vh;
  }

  .navigation {
    padding: 3px 5px;
    height: 4%;
  }

  .nav-center {
    gap: 8px;
    max-width: calc(100% - 160px);
    align-items: center;
    padding-bottom: 0;
  }

  .nav-center .nav-link:not(:last-child)::after {
    right: -4px;                /* gap(8) 的一半 */
    height: 5px;
  }

  .nav-link {
    font-size: 9px;
    white-space: nowrap;
  }

  .nav-separator {
    font-size: 5px;
  }

  .fac-button {
    max-height: 30px;
  }

  .login-btn {
    padding: 6px 12px;
    font-size: 8px;
  }

  .floating-window {
    width: 40px;
    height: 89px;
    right: 4%;
    top: 25px;
  }

  .floating-buttons {
    gap: 4px;
    margin-top: 52px;
  }

  .btn-icon {
    max-width: 26px;
  }

  .btn-icon-smaller {
    max-width: 22px;
  }

  .btn-pos-1 {
    transform: translateY(2px);
  }

  .btn-pos-2 {
    transform: translateY(4px);
  }

  .btn-pos-3 {
    transform: translateY(6px);
  }

  .btn-pos-4 {
    transform: translateY(8px);
  }

  .btn-pos-1:hover {
    transform: translateX(-5px) translateY(2px) scale(1.05);
  }

  .btn-pos-2:hover {
    transform: translateX(-5px) translateY(4px) scale(1.05);
  }

  .btn-pos-3:hover {
    transform: translateX(-5px) translateY(6px) scale(1.05);
  }

  .btn-pos-4:hover {
    transform: translateX(-5px) translateY(8px) scale(1.05);
  }

  .bottom-buttons {
    bottom: -3px;
    gap: 0;
  }

  .bottom-buttons-row + .bottom-buttons-row {
    margin-top: -8px;
  }

  /* 第二部分手机端适配 */
  .section2-content {
    padding: 4px;
    gap: 4px;
  }

  .text-links-section {
    margin-bottom: 1px;
    width: 50%;
    left: 43%;
    top: 66%;
    transform: translateY(-50%);
    position: absolute;
    max-height: none;
    overflow-y: visible;
  }

  .text-link {
    font-size: 6px;
    padding: 1px 0;
    border-bottom: 0.25px solid rgba(255, 255, 255, 0.1);
    white-space: normal;
  }

  .text-title {
    font-size: 6px;
    margin-right: 2px;
    white-space: normal;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .text-date {
    font-size: 5px;
  }

  .section2-image {
    top: 30%;
    left: -2%;
    width: 48%;
  }

  /* 第三部分手机端适配 */
  .career-section {
    width: 70%;
    padding: 1vw;
    top: 65%;
    height: 30vh;
  }

  .career-buttons {
    top: 85%;
    left: 72%;
    gap: 1vw;
  }

  .career-btn-img {
    width: 3vw;
    height: 3vw;
    max-width: 20px;
    max-height: 20px;
  }

  /* 第四部分手机端适配 */
  .game-highlights-section {
    width: 49%;
    top: 85%;
  }

  .game-highlights-wrapper {
    height: 22vh;
    perspective: 30vw;
  }

  .game-highlight-btn-prev {
    left: -8vw;
    top: 29%;
  }

  .game-highlight-btn-next {
    right: -8vw;
    top: 29%;
  }

  .game-highlight-btn-img {
    width: 2.5vw;
    height: 2vw;
    max-width: 20px;
    max-height: 15px;
  }

  .game-highlights-indicators {
    bottom: -20px;
    gap: 4px;
  }

  .game-highlight-dot {
    width: 5px;
    height: 5px;
  }

  /* 手机端背景图适配 */
  .section-1 {
    background-size: cover !important;
    background-position: center center !important;
  }

  .section-2 {
    background-size: 100% 100% !important;
    background-position: center center !important;
  }

  .section-3 {
    background-size: 100% 100% !important;
    background-position: center center !important;
  }

  .section-4 {
    background-size: 100% 100% !important;
    background-position: center center !important;
  }

  .section-5 {
    background-size: cover !important;
    background-position: center center !important;
    height: 10vh;
  }

  .bottom-btn-icon {
    height: 12px;
  }

  .text-title {
    font-size: 8px;
  }

  .text-date {
    font-size: 100%;
  }

  .guanggao-image {
    max-width: 70%;
  }

  .career-carousel {
    height: 100%;
    min-width: 520px;
    margin-bottom: 0;
  }

  .career-btn-img {
    width: 50px;
    height: 50px;
  }

  .career-img {
    width: 75%;
    height: 50%;
    object-fit: contain;
    max-width: 100%;
    max-height: 100%;
    transform: scale(1.2);
  }
}

/* 手机横屏适配 */
@media (max-width: 896px) and (orientation: landscape) {
  .section {
    height: 100vh !important;
    min-height: 100vh !important;
  }

  .section-1 {
    height: 100vh !important;
  }

  .section-2 {
    height: 100vh !important;
  }

  .section-3 {
    height: 100vh !important;
  }

  .section-4 {
    height: 100vh !important;
  }

  .section-5 {
    height: 100vh !important;
  }

  /* 导航栏横屏适配 */
  .navigation {
    padding: 5px 10px;
    height: 40px;
  }

  .nav-link {
    font-size: 8px;
  }

  .nav-separator {
    font-size: 6px;
  }

  .fac-button {
    max-height: 20px;
  }

  .login-btn {
    padding: 3px 8px;
    font-size: 6px;
  }

  /* 浮窗横屏适配 */
  .floating-window {
    width: 60px;
    height: 150px;
    right: 5px;
    top: 50px;
  }

  .floating-buttons {
    gap: 3px;
    margin-top: 80px;
  }

  .btn-icon {
    max-width: 40px;
  }

  /* 底部按钮横屏适配 */
  .bottom-buttons {
    bottom: 15px;
    gap: 4px;
  }

  .bottom-btn-icon {
    height: 20px;
  }

  /* 第二部分横屏适配 */
  .text-links-section {
    position: absolute;
    right: 15%;
    top: 50%;
    transform: translateY(-50%);
    width: 300px;
    max-height: 150px;
    overflow-y: auto;
  }

  .text-link {
    font-size: 8px;
    padding: 3px 0;
  }

  .text-title {
    font-size: 8px;
  }

  .text-date {
    font-size: 6px;
  }

  .section2-image {
    top: 40%;
    left: 15%;
    width: 70%;
  }

  .guanggao-image {
    max-width: 100%;
    height: auto;
  }

  /* 第三部分横屏适配 */
  .career-section {
    width: 60%;
    top: 50%;
    height: 50vh;
  }

  .career-carousel {
    height: 200px;
    min-width: 300px;
  }

  .career-buttons {
    top: 70%;
    left: 50%;
    transform: translateX(-50%);
    gap: 8px;
  }

  .career-btn-img {
    width: 30px;
    height: 30px;
  }

  /* 第四部分横屏适配 */
  .game-highlights-section {
    width: 60%;
    top: 50%;
  }

  .game-highlights-wrapper {
    height: 200px;
    perspective: 50vw;
  }

  .game-highlight-btn-prev {
    left: -10vw;
  }

  .game-highlight-btn-next {
    right: -10vw;
  }

  .game-highlight-btn-img {
    width: 3vw;
    height: 2.5vw;
    max-width: 30px;
    max-height: 25px;
  }

  /* 横屏背景图适配 */
  .section-1 {
    background-size: cover !important;
    background-position: center center !important;
  }

  .section-2 {
    background-size: cover !important;
    background-position: center center !important;
  }

  .section-3 {
    background-size: cover !important;
    background-position: center center !important;
  }

  .section-4 {
    background-size: cover !important;
    background-position: center center !important;
  }

  .section-5 {
    background-size: cover !important;
    background-position: center center !important;
  }
}

/* 平滑滚动 */
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  scroll-padding-top: 0;
}

/* 确保背景图片正确显示 - 仅PC端 */
@media (min-width: 769px) {
  .section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    background-size: cover;
    background-position: center;
    z-index: 1;
  }
}

/* 系统选择弹窗样式 */
.payment-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.payment-modal.active {
  display: flex !important;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  width: 90%;
  max-width: 400px;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  animation: slideIn 0.3s ease;
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  color: #999;
  cursor: pointer;
  transition: color 0.3s;
}

.close-modal:hover {
  color: #333;
}

.modal-title {
  text-align: center;
  font-size: 18px;
  color: #333;
  margin-bottom: 30px;
  font-weight: 500;
}

.modal-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.modal-btn {
  padding: 12px 40px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  color: white;
}

.modal-btn.ios {
  background: linear-gradient(135deg, #0d0e0d 0%, #050a00 100%);
}

.modal-btn.ios:hover {
  background: linear-gradient(135deg, #020300 0%, #0a0a0a 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(139, 195, 74, 0.4);
}

.modal-btn.android {
  background: linear-gradient(135deg, #0d0e0d 0%, #0c0c0c 100%);
}

.modal-btn.android:hover {
  background: linear-gradient(135deg, #0a0a0a 0%, #111111 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(156, 204, 101, 0.4);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* 提示弹框样式 */
.alert-modal {
  display: none;
  position: fixed;
  z-index: 10001;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.alert-modal.active {
  display: flex !important;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
}

.alert-content {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px 40px;
  max-width: 350px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  animation: slideIn 0.3s ease;
  position: relative;
}

.alert-close {
  position: absolute;
  top: 2%;
  right: 6%;
  font-size: 28px;
  font-weight: bold;
  color: #999;
  cursor: pointer;
  transition: color 0.3s;
}

.alert-close:hover {
  color: #333;
}

.alert-message {
  font-size: 18px;
  color: #333;
  margin: 0;
  font-weight: 500;
  padding-top: 10px;
}

/* 移动端适配 */
@media (max-width: 768px) {
  .modal-content {
    padding: 25px;
    max-width: 320px;
  }

  .modal-title {
    font-size: 16px;
    margin-bottom: 25px;
  }

  .modal-buttons {
    gap: 15px;
  }

  .modal-btn {
    padding: 10px 30px;
    font-size: 14px;
  }
}
