:root { --primary-color: #017439; --secondary-color: #FFFFFF; --button-register-bg: #A50000; --button-download-bg: #A50000; --button-text-color: #FFFF00; --header-top-bg: #005f2e; /* Darker shade of primary */ --main-nav-bg: #017439; /* Primary color */ --header-offset: 120px; /* Desktop: header-top (60px) + main-nav (60px) */ } @media (max-width: 768px) { :root { --header-offset: 110px; /* Mobile: header-top (60px) + mobile-nav-buttons (50px) */ } } body { font-family: Arial, sans-serif; margin: 0; padding-top: var(--header-offset); line-height: 1.6; color: #333; 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.1); background-color: var(--secondary-color); } .header-top { background-color: var(--header-top-bg); color: var(--secondary-color); padding: 10px 0; min-height: 40px; display: flex; align-items: center; } .header-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 0 20px; width: 100%; } .logo { font-size: 28px; font-weight: bold; color: var(--button-text-color); text-decoration: none; padding: 5px 0; white-space: nowrap; order: 2; } .desktop-nav-buttons { display: flex; gap: 10px; order: 3; } .btn { display: inline-block; padding: 10px 15px; border-radius: 5px; text-decoration: none; font-weight: bold; transition: background-color 0.3s ease, transform 0.2s ease; white-space: nowrap; text-align: center; border: none; cursor: pointer; line-height: 1.2; } .btn-register { background-color: var(--button-register-bg); color: var(--button-text-color); } .btn-download { background-color: var(--button-download-bg); color: var(--button-text-color); } .btn:hover { transform: translateY(-2px); opacity: 0.9; } .mobile-nav-buttons { display: none; background-color: var(--header-top-bg); padding: 10px 15px; width: 100%; box-sizing: border-box; } .main-nav { background-color: var(--main-nav-bg); padding: 10px 0; display: flex; min-height: 40px; } .nav-container { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 0 20px; width: 100%; flex-wrap: wrap; } .nav-link { color: var(--secondary-color); text-decoration: none; padding: 8px 15px; font-weight: bold; transition: background-color 0.3s ease; white-space: nowrap; } .nav-link:hover { background-color: rgba(255, 255, 255, 0.2); border-radius: 5px; } .hamburger-menu { display: none; cursor: pointer; flex-direction: column; justify-content: space-around; width: 30px; height: 25px; background: transparent; border: none; padding: 0; order: 1; } .hamburger-menu span { display: block; width: 100%; height: 3px; background-color: var(--secondary-color); transition: all 0.3s ease-in-out; border-radius: 2px; } .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-menu-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: #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-section { flex: 1; min-width: 250px; margin-bottom: 20px; padding-right: 20px; } .footer-section h3 { color: var(--secondary-color); margin-bottom: 15px; font-size: 18px; } .footer-section ul { list-style: none; padding: 0; margin: 0; } .footer-section ul li { margin-bottom: 8px; } .footer-section ul li a { color: #ccc; text-decoration: none; transition: color 0.3s ease; } .footer-section ul li a:hover { color: var(--primary-color); } .footer-bottom { text-align: center; margin-top: 30px; padding-top: 20px; border-top: 1px solid #444; color: #aaa; } @media (max-width: 768px) { :root { --header-offset: 110px; } .header-container { padding: 0 15px; width: 100%; max-width: none; justify-content: space-between; } .hamburger-menu { display: flex; order: 1; } .logo { flex: 1; display: flex; justify-content: center; align-items: center; order: 2; font-size: 24px; padding: 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; 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; position: fixed; top: var(--header-offset); left: 0; width: 280px; height: calc(100% - var(--header-offset)); flex-direction: column; 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 rgba(255, 255, 255, 0.1); } .nav-link:last-child { border-bottom: none; } .mobile-menu-overlay.active { display: block; } .footer-container { flex-direction: column; align-items: center; text-align: center; } .footer-section { width: 100%; max-width: 300px; padding-right: 0; } .footer-section 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;
  }
}
