html { scroll-behavior: smooth; } body { margin: 0; font-family: Arial, sans-serif; background-color: #0a0a0a; color: #ffffff; padding-top: var(--header-offset); } .no-scroll { overflow: hidden; } /* Color Palette for Neon - Dynamic colors */ :root { --primary-color: #017439; /* Website primary green */ --secondary-color: #FFFFFF; /* Website secondary white */ --reg-log-btn-bg: #C30808; /* Register/Login button background red */ --reg-log-btn-text: #FFFF00; /* Register/Login button text yellow */ /* Neon colors - chosen to contrast and flow */ --neon-primary: #FF00FF; /* Magenta */ --neon-secondary: #00FFFF; /* Cyan */ --neon-accent: #FFFF00; /* Yellow */ --neon-border-color-1: var(--neon-primary); --neon-border-color-2: var(--neon-secondary); --neon-border-color-3: var(--neon-accent); --header-offset: 155px; /* Desktop: Marquee (45) + HeaderTop (60) + MobileNavButtons (0) + MainNav (50) = 155px */ } @media (max-width: 768px) { :root { --header-offset: 135px; /* Mobile: Marquee (45) + HeaderTop (50) + MobileNavButtons (40) = 135px */ } } /* Common animations for neon effects */ @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(255, 0, 255, 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, 255, 0, 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: #ffffff; } 50% { text-shadow: 0 0 5px var(--neon-secondary), 0 0 10px var(--neon-secondary), 0 0 15px var(--neon-secondary); color: #ffffff; } 100% { text-shadow: 0 0 5px var(--neon-accent), 0 0 10px var(--neon-accent), 0 0 15px var(--neon-accent); color: #ffffff; } } /* Marquee Section */ .marquee-section { position: fixed; top: 0; left: 0; width: 100%; height: 45px; /* Fixed height for calculation */ 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(255, 0, 255, 0.1); z-index: 1001; 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: 30px; /* Reduced width */ height: 30px; /* Reduced height */ z-index: 2; position: relative; } .marquee-icon-emoji { font-size: 20px; /* Reduced font size */ 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; } .marquee-content { display: inline-flex; align-items: center; white-space: nowrap; animation: marquee-scroll 30s linear infinite; gap: 30px; padding-right: 30px; /* Ensure space for seamless loop */ } .marquee-text { font-size: 16px; 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.05); color: #ffffff; } .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 */ .site-header { position: fixed; top: 45px; /* Below marquee */ left: 0; width: 100%; z-index: 1000; background: linear-gradient(135deg, #0a0a0a, #1a1a2e, #16213e); } .header-top { width: 100%; min-height: 60px; /* Desktop height */ display: flex; align-items: center; border-bottom: 2px solid; animation: theme-colors 4s ease-in-out infinite; /* Dynamic border color */ 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(255, 0, 255, 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 { color: var(--secondary-color); /* White for contrast */ font-size: 28px; font-weight: bold; text-decoration: none; /* NO NEON EFFECTS ON LOGO */ } .logo img { display: block; max-width: 100%; height: auto; max-height: 50px; } .hamburger-menu { display: none; /* Hidden on desktop */ width: 30px; height: 24px; position: relative; cursor: pointer; z-index: 1002; /* Above mobile menu overlay */ padding: 5px; margin-right: 15px; } .hamburger-menu .bar { display: block; width: 100%; height: 3px; background-color: var(--neon-primary); border-radius: 2px; position: absolute; left: 0; transition: all 0.3s ease-in-out; animation: text-glow-flow 3s ease-in-out infinite alternate; /* Dynamic glow */ box-shadow: 0 0 5px var(--neon-primary), 0 0 10px var(--neon-primary); } .hamburger-menu .bar:nth-child(1) { top: 0; } .hamburger-menu .bar:nth-child(2) { top: 10px; } .hamburger-menu .bar:nth-child(3) { top: 20px; } .hamburger-menu.active .bar:nth-child(1) { transform: translateY(10px) rotate(45deg); } .hamburger-menu.active .bar:nth-child(2) { opacity: 0; } .hamburger-menu.active .bar:nth-child(3) { transform: translateY(-10px) rotate(-45deg); } .desktop-nav-buttons { display: flex; /* Visible on desktop */ gap: 10px; } .mobile-nav-buttons { display: none; /* Hidden on desktop */ } .btn { position: relative; background: var(--reg-log-btn-bg); /* Red background */ padding: 12px 25px; color: var(--reg-log-btn-text); /* Yellow text */ text-decoration: none; border-radius: 5px; border: 2px solid; animation: theme-colors 4s ease-in-out infinite; /* Dynamic border color */ text-shadow: 0 0 5px var(--reg-log-btn-text), /* Yellow text glow */ 0 0 10px var(--reg-log-btn-text); transition: all 0.3s ease; font-weight: bold; font-size: 15px; } .btn:hover { animation-duration: 2s; /* faster glow on hover */ transform: translateY(-2px); box-shadow: 0 0 15px var(--neon-primary), 0 0 30px var(--neon-primary), 0 0 45px var(--neon-primary), inset 0 0 15px rgba(255, 0, 255, 0.4); } .main-nav { width: 100%; min-height: 50px; /* Desktop height */ display: flex; /* Visible on desktop */ align-items: center; background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460); /* Slightly different dark background */ border-top: 2px solid; border-bottom: 2px solid; animation: theme-colors 5s linear infinite reverse; /* Different animation for contrast */ box-shadow: 0 0 8px var(--neon-secondary), 0 0 15px var(--neon-secondary), 0 0 25px var(--neon-secondary), inset 0 0 15px rgba(0, 255, 255, 0.1); } .main-nav .nav-container { max-width: 1200px; width: 100%; margin: 0 auto; display: flex; justify-content: center; align-items: center; padding: 0 20px; gap: 25px; /* Space between nav links */ } .nav-link { color: var(--secondary-color); /* White text for nav links */ text-decoration: none; font-size: 16px; font-weight: 500; padding: 10px 0; transition: color 0.3s ease, text-shadow 0.3s ease; position: relative; /* NO NEON EFFECTS ON REGULAR NAV LINKS */ } .nav-link:hover { color: var(--primary-color); /* Green on hover */ text-shadow: 0 0 5px var(--primary-color); } .mobile-menu-overlay { display: none; /* Hidden on desktop */ position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.7); z-index: 999; opacity: 0; transition: opacity 0.3s ease; } .mobile-menu-overlay.active { display: block; opacity: 1; } /* Footer */ .site-footer { background-color: #1a1a2e; /* Dark background */ color: #ffffff; padding: 40px 0 20px; font-size: 14px; } .site-footer h4 { color: var(--primary-color); /* Green for headings */ font-size: 18px; margin-bottom: 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); padding-bottom: 10px; } .footer-top { padding-bottom: 30px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); } .footer-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; } .footer-col ul { list-style: none; padding: 0; margin: 0; } .footer-col ul li { margin-bottom: 10px; } .footer-col ul li a { color: #cccccc; text-decoration: none; transition: color 0.3s ease; } .footer-col ul li a:hover { color: var(--primary-color); } .footer-logo { color: var(--secondary-color); font-size: 24px; font-weight: bold; text-decoration: none; display: block; margin-bottom: 15px; } .footer-description { line-height: 1.6; color: #cccccc; word-wrap: break-word; overflow-wrap: break-word; } .payment-icons, .game-providers-icons, .social-media-icons { display: flex; flex-wrap: wrap; flex-direction: row; align-items: flex-start; gap: 8px; /* Adjusted gap for tighter spacing */ width: 100%; } .payment-icons img, .game-providers-icons img, .social-media-icons img { max-height: 50px; height: auto; width: auto; object-fit: contain; } .footer-middle { padding: 30px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); } .game-providers-section, .social-media-section { margin-bottom: 20px; /* Space between sections */ } .footer-bottom { padding-top: 20px; text-align: center; color: #cccccc; } /* Responsive adjustments */ @media (max-width: 768px) { /* Marquee */ .marquee-section { height: 45px; } .marquee-container { padding: 0 10px; gap: 10px; } .marquee-icon { width: 25px; height: 25px; } .marquee-icon-emoji { font-size: 16px; } .marquee-text { font-size: 13px; margin: 0 5px; } .marquee-separator { font-size: 13px; margin: 0 5px; } .marquee-content { gap: 15px; animation: marquee-scroll 25s linear infinite; } /* Header */ .site-header { top: 45px; /* Below marquee */ } .header-top { min-height: 50px; /* Mobile height */ padding: 10px 0; } .header-container { padding: 0 15px; justify-content: flex-start; /* Adjust for hamburger + logo */ position: relative; /* For absolute logo centering */ } .hamburger-menu { display: block; /* Show on mobile */ } .logo { flex: 1 !important; display: flex !important; justify-content: center !important; align-items: center !important; font-size: 24px; max-width: calc(100% - 60px); /* Account for hamburger width */ } .logo img { max-height: 40px !important; /* Mobile logo height */ } .desktop-nav-buttons { display: none; /* Hide on mobile */ } .mobile-nav-buttons { display: flex !important; /* Show on mobile */ justify-content: center; gap: 10px; width: 100%; max-width: 100%; box-sizing: border-box; padding: 10px 15px; background: linear-gradient(135deg, #0a0a0a, #1a1a2e, #16213e); border-bottom: 2px solid; animation: theme-colors 4s ease-in-out infinite; box-shadow: 0 0 8px var(--neon-primary), 0 0 15px var(--neon-primary), inset 0 0 10px rgba(255, 0, 255, 0.1); min-height: 40px; /* Mobile button height for offset calculation */ } .mobile-nav-buttons .btn { flex: 1; min-width: 0; max-width: calc(50% - 5px); /* Two buttons with 10px gap */ padding: 8px 12px; /* Smaller padding */ font-size: 13px; /* Smaller font size */ white-space: normal; word-wrap: break-word; overflow-wrap: break-word; text-align: center; } .main-nav { display: none; /* Hidden by default on mobile */ flex-direction: column; position: fixed; top: 135px; /* Below marquee + header-top + mobile-nav-buttons */ left: 0; width: 80%; max-width: 300px; height: calc(100% - 135px); /* Fill remaining height */ background: linear-gradient(135deg, #16213e, #0f3460); transform: translateX(-100%); /* Off-screen by default */ transition: transform 0.3s ease-in-out; z-index: 1000; /* Above overlay */ border-right: 2px solid; animation: theme-colors 5s linear infinite; box-shadow: 0 0 10px var(--neon-secondary), 0 0 20px var(--neon-secondary), inset 0 0 15px rgba(0, 255, 255, 0.2); overflow-y: auto; /* Allow scrolling for long menus */ } .main-nav.active { display: flex; /* Show when active */ transform: translateX(0); } .main-nav .nav-container { flex-direction: column; padding: 20px 15px; gap: 15px; align-items: flex-start; } .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; } /* Footer */ .footer-container { grid-template-columns: 1fr; gap: 20px; } .footer-col { text-align: center; } .footer-col h4 { margin-bottom: 10px; } .footer-logo { font-size: 22px; } } /* Mobile overflow protection */ @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; } }
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
  }
}
