html { scroll-behavior: smooth; } body { margin: 0; font-family: 'Arial', sans-serif; background-color: #FFFFFF; color: #333; } :root { --primary-color: #017439; --secondary-color: #FFFFFF; --register-color: #C30808; --login-color: #C30808; --background-color: #FFFFFF; --register-login-font-color: #FFFF00; --neon-primary: #00FF00; /* Bright Green */ --neon-secondary: #FF00FF; /* Magenta */ --neon-accent: #FFFF00; /* Bright Yellow */ --header-offset: 150px; /* Desktop: Marquee (40px) + Header Top (60px) + Main Nav (50px) */ } @media (max-width: 768px) { :root { --header-offset: 125px; /* Mobile: Marquee (25px) + Header Top (50px) + Mobile Buttons (50px) */ } } /* Fixed Header Offset */ body { padding-top: var(--header-offset); } /* Marquee Section */ .marquee-section { position: fixed; top: 0; left: 0; width: 100%; background: linear-gradient(135deg, #0a0a0a, #1a1a2e, #16213e); color: #ffffff; 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; height: 40px; line-height: 40px; } .marquee-container { width: 100%; max-width: 100%; margin: 0 auto; overflow: hidden; display: flex; align-items: center; gap: 15px; padding: 0 20px; height: 100%; } .marquee-icon { flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; z-index: 2; position: relative; } .marquee-icon-emoji { font-size: 20px; 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)); } @keyframes marquee-pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.15); opacity: 0.9; } } .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%; } .marquee-text { font-size: 15px; font-weight: 600; color: #ffffff; 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.02); color: #ffffff; } .marquee-separator { font-size: 15px; 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%); } } /* Header Section */ .site-header { position: fixed; top: 40px; /* Marquee height */ left: 0; width: 100%; z-index: 1000; background: linear-gradient(135deg, #0a0a0a, #1a1a2e, #16213e); color: var(--secondary-color); font-size: 16px; } .header-top { 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), 0 0 30px var(--neon-primary), inset 0 0 20px rgba(0, 255, 0, 0.1); padding: 10px 0; display: flex; align-items: center; height: 60px; box-sizing: border-box; } .header-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 0 20px; width: 100%; } .logo { font-size: 28px; font-weight: bold; color: var(--secondary-color); text-decoration: none; display: flex; align-items: center; white-space: nowrap; } .logo img { max-height: 40px; height: auto; width: auto; display: block; } .desktop-nav-buttons { display: flex; gap: 15px; } .mobile-nav-buttons { display: none; /* Hidden on desktop */ } .main-nav { background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460); border-top: 2px solid; border-bottom: 2px solid; animation: theme-colors 4s ease-in-out infinite reverse; 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(255, 0, 255, 0.1); padding: 10px 0; display: flex; height: 50px; box-sizing: border-box; } .nav-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: center; align-items: center; width: 100%; gap: 30px; padding: 0 20px; } .nav-link { color: var(--secondary-color); text-decoration: none; padding: 5px 0; position: relative; transition: color 0.3s ease; font-weight: 500; white-space: nowrap; } .nav-link:hover { color: var(--neon-primary); } .nav-link::after { content: ''; position: absolute; left: 0; bottom: -5px; width: 0; height: 2px; background: var(--neon-primary); transition: width 0.3s ease; } .nav-link:hover::after { width: 100%; } .btn { position: relative; background: linear-gradient(135deg, var(--neon-primary), var(--neon-secondary)); padding: 12px 25px; color: var(--register-login-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(--register-login-font-color), 0 0 10px var(--neon-primary); transition: all 0.3s ease; font-weight: bold; white-space: nowrap; cursor: pointer; } .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.3); } .btn.alternate-glow { animation: alternate-colors 2s ease-in-out infinite alternate; } .btn.alternate-glow:hover { animation-duration: 1s; } @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, 0, 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, 255, 0, 0.3); } } @keyframes alternate-colors { 0% { border-color: var(--neon-primary); box-shadow: 0 0 10px var(--neon-primary), 0 0 20px var(--neon-primary); } 100% { border-color: var(--neon-secondary); box-shadow: 0 0 10px var(--neon-secondary), 0 0 20px var(--neon-secondary); } } .hamburger-menu { display: none; /* Hidden on desktop */ background: none; border: none; cursor: pointer; padding: 0; width: 30px; height: 24px; position: relative; z-index: 1002; } .hamburger-icon { display: block; width: 100%; height: 3px; background-color: var(--neon-primary); position: absolute; left: 0; transition: all 0.3s ease; box-shadow: 0 0 5px var(--neon-primary), 0 0 10px var(--neon-primary); } .hamburger-icon::before, .hamburger-icon::after { content: ''; display: block; width: 100%; height: 3px; background-color: var(--neon-primary); position: absolute; left: 0; transition: all 0.3s ease; box-shadow: 0 0 5px var(--neon-primary), 0 0 10px var(--neon-primary); } .hamburger-icon::before { top: -8px; } .hamburger-icon::after { bottom: -8px; } .hamburger-menu.active .hamburger-icon { background-color: transparent; box-shadow: none; } .hamburger-menu.active .hamburger-icon::before { top: 0; transform: rotate(45deg); } .hamburger-menu.active .hamburger-icon::after { bottom: 0; transform: rotate(-45deg); } .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: #1a1a1a; color: #ccc; padding: 40px 0 20px; font-size: 14px; } .site-footer .footer-main-content { max-width: 1200px; margin: 0 auto; padding: 0 20px; } .site-footer .footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; margin-bottom: 30px; } .site-footer .footer-col { margin-bottom: 20px; } .site-footer .footer-logo { font-size: 24px; font-weight: bold; color: var(--primary-color); text-decoration: none; display: block; margin-bottom: 15px; } .site-footer .footer-description { line-height: 1.6; color: #aaa; word-wrap: break-word; overflow-wrap: break-word; } .site-footer .footer-heading { font-size: 16px; color: var(--secondary-color); margin-bottom: 15px; position: relative; padding-bottom: 5px; } .site-footer .footer-heading::after { content: ''; position: absolute; left: 0; bottom: 0; width: 30px; height: 2px; background-color: var(--primary-color); } .site-footer .footer-nav { list-style: none; padding: 0; margin: 0; } .site-footer .footer-nav li { margin-bottom: 8px; } .site-footer .footer-nav a { color: #aaa; text-decoration: none; transition: color 0.3s ease; } .site-footer .footer-nav a:hover { color: var(--primary-color); } .site-footer .payment-icons, .site-footer .game-providers-icons, .site-footer .social-media-icons { display: flex; flex-wrap: wrap; flex-direction: row; align-items: flex-start; gap: 8px; width: 100%; } .site-footer .payment-icons img, .site-footer .game-providers-icons img, .site-footer .social-media-icons img { max-height: 50px; height: auto; width: auto; filter: grayscale(100%) brightness(150%); opacity: 0.7; transition: all 0.3s ease; } .site-footer .payment-icons img:hover, .site-footer .game-providers-icons img:hover, .site-footer .social-media-icons img:hover { filter: grayscale(0%) brightness(100%); opacity: 1; } .site-footer .game-providers-section, .site-footer .social-media-section { margin-top: 30px; padding-top: 20px; border-top: 1px solid #333; } .site-footer .footer-bottom { border-top: 1px solid #333; padding-top: 20px; margin-top: 30px; text-align: center; max-width: 1200px; margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; } .site-footer .copyright { color: #888; margin: 0; } .site-footer .footer-nav-bottom { display: flex; list-style: none; padding: 0; margin: 0; gap: 15px; flex-wrap: wrap; justify-content: center; } .site-footer .footer-nav-bottom a { color: #888; text-decoration: none; transition: color 0.3s ease; } .site-footer .footer-nav-bottom a:hover { color: var(--primary-color); } /* Mobile Responsive */ @media (max-width: 768px) { .marquee-section { height: 25px; line-height: 25px; } .marquee-container { gap: 10px; padding: 0 5px; } .marquee-icon { width: 20px; height: 20px; } .marquee-icon-emoji { font-size: 14px; } .marquee-text { font-size: 12px; } .marquee-separator { font-size: 12px; margin: 0 8px; } .marquee-content { gap: 15px; animation: marquee-scroll 20s linear infinite; } .site-header { top: 25px; /* Mobile marquee height */ } .header-top { height: 50px; padding: 5px 0; } .header-container { padding: 0 15px; width: 100%; max-width: none; justify-content: flex-start; gap: 15px; } .hamburger-menu { display: block; order: 0; /* Place hamburger first */ } .logo { order: 1; flex: 1 !important; display: flex !important; justify-content: center !important; align-items: center !important; font-size: 22px; } .logo img { max-height: 35px; } .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; justify-content: center; flex-wrap: nowrap; background: linear-gradient(135deg, #0a0a0a, #1a1a2e, #16213e); 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), inset 0 0 10px rgba(0, 255, 0, 0.1); } .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 */ flex-direction: column; position: fixed; top: var(--header-offset); left: 0; width: 70%; max-width: 300px; height: calc(100% - var(--header-offset)); background: linear-gradient(135deg, #1a1a2e, #0f3460); box-shadow: 5px 0 15px rgba(0, 0, 0, 0.5); transform: translateX(-100%); transition: transform 0.3s ease-in-out; z-index: 1000; overflow-y: auto; padding: 20px 0; border-right: 2px solid; animation: theme-colors 4s ease-in-out infinite reverse; } .main-nav.active { display: flex; transform: translateX(0); } .nav-container { flex-direction: column; align-items: flex-start; gap: 15px; padding: 0 20px; width: 100%; max-width: none; } .nav-link { width: 100%; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); } .nav-link:last-child { border-bottom: none; } .nav-link::after { display: none; } .site-footer .footer-grid { grid-template-columns: 1fr; gap: 20px; } .site-footer .footer-col { text-align: center; } .site-footer .footer-logo { text-align: center; } .site-footer .footer-description { text-align: center; } .site-footer .footer-heading::after { left: 50%; transform: translateX(-50%); } .site-footer .footer-bottom { flex-direction: column; } .site-footer .footer-nav-bottom { margin-top: 10px; } .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;
  }
}
