:root { --primary-color: #26A9E0; --secondary-color: #FFFFFF; --login-btn-color: #EA7C07; --header-top-bg: #1C86B6; --main-nav-bg: #26A9E0; --header-offset: 130px; } @media (max-width: 768px) { :root { --header-offset: 110px; } } * { box-sizing: border-box; margin: 0; padding: 0; } body { font-family: 'Arial', sans-serif; line-height: 1.6; color: #333333; padding-top: var(--header-offset); } body.no-scroll { overflow: 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(--secondary-color); box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); } .header-top { background-color: var(--header-top-bg); min-height: 80px; 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; } .logo { font-size: 28px; font-weight: bold; color: var(--secondary-color); text-transform: uppercase; display: block; padding: 5px 0; } .desktop-nav-buttons { display: flex; gap: 10px; } .btn { display: inline-block; padding: 10px 18px; 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; border: none; } .btn-register { background-color: var(--primary-color); color: var(--secondary-color); } .btn-register:hover { background-color: #1a7bb0; } .btn-login { background-color: var(--login-btn-color); color: var(--secondary-color); } .btn-login:hover { background-color: #c06500; } .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 auto; transition: all 0.3s ease-in-out; } .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); } .main-nav { background-color: var(--main-nav-bg); min-height: 50px; display: flex; align-items: center; padding: 10px 0; } .nav-container { max-width: 1200px; margin: 0 auto; width: 100%; display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 0 20px; } .nav-link { color: var(--secondary-color); padding: 8px 15px; font-weight: bold; transition: color 0.3s ease, background-color 0.3s ease; border-radius: 4px; white-space: nowrap; } .nav-link:hover, .nav-link.active { background-color: rgba(255, 255, 255, 0.2); } .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; } .mobile-menu-overlay.active { display: block; } .site-footer { background-color: #000000; color: var(--secondary-color); padding: 40px 20px 20px; font-size: 14px; text-align: center; } .footer-container { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-around; text-align: left; } .footer-col { flex: 1; min-width: 250px; margin-bottom: 30px; padding: 0 15px; } .footer-logo { font-size: 24px; font-weight: bold; color: var(--primary-color); text-transform: uppercase; margin-bottom: 15px; display: inline-block; } .footer-col p { color: #CCCCCC; line-height: 1.8; margin-bottom: 15px; } .footer-heading { font-size: 18px; color: var(--secondary-color); margin-bottom: 20px; position: relative; padding-bottom: 10px; } .footer-heading::after { content: ''; display: block; width: 40px; height: 2px; background-color: var(--primary-color); position: absolute; left: 0; bottom: 0; } .footer-nav ul { padding: 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); } .copyright { border-top: 1px solid #333; padding-top: 20px; margin-top: 20px; color: #CCCCCC; } @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; } .header-top { min-height: 60px; padding: 5px 0; } .header-container { padding: 0 15px; justify-content: space-between; position: relative; } .logo { flex: 1 !important; display: flex !important; justify-content: center !important; align-items: center !important; font-size: 24px; padding: 0; } .desktop-nav-buttons { display: none; } .hamburger-menu { display: block; } .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); /* Use same background as header-top for consistency */ } .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: 280px; height: calc(100vh - var(--header-offset)); background-color: #222; /* Darker background for mobile menu */ transform: translateX(-100%); transition: transform 0.3s ease-in-out; box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2); align-items: flex-start; padding: 20px 0; } .main-nav.active { display: flex; transform: translateX(0); } .nav-container { flex-direction: column; align-items: flex-start; padding: 0 15px; width: 100%; max-width: none; } .nav-link { display: block; width: 100%; padding: 12px 15px; color: var(--secondary-color); border-bottom: 1px solid rgba(255, 255, 255, 0.1); } .nav-link:last-child { border-bottom: none; } .footer-container { flex-direction: column; text-align: center; } .footer-col { min-width: unset; width: 100%; padding: 0; } .footer-heading::after { left: 50%; transform: translateX(-50%); } .footer-nav ul { padding-left: 0; } }
/* 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;
  }
}
