:root { --primary-color: #017439; --secondary-color: #FFFFFF; --register-color: #C30808; --login-color: #C30808; --button-text-color: #FFFF00; --header-top-bg: #004d2b; --main-nav-bg: #017439; --header-offset: 122px; } body { font-family: 'Arial', sans-serif; margin: 0; padding-top: var(--header-offset); background-color: var(--secondary-color); color: #333; line-height: 1.6; } .site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); background-color: var(--header-top-bg); } .header-top { box-sizing: border-box; min-height: 68px; height: 68px; display: flex; align-items: center; overflow: hidden; background-color: var(--header-top-bg); color: var(--secondary-color); } .header-container { box-sizing: border-box; width: 100%; height: 100%; max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 0 20px; } .hamburger-menu { display: none; cursor: pointer; flex-direction: column; justify-content: space-around; width: 30px; height: 25px; background: transparent; border: none; padding: 0; z-index: 1001; } .hamburger-menu span { display: block; height: 3px; width: 100%; background: var(--secondary-color); border-radius: 3px; transition: all 0.3s ease-in-out; } .hamburger-menu.active span:nth-child(1) { transform: translateY(11px) rotate(45deg); } .hamburger-menu.active span:nth-child(2) { opacity: 0; } .hamburger-menu.active span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); } .logo { font-size: 28px; font-weight: bold; color: var(--button-text-color); text-decoration: none; padding: 5px 0; } .logo img { display: block; max-height: 60px; height: auto; width: auto; max-width: 280px; object-fit: contain; } .desktop-nav-buttons { display: flex; gap: 10px; } .btn { display: inline-block; padding: 10px 20px; border-radius: 5px; text-decoration: none; font-weight: bold; text-align: center; cursor: pointer; transition: background-color 0.3s ease, color 0.3s ease; white-space: nowrap; } .btn-register { background-color: var(--register-color); color: var(--button-text-color); border: 1px solid var(--register-color); } .btn-register:hover { background-color: #a70707; } .btn-login { background-color: var(--login-color); color: var(--button-text-color); border: 1px solid var(--login-color); } .btn-login:hover { background-color: #a70707; } .mobile-nav-buttons { display: none; } .main-nav { box-sizing: border-box; min-height: 52px; height: 52px; display: flex; align-items: center; overflow: hidden; background-color: var(--main-nav-bg); width: 100%; } .nav-container { box-sizing: border-box; height: 100%; max-width: 1200px; margin: 0 auto; display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 0 20px; } .nav-link { color: var(--secondary-color); text-decoration: none; padding: 10px 15px; font-weight: bold; transition: background-color 0.3s ease; white-space: nowrap; } .nav-link:hover { background-color: rgba(255, 255, 255, 0.1); border-radius: 3px; } .overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5); z-index: 999; } .site-footer { background-color: #222; color: #f0f0f0; padding: 40px 20px 20px; font-size: 14px; } .footer-top-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto 30px; } .footer-col h3 { color: var(--primary-color); font-size: 18px; margin-bottom: 15px; } .footer-col p { margin-bottom: 15px; } .footer-logo { font-size: 24px; font-weight: bold; color: var(--button-text-color); text-decoration: none; display: block; margin-bottom: 15px; } .footer-nav { list-style: none; padding: 0; margin: 0; } .footer-nav li { margin-bottom: 10px; } .footer-nav a { color: #ccc; text-decoration: none; transition: color 0.3s ease; } .footer-nav a:hover { color: var(--primary-color); } .footer-bottom { border-top: 1px solid #444; padding-top: 20px; text-align: center; color: #aaa; margin-top: 20px; } /* Mobile Styles */ @media (max-width: 768px) { :root { --header-offset: 110px; } body { padding-top: var(--header-offset); overflow-x: hidden; } .page-content img { max-width: 100% !important; height: auto !important; display: block; } .page-content { overflow-x: hidden; max-width: 100%; } .site-header { width: 100%; max-width: 100%; overflow-x: hidden; box-sizing: border-box; } .header-top { min-height: 60px !important; height: 60px !important; background-color: var(--header-top-bg); padding: 0 15px; } .header-container { width: 100%; max-width: none; padding: 0; justify-content: space-between; position: relative; } .hamburger-menu { display: flex; order: 0; position: relative; z-index: 2; } .logo { flex: 1; text-align: center; order: 1; font-size: 24px; position: absolute; left: 50%; transform: translateX(-50%); max-width: calc(100% - 100px); /* Adjust max-width to prevent overlap with hamburger */ } .logo img { max-height: 56px !important; } .desktop-nav-buttons { display: none; } .mobile-nav-buttons { display: flex !important; min-height: 48px; align-items: center; width: 100%; max-width: 100%; box-sizing: border-box; padding: 0 15px; overflow: hidden; gap: 10px; flex-wrap: nowrap; background-color: var(--header-top-bg); } .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: 75%; max-width: 300px; height: calc(100% - var(--header-offset)); background-color: var(--main-nav-bg); padding: 20px 0; box-shadow: 2px 0 5px rgba(0, 0, 0, 0.3); transform: translateX(-100%); transition: transform 0.3s ease; z-index: 1000; overflow-y: auto; } .main-nav.active { display: flex; transform: translateX(0); } .nav-container { flex-direction: column; padding: 0; width: 100%; max-width: none; align-items: flex-start; } .nav-link { display: block; width: 100%; padding: 12px 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); } .nav-link:last-child { border-bottom: none; } .overlay.active { display: block; } .footer-top-grid { grid-template-columns: 1fr; } .footer-col { text-align: center; } .footer-col h3 { margin-top: 30px; } .footer-logo { margin: 0 auto 15px; } }
/* 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;
  }
}
