/* CSS Variables */:root { --primary-color: #26A9E0; --secondary-color: #FFFFFF; --login-color: #EA7C07; --background-color: #FFFFFF; --black-color: #000000; /* Neon colors - based on primary/secondary, with dynamic alternatives */ --neon-primary: var(--primary-color); /* Light blue */ --neon-secondary: #00FFFF; /* Cyan */ --neon-accent: #FF00FF; /* Magenta */ --neon-glow-color-1: #26A9E0; /* Primary */ --neon-glow-color-2: #00FFFF; /* Cyan */ --neon-glow-color-3: #FF00FF; /* Magenta */ --neon-glow-color-4: #FFFF00; /* Yellow */ --neon-glow-color-5: #FF0000; /* Red */ --neon-glow-color-6: #EA7C07; /* Orange (Login color) */ /* Header Offset - Calculated based on all fixed elements */ /* Marquee (44px) + Header Top (68px) + Main Nav (52px) = 164px */ --header-offset: 166px; /* Desktop with marquee */ } /* Base Body Padding */ body { padding-top: var(--header-offset); margin: 0; font-family: Arial, sans-serif; line-height: 1.6; color: #e0e0e0; background-color: #1a1a1a; overflow-x: hidden; /* Prevent horizontal scroll */ } /* Shared Container */ .header-container, .nav-container, .footer-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; } /* Neon Animations */ @keyframes rainbow-border { 0% { border-color: var(--neon-glow-color-5); box-shadow: 0 0 10px var(--neon-glow-color-5), 0 0 20px var(--neon-glow-color-5); } 16.6% { border-color: var(--neon-glow-color-6); box-shadow: 0 0 10px var(--neon-glow-color-6), 0 0 20px var(--neon-glow-color-6); } 33.3% { border-color: var(--neon-glow-color-4); box-shadow: 0 0 10px var(--neon-glow-color-4), 0 0 20px var(--neon-glow-color-4); } 50% { border-color: var(--neon-glow-color-2); box-shadow: 0 0 10px var(--neon-glow-color-2), 0 0 20px var(--neon-glow-color-2); } 66.6% { border-color: var(--neon-glow-color-1); box-shadow: 0 0 10px var(--neon-glow-color-1), 0 0 20px var(--neon-glow-color-1); } 83.3% { border-color: var(--neon-glow-color-3); box-shadow: 0 0 10px var(--neon-glow-color-3), 0 0 20px var(--neon-glow-color-3); } 100% { border-color: var(--neon-glow-color-5); box-shadow: 0 0 10px var(--neon-glow-color-5), 0 0 20px var(--neon-glow-color-5); } } @keyframes theme-colors { 0%, 100% { border-color: var(--neon-glow-color-1); box-shadow: 0 0 10px var(--neon-glow-color-1), 0 0 20px var(--neon-glow-color-1); } 33% { border-color: var(--neon-glow-color-2); box-shadow: 0 0 10px var(--neon-glow-color-2), 0 0 20px var(--neon-glow-color-2); } 66% { border-color: var(--neon-glow-color-3); box-shadow: 0 0 10px var(--neon-glow-color-3), 0 0 20px var(--neon-glow-color-3); } } @keyframes text-glow-flow { 0% { text-shadow: 0 0 5px var(--neon-glow-color-1), 0 0 10px var(--neon-glow-color-1), 0 0 15px var(--neon-glow-color-1); color: var(--secondary-color); } 50% { text-shadow: 0 0 5px var(--neon-glow-color-2), 0 0 10px var(--neon-glow-color-2), 0 0 15px var(--neon-glow-color-2); color: var(--secondary-color); } 100% { text-shadow: 0 0 5px var(--neon-glow-color-3), 0 0 10px var(--neon-glow-color-3), 0 0 15px var(--neon-glow-color-3); color: var(--secondary-color); } } @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; } } /* Marquee Section */ .marquee-section { position: fixed; top: 0; left: 0; width: 100%; height: 44px; /* Desktop height */ box-sizing: border-box; background: linear-gradient(135deg, #0a0a0a, #1a1a2e, #16213e); 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(var(--neon-primary-rgb), 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)); } @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; } .marquee-text { font-size: 16px; font-weight: 600; color: var(--secondary-color); 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: var(--secondary-color); } .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: 44px; /* Matches marquee height */ left: 0; width: 100%; z-index: 1000; box-sizing: border-box; } .header-top { height: 68px; /* Desktop height */ display: flex; align-items: center; 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-glow-color-4), 0 0 20px var(--neon-glow-color-4), 0 0 30px var(--neon-glow-color-4), inset 0 0 20px rgba(255, 255, 0, 0.1); box-sizing: border-box; } .header-container { display: flex; justify-content: space-between; align-items: center; height: 100%; } /* Logo */ .logo { color: var(--secondary-color); font-size: 24px; font-weight: bold; text-decoration: none; display: block; /* Ensure visibility */ line-height: 1; /* Adjust line height for better alignment */ /* NO NEON EFFECTS FOR LOGO */ } .logo img { display: block; max-width: 100%; height: auto; max-height: 60px; /* Desktop max height */ object-fit: contain; } /* Desktop Nav Buttons */ .desktop-nav-buttons { display: flex; gap: 10px; } /* Mobile Nav Buttons - Hidden on desktop */ .mobile-nav-buttons { display: none; } /* Main Navigation */ .main-nav { height: 52px; /* Desktop height */ display: flex; flex-direction: row; position: static; /* Default desktop */ background: linear-gradient(135deg, #16213e, #1a1a2e, #0a0a0a); border-top: 2px solid; border-bottom: 2px solid; animation: rainbow-border 6s linear infinite; /* Different neon effect for nav */ box-shadow: 0 0 10px var(--neon-glow-color-5), 0 0 20px var(--neon-glow-color-5), 0 0 30px var(--neon-glow-color-5), inset 0 0 20px rgba(255, 0, 0, 0.1); box-sizing: border-box; } .nav-container { display: flex; justify-content: center; align-items: center; height: 100%; gap: 25px; } .nav-link { color: var(--secondary-color); text-decoration: none; font-size: 16px; font-weight: 500; padding: 5px 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 8px var(--neon-primary), 0 0 15px var(--neon-primary); } /* Hamburger Menu (Hidden on desktop) */ .hamburger-menu { display: none; /* Hidden by default on desktop */ background: transparent; border: none; cursor: pointer; padding: 10px; position: relative; z-index: 1002; } .hamburger-menu span { display: block; width: 25px; height: 3px; background-color: var(--neon-primary); margin-bottom: 5px; position: relative; border-radius: 3px; transition: all 0.3s ease-in-out; box-shadow: 0 0 5px var(--neon-primary); } .hamburger-menu span:last-child { margin-bottom: 0; } .hamburger-menu.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); } .hamburger-menu.active span:nth-child(2) { opacity: 0; } .hamburger-menu.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); } /* Buttons */ .btn { position: relative; background: linear-gradient(135deg, var(--neon-glow-color-6), var(--neon-glow-color-4)); /* Orange to Yellow */ padding: 12px 30px; 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-glow-color-6); transition: all 0.3s ease; font-weight: bold; white-space: nowrap; cursor: pointer; box-sizing: border-box; } .btn:hover { animation-duration: 2s; transform: translateY(-2px) scale(1.02); box-shadow: 0 0 15px var(--neon-glow-color-6), 0 0 30px var(--neon-glow-color-6), inset 0 0 15px rgba(234, 124, 7, 0.4); } /* Footer */ .site-footer { background-color: #111; color: #ccc; padding: 40px 0 20px; font-size: 14px; } .footer-container { display: flex; flex-direction: column; gap: 30px; } .footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; } .footer-col { display: flex; flex-direction: column; gap: 15px; } .footer-logo { color: var(--secondary-color); font-size: 22px; font-weight: bold; text-decoration: none; } .footer-description { color: #aaa; line-height: 1.6; word-wrap: break-word; overflow-wrap: break-word; } .site-footer h3 { color: var(--primary-color); font-size: 18px; margin-bottom: 15px; text-transform: uppercase; } .footer-nav { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; } .footer-nav a { color: #aaa; text-decoration: none; transition: color 0.3s ease; white-space: nowrap; /* Prevent breaking of double-word links */ } .footer-nav a:hover { color: var(--primary-color); } .footer-dynamic-col .footer-slot-anchor-inner, .footer-dynamic-row .footer-slot-anchor-inner { display: flex; flex-wrap: wrap; flex-direction: row; align-items: flex-start; gap: 8px; width: 100%; } .footer-dynamic-col .footer-slot-anchor-inner img, .footer-dynamic-row .footer-slot-anchor-inner img { max-height: 50px; height: auto; width: auto; object-fit: contain; } .footer-bottom { border-top: 1px solid #333; padding-top: 20px; text-align: center; color: #888; } .footer-bottom p { margin: 0; } /* Mobile Menu Overlay */ .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; transition: opacity 0.3s ease; opacity: 0; } .mobile-menu-overlay.active { display: block; opacity: 1; } /* Media Queries for Mobile */ @media (max-width: 768px) { /* Header Offset - Mobile */ /* Marquee (36px) + Header Top (60px) + Mobile Nav Buttons (48px) = 144px */ :root { --header-offset: 146px; } /* Mobile with marquee */ /* Marquee Section Mobile */ .marquee-section { height: 36px !important; padding-top: 0 !important; padding-bottom: 0 !important; } .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; } /* Site Header Mobile */ .site-header { top: 36px; /* Matches mobile marquee height */ } .header-top { height: 60px !important; padding: 0 15px; } .header-container { padding: 0; /* Container padding handled by header-top */ width: 100%; max-width: none; position: relative; /* For absolute logo positioning */ } /* Hamburger Menu Mobile */ .hamburger-menu { display: block; order: 1; margin-right: auto; /* Push logo to center */ padding: 0; width: 40px; height: 40px; display: flex; flex-direction: column; justify-content: center; align-items: center; } .hamburger-menu span { margin-bottom: 4px; } .hamburger-menu.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); } .hamburger-menu.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); } /* Logo Mobile - Centered */ .logo { order: 2; flex: 1 !important; display: flex !important; justify-content: center !important; align-items: center !important; font-size: 20px; position: absolute; left: 50%; transform: translateX(-50%); max-width: calc(100% - 100px); /* Adjust based on hamburger width */ } .logo img { max-height: 56px !important; /* Mobile max height */ } /* Desktop Nav Buttons Mobile - Hidden */ .desktop-nav-buttons { display: none; } /* Mobile Nav Buttons - Always visible */ .mobile-nav-buttons { display: flex !important; justify-content: center; align-items: center; width: 100%; max-width: 100%; box-sizing: border-box; padding: 8px 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-glow-color-6), 0 0 15px var(--neon-glow-color-6), inset 0 0 10px rgba(234, 124, 7, 0.2); gap: 10px; flex-wrap: nowrap; /* Prevent wrapping */ height: 48px; /* Mobile height */ } .mobile-nav-buttons .btn { flex: 1; min-width: 0; max-width: calc(50% - 5px); /* Account for gap */ padding: 8px 12px; font-size: 13px; white-space: normal; word-wrap: break-word; overflow-wrap: break-word; text-align: center; } /* Main Navigation Mobile */ .main-nav { display: none; /* Hidden by default */ flex-direction: column; position: fixed; top: calc(36px + 60px + 48px); /* Marquee + Header Top + Mobile Buttons */ left: 0; width: 100%; height: calc(100% - (36px + 60px + 48px)); /* Remaining viewport height */ background: #111; transform: translateX(-100%); /* Off-screen to the left */ transition: transform 0.3s ease; z-index: 1000; /* Above overlay */ overflow-y: auto; /* Scroll for long menus */ border: none; /* Remove desktop border */ box-shadow: none; /* Remove desktop shadow */ } .main-nav.active { display: flex; /* Show when active */ transform: translateX(0); /* Slide into view */ } .nav-container { flex-direction: column; align-items: flex-start; padding: 20px 15px; gap: 15px; width: 100%; max-width: none; } .nav-link { width: 100%; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); font-size: 18px; } .nav-link:last-child { border-bottom: none; } /* Footer Mobile */ .footer-top-grid { grid-template-columns: 1fr; /* Single column */ } .footer-col { align-items: center; text-align: center; } .footer-logo { font-size: 20px; } .footer-description { font-size: 13px; } .site-footer h3 { font-size: 16px; } .footer-nav { align-items: center; } .footer-nav a { font-size: 13px; } .footer-bottom { font-size: 12px; } /* Mobile Content Protection */ .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;
  }
}
