:root { --primary-color: #017439; --secondary-color: #FFFFFF; --register-color: #C30808; --login-color: #C30808; --bg-color: #FFFFFF; --reg-log-font-color: #FFFF00; --neon-primary: #00FF00; /* Vibrant Green */ --neon-secondary: #FFD700; /* Vibrant Gold */ --neon-accent: #FF00FF; /* Vibrant Magenta */ --marquee-height-desktop: 45px; --header-top-height-desktop: 60px; --main-nav-height-desktop: 50px; --header-offset: calc(var(--marquee-height-desktop) + var(--header-top-height-desktop) + var(--main-nav-height-desktop)); /* 45px + 60px + 50px = 155px */ --marquee-height-mobile: 40px; --header-top-height-mobile: 50px; --mobile-buttons-height-mobile: 60px; /* Includes padding */ --header-offset-mobile: calc(var(--marquee-height-mobile) + var(--header-top-height-mobile) + var(--mobile-buttons-height-mobile)); /* 40px + 50px + 60px = 150px */ }

html { scroll-behavior: smooth; }
body { font-family: 'Arial', sans-serif; margin: 0; padding-top: var(--header-offset); background-color: var(--bg-color); color: #333333; }

/* Animations for dynamic neon colors */
@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(0, 255, 0, 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(255, 215, 0, 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 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(--secondary-color); } 50% { text-shadow: 0 0 5px var(--neon-secondary), 0 0 10px var(--neon-secondary), 0 0 15px var(--neon-secondary); color: var(--secondary-color); } 100% { text-shadow: 0 0 5px var(--neon-accent), 0 0 10px var(--neon-accent), 0 0 15px var(--neon-accent); color: var(--secondary-color); } }
@keyframes marquee-pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.15); opacity: 0.9; } }

