:root { --primary-color: #0047AB; --secondary-color: #FFD700; --text-light: #FFFFFF; --text-dark: #333333; --header-offset: 110px; } @media (max-width: 768px) { :root { --header-offset: 100px; } } * { margin: 0; padding: 0; box-sizing: border-box; } html { scroll-behavior: smooth; } body { font-family: 'Arial', sans-serif; line-height: 1.6; color: var(--text-dark); padding-top: var(--header-offset); overflow-x: hidden; } a { text-decoration: none; color: var(--primary-color); } ul { list-style: none; } .site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background-color: var(--primary-color); box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); } .header-top { background-color: var(--primary-color); padding: 15px 0; } .header-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 0 20px; min-height: 30px; } .logo { font-size: 28px; font-weight: bold; color: var(--secondary-color); text-transform: uppercase; letter-spacing: 1px; } .hamburger-menu { display: none; width: 40px; height: 30px; background: none; border: none; cursor: pointer; flex-direction: column; justify-content: space-around; padding: 0; z-index: 1001; } .hamburger-menu span { display: block; width: 100%; height: 3px; background-color: var(--text-light); border-radius: 2px; transition: all 0.3s ease; } .hamburger-menu.active span:nth-child(1) { transform: translateY(13px) rotate(45deg); } .hamburger-menu.active span:nth-child(2) { opacity: 0; } .hamburger-menu.active span:nth-child(3) { transform: translateY(-14px) rotate(-45deg); } .header-spacer { display: none; } .desktop-nav-buttons { display: flex; gap: 10px; } .btn { display: inline-block; padding: 10px 20px; border-radius: 5px; font-weight: bold; text-align: center; transition: background-color 0.3s ease, color 0.3s ease; text-decoration: none; white-space: nowrap; cursor: pointer; } .btn-register { background-color: var(--secondary-color); color: var(--primary-color); border: 2px solid var(--secondary-color); } .btn-register:hover { background-color: #e6c200; border-color: #e6c200; } .btn-login { background-color: transparent; color: var(--secondary-color); border: 2px solid var(--secondary-color); } .btn-login:hover { background-color: var(--secondary-color); color: var(--primary-color); } .main-nav { background-color: #1a57c2; /* A slightly lighter blue for contrast */ padding: 10px 0; display: flex; } .nav-container { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 0 20px; flex-wrap: wrap; } .nav-link { color: var(--text-light); padding: 8px 15px; font-weight: bold; transition: background-color 0.3s ease; border-radius: 5px; white-space: nowrap; } .nav-link:hover, .nav-link.active { background-color: rgba(255, 255, 255, 0.2); } .site-footer { background-color: var(--primary-color); color: var(--text-light); 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; gap: 20px; } .footer-section { flex: 1; min-width: 250px; margin-bottom: 20px; } .footer-title { font-size: 18px; color: var(--secondary-color); margin-bottom: 15px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); padding-bottom: 10px; } .footer-section p { margin-bottom: 10px; line-height: 1.8; } .footer-nav li { margin-bottom: 8px; } .footer-nav a { color: var(--text-light); transition: color 0.3s ease; } .footer-nav a:hover { color: var(--secondary-color); } .footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); margin-top: 20px; padding-top: 20px; text-align: center; } .copyright { color: rgba(255, 255, 255, 0.7); } @media (max-width: 768px) { body.no-scroll { overflow: hidden; } .page-content img { max-width: 100% !important; height: auto !important; display: block; } .page-content { overflow-x: hidden; max-width: 100%; } body { overflow-x: hidden; } .header-container { width: 100%; max-width: none; padding: 10px 15px; justify-content: space-between; position: relative; min-height: 40px; } .hamburger-menu { display: flex; order: 1; margin-right: 0; } .logo { order: 2; flex-grow: 1; text-align: center; } .header-spacer { display: block; width: 40px; /* Match hamburger width */ order: 3; } .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: #2a6ae2; /* Different shade of blue for mobile buttons area */ 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; flex-direction: column; position: fixed; top: var(--header-offset); left: 0; width: 80%; max-width: 300px; height: calc(100% - var(--header-offset)); background-color: var(--primary-color); transform: translateX(-100%); transition: transform 0.3s ease; overflow-y: auto; box-shadow: 2px 0 5px rgba(0, 0, 0, 0.3); z-index: 999; } .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); text-align: left; } .nav-link:last-child { border-bottom: 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: 998; } .mobile-menu-overlay.active { display: block; } .site-footer { text-align: center; } .footer-container { flex-direction: column; align-items: center; padding: 0 15px; } .footer-section { min-width: unset; width: 100%; text-align: center; } .footer-title { border-bottom: none; padding-bottom: 0; margin-bottom: 10px; } }
/* 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;
  }
}
