:root { --primary-color: #26A9E0; /* 淡蓝色 */ --secondary-color: #FFFFFF; --login-color: #EA7C07; --black-color: #000000; /* Neon colors derived from primary/secondary */ --neon-primary: #00FFFF; --neon-secondary: #FF00FF; --neon-accent: #FFFF00; --dark-bg-1: #0a0a0a; --dark-bg-2: #1a1a2e; --dark-bg-3: #16213e; --dark-bg-nav: #0f3460; --header-offset: 155px; /* Desktop: Marquee(45px) + HeaderTop(60px) + MainNav(50px) */ } @media (max-width: 768px) { :root { --header-offset: 125px; /* Mobile: Marquee(30px) + HeaderTop(50px) + MobileNavButtons(45px) */ } } /* General Body and Page Content for mobile overflow */ @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; } } body { margin: 0; font-family: 'Arial', sans-serif; color: var(--secondary-color); background-color: var(--dark-bg-1); padding-top: var(--header-offset); /* Ensure content is not hidden by fixed header */ } /* Animations for dynamic neon colors */ @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 hue-spin { 0% { filter: hue-rotate(0deg); } 100% { filter: hue-rotate(360deg); } } @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); } } @keyframes gradient-flow { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } } @keyframes random-glow { 0% { border-color: var(--neon-primary); box-shadow: 0 0 20px var(--neon-primary); } 20% { border-color: var(--neon-secondary); box-shadow: 0 0 20px var(--neon-secondary); } 40% { border-color: var(--neon-accent); box-shadow: 0 0 20px var(--neon-accent); } 60% { border-color: #00ff00; box-shadow: 0 0 20px #00ff00; } 80% { border-color: #ff0000; box-shadow: 0 0 20px #ff0000; } 100% { border-color: var(--neon-primary); box-shadow: 0 0 20px var(--neon-primary); } } @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 neon-flicker { 0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% { opacity: 1; box-shadow: 0 0 10px currentColor, 0 0 20px currentColor, 0 0 30px currentColor, inset 0 0 15px currentColor; } 20%, 24%, 55% { opacity: 0.8; box-shadow: 0 0 5px currentColor, 0 0 10px currentColor, 0 0 15px currentColor, inset 0 0 10px currentColor; } } @keyframes pulse-glow { from { box-shadow: 0 0 5px currentColor, 0 0 10px currentColor; } to { box-shadow: 0 0 15px currentColor, 0 0 30px currentColor, 0 0 45px currentColor; } } @keyframes led-blink { 0%, 50% { opacity: 1; } 51%, 100% { opacity: 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); } } /* Marquee Section Styles */ .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(--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, 255, 0.1); z-index: 1001; height: 45px; /* Fixed height for desktop */ 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: 24px; height: 24px; 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%; /* Ensure wrapper takes full height */ display: flex; align-items: center; } .marquee-content { display: inline-flex; align-items: center; white-space: nowrap; animation: marquee-scroll 30s linear infinite; gap: 30px; height: 100%; /* Ensure content takes full height */ } .marquee-text { font-size: 14px; font-weight: 600; color: var(--secondary-color); text-decoration: none; animation: text-glow-flow 3s ease-in-out infinite alternate; cursor: pointer; transition: all 0.3s ease; line-height: 1.5; /* Adjust line-height to fit marquee height */ } .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: 14px; color: rgba(255, 255, 255, 0.6); margin: 0 10px; 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: 45px; /* Below marquee */ left: 0; width: 100%; z-index: 1000; } .site-header .header-top { background: linear-gradient(135deg, var(--dark-bg-1), var(--dark-bg-2)); 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), inset 0 0 10px rgba(0, 255, 255, 0.1); padding: 10px 0; min-height: 40px; /* Ensure minimum height for logo/buttons */ display: flex; /* For mobile hamburger/logo alignment */ align-items: center; } .site-header .header-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 0 20px; width: 100%; } .site-header .logo { color: var(--secondary-color); /* Regular color, no neon glow */ font-size: 24px; font-weight: bold; text-decoration: none; flex-shrink: 0; display: block; /* Ensure visibility */ line-height: 1; /* Adjust line height to match height */ padding: 5px 0; /* Add some padding for visual spacing */ } .site-header .logo img { /* If logo is an image */ display: block; max-width: 100%; height: auto; max-height: 40px; } .desktop-nav-buttons { display: flex; /* Desktop default */ gap: 10px; flex-shrink: 0; } .mobile-nav-buttons { display: none; /* Hidden on desktop */ background: linear-gradient(135deg, var(--dark-bg-2), var(--dark-bg-3)); border-bottom: 2px solid; animation: alternate-colors 3s ease-in-out infinite; /* Different dynamic color for buttons */ box-shadow: 0 0 8px var(--neon-secondary), 0 0 16px var(--neon-secondary), inset 0 0 8px rgba(255, 0, 255, 0.1); padding: 10px 15px; justify-content: center; align-items: center; gap: 10px; width: 100%; box-sizing: border-box; flex-wrap: nowrap; /* Ensure buttons stay in one line */ } /* Main Navigation Styles */ .main-nav { background: linear-gradient(135deg, var(--dark-bg-2), var(--dark-bg-nav)); border-top: 2px solid; border-bottom: 2px solid; animation: rainbow-border 5s linear infinite; /* Different dynamic color for main nav */ box-shadow: 0 0 10px var(--neon-accent), 0 0 20px var(--neon-accent), inset 0 0 10px rgba(255, 255, 0, 0.1); width: 100%; display: flex; /* Desktop default */ min-height: 50px; align-items: center; } .main-nav .nav-container { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: row; /* Desktop default */ justify-content: center; align-items: center; padding: 10px 20px; width: 100%; } .main-nav .nav-link { color: var(--secondary-color); /* Regular color, no neon glow */ text-decoration: none; padding: 8px 15px; font-size: 16px; font-weight: 500; transition: color 0.3s ease, background-color 0.3s ease; white-space: nowrap; } .main-nav .nav-link:hover { color: var(--primary-color); background-color: rgba(255, 255, 255, 0.1); border-radius: 4px; } /* Hamburger Menu for Mobile */ .hamburger-menu { display: none; /* Hidden on desktop */ background: none; border: none; cursor: pointer; padding: 10px; z-index: 1002; /* Above everything else */ position: relative; width: 40px; height: 40px; display: flex; flex-direction: column; justify-content: space-around; align-items: center; flex-shrink: 0; } .hamburger-icon { display: block; width: 25px; height: 3px; background-color: var(--secondary-color); border-radius: 2px; transition: all 0.3s ease-in-out; /* Neon glow for hamburger icon */ box-shadow: 0 0 5px var(--neon-primary), 0 0 10px var(--neon-primary); } /* Hamburger animation to X */ .hamburger-menu.active .hamburger-icon:nth-child(1) { transform: translateY(11px) rotate(45deg); } .hamburger-menu.active .hamburger-icon:nth-child(2) { opacity: 0; } .hamburger-menu.active .hamburger-icon:nth-child(3) { transform: translateY(-11px) rotate(-45deg); } /* Buttons */ .btn { position: relative; background: linear-gradient(135deg, var(--neon-primary), var(--neon-secondary)); padding: 10px 20px; color: var(--secondary-color); text-decoration: none; border-radius: 5px; border: 2px solid; animation: theme-colors 4s ease-in-out infinite; text-shadow: 0 0 5px var(--secondary-color), 0 0 10px var(--neon-primary); 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, 255, 0.4); } /* Mobile Menu Overlay */ .mobile-menu-overlay { display: none; /* Hidden by default */ position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.7); z-index: 999; /* Below hamburger menu and main nav */ transition: opacity 0.3s ease; opacity: 0; } .mobile-menu-overlay.active { display: block; opacity: 1; } /* Footer Styles */ .site-footer { background-color: var(--black-color); color: rgba(255, 255, 255, 0.7); padding: 40px 0 20px; font-size: 14px; } .site-footer .footer-top-section, .site-footer .footer-middle-section, .site-footer .footer-bottom-section { border-bottom: 1px solid rgba(255, 255, 255, 0.1); padding-bottom: 20px; margin-bottom: 20px; } .site-footer .footer-bottom-section { border-bottom: none; margin-bottom: 0; padding-bottom: 0; } .site-footer .footer-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; } .site-footer .footer-col { margin-bottom: 20px; } .site-footer .footer-logo { color: var(--secondary-color); font-size: 20px; font-weight: bold; text-decoration: none; display: block; margin-bottom: 15px; } .site-footer .footer-description { line-height: 1.6; word-wrap: break-word; overflow-wrap: break-word; } .site-footer .footer-heading { color: var(--secondary-color); font-size: 16px; margin-bottom: 15px; font-weight: bold; } .site-footer .footer-links { list-style: none; padding: 0; margin: 0; } .site-footer .footer-links li { margin-bottom: 10px; } .site-footer .footer-links a { color: rgba(255, 255, 255, 0.7); text-decoration: none; transition: color 0.3s ease; } .site-footer .footer-links 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: 40px; /* Adjusted for footer icons */ height: auto; width: auto; filter: grayscale(100%) brightness(150%); /* Make icons fit dark theme */ transition: filter 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%); /* Colorize on hover */ } .site-footer .copyright-info { text-align: center; margin-top: 20px; font-size: 13px; } /* Mobile Responsiveness */ @media (max-width: 768px) { /* Marquee Mobile */ .marquee-section { height: 30px; /* Smaller height for mobile */ } .marquee-container { padding: 0 10px; gap: 10px; } .marquee-icon { width: 20px; height: 20px; } .marquee-icon-emoji { font-size: 16px; } .marquee-text, .marquee-separator { font-size: 12px; } .marquee-content { gap: 20px; animation: marquee-scroll 25s linear infinite; } /* Header Mobile */ .site-header { top: 30px; /* Below mobile marquee */ } .site-header .header-top { padding: 5px 0; min-height: 40px; justify-content: space-between; /* For hamburger and logo */ } .site-header .header-container { padding: 0 15px; max-width: none; /* Occupy full width */ width: 100%; justify-content: space-between; } .site-header .logo { flex: 1 !important; /* Take remaining space */ display: flex !important; justify-content: center !important; align-items: center !important; font-size: 20px; padding: 0; } .site-header .logo img { max-height: 35px; /* Smaller logo for mobile */ } .hamburger-menu { display: flex; /* Show hamburger on mobile */ order: -1; /* Place on left */ margin-right: auto; /* Push logo to center */ width: 30px; height: 30px; } .hamburger-icon { width: 20px; height: 2px; } .hamburger-menu.active .hamburger-icon:nth-child(1) { transform: translateY(9px) rotate(45deg); } .hamburger-menu.active .hamburger-icon:nth-child(3) { transform: translateY(-9px) rotate(-45deg); } .desktop-nav-buttons { display: none; /* Hide desktop buttons */ } .mobile-nav-buttons { display: flex !important; /* Show mobile buttons */ padding: 8px 15px; } .mobile-nav-buttons .btn { flex: 1; min-width: 0; max-width: calc(50% - 5px); /* Two buttons side-by-side with gap */ padding: 8px 12px; /* Smaller padding */ font-size: 13px; /* Smaller font size */ white-space: normal; /* Allow text to wrap */ word-wrap: break-word; text-align: center; } .main-nav { display: none; /* Hidden by default on mobile */ flex-direction: column; position: fixed; top: var(--header-offset); /* Below header and mobile buttons */ left: 0; width: 70%; /* Slide-in menu width */ height: calc(100% - var(--header-offset)); background: linear-gradient(135deg, var(--dark-bg-2), var(--dark-bg-nav)); border-right: 2px solid; animation: alternate-colors 3s ease-in-out infinite; /* Different dynamic color for mobile nav */ box-shadow: 0 0 10px var(--neon-accent), 0 0 20px var(--neon-accent), inset 0 0 10px rgba(255, 255, 0, 0.1); transform: translateX(-100%); /* Start off-screen */ transition: transform 0.3s ease-in-out; z-index: 1000; /* Above overlay */ overflow-y: auto; /* Enable scrolling for long menus */ } .main-nav.active { display: flex; /* Show when active */ transform: translateX(0); /* Slide in */ } .main-nav .nav-container { flex-direction: column; padding: 20px; width: 100%; max-width: none; /* Occupy full width */ align-items: flex-start; } .main-nav .nav-link { width: 100%; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); font-size: 15px; } .main-nav .nav-link:last-child { border-bottom: none; } /* Footer Mobile */ .site-footer .footer-container { grid-template-columns: 1fr; /* Single column layout */ gap: 0; /* Remove gap for single column */ } .site-footer .footer-col { margin-bottom: 30px; } .site-footer .footer-description { padding-right: 0; } .site-footer .footer-top-section, .site-footer .footer-middle-section, .site-footer .footer-bottom-section { padding-bottom: 15px; margin-bottom: 15px; } } /* No-scroll class for body when menu is open */ 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;
  }
}
