:root { --primary-color: #26A9E0; --secondary-color: #FFFFFF; --login-color: #EA7C07; --background-color: #FFFFFF; --black-color: #000000; --text-color: #ffffff; --dark-bg-1: #0a0a0a; --dark-bg-2: #1a1a2e; --dark-bg-3: #16213e; --dark-bg-4: #0f3460; --neon-primary: var(--primary-color); --neon-secondary: #00ffff; --neon-accent: #ff00ff; --header-offset: 155px; /* Desktop: Marquee (45px) + Header Top (60px) + Main Nav (50px) */}
@media (max-width: 768px) { :root { --header-offset: 130px; /* Mobile: Marquee (35px) + Header Top (50px) + Mobile Buttons (45px) */ } }

body { margin: 0; padding-top: var(--header-offset); overflow-x: hidden; font-family: 'Arial', sans-serif; }

/* Marquee Section */
.marquee-section { position: fixed; top: 0; left: 0; width: 100%; background: linear-gradient(135deg, var(--dark-bg-1), var(--dark-bg-2), var(--dark-bg-3)); color: var(--text-color); overflow: hidden; border-bottom: 2px solid; animation: theme-colors 4s ease-in-out infinite; box-shadow: 0 0 10px var(--neon-primary), 0 0 20px var(--neon-primary), 0 0 30px var(--neon-primary), inset 0 0 20px rgba(38, 169, 224, 0.1); z-index: 1001; height: 45px; display: flex; align-items: center; }
.marquee-container { width: 100%; max-width: 100%; margin: 0 auto; overflow: hidden; display: flex; align-items: center; gap: 15px; padding: 0 20px; }
.marquee-icon { flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; z-index: 2; position: relative; }
.marquee-icon-emoji { font-size: 24px; display: inline-block; animation: marquee-pulse 2s ease-in-out infinite, text-glow-flow 3s ease-in-out infinite alternate; text-shadow: 0 0 5px var(--neon-primary), 0 0 10px var(--neon-primary), 0 0 15px var(--neon-primary); filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2)); }
.marquee-wrapper { flex: 1; overflow: hidden; position: relative; height: 100%; display: flex; align-items: center; }
.marquee-content { display: inline-flex; align-items: center; white-space: nowrap; animation: marquee-scroll 30s linear infinite; gap: 30px; line-height: 1; }
.marquee-text { font-size: 16px; font-weight: 600; color: var(--text-color); text-decoration: none; text-shadow: 0 0 5px var(--neon-primary), 0 0 10px var(--neon-primary), 0 0 15px var(--neon-primary); line-height: 1.5; display: inline-block; vertical-align: middle; animation: text-glow-flow 3s ease-in-out infinite alternate; cursor: pointer; transition: all 0.3s ease; }
.marquee-text:hover { text-shadow: 0 0 10px var(--neon-primary), 0 0 20px var(--neon-primary), 0 0 30px var(--neon-primary), 0 0 40px var(--neon-primary); transform: scale(1.05); color: var(--text-color); }
.marquee-separator { font-size: 16px; color: rgba(255, 255, 255, 0.6); margin: 0 15px; text-shadow: 0 0 3px var(--neon-primary), 0 0 6px var(--neon-primary); }

