:root { --primary-color: #017439; --secondary-color: #FFFFFF; --btn-register-color: #C30808; --btn-login-color: #C30808; --btn-font-color: #FFFF00; --btn-register-color-hover: #9c0606; --btn-login-color-hover: #9c0606; --header-top-bg: #00502a; /* Darker green for header top */ --main-nav-bg: var(--primary-color); /* Primary green for main nav */ --footer-bg: #222222; /* Dark grey for footer */ --header-offset: 110px; /* Desktop: header-top (60px) + main-nav (50px) */ } @media (max-width: 768px) { :root { --header-offset: 100px; /* Mobile: header-top (60px) + mobile-nav-buttons (40px) */ } } body { margin: 0; font-family: Arial, sans-serif; line-height: 1.6; color: #333; padding-top: var(--header-offset); overflow-x: hidden; } a { text-decoration: none; color: inherit; } .site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); min-height: 60px; } .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; display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 0 20px; box-sizing: border-box; } .logo { color: var(--secondary-color); font-size: 28px; font-weight: bold; text-transform: uppercase; letter-spacing: 1px; display: block; } .desktop-nav-buttons { display: flex; gap: 15px; } .btn { padding: 10px 20px; border-radius: 5px; font-weight: bold; text-align: center; white-space: nowrap; cursor: pointer; transition: background-color 0.3s ease, transform 0.2s ease; text-decoration: none; box-sizing: border-box; } .btn-register { background-color: var(--btn-register-color); color: var(--btn-font-color); } .btn-register:hover { background-color: var(--btn-register-color-hover); transform: translateY(-2px); } .btn-login { background-color: var(--btn-login-color); color: var(--btn-font-color); } .btn-login:hover { background-color: var(--btn-login-color-hover); 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; display: flex; justify-content: center; align-items: center; width: 100%; padding: 0 20px; box-sizing: border-box; } .nav-link { color: var(--secondary-color); font-size: 16px; padding: 8px 15px; margin: 0 5px; white-space: nowrap; transition: background-color 0.3s ease, color 0.3s ease; border-radius: 4px; } .nav-link:hover { background-color: rgba(255, 255, 255, 0.2); } .hamburger-menu { display: none; background: none; border: none; cursor: pointer; padding: 10px; position: relative; z-index: 1001; } .hamburger-menu .bar { display: block; width: 25px; height: 3px; background-color: var(--secondary-color); margin: 5px 0; transition: all 0.3s ease; } .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; opacity: 0; transition: opacity 0.3s ease; } .mobile-menu-overlay.active { display: block; opacity: 1; } .site-footer { background-color: var(--footer-bg); color: #cccccc; 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-col { flex: 1; min-width: 250px; margin-bottom: 20px; } .footer-col h3 { color: var(--secondary-color); font-size: 18px; margin-bottom: 15px; } .footer-col p { line-height: 1.8; } .footer-nav { list-style: none; padding: 0; margin: 0; } .footer-nav li { margin-bottom: 10px; } .footer-nav a { color: #cccccc; transition: color 0.3s ease; } .footer-nav a:hover { color: var(--primary-color); } .footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid #444; } .footer-bottom p { margin: 0; color: #aaaaaa; } @media (max-width: 768px) { .header-top { padding: 5px 0; min-height: 60px; position: relative; } .header-container { padding: 0 15px; width: 100%; max-width: none; justify-content: space-between; } .hamburger-menu { display: block; order: 0; margin-right: 10px; } .hamburger-menu.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); } .hamburger-menu.active .bar:nth-child(2) { opacity: 0; } .hamburger-menu.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); } .logo { flex: 1 !important; text-align: center; font-size: 24px; order: 1; position: static; transform: none; display: flex !important; justify-content: center !important; align-items: center !important; padding: 5px 0; } .header-container::after { content: ''; width: 45px; order: 2; } .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; } .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; height: auto; } .main-nav { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: var(--main-nav-bg); flex-direction: column; justify-content: flex-start; align-items: flex-start; padding-top: calc(var(--header-offset) + 20px); transform: translateX(-100%); transition: transform 0.3s ease; z-index: 1000; overflow-y: auto; box-sizing: border-box; } .main-nav.active { display: flex; transform: translateX(0); } .nav-container { flex-direction: column; align-items: flex-start; width: 100%; max-width: none; padding: 0 15px; } .nav-link { width: 100%; padding: 12px 15px; margin: 5px 0; text-align: left; border-bottom: 1px solid rgba(255, 255, 255, 0.1); } .nav-link:last-child { border-bottom: none; } .footer-container { flex-direction: column; gap: 20px; } .footer-col { min-width: unset; } .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;
  }
}
