:root { --primary-color: #26A9E0; --secondary-color: #FFFFFF; --login-button-color: #EA7C07; --background-color: #FFFFFF; --text-color: #000000; --header-top-bg: #1e90ff; /* Darker blue for header top */ --main-nav-bg: #26A9E0; /* Primary blue for main nav */ --footer-bg: #333333; /* Dark grey for footer */ --footer-text-color: #FFFFFF; /* White for footer text */ --header-offset: 110px; /* Desktop: header-top (60px) + main-nav (50px) */ } @media (max-width: 768px) { :root { --header-offset: 110px; /* Mobile: header-top (60px) + mobile-nav-buttons (50px) */ } } body { margin: 0; font-family: Arial, sans-serif; line-height: 1.6; color: var(--text-color); background-color: var(--background-color); padding-top: var(--header-offset); overflow-x: hidden; } body.no-scroll { overflow: hidden; } /* Header Styles */ .site-header { position: fixed; top: 0; width: 100%; z-index: 1000; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); box-sizing: border-box; overflow-x: hidden; } .header-top { background-color: var(--header-top-bg); 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: 28px; font-weight: bold; color: var(--secondary-color); text-decoration: none; padding: 5px 0; display: block; white-space: nowrap; } .desktop-nav-buttons { display: flex; gap: 12px; } .btn { display: inline-block; padding: 10px 20px; border-radius: 5px; text-decoration: none; font-weight: bold; transition: background-color 0.3s ease, transform 0.2s ease; white-space: nowrap; cursor: pointer; border: none; text-align: center; color: var(--secondary-color); } .btn-primary { background-color: var(--login-button-color); } .btn-primary:hover { background-color: #cc6300; transform: translateY(-2px); } .btn-secondary { background-color: var(--primary-color); } .btn-secondary:hover { background-color: #1a7eb3; transform: translateY(-2px); } .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(--secondary-color); text-decoration: none; padding: 8px 15px; font-weight: bold; transition: background-color 0.3s ease, color 0.3s ease; border-radius: 5px; white-space: nowrap; } .nav-link:hover { background-color: rgba(255, 255, 255, 0.2); } .hamburger-menu { display: none; flex-direction: column; justify-content: space-around; width: 30px; height: 25px; cursor: pointer; position: relative; z-index: 1001; } .hamburger-menu span { display: block; height: 3px; width: 100%; background-color: var(--secondary-color); border-radius: 3px; transition: all 0.3s ease; } .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); } .mobile-nav-buttons { display: none; } .mobile-menu-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); z-index: 999; cursor: pointer; transition: opacity 0.3s ease; opacity: 0; } .mobile-menu-overlay.active { display: block; opacity: 1; } /* Footer Styles */ .site-footer { background-color: var(--footer-bg); color: var(--footer-text-color); padding: 40px 20px 20px; font-size: 14px; } .footer-container { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; padding-bottom: 30px; } .footer-column { flex: 1; min-width: 250px; max-width: 30%; } .footer-column h3 { color: var(--secondary-color); font-size: 18px; margin-bottom: 15px; } .footer-column p { margin: 0; line-height: 1.8; color: rgba(255, 255, 255, 0.8); } .footer-nav { display: flex; flex-direction: column; gap: 10px; } .footer-nav a { color: rgba(255, 255, 255, 0.8); text-decoration: none; transition: color 0.3s ease; } .footer-nav a:hover { color: var(--primary-color); } .footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 20px; text-align: center; color: rgba(255, 255, 255, 0.6); } /* Responsive Styles */ @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; } .site-header { min-height: var(--header-offset); } .header-container { padding: 0 15px; width: 100%; max-width: none; justify-content: space-between; position: relative; } .hamburger-menu { display: flex; order: 1; } .logo { order: 2; flex: 1; text-align: center; position: absolute !important; left: 50% !important; transform: translateX(-50%) !important; max-width: calc(100% - 80px); font-size: 24px; } .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: var(--header-top-bg); justify-content: center; align-items: 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; position: fixed; top: var(--header-offset); left: 0; width: 280px; height: calc(100% - var(--header-offset)); flex-direction: column; align-items: flex-start; background-color: var(--main-nav-bg); transform: translateX(-100%); transition: transform 0.3s ease-in-out; box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2); overflow-y: auto; z-index: 1000; /* Ensure nav is above overlay */ } .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 rgba(255, 255, 255, 0.1); white-space: normal; } .nav-link:last-child { border-bottom: none; } .footer-container { flex-direction: column; align-items: center; gap: 20px; } .footer-column { max-width: 100%; text-align: center; min-width: unset; } .footer-nav { align-items: center; } }
/* 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;
  }
}
