:root { --header-offset: 110px; /* Desktop: header-top (60px) + main-nav (50px) */ } @media (max-width: 768px) { :root { --header-offset: 112px; /* Mobile: header-top (60px) + mobile-nav-buttons (52px) */ } } .site-header { position: fixed; top: 0; width: 100%; z-index: 1000; box-shadow: 0 2px 5px rgba(0,0,0,0.2); font-family: Arial, sans-serif; } .header-top { background-color: #007bff; /* Primary blue */ color: #fff; padding: 10px 0; min-height: 60px; display: flex; align-items: center; } .header-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; width: 100%; display: flex; justify-content: space-between; align-items: center; } .logo { font-size: 28px; font-weight: bold; color: #fff; text-decoration: none; padding: 0; display: block; } .desktop-nav-buttons { display: flex; gap: 10px; align-items: center; } .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; text-align: center; } .btn-primary { background-color: #ffc107; /* Secondary gold */ color: #333; /* Dark text for contrast */ border: none; } .btn-primary:hover { background-color: #e0a800; transform: translateY(-2px); } .btn-secondary { background-color: #0056b3; /* Darker primary blue */ color: #fff; border: none; } .btn-secondary:hover { background-color: #004085; transform: translateY(-2px); } .mobile-nav-buttons { display: none; /* Hidden on desktop */ } .main-nav { background-color: #f8f9fa; /* Light grey, different from header-top */ padding: 0; min-height: 50px; display: flex; /* Desktop default */ justify-content: center; align-items: center; position: static; /* Desktop default */ width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; } .nav-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; width: 100%; display: flex; justify-content: center; align-items: center; gap: 25px; /* Spacing between nav links */ } .nav-link { color: #333; text-decoration: none; font-weight: 600; padding: 15px 0; /* Vertical padding for click area */ transition: color 0.3s ease; white-space: nowrap; } .nav-link:hover { color: #007bff; /* Primary blue on hover */ } .hamburger-menu { display: none; /* Hidden on desktop */ cursor: pointer; padding: 10px; position: relative; z-index: 1001; } .hamburger-menu span { display: block; width: 25px; height: 3px; background-color: #fff; margin: 5px 0; transition: all 0.3s ease; } /* Footer Styles */ .site-footer { background-color: #333; color: #f8f9fa; padding: 40px 0 20px; font-family: Arial, sans-serif; } .footer-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; } .footer-col { flex: 1; min-width: 250px; } .footer-logo { font-size: 24px; font-weight: bold; color: #ffc107; /* Secondary gold for footer logo */ text-decoration: none; margin-bottom: 15px; display: inline-block; } .footer-col h3 { color: #ffc107; /* Secondary gold for headings */ font-size: 18px; margin-bottom: 20px; } .footer-col p { font-size: 14px; line-height: 1.6; margin-bottom: 10px; } .footer-nav ul { list-style: none; padding: 0; margin: 0; } .footer-nav li { margin-bottom: 10px; } .footer-nav a { color: #f8f9fa; text-decoration: none; font-size: 14px; transition: color 0.3s ease; } .footer-nav a:hover { color: #007bff; /* Primary blue on hover */ } .footer-bottom { border-top: 1px solid #555; margin-top: 40px; padding-top: 20px; text-align: center; font-size: 13px; color: #bbb; } /* Responsive Styles (Mobile first overrides) */ @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-container { padding: 0 15px; /* Smaller padding for mobile */ width: 100%; max-width: none; /* Ensure it takes full width */ justify-content: space-between; position: relative; } .hamburger-menu { display: block; /* Show hamburger on mobile */ order: 1; /* Place it first */ padding: 10px 0; /* Adjust padding */ margin-right: 15px; /* Space between hamburger and logo */ min-width: 25px; /* Ensure click area */ } .logo { order: 2; /* Place logo second */ flex: 1; /* Allow logo to take available space */ text-align: center; /* Center text logo */ font-size: 24px; /* Adjust font size for mobile */ min-width: 0; /* Allow shrinking */ } .desktop-nav-buttons { display: none; /* Hide desktop buttons on mobile */ } .mobile-nav-buttons { display: flex !important; /* Show mobile buttons */ width: 100%; max-width: 100%; box-sizing: border-box; padding: 10px 15px; /* Vertical padding for the button bar */ overflow: hidden; /* Prevent content overflow */ gap: 10px; /* Space between buttons */ flex-wrap: nowrap; /* Keep buttons on one line */ background-color: #f1f1f1; /* Neutral background for button bar */ box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Subtle shadow */ min-height: 52px; } .mobile-nav-buttons .btn { flex: 1; min-width: 0; /* Allow buttons to shrink */ max-width: calc(50% - 5px); /* Max width for two buttons with gap */ box-sizing: border-box; padding: 8px 12px; /* Smaller padding */ font-size: 13px; /* Smaller font size */ white-space: normal; /* Allow text wrapping */ word-wrap: break-word; /* Ensure text breaks within button */ overflow-wrap: break-word; /* Ensure text breaks within button */ } .main-nav { display: none; /* Hide by default on mobile */ flex-direction: column; /* Vertical menu */ position: fixed; /* Fixed position for slide-in menu */ top: var(--header-offset); /* Start below header */ left: 0; width: 70%; /* Menu width */ height: calc(100% - var(--header-offset)); /* Full height below header */ background-color: #fff; /* White background for menu */ transform: translateX(-100%); /* Slide out to the left */ transition: transform 0.3s ease; overflow-y: auto; /* Scrollable if content is long */ z-index: 999; /* Below hamburger, above overlay */ box-shadow: 2px 0 5px rgba(0,0,0,0.2); } .main-nav.active { display: flex; /* Show menu when active */ transform: translateX(0); /* Slide into view */ } .nav-container { flex-direction: column; /* Vertical links */ align-items: flex-start; /* Align links to the left */ padding: 20px 15px; gap: 10px; /* Adjust gap for vertical links */ max-width: none; /* Full width */ } .nav-link { width: 100%; /* Full width links */ padding: 10px 0; /* Adjust padding */ border-bottom: 1px solid #eee; /* Separator for links */ } .nav-link:last-child { border-bottom: none; } .mobile-menu-overlay { display: none; /* Hidden by default */ position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.5); /* Semi-transparent black */ z-index: 998; /* Below menu, above content */ } .mobile-menu-overlay.active { display: block; /* Show when active */ } body.no-scroll { overflow: hidden; /* Prevent scrolling when menu is open */ } .hamburger-menu.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); } .hamburger-menu.active span:nth-child(2) { opacity: 0; } .hamburger-menu.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); } .footer-container { flex-direction: column; gap: 20px; padding: 0 15px; } .footer-col { min-width: auto; width: 100%; } .footer-bottom { margin-top: 20px; } }
/* 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;
  }
}
