:root { --primary-color: #26A9E0; /* Main brand color: Light Blue */ --secondary-color: #FFFFFF; /* White */ --login-color: #EA7C07; /* Orange for Login */ --background-color: #FFFFFF; /* White background */ --black-color: #000000; /* Black */ /* Neon dynamic colors - derived from primary/secondary or vibrant alternatives */ --neon-primary: var(--primary-color); --neon-secondary: #00ffff; /* Cyan */ --neon-accent: #ff00ff; /* Magenta */ --neon-flicker-color: #ffcc00; /* Neon Yellow for flicker */ --neon-pulse-color: #00ff00; /* Neon Green for pulse */ /* Header offset based on marquee + header elements */ --marquee-height-desktop: 44px; --marquee-height-mobile: 36px; --header-top-height-desktop: 68px; --header-top-height-mobile: 60px; --main-nav-height-desktop: 52px; --main-nav-height-mobile: 48px; --mobile-nav-buttons-height-mobile: 48px; /* Minimum height */ --header-offset: calc(var(--marquee-height-desktop) + var(--header-top-height-desktop) + var(--main-nav-height-desktop)); /* 44 + 68 + 52 = 164px */ } body { margin: 0; font-family: Arial, sans-serif; color: #333; line-height: 1.6; background-color: var(--background-color); padding-top: var(--header-offset); /* Important: Apply header offset here */ } /* Base Neon 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), inset 0 0 10px rgba(38, 169, 224, 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, 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: #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%); } } @keyframes neon-flicker { 0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% { opacity: 1; box-shadow: 0 0 10px var(--neon-flicker-color), 0 0 20px var(--neon-flicker-color), 0 0 30px var(--neon-flicker-color), inset 0 0 15px var(--neon-flicker-color); } 20%, 24%, 55% { opacity: 0.8; box-shadow: 0 0 5px var(--neon-flicker-color), 0 0 10px var(--neon-flicker-color), 0 0 15px var(--neon-flicker-color), inset 0 0 10px var(--neon-flicker-color); } } @keyframes pulse-glow { from { box-shadow: 0 0 5px var(--neon-pulse-color), 0 0 10px var(--neon-pulse-color); } to { box-shadow: 0 0 15px var(--neon-pulse-color), 0 0 30px var(--neon-pulse-color), 0 0 45px var(--neon-pulse-color); } } /* Marquee Section */ .marquee-section { position: fixed; top: 0; left: 0; width: 100%; height: var(--marquee-height-desktop); /* 44px */ box-sizing: border-box; background: linear-gradient(135deg, #0a0a0a, #1a1a2e, #16213e); /* Dark background */ color: #ffffff; overflow: hidden; 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(38, 169, 224, 0.1); z-index: 1001; } .marquee-container { width: 100%; max-width: 100%; height: 100%; margin: 0 auto; overflow: hidden; display: flex; align-items: center; gap: 15px; padding: 0 20px; 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; } .marquee-content { display: inline-flex; align-items: center; white-space: nowrap; animation: marquee-scroll 30s linear infinite; gap: 30px; } .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); } /* Site Header */ .site-header { position: fixed; top: var(--marquee-height-desktop); /* Position below marquee */ left: 0; width: 100%; z-index: 1000; background: linear-gradient(135deg, #0a0a0a, #1a1a2e, #16213e); /* Dark background */ 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(38, 169, 224, 0.1); } .header-top { box-sizing: border-box; height: var(--header-top-height-desktop); /* 68px */ display: flex; align-items: center; overflow: hidden; padding: 0 20px; } .header-container { box-sizing: border-box; width: 100%; max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; } /* Logo */ .logo { font-size: 24px; font-weight: bold; color: var(--secondary-color); /* White, no neon glow */ text-decoration: none; display: block; /* Ensures it takes up space and can be aligned */ padding: 5px 0; /* Some vertical padding for visual balance */ } .logo img { display: block; max-width: 100%; height: auto; max-height: 60px; /* Max height for desktop logo */ } /* Desktop Navigation Buttons */ .desktop-nav-buttons { display: flex; gap: 12px; align-items: center; } /* Mobile Navigation Buttons (hidden on desktop) */ .mobile-nav-buttons { display: none; /* Hidden by default on desktop */ } /* Hamburger Menu (hidden on desktop) */ .hamburger-menu { display: none; /* Hidden by default on desktop */ background: transparent; border: none; cursor: pointer; padding: 10px; z-index: 1002; /* Above mobile menu overlay */ position: relative; } .hamburger-line { display: block; width: 30px; height: 3px; background-color: var(--neon-primary); /* Use neon color */ margin: 6px 0; transition: all 0.3s ease; box-shadow: 0 0 5px var(--neon-primary), 0 0 10px var(--neon-primary); /* Neon glow */ } .hamburger-menu.active .hamburger-line:nth-child(1) { transform: translateY(9px) rotate(45deg); } .hamburger-menu.active .hamburger-line:nth-child(2) { opacity: 0; } .hamburger-menu.active .hamburger-line:nth-child(3) { transform: translateY(-9px) rotate(-45deg); } /* Main Navigation */ .main-nav { box-sizing: border-box; height: var(--main-nav-height-desktop); /* 52px */ display: flex; /* Desktop: flex for horizontal menu */ align-items: center; overflow: hidden; background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460); /* Different dark background */ border-top: 2px solid; /* Top border for distinction */ animation: theme-colors 4s ease-in-out infinite reverse; /* Dynamic border color, reversed animation */ 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(0, 255, 255, 0.1); } .nav-container { box-sizing: border-box; width: 100%; max-width: 1200px; margin: 0 auto; height: 100%; display: flex; align-items: center; justify-content: center; /* Center nav items */ padding: 0 20px; } .nav-link { color: var(--secondary-color); /* White, regular style */ text-decoration: none; font-weight: 600; padding: 10px 15px; transition: color 0.3s ease, background-color 0.3s ease; white-space: nowrap; /* Prevent wrapping */ line-height: 1.2; /* Ensure text fits in fixed height */ } .nav-link:hover { color: var(--primary-color); /* Hover color */ background-color: rgba(255, 255, 255, 0.1); } /* Buttons */ .btn { position: relative; background: linear-gradient(135deg, var(--login-color), var(--neon-accent)); /* Orange to Magenta gradient */ padding: 12px 25px; color: #ffffff; 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 #ffffff, 0 0 10px var(--login-color); transition: all 0.3s ease; font-weight: bold; white-space: nowrap; /* Prevent button text wrapping on desktop */ } .btn:hover { animation-duration: 2s; /* Faster animation on hover */ transform: translateY(-2px); box-shadow: 0 0 15px var(--login-color), 0 0 30px var(--login-color), inset 0 0 15px rgba(234, 124, 7, 0.5); } /* 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; opacity: 0; transition: opacity 0.3s ease; } .mobile-menu-overlay.active { display: block; opacity: 1; } /* Footer */ .site-footer { background-color: #1a1a1a; /* Dark footer background */ color: #cccccc; padding: 40px 20px 20px; font-size: 14px; } .footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; max-width: 1200px; margin: 0 auto 30px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); padding-bottom: 30px; } .footer-col { padding: 0; } .footer-logo { font-size: 22px; font-weight: bold; color: var(--primary-color); /* Light blue for footer logo */ text-decoration: none; display: block; margin-bottom: 15px; } .footer-description { line-height: 1.6; word-wrap: break-word; /* Ensure full text display */ overflow-wrap: break-word; } .footer-heading { font-size: 16px; color: #ffffff; margin-bottom: 15px; text-transform: uppercase; } .footer-nav { list-style: none; padding: 0; margin: 0; } .footer-nav li { margin-bottom: 8px; } .footer-nav a { color: #cccccc; text-decoration: none; transition: color 0.3s ease; } .footer-nav a:hover { color: var(--primary-color); } .footer-dynamic-row { max-width: 1200px; margin: 20px auto; padding: 15px 0; border-top: 1px solid rgba(255, 255, 255, 0.1); border-bottom: 1px solid rgba(255, 255, 255, 0.1); } .footer-dynamic-row:last-of-type { border-bottom: none; } .footer-slot-anchor-inner { display: flex; flex-wrap: wrap; flex-direction: row; align-items: flex-start; gap: 8px; /* Default gap for mid slots */ width: 100%; } .footer-col.footer-dynamic-col .footer-slot-anchor-inner { gap: 5px; /* Smaller gap for column slot */ } .footer-slot-anchor-inner img { max-height: 50px; height: auto; width: auto; object-fit: contain; } .footer-bottom { max-width: 1200px; margin: 30px auto 0; text-align: center; color: #888888; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); } .footer-bottom p { margin: 0; } /* Responsive Styles */ @media (max-width: 1024px) { .footer-top-grid { grid-template-columns: repeat(2, 1fr); } .footer-col.footer-dynamic-col { grid-column: span 2; /* Make the dynamic column span two */ } } @media (max-width: 768px) { :root { --header-offset: calc(var(--marquee-height-mobile) + var(--header-top-height-mobile) + var(--mobile-nav-buttons-height-mobile)); /* 36 + 60 + 48 = 144px */ } body { overflow-x: hidden; /* Prevent horizontal scrolling */ } .page-content img { max-width: 100% !important; height: auto !important; display: block; } .page-content { overflow-x: hidden; max-width: 100%; } /* Marquee Mobile */ .marquee-section { height: var(--marquee-height-mobile) !important; /* 36px */ } .marquee-container { gap: 10px !important; padding: 0 12px !important; } .marquee-icon { width: 20px !important; height: 20px !important; } .marquee-icon-emoji { font-size: 14px !important; } .marquee-text { font-size: 14px !important; } .marquee-separator { font-size: 14px !important; margin: 0 10px !important; } .marquee-content { gap: 20px; animation: marquee-scroll 25s linear infinite; } /* Header Mobile */ .site-header { top: var(--marquee-height-mobile); /* Position below marquee */ } .header-top { height: var(--header-top-height-mobile); /* 60px */ padding: 0 15px; } .header-container { max-width: none; /* No max-width on mobile */ width: 100%; justify-content: space-between; /* Hamburger left, logo center, space right */ position: relative; /* For absolute logo positioning if needed */ } .hamburger-menu { display: block; /* Show hamburger menu */ order: 0; /* Leftmost */ flex-shrink: 0; } .logo { flex: 1 !important; /* Take remaining space */ display: flex !important; justify-content: center !important; align-items: center !important; padding: 0; /* Remove padding */ font-size: 20px; } .logo img { max-height: 56px !important; /* Max height for mobile logo */ } .desktop-nav-buttons { display: none; /* Hide desktop buttons */ } /* Mobile Navigation Buttons */ .mobile-nav-buttons { display: flex !important; /* Show mobile buttons */ width: 100%; max-width: 100%; box-sizing: border-box; padding: 10px 15px; /* Add vertical padding */ overflow: hidden; gap: 10px; justify-content: center; flex-wrap: nowrap; /* Ensure buttons stay in one line */ background: linear-gradient(135deg, #0f3460, #16213e); /* Dark background */ border-bottom: 1px solid; animation: theme-colors 4s ease-in-out infinite reverse; /* Dynamic border color */ box-shadow: 0 0 5px var(--neon-accent), 0 0 10px var(--neon-accent); height: var(--mobile-nav-buttons-height-mobile); /* 48px */ align-items: center; } .mobile-nav-buttons .btn { flex: 1; min-width: 0; max-width: calc(50% - 5px); /* Max width for two buttons with 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; } /* Mobile Main Navigation */ .main-nav { display: none; /* Hidden by default */ position: fixed; top: calc(var(--marquee-height-mobile) + var(--header-top-height-mobile) + var(--mobile-nav-buttons-height-mobile)); /* Position below header top and mobile buttons */ left: 0; width: 100%; height: calc(100% - (var(--marquee-height-mobile) + var(--header-top-height-mobile) + var(--mobile-nav-buttons-height-mobile))); /* Full height minus header */ flex-direction: column; background: rgba(10, 10, 10, 0.95); /* Semi-transparent dark background */ z-index: 1000; /* Above overlay */ transform: translateX(-100%); /* Start off-screen */ transition: transform 0.3s ease; overflow-y: auto; /* Scrollable if content is long */ padding: 20px 0; border-top: none; /* Remove desktop top border */ box-shadow: none; /* Remove desktop shadow */ } .main-nav.active { display: flex; /* Show menu */ transform: translateX(0); /* Slide in */ } .nav-container { flex-direction: column; align-items: flex-start; /* Align menu items to the left */ padding: 0 15px; max-width: none; /* No max-width on mobile */ width: 100%; } .nav-link { width: 100%; padding: 15px 10px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); font-size: 16px; } .nav-link:last-child { border-bottom: none; } /* Footer Mobile */ .footer-top-grid { grid-template-columns: 1fr; /* Single column layout */ gap: 20px; } .footer-col.footer-dynamic-col { grid-column: span 1; /* Reset span for single column */ } .footer-col { text-align: center; } .footer-heading { text-align: center; } .footer-nav { text-align: center; } .footer-slot-anchor-inner { justify-content: center; /* Center items in dynamic slots */ } } /* Ensure no-scroll class works */ 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;
  }
}
