/* Global styles & variables */ :root { --primary-color: #26A9E0; --secondary-color: #FFFFFF; --login-color: #EA7C07; --background-color: #FFFFFF; --black-color: #000000; /* Neon colors derived from primary/secondary */ --neon-primary: var(--primary-color); /* Light blue */ --neon-secondary: #00FFFF; /* Cyan */ --neon-accent: #FFD700; /* Gold/Yellow */ /* Header offsets - Marquee (45px) + HeaderTop (60px) + MainNav (50px) */ --marquee-height: 45px; --header-top-height-desktop: 60px; --main-nav-height-desktop: 50px; --mobile-nav-buttons-height: 50px; /* Approx height for mobile buttons */ --header-offset: calc(var(--marquee-height) + var(--header-top-height-desktop) + var(--main-nav-height-desktop)); /* Desktop: 45 + 60 + 50 = 155px */ } @media (max-width: 768px) { :root { --header-offset: calc(var(--marquee-height) + var(--header-top-height-desktop) + var(--mobile-nav-buttons-height)); /* Mobile: 45 + 60 + 50 = 155px */ } } body { margin: 0; font-family: 'Arial', sans-serif; color: #ffffff; background-color: var(--black-color); /* Overall body background for neon effect */ padding-top: var(--header-offset); /* Ensure content is not hidden by fixed header */ overflow-x: hidden; /* Prevent horizontal scroll on body */ } /* Base neon glow effects */ .neon-glow { box-shadow: 0 0 5px currentColor, 0 0 10px currentColor, 0 0 15px currentColor, 0 0 20px currentColor, inset 0 0 10px rgba(255, 255, 255, 0.1); } /* Dynamic color animations */ @keyframes theme-colors { 0%, 100% { border-color: var(--neon-primary); box-shadow: 0 0 10px var(--neon-primary), 0 0 20px var(--neon-primary); } 33% { border-color: var(--neon-secondary); box-shadow: 0 0 10px var(--neon-secondary), 0 0 20px var(--neon-secondary); } 66% { border-color: var(--neon-accent); box-shadow: 0 0 10px var(--neon-accent), 0 0 20px var(--neon-accent); } } @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; } } @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%); } } /* Marquee Section */ .marquee-section { position: fixed; top: 0; left: 0; width: 100%; height: var(--marquee-height); /* Fixed height for consistent offset */ 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(var(--neon-primary-rgb), 0.1); z-index: 1001; display: flex; /* Ensure inner content aligns */ 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; /* Adjust padding for fixed height */ } .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; } .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); } /* Header Section */ .site-header { position: fixed; top: var(--marquee-height); /* Position below marquee */ left: 0; width: 100%; z-index: 1000; color: #ffffff; background-color: transparent; /* Background handled by header-top and main-nav */ } /* Header Top Area (Logo + Buttons) */ .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(var(--neon-primary-rgb), 0.1); min-height: var(--header-top-height-desktop); /* Ensure height for content */ display: flex; align-items: center; } .header-container { max-width: 1200px; width: 100%; margin: 0 auto; padding: 0 20px; display: flex; justify-content: space-between; align-items: center; } .hamburger-menu { display: none; /* Hidden on desktop */ flex-direction: column; justify-content: space-around; width: 30px; height: 25px; cursor: pointer; padding: 5px; position: relative; z-index: 1001; /* Above mobile menu overlay */ transition: all 0.3s ease; } .hamburger-menu span { display: block; width: 100%; height: 3px; background-color: var(--neon-primary); border-radius: 2px; transition: all 0.3s ease; box-shadow: 0 0 5px var(--neon-primary), 0 0 10px var(--neon-primary); } .hamburger-menu.active span:nth-child(1) { transform: translateY(11px) rotate(45deg); } .hamburger-menu.active span:nth-child(2) { opacity: 0; } .hamburger-menu.active span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); } .logo { font-size: 28px; font-weight: bold; text-decoration: none; color: var(--secondary-color); /* Regular color, no neon */ padding: 5px 0; display: block; flex-shrink: 0; white-space: nowrap; /* Prevent logo text from wrapping */ } .logo img { display: block; max-width: 100%; height: auto; max-height: 50px; } .desktop-nav-buttons { display: flex; gap: 12px; flex-shrink: 0; } .mobile-nav-buttons { display: none; /* Hidden on desktop */ } /* Main Navigation Area */ .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; 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(var(--neon-secondary-rgb), 0.1); min-height: var(--main-nav-height-desktop); /* Ensure height for content */ display: flex; align-items: center; position: static; /* Default for desktop */ } .main-nav .nav-container { max-width: 1200px; width: 100%; margin: 0 auto; padding: 0 20px; display: flex; justify-content: center; align-items: center; gap: 25px; } .nav-link { color: #ffffff; /* Regular color 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; white-space: nowrap; } .nav-link:hover, .nav-link.active { color: var(--neon-primary); text-shadow: 0 0 5px var(--neon-primary), 0 0 10px var(--neon-primary); } /* Buttons */ .btn { position: relative; background: linear-gradient(135deg, var(--neon-primary), var(--neon-secondary)); padding: 12px 20px; color: #ffffff; text-decoration: none; border-radius: 5px; border: 2px solid; animation: theme-colors 4s ease-in-out infinite; text-shadow: 0 0 5px #ffffff, 0 0 10px var(--neon-primary); transition: all 0.3s ease; font-weight: bold; white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; } .btn:hover { animation-duration: 2s; 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(var(--neon-primary-rgb), 0.5); } /* Mobile Menu Overlay */ .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; /* Below menu, above content */ opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; } .mobile-menu-overlay.active { opacity: 1; visibility: visible; } /* Footer Section */ .site-footer { background-color: #1a1a1a; color: #cccccc; padding: 40px 0 20px; font-size: 14px; } .site-footer h4 { color: var(--secondary-color); font-size: 18px; margin-bottom: 15px; } .footer-top-grid { max-width: 1200px; margin: 0 auto; padding: 0 20px; 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(--primary-color); margin-bottom: 15px; display: block; } .footer-description { line-height: 1.6; word-wrap: break-word; overflow-wrap: break-word; } .footer-nav a { color: #cccccc; text-decoration: none; margin-bottom: 8px; 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; /* Consistent gap for all icon sections */ 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 { max-width: 1200px; margin: 0 auto; padding: 20px 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); margin-bottom: 20px; } .footer-bottom { max-width: 1200px; margin: 0 auto; padding: 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); text-align: center; color: #999999; } /* Mobile responsive styles */ @media (max-width: 768px) { /* General mobile adjustments */ .marquee-section { height: 45px; /* Ensure consistent height */ } .marquee-container { gap: 10px; padding: 0 10px; } .marquee-icon { width: 25px; height: 25px; } .marquee-icon-emoji { font-size: 18px; } .marquee-text { font-size: 13px; line-height: 1.4; } .marquee-separator { font-size: 13px; margin: 0 8px; } .marquee-content { gap: 20px; animation-duration: 25s; } /* Header adjustments */ .site-header { top: var(--marquee-height); /* Ensure header starts below marquee */ } .header-top { min-height: var(--header-top-height-desktop); /* Keep height consistent */ padding: 0 15px; /* Adjust padding */ justify-content: space-between; } .header-container { padding: 0; /* Remove container padding as header-top has it */ justify-content: space-between; } .hamburger-menu { display: flex; /* Show hamburger on mobile */ order: 0; /* Position left */ width: 25px; height: 20px; padding: 0; } .hamburger-menu span { height: 2px; box-shadow: 0 0 3px var(--neon-primary), 0 0 6px var(--neon-primary); } .hamburger-menu.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); } .hamburger-menu.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); } .logo { order: 1; /* Position center */ flex: 1 !important; /* Take available space */ display: flex !important; justify-content: center !important; align-items: center !important; font-size: 20px; padding: 0; } .logo img { max-height: 40px; /* Smaller logo on mobile */ } /* Ensure no right-side content pushes logo left */ .header-container::after { content: ''; display: block; width: 25px; /* Balance hamburger width */ height: 1px; order: 2; } .desktop-nav-buttons { display: none; /* Hide desktop buttons */ } .mobile-nav-buttons { display: flex !important; /* Show mobile buttons */ justify-content: center; align-items: center; gap: 10px; width: 100%; max-width: 100%; box-sizing: border-box; padding: 10px 15px; overflow: hidden; flex-wrap: nowrap; /* Ensure buttons stay in one row */ background: linear-gradient(135deg, #0a0a0a, #1a1a2e, #16213e); /* Match header-top background */ 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(var(--neon-primary-rgb), 0.1); min-height: var(--mobile-nav-buttons-height); /* Ensure consistent height */ } .mobile-nav-buttons .btn { flex: 1; min-width: 0; max-width: calc(50% - 5px); /* Account for 10px gap */ 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: calc(var(--marquee-height) + var(--header-top-height-desktop) + var(--mobile-nav-buttons-height)); /* Position below header and mobile buttons */ left: 0; width: 80%; /* Sidebar width */ max-width: 300px; height: calc(100% - var(--header-offset)); /* Fill remaining height */ background: linear-gradient(135deg, #0a0a0a, #1a1a2e, #16213e); /* Dark background */ border-right: 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(var(--neon-secondary-rgb), 0.1); transform: translateX(-100%); /* Start off-screen */ transition: transform 0.3s ease; z-index: 1000; /* Above overlay */ overflow-y: auto; /* Allow scrolling for long menus */ padding: 20px 0; } .main-nav.active { display: flex; /* Show menu when active */ transform: translateX(0); /* Slide in */ } .main-nav .nav-container { flex-direction: column; align-items: flex-start; padding: 0 15px; gap: 15px; } .nav-link { width: 100%; padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); font-size: 15px; } .nav-link:last-child { border-bottom: none; } /* Footer adjustments */ .footer-top-grid { grid-template-columns: 1fr; /* Single column on mobile */ gap: 20px; padding: 0 15px; } .game-providers-section, .social-media-section { padding: 15px; } /* Prevent content overflow */ .page-content img { max-width: 100% !important; height: auto !important; display: block; } .page-content { overflow-x: hidden; max-width: 100%; } body { overflow-x: hidden; } body.no-scroll { overflow: 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;
  }
}
