:root { --header-offset: 110px; } @media (max-width: 768px) { :root { --header-offset: 105px; } } body { margin: 0; font-family: Arial, sans-serif; line-height: 1.6; color: #333333; padding-top: var(--header-offset); overflow-x: hidden; } .site-header { position: fixed; top: 0; left: 0; width: 100%; background-color: #FFFFFF; z-index: 1000; box-shadow: 0 2px 5px rgba(0,0,0,0.2); } .header-top { background-color: #004d2b; /* Darker green */ 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; box-sizing: border-box; } .logo { color: #FFFFFF; font-size: 24px; font-weight: bold; text-decoration: none; display: block; padding: 10px 0; } .desktop-nav-buttons { display: flex; gap: 10px; } .btn { padding: 10px 20px; border-radius: 5px; text-decoration: none; font-weight: bold; transition: background-color 0.3s ease; white-space: nowrap; } .btn-register { background-color: #C30808; color: #FFFF00; } .btn-login { background-color: #C30808; color: #FFFF00; } .btn:hover { opacity: 0.9; } .main-nav { background-color: #FFFFFF; /* White */ min-height: 50px; display: flex; align-items: center; border-top: 1px solid #eee; } .nav-container { max-width: 1200px; margin: 0 auto; width: 100%; display: flex; justify-content: center; align-items: center; padding: 10px 20px; box-sizing: border-box; } .nav-link { color: #017439; text-decoration: none; padding: 10px 15px; font-weight: bold; transition: color 0.3s ease, background-color 0.3s ease; white-space: nowrap; } .nav-link:hover { background-color: #f0f0f0; border-radius: 4px; } .hamburger-menu { display: none; cursor: pointer; padding: 10px; position: relative; z-index: 1001; } .hamburger-menu span { display: block; width: 25px; height: 3px; background-color: #FFFFFF; margin: 5px 0; transition: all 0.3s ease; } .hamburger-menu.active span:nth-child(1) { transform: rotate(-45deg) translate(-5px, 6px); } .hamburger-menu.active span:nth-child(2) { opacity: 0; } .hamburger-menu.active span:nth-child(3) { transform: rotate(45deg) translate(-5px, -6px); } .mobile-nav-buttons { display: none; /* Hidden by default, shown in mobile media query */ } .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; } .mobile-menu-overlay.active { display: block; } .site-footer { background-color: #017439; color: #FFFFFF; padding: 40px 20px; text-align: center; } .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: 200px; text-align: left; } .footer-col h3 { color: #FFFFFF; font-size: 18px; margin-bottom: 15px; } .footer-col ul { list-style: none; padding: 0; margin: 0; } .footer-col ul li { margin-bottom: 8px; } .footer-col ul li a { color: #FFFFFF; text-decoration: none; transition: color 0.3s ease; } .footer-col ul li a:hover { color: #f0f0f0; } .footer-bottom { width: 100%; margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.2); } .footer-bottom p { margin: 0; font-size: 14px; } @media (max-width: 768px) { .header-container { padding: 0 15px; } .hamburger-menu { display: block; order: 1; } .logo { order: 2; flex: 1 !important; display: flex !important; justify-content: center !important; align-items: center !important; font-size: 20px; padding: 10px 0; } .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: #f8f8f8; /* Light background for buttons */ justify-content: center; min-height: 45px; } .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; text-align: center; } .main-nav { display: none; /* Hidden by default */ position: fixed; top: var(--header-offset); left: 0; width: 80%; max-width: 300px; height: calc(100vh - var(--header-offset)); background-color: #f8f8f8; flex-direction: column; transform: translateX(-100%); transition: transform 0.3s ease; overflow-y: auto; z-index: 1000; padding: 20px 0; box-sizing: border-box; } .main-nav.active { display: flex; transform: translateX(0); } .nav-container { flex-direction: column; align-items: flex-start; padding: 0; } .nav-link { width: 100%; padding: 12px 20px; border-bottom: 1px solid #eee; } .nav-link:last-child { border-bottom: none; } .footer-container { flex-direction: column; align-items: center; text-align: center; } .footer-col { width: 100%; max-width: 300px; margin-bottom: 20px; text-align: center; } .footer-col h3 { text-align: center; } .footer-col ul { 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;
  }
}
