:root { --header-offset: 110px; /* 桌面端：header-top 60px + main-nav 50px */ --primary-color: #26A9E0; --secondary-color: #FFFFFF; --login-button-color: #EA7C07; --text-dark: #333333; --text-light: #FFFFFF; } @media (max-width: 768px) { :root { --header-offset: 100px; /* 移动端：header-top 60px + mobile-nav-buttons 40px */ } } html { scroll-behavior: smooth; } body { font-family: 'Arial', sans-serif; margin: 0; padding-top: var(--header-offset); color: var(--text-dark); overflow-x: hidden; } /* Header */ .site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); background-color: var(--secondary-color); /* Fallback */ } .header-top { background-color: #1A8EC2; /* Darker variant of primary for contrast */ color: var(--text-light); min-height: 60px; display: flex; align-items: center; padding: 10px 0; } .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 { font-size: 24px; font-weight: bold; color: var(--text-light); text-decoration: none; display: block; padding: 5px 0; } .desktop-nav-buttons { display: flex; gap: 10px; } .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; border: none; cursor: pointer; text-align: center; } .btn-register { background-color: var(--login-button-color); color: var(--text-light); } .btn-register:hover { background-color: #D46F06; transform: translateY(-2px); } .btn-login { background-color: var(--primary-color); color: var(--text-light); } .btn-login:hover { background-color: #208DC4; transform: translateY(-2px); } .main-nav { background-color: var(--secondary-color); min-height: 50px; display: flex; align-items: center; justify-content: center; width: 100%; } .nav-container { max-width: 1200px; margin: 0 auto; width: 100%; display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 10px 20px; box-sizing: border-box; } .nav-link { color: var(--text-dark); text-decoration: none; padding: 8px 15px; font-weight: 500; transition: color 0.3s ease, background-color 0.3s ease; border-radius: 4px; white-space: nowrap; } .nav-link:hover { color: var(--primary-color); background-color: #F0F0F0; } .hamburger-menu { display: none; width: 30px; height: 20px; position: relative; cursor: pointer; flex-direction: column; justify-content: space-between; margin-right: 15px; } .hamburger-menu span { display: block; width: 100%; height: 2px; background-color: var(--text-light); transition: all 0.3s ease; } .hamburger-menu.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); } .hamburger-menu.active span:nth-child(2) { opacity: 0; } .hamburger-menu.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); } .mobile-nav-buttons { display: none; /* Hidden by default, shown on mobile */ } .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; } /* Footer */ .site-footer { background-color: #333333; 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: 200px; max-width: 300px; } .footer-col h3 { color: var(--text-light); font-size: 18px; margin-bottom: 15px; } .footer-col p { line-height: 1.6; } .footer-col ul { list-style: none; padding: 0; margin: 0; } .footer-col ul li { margin-bottom: 10px; } .footer-col ul li a { color: #CCCCCC; text-decoration: none; transition: color 0.3s ease; } .footer-col ul li a:hover { color: var(--primary-color); } .footer-bottom { border-top: 1px solid #444444; padding-top: 20px; text-align: center; color: #AAAAAA; margin-top: 20px; } /* Responsive */ @media (max-width: 768px) { .header-container { padding: 0 15px; width: 100%; max-width: none; } .nav-container { padding: 10px 15px; width: 100%; max-width: none; } .hamburger-menu { display: flex; order: -1; /* Place hamburger on left */ } .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: #EFEFEF; /* Light background for mobile buttons */ justify-content: center; align-items: center; min-height: 40px; } .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: 250px; height: calc(100% - var(--header-offset)); background-color: var(--secondary-color); /* White background for mobile menu */ box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1); transform: translateX(-100%); transition: transform 0.3s ease; z-index: 1000; overflow-y: auto; align-items: flex-start; padding-top: 20px; } .main-nav.active { display: flex; transform: translateX(0); } .main-nav .nav-container { flex-direction: column; align-items: flex-start; padding: 0 15px; width: 100%; max-width: none; } .main-nav .nav-link { width: 100%; padding: 12px 15px; border-bottom: 1px solid #EEE; text-align: left; } .main-nav .nav-link:last-child { border-bottom: none; } .footer-container { flex-direction: column; align-items: center; text-align: center; } .footer-col { max-width: 100%; margin-bottom: 20px; } .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;
  }
}