/* Header Section */
.site-header { position: fixed; top: 45px; /* Marquee height */ left: 0; width: 100%; z-index: 1000; }
.header-top { background: linear-gradient(135deg, var(--dark-bg-1), var(--dark-bg-2), var(--dark-bg-3)); border-bottom: 2px solid; animation: theme-colors 4s ease-in-out infinite; box-shadow: 0 0 10px var(--neon-primary), 0 0 20px var(--neon-primary), 0 0 30px var(--neon-primary), inset 0 0 20px rgba(38, 169, 224, 0.1); width: 100%; display: flex; align-items: center; min-height: 60px; }
.header-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 10px 40px; width: 100%; box-sizing: border-box; }
.logo { color: var(--secondary-color); font-size: 28px; font-weight: bold; text-decoration: none; display: block; transition: color 0.3s ease; line-height: 1; }
.logo:hover { color: var(--primary-color); }
.desktop-nav-buttons { display: flex; gap: 12px; }
.btn { position: relative; background: linear-gradient(135deg, var(--neon-primary), var(--neon-secondary)); padding: 12px 25px; color: var(--text-color); text-decoration: none; border-radius: 5px; border: 2px solid; animation: theme-colors 4s ease-in-out infinite; text-shadow: 0 0 5px var(--text-color), 0 0 10px var(--neon-primary); transition: all 0.3s ease; font-weight: 600; font-size: 15px; white-space: nowrap; cursor: pointer; }
.btn:hover { animation-duration: 2s; transform: translateY(-2px); }
.hamburger-menu { display: none; /* Hidden on desktop */ width: 30px; height: 24px; position: relative; cursor: pointer; flex-direction: column; justify-content: space-between; align-items: center; transition: all 0.3s ease; z-index: 1002; padding: 5px; border-radius: 3px; border: 2px solid transparent; animation: theme-colors 4s ease-in-out infinite; box-shadow: 0 0 5px var(--neon-primary), 0 0 10px var(--neon-primary); }
.hamburger-line { display: block; width: 100%; height: 3px; background-color: var(--secondary-color); border-radius: 2px; transition: all 0.3s ease; text-shadow: 0 0 3px var(--neon-primary), 0 0 6px var(--neon-primary); }
.hamburger-menu.active .hamburger-line:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.hamburger-menu.active .hamburger-line:nth-child(2) { opacity: 0; }
.hamburger-menu.active .hamburger-line:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }
.mobile-nav-buttons { display: none; /* Hidden on desktop */ }
.main-nav { width: 100%; background: linear-gradient(135deg, var(--dark-bg-2), var(--dark-bg-3), var(--dark-bg-4)); border-top: 2px solid; border-bottom: 2px solid; animation: theme-colors-main-nav 4s ease-in-out infinite; box-shadow: 0 0 10px var(--neon-secondary), 0 0 20px var(--neon-secondary), 0 0 30px var(--neon-secondary), inset 0 0 20px rgba(0, 255, 255, 0.1); display: flex; align-items: center; min-height: 50px; }
.nav-container { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 10px 40px; width: 100%; box-sizing: border-box; flex-wrap: wrap; }
.nav-link { color: var(--secondary-color); text-decoration: none; padding: 8px 15px; font-weight: 500; font-size: 16px; transition: all 0.3s ease; white-space: nowrap; }
.nav-link:hover { color: var(--primary-color); text-shadow: 0 0 5px var(--primary-color); }
.mobile-menu-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.7); z-index: 999; }
.mobile-menu-overlay.active { display: block; }