/* Marquee Section Styles */
.marquee-section { position: fixed; top: 0; left: 0; width: 100%; height: var(--marquee-height-desktop); background: linear-gradient(135deg, #0a0a0a, #1a1a2e, #16213e); color: var(--secondary-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(0, 255, 0, 0.1); z-index: 1001; }
.marquee-container { width: 100%; max-width: 1200px; margin: 0 auto; overflow: hidden; display: flex; align-items: center; gap: 15px; padding: 10px 20px; height: 100%; box-sizing: border-box; }
.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%; }
.marquee-content { display: inline-flex; align-items: center; white-space: nowrap; animation: marquee-scroll 30s linear infinite; gap: 30px; height: 100%; line-height: 1; /* Adjust line-height to center text vertically */ }
.marquee-text { font-size: 16px; font-weight: 600; color: var(--secondary-color); text-decoration: none; text-shadow: 0 0 5px var(--neon-primary), 0 0 10px var(--neon-primary), 0 0 15px var(--neon-primary); 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(--secondary-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); }
@keyframes marquee-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Site Header Styles */
.site-header { position: fixed; top: var(--marquee-height-desktop); left: 0; width: 100%; z-index: 1000; background: linear-gradient(135deg, #0a0a0a, #1a1a2e, #16213e); color: var(--secondary-color); }
.header-top { display: flex; align-items: center; min-height: var(--header-top-height-desktop); background: linear-gradient(135deg, #0a0a0a, #1a1a2e, #16213e); 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), inset 0 0 20px rgba(0, 255, 0, 0.1); }
.header-container { max-width: 1200px; width: 100%; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 0 20px; }
.logo { font-size: 28px; font-weight: bold; text-decoration: none; color: var(--secondary-color); padding: 5px 0; /* Regular style, no neon effects */ }
.logo img { display: block; max-height: 50px; height: auto; width: auto; }
.desktop-nav-buttons { display: flex; gap: 10px; }
.mobile-nav-buttons { display: none; /* Hidden on desktop */ }
.hamburger-menu { display: none; /* Hidden on desktop */ cursor: pointer; background: transparent; border: none; padding: 10px; z-index: 1001; }
.hamburger-menu .bar { display: block; width: 25px; height: 3px; margin: 5px auto; background-color: var(--neon-primary); transition: all 0.3s ease-in-out; box-shadow: 0 0 5px var(--neon-primary), 0 0 10px var(--neon-primary); }
.hamburger-menu.active .bar:nth-child(2) { opacity: 0; }
.hamburger-menu.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger-menu.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.main-nav { display: flex; flex-direction: row; justify-content: center; align-items: center; min-height: var(--main-nav-height-desktop); background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460); border-top: 2px solid; border-bottom: 2px solid; animation: theme-colors 4s ease-in-out infinite; box-shadow: 0 0 10px var(--neon-secondary), 0 0 20px var(--neon-secondary), inset 0 0 20px rgba(255, 215, 0, 0.1); }
.main-nav .nav-container { max-width: 1200px; width: 100%; margin: 0 auto; display: flex; justify-content: center; align-items: center; padding: 10px 20px; flex-wrap: wrap; }
.nav-link { color: var(--secondary-color); text-decoration: none; padding: 10px 15px; font-size: 16px; font-weight: 500; transition: color 0.3s ease, text-shadow 0.3s ease; /* Regular text, no neon effects */ }
.nav-link:hover { color: var(--primary-color); text-shadow: 0 0 5px var(--primary-color); }

.btn { position: relative; background: linear-gradient(135deg, var(--register-color), var(--login-color)); padding: 12px 20px; color: var(--reg-log-font-color); text-decoration: none; border-radius: 5px; border: 2px solid; animation: theme-colors 4s ease-in-out infinite; text-shadow: 0 0 5px var(--reg-log-font-color), 0 0 10px var(--register-color); transition: all 0.3s ease; font-weight: bold; font-size: 15px; white-space: nowrap; }
.btn:hover { animation-duration: 2s; transform: translateY(-2px); box-shadow: 0 0 15px var(--neon-primary), 0 0 30px var(--neon-primary), inset 0 0 15px rgba(0, 255, 0, 0.4); }

.mobile-menu-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.7); z-index: 999; }

/* Site Footer Styles */
.site-footer { background-color: #1a1a2e; color: #cccccc; padding: 40px 0 20px; font-size: 14px; line-height: 1.6; }
.footer-main { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.footer-grid-container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-bottom: 40px; }
.footer-col { display: flex; flex-direction: column; }
.footer-logo { font-size: 24px; font-weight: bold; text-decoration: none; color: var(--secondary-color); margin-bottom: 15px; }
.footer-description { word-wrap: break-word; overflow-wrap: break-word; line-height: 1.6; }
.footer-heading { font-size: 18px; color: var(--secondary-color); margin-bottom: 20px; }
.footer-nav { list-style: none; padding: 0; margin: 0; }
.footer-nav li { margin-bottom: 10px; }
.footer-nav a { color: #cccccc; text-decoration: none; transition: color 0.3s ease; }
.footer-nav a:hover { color: var(--primary-color); }

.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-icons img, .game-providers-icons img, .social-media-icons img { max-height: 50px; height: auto; width: auto; object-fit: contain; }

.game-providers-section, .social-media-section { margin-bottom: 30px; }

.footer-bottom { border-top: 1px solid #333333; padding-top: 20px; text-align: center; color: #888888; }
.copyright { margin: 0; }

/* Responsive Styles */
@media (max-width: 768px) {
  :root { --header-offset: var(--header-offset-mobile); /* 150px */ }
  body { overflow-x: hidden; }
  .page-content img { max-width: 100% !important; height: auto !important; display: block; }
  .page-content { overflow-x: hidden; max-width: 100%; }

  .marquee-section { height: var(--marquee-height-mobile); padding: 0px; }
  .marquee-container { gap: 10px; padding: 0 5px; height: 100%; }
  .marquee-icon { width: 30px; height: 30px; }
  .marquee-icon-emoji { font-size: 18px; }
  .marquee-text { font-size: 13px; }
  .marquee-separator { font-size: 13px; margin: 0 10px; }
  .marquee-content { gap: 20px; animation-duration: 25s; }

  .site-header { top: var(--marquee-height-mobile); }
  .header-top { min-height: var(--header-top-height-mobile); }
  .header-container { padding: 0 15px; position: relative; width: 100%; max-width: none; min-height: var(--header-top-height-mobile); }
  .logo { flex: 1 !important; display: flex !important; justify-content: center !important; align-items: center !important; font-size: 22px; }
  .logo img { max-height: 40px !important; }
  .desktop-nav-buttons { display: none; }
  .mobile-nav-buttons { display: flex !important; justify-content: center; align-items: center; width: 100%; max-width: 100%; box-sizing: border-box; padding: 10px 15px; gap: 10px; flex-wrap: nowrap; min-height: var(--mobile-buttons-height-mobile); background: linear-gradient(135deg, #0a0a0a, #1a1a2e, #16213e); border-bottom: 2px solid; animation: theme-colors 4s ease-in-out infinite; box-shadow: 0 0 10px var(--neon-accent), 0 0 20px var(--neon-accent), inset 0 0 20px rgba(255, 0, 255, 0.1); }
  .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; text-align: center; }
  .hamburger-menu { display: block; position: relative; z-index: 1002; }
  
  .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: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460); box-shadow: 2px 0 15px rgba(0, 0, 0, 0.5); transform: translateX(-100%); transition: transform 0.3s ease; z-index: 1000; overflow-y: auto; }
  .main-nav.active { display: flex; transform: translateX(0); }
  .main-nav .nav-container { flex-direction: column; align-items: flex-start; padding: 20px; width: 100%; max-width: none; }
  .nav-link { width: 100%; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); font-size: 15px; }
  .nav-link:last-child { border-bottom: none; }

  .mobile-menu-overlay.active { display: block; }

  .footer-grid-container { grid-template-columns: 1fr; gap: 20px; }
  .footer-col:first-child { margin-bottom: 20px; }
  .footer-col { align-items: center; text-align: center; }
  .footer-description { max-width: 90%; margin: 0 auto 15px; }
  .payment-icons, .game-providers-icons, .social-media-icons { justify-content: center; gap: 5px; }
  .footer-heading { text-align: center; }
}
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
  }
}
