:root { --primary-color: #26A9E0; --secondary-color: #FFFFFF; --login-button-color: #EA7C07; --header-top-bg: #000000; --main-nav-bg: #FFFFFF; --text-dark: #333333; --text-light: #FFFFFF; --header-offset: 110px; } @media (max-width: 768px) { :root { --header-offset: 110px; } } body { margin: 0; font-family: Arial, sans-serif; line-height: 1.6; color: var(--text-dark); padding-top: var(--header-offset); } .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(--header-top-bg); } .header-top { background-color: var(--header-top-bg); color: var(--text-light); padding: 10px 0; min-height: 60px; display: flex; align-items: center; } .header-container { max-width: 1200px; margin: 0 auto; width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 0 20px; } .logo { font-size: 24px; font-weight: bold; color: var(--text-light); text-decoration: none; display: block; } .desktop-nav-buttons { display: flex; gap: 10px; } .btn { padding: 10px 15px; border-radius: 5px; font-weight: bold; text-decoration: none; transition: background-color 0.3s ease; display: inline-block; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .btn-register { background-color: var(--primary-color); color: var(--text-light); } .btn-register:hover { background-color: #1e87b8; } .btn-login { background-color: var(--login-button-color); color: var(--text-light); } .btn-login:hover { background-color: #c26705; } .main-nav { background-color: var(--main-nav-bg); padding: 10px 0; min-height: 50px; display: flex; align-items: center; } .nav-container { max-width: 1200px; margin: 0 auto; width: 100%; display: flex; justify-content: center; align-items: center; padding: 0 20px; } .nav-link { color: var(--text-dark); text-decoration: none; padding: 8px 15px; transition: background-color 0.3s ease; white-space: nowrap; } .nav-link:hover { background-color: #f0f0f0; border-radius: 5px; } .hamburger-menu { display: none; background: none; border: none; font-size: 30px; color: var(--text-light); cursor: pointer; padding: 0; line-height: 1; } .mobile-nav-buttons { display: none; } .mobile-menu-overlay { display: none; } .site-footer { background-color: #333; color: #ccc; padding: 40px 0 20px; font-size: 14px; } .footer-container { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; padding: 0 20px; } .footer-col { flex: 1; min-width: 200px; margin-bottom: 20px; } .footer-col h3 { color: var(--secondary-color); margin-bottom: 15px; font-size: 16px; } .footer-col ul { list-style: none; padding: 0; margin: 0; } .footer-col li { margin-bottom: 8px; } .footer-col a { color: #ccc; text-decoration: none; line-height: 1.8; } .footer-col a:hover { color: var(--primary-color); } .footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid #444; margin-top: 20px; color: #aaa; } @media (max-width: 768px) { .site-header { background-color: var(--header-top-bg); } .header-top { min-height: 60px; padding: 5px 0; } .header-container { padding: 0 15px; width: 100%; max-width: none; position: relative; } .hamburger-menu { display: block; position: relative; z-index: 2; } .logo { flex: 1 !important; display: flex !important; justify-content: center !important; align-items: center !important; font-size: 20px; } .desktop-nav-buttons { display: none; } .mobile-nav-buttons { display: flex !important; width: 100%; max-width: 100%; box-sizing: border-box; padding: 10px 15px; overflow: hidden; gap: 10px; flex-wrap: nowrap; background-color: #222; } .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%; max-width: 300px; height: calc(100% - var(--header-offset)); background-color: var(--main-nav-bg); box-shadow: 2px 0 5px rgba(0,0,0,0.2); transform: translateX(-100%); transition: transform 0.3s ease; overflow-y: auto; z-index: 1000; } .main-nav.active { display: flex; transform: translateX(0); } .nav-container { flex-direction: column; align-items: flex-start; padding: 20px 15px; width: 100%; max-width: none; } .nav-link { width: 100%; padding: 12px 15px; border-bottom: 1px solid #eee; } .mobile-menu-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.5); z-index: 999; display: none; } .mobile-menu-overlay.active { display: block; } .hamburger-menu.active { /* Example for X icon */ transform: rotate(90deg); } body.no-scroll { overflow: hidden; } .footer-container { flex-direction: column; } .footer-col { min-width: 100%; } .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;
  }
}