/* Footer Section */
.site-footer { background-color: var(--dark-bg-1); color: #ccc; padding: 40px 0 20px; font-size: 14px; line-height: 1.6; }
.footer-top { border-bottom: 1px solid rgba(255, 255, 255, 0.1); padding-bottom: 30px; margin-bottom: 30px; }
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.footer-col { margin-bottom: 20px; }
.footer-logo { color: var(--secondary-color); font-size: 24px; font-weight: bold; text-decoration: none; display: block; margin-bottom: 15px; }
.footer-description { color: #aaa; text-align: justify; word-wrap: break-word; overflow-wrap: break-word; }
.footer-heading { color: var(--secondary-color); font-size: 18px; margin-bottom: 15px; font-weight: 600; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: #aaa; text-decoration: none; transition: color 0.3s ease; }
.footer-col ul li a:hover { color: var(--primary-color); }
.payment-methods .payment-icons, .game-providers-icons, .social-media-icons { display: flex; flex-wrap: wrap; flex-direction: row; align-items: flex-start; gap: 8px; width: 100%; }
.payment-methods .payment-icons img, .game-providers-icons img, .social-media-icons img { max-height: 50px; height: auto; width: auto; }
.game-providers-section, .social-media-section { border-bottom: 1px solid rgba(255, 255, 255, 0.1); padding: 20px 0; margin-bottom: 20px; }
.game-providers-section .footer-container, .social-media-section .footer-container { display: block; padding: 0 20px; max-width: 1200px; margin: 0 auto; }
.footer-bottom { text-align: center; padding-top: 20px; }
.copyright { color: #888; }
.copyright a { color: #888; text-decoration: none; }
.copyright a:hover { color: var(--primary-color); }

/* Keyframe Animations */
@keyframes marquee-pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.15); opacity: 0.9; } }
@keyframes marquee-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes rainbow-border { 0% { border-color: #ff0000; box-shadow: 0 0 10px #ff0000, 0 0 20px #ff0000; } 16.6% { border-color: #ff8000; box-shadow: 0 0 10px #ff8000, 0 0 20px #ff8000; } 33.3% { border-color: #ffff00; box-shadow: 0 0 10px #ffff00, 0 0 20px #ffff00; } 50% { border-color: #00ff00; box-shadow: 0 0 10px #00ff00, 0 0 20px #00ff00; } 66.6% { border-color: #0000ff; box-shadow: 0 0 10px #0000ff, 0 0 20px #0000ff; } 83.3% { border-color: #8000ff; box-shadow: 0 0 10px #8000ff, 0 0 20px #8000ff; } 100% { border-color: #ff0000; box-shadow: 0 0 10px #ff0000, 0 0 20px #ff0000; } }
@keyframes theme-colors { 0%, 100% { border-color: var(--neon-primary); box-shadow: 0 0 10px var(--neon-primary), 0 0 20px var(--neon-primary), inset 0 0 10px rgba(38, 169, 224, 0.3); } 33% { border-color: var(--neon-secondary); box-shadow: 0 0 10px var(--neon-secondary), 0 0 20px var(--neon-secondary), inset 0 0 10px rgba(0, 255, 255, 0.3); } 66% { border-color: var(--neon-accent); box-shadow: 0 0 10px var(--neon-accent), 0 0 20px var(--neon-accent), inset 0 0 10px rgba(255, 0, 255, 0.3); } }
@keyframes theme-colors-main-nav { 0%, 100% { border-color: var(--neon-secondary); box-shadow: 0 0 10px var(--neon-secondary), 0 0 20px var(--neon-secondary), inset 0 0 10px rgba(0, 255, 255, 0.3); } 33% { border-color: var(--neon-accent); box-shadow: 0 0 10px var(--neon-accent), 0 0 20px var(--neon-accent), inset 0 0 10px rgba(255, 0, 255, 0.3); } 66% { border-color: var(--neon-primary); box-shadow: 0 0 10px var(--neon-primary), 0 0 20px var(--neon-primary), inset 0 0 10px rgba(38, 169, 224, 0.3); } }
@keyframes text-glow-flow { 0% { text-shadow: 0 0 5px var(--neon-primary), 0 0 10px var(--neon-primary), 0 0 15px var(--neon-primary); color: var(--text-color); } 50% { text-shadow: 0 0 5px var(--neon-secondary), 0 0 10px var(--neon-secondary), 0 0 15px var(--neon-secondary); color: var(--text-color); } 100% { text-shadow: 0 0 5px var(--neon-accent), 0 0 10px var(--neon-accent), 0 0 15px var(--neon-accent); color: var(--text-color); } }

/* Mobile Responsive */
@media (max-width: 768px) {
  .marquee-section { height: 35px; padding: 0px 2px; }
  .marquee-container { gap: 10px; padding: 0px 2px; }
  .marquee-icon { width: 20px; height: 20px; }
  .marquee-icon-emoji { font-size: 14px; }
  .marquee-text { font-size: 14px; }
  .marquee-separator { font-size: 14px; margin: 0 10px; }
  .marquee-content { gap: 20px; animation: marquee-scroll 25s linear infinite; }

  .site-header { top: 35px; /* Mobile Marquee height */ }
  .header-top { min-height: 50px; padding: 0; }
  .header-container { padding: 10px 15px; width: 100%; max-width: none; position: relative; justify-content: flex-start; }
  .logo { flex: 1 !important; display: flex !important; justify-content: center !important; align-items: center !important; font-size: 24px; }
  .desktop-nav-buttons { display: none; }
  .hamburger-menu { display: flex; /* Show on mobile */ position: relative; z-index: 2; margin-right: auto; }

  .mobile-nav-buttons { display: flex !important; /* Show on mobile */ width: 100%; max-width: 100%; box-sizing: border-box; padding: 10px 15px; background: linear-gradient(135deg, var(--dark-bg-1), var(--dark-bg-2), var(--dark-bg-3)); border-bottom: 2px solid; animation: theme-colors 4s ease-in-out infinite; box-shadow: 0 0 5px var(--neon-primary), 0 0 10px var(--neon-primary); justify-content: center; gap: 10px; flex-wrap: nowrap; min-height: 45px; }
  .mobile-nav-buttons .btn { flex: 1; min-width: 0; max-width: calc(50% - 5px); box-sizing: border-box; white-space: normal; word-wrap: break-word; overflow-wrap: break-word; padding: 8px 12px; font-size: 13px; text-align: center; }

  .main-nav { display: none; /* Hidden by default on mobile */ position: fixed; top: var(--header-offset); /* Adjusted for mobile header total height */ left: 0; width: 250px; height: calc(100% - var(--header-offset)); background: linear-gradient(135deg, var(--dark-bg-4), var(--dark-bg-3)); flex-direction: column; padding: 20px 0; transform: translateX(-100%); transition: transform 0.3s ease; z-index: 1000; border-right: 2px solid; animation: theme-colors-main-nav 4s ease-in-out infinite; box-shadow: 0 0 10px var(--neon-secondary), 0 0 20px var(--neon-secondary), inset 0 0 20px rgba(0, 255, 255, 0.1); overflow-y: auto; }
  .main-nav.active { display: flex; transform: translateX(0); }
  .nav-container { flex-direction: column; padding: 0; width: 100%; max-width: none; }
  .nav-link { width: 100%; padding: 12px 20px; text-align: left; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
  .nav-link:last-child { border-bottom: none; }

  .footer-container { grid-template-columns: 1fr; gap: 20px; padding: 0 15px; }
  .footer-col:last-child { margin-bottom: 0; }
  .game-providers-section .footer-container, .social-media-section .footer-container { padding: 0 15px; }

  .page-content img { max-width: 100% !important; height: auto !important; display: block; }
  .page-content { overflow-x: hidden; max-width: 100%; }
  body { overflow-x: hidden; }
}
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
  }
}
