:root { --primary-color: #0A2647; --auxiliary-color: #FFD700; --text-light: #FFFFFF; --text-dark: #333333; --header-offset: 110px; } @media (max-width: 768px) { :root { --header-offset: 100px; } } html { scroll-behavior: smooth; } body { font-family: Arial, sans-serif; margin: 0; padding-top: var(--header-offset); color: var(--text-dark); overflow-x: hidden; } body.no-scroll { overflow: hidden; } .site-header { position: fixed; top: 0; width: 100%; z-index: 1000; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); background-color: var(--primary-color); box-sizing: border-box; overflow-x: hidden; } .header-top { background-color: var(--primary-color); padding: 15px 0; min-height: 30px; display: flex; align-items: center; position: relative; } .header-container { max-width: 1200px; margin: 0 auto; width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 0 20px; box-sizing: border-box; } .logo { font-size: 24px; font-weight: bold; color: var(--auxiliary-color); text-decoration: none; text-transform: uppercase; display: block; order: 0; } .desktop-nav-buttons { display: flex; gap: 10px; margin-left: auto; } .btn { display: inline-block; padding: 10px 18px; border-radius: 25px; text-decoration: none; font-weight: bold; font-size: 15px; transition: background-color 0.3s ease, transform 0.2s ease; white-space: nowrap; text-align: center; border: none; cursor: pointer; } .btn-register { background-color: var(--auxiliary-color); color: var(--primary-color); } .btn-register:hover { background-color: #e6c200; transform: translateY(-2px); } .btn-login { background-color: var(--primary-color); color: var(--auxiliary-color); border: 2px solid var(--auxiliary-color); } .btn-login:hover { background-color: #071c36; transform: translateY(-2px); } .mobile-nav-buttons { display: none; background-color: var(--primary-color); padding: 10px 20px; min-height: 30px; box-sizing: border-box; overflow: hidden; } .main-nav { background-color: #1F4068; padding: 10px 0; min-height: 30px; display: flex; align-items: center; box-sizing: border-box; } .nav-container { max-width: 1200px; margin: 0 auto; width: 100%; display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 0 20px; box-sizing: border-box; flex-wrap: wrap; gap: 15px; } .nav-link { color: var(--text-light); text-decoration: none; font-weight: bold; padding: 8px 12px; transition: color 0.3s ease, background-color 0.3s ease; border-radius: 5px; white-space: nowrap; } .nav-link:hover { background-color: rgba(255, 255, 255, 0.1); color: var(--auxiliary-color); } .hamburger-menu { display: none; width: 30px; height: 24px; position: relative; cursor: pointer; z-index: 1001; margin-right: 15px; } .hamburger-menu span { display: block; height: 3px; width: 100%; background-color: var(--auxiliary-color); position: absolute; left: 0; transition: all 0.3s ease; } .hamburger-menu span:nth-child(1) { top: 0; } .hamburger-menu span:nth-child(2) { top: 50%; transform: translateY(-50%); } .hamburger-menu span:nth-child(3) { bottom: 0; } .hamburger-menu.active span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); } .hamburger-menu.active span:nth-child(2) { opacity: 0; } .hamburger-menu.active span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); } .mobile-menu-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.7); z-index: 999; transition: opacity 0.3s ease; opacity: 0; } .mobile-menu-overlay.active { display: block; opacity: 1; } .site-footer { background-color: var(--primary-color); color: var(--text-light); padding: 40px 20px 20px; font-size: 14px; line-height: 1.6; box-sizing: border-box; } .footer-container { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; } .footer-col { flex: 1; min-width: 250px; } .footer-col h3 { color: var(--auxiliary-color); font-size: 18px; margin-bottom: 15px; } .footer-col p { color: #CCCCCC; } .footer-nav { list-style: none; padding: 0; margin: 0; } .footer-nav li { margin-bottom: 8px; } .footer-nav a { color: #CCCCCC; text-decoration: none; transition: color 0.3s ease; } .footer-nav a:hover { color: var(--auxiliary-color); } .footer-bottom { text-align: center; padding-top: 30px; margin-top: 30px; border-top: 1px solid rgba(255, 255, 255, 0.1); color: #AAAAAA; } @media (max-width: 768px) { .site-header { max-width: 100%; overflow-x: hidden; } .header-top { padding: 10px 0; min-height: 30px; } .header-container { padding: 0 15px; justify-content: flex-start; max-width: none; width: 100%; position: relative; } .hamburger-menu { display: block; order: 0; } .logo { order: 1; flex: 1 !important; display: flex !important; justify-content: center !important; align-items: center !important; font-size: 20px; max-width: calc(100% - 60px); } .logo img { display: block !important; max-width: 100%; height: auto; max-height: 40px; } .desktop-nav-buttons { display: none; } .mobile-nav-buttons { display: flex !important; width: 100%; max-width: 100%; box-sizing: border-box; padding-left: 15px; padding-right: 15px; overflow: hidden; gap: 10px; flex-wrap: nowrap; justify-content: center; } .mobile-nav-buttons .btn { flex: 1; min-width: 0; max-width: calc(50% - 5px); box-sizing: border-box; padding: 8px 12px; font-size: 13px; white-space: normal; word-wrap: break-word; overflow-wrap: break-word; } .main-nav { display: none; flex-direction: column; position: fixed; top: var(--header-offset); left: 0; width: 80%; height: calc(100% - var(--header-offset)); background-color: var(--primary-color); transform: translateX(-100%); transition: transform 0.3s ease; box-shadow: 2px 0 5px rgba(0, 0, 0, 0.3); overflow-y: auto; box-sizing: border-box; } .main-nav.active { display: flex; transform: translateX(0); } .nav-container { flex-direction: column; align-items: flex-start; padding: 20px 15px; max-width: none; width: 100%; gap: 10px; } .nav-link { width: 100%; padding: 12px 15px; text-align: left; border-bottom: 1px solid rgba(255, 255, 255, 0.05); } .nav-link:last-child { border-bottom: none; } .footer-container { flex-direction: column; gap: 20px; } .footer-col { min-width: unset; width: 100%; text-align: center; } .footer-col h3 { margin-bottom: 10px; } .footer-nav { text-align: center; } .page-content img { max-width: 100% !important; height: auto !important; display: block; } .page-content { overflow-x: hidden; max-width: 100%; } body { overflow-x: hidden; } }
/* Payment Methods 图标容器样式 */
.payment-icons {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: flex-start;
  gap: 5px;
}

.payment-icons img,
.payment-icon {
  max-height: 50px;
  height: auto;
  width: auto;
  display: block;
}

/* Game Providers 图标容器样式 */
.game-providers-icons {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
}

.game-providers-icons img,
.game-provider-icon {
  max-height: 50px;
  height: auto;
  width: auto;
  display: block;
}

/* Social Media 图标容器样式 */
.social-media-icons {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
}

.social-media-icons img,
.social-media-icon {
  max-height: 50px;
  height: auto;
  width: auto;
  display: block;
}
/* 移动端内容区防溢出（系统追加，请勿删除） */
@media (max-width: 768px) {
  .page-content img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
  }
  .page-content {
    overflow-x: hidden;
    max-width: 100%;
  }
  body {
    overflow-x: hidden;
  }
}
