:root { --header-offset: 122px; --color-primary: #2F6BFF; --color-secondary: #6FA3FF; --color-btn: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); --color-bg: #F4F7FB; --color-card: #FFFFFF; --color-text: #1F2D3D; --color-border: #D6E2FF; --color-glow: #A5C4FF; } * { box-sizing: border-box; } body { padding-top: var(--header-offset); margin: 0; font-family: 'Segoe UI', Roboto, Arial, sans-serif; background-color: var(--color-bg); color: var(--color-text); } a { text-decoration: none; } .site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; box-shadow: 0 4px 18px rgba(47, 107, 255, 0.22); border-bottom: 1px solid var(--color-border); } .header-top { box-sizing: border-box; height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; background-color: #0F2A66; width: 100%; } .header-container { box-sizing: border-box; width: 100%; height: 100%; max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding-left: 24px; padding-right: 24px; position: relative; } .logo { display: inline-block; font-size: 26px; font-weight: 800; letter-spacing: 0.5px; color: #FFFFFF; white-space: nowrap; background: linear-gradient(180deg, #6FA3FF 0%, #FFFFFF 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; } .logo img { display: block; max-height: 60px; height: auto; width: auto; max-width: 280px; object-fit: contain; } .desktop-nav-buttons { display: flex; gap: 12px; align-items: center; } .mobile-nav-buttons { box-sizing: border-box; display: none; min-height: 48px; } .btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; border: none; cursor: pointer; border-radius: 8px; font-weight: 700; line-height: 1.2; text-align: center; transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease; } .desktop-nav-buttons .btn { padding: 10px 22px; font-size: 14px; } .btn-login { background-color: transparent; color: #FFFFFF; border: 1.5px solid var(--color-glow); box-shadow: 0 0 10px rgba(165, 196, 255, 0.35); } .btn-login:hover { background-color: rgba(165, 196, 255, 0.15); transform: translateY(-1px); } .btn-register { background: var(--color-btn); color: #FFFFFF; box-shadow: 0 4px 14px rgba(47, 107, 255, 0.45); } .btn-register:hover { filter: brightness(1.08); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(47, 107, 255, 0.55); } .hamburger-menu { display: none; } .main-nav { box-sizing: border-box; height: 52px; min-height: 52px; display: flex; align-items: center; overflow: hidden; background-color: #FFFFFF; width: 100%; border-top: 1px solid var(--color-border); } .nav-container { box-sizing: border-box; height: 100%; max-width: 1200px; margin: 0 auto; display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 0 20px; width: 100%; } .nav-menu { display: flex; flex-direction: row; justify-content: center; align-items: center; list-style: none; margin: 0; padding: 0; gap: 4px; height: 100%; } .nav-link { display: inline-flex; align-items: center; height: 100%; padding: 0 12px; font-size: 14px; font-weight: 600; color: var(--color-text); text-decoration: none; white-space: nowrap; position: relative; transition: color 0.2s ease; } .nav-link:hover, .nav-link.active { color: var(--color-primary); } .nav-link.active::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 3px; border-radius: 2px; background: var(--color-btn); } .nav-overlay { display: none; } .site-footer { background-color: #0F2A66; color: #DCE7FF; width: 100%; margin-top: 40px; border-top: 3px solid var(--color-primary); } .footer-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; width: 100%; box-sizing: border-box; } .footer-top { padding: 44px 0 28px; } .footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; } .footer-col { min-width: 0; } .footer-logo { display: inline-block; font-size: 24px; font-weight: 800; color: #FFFFFF; margin-bottom: 14px; } .footer-description { font-size: 14px; line-height: 1.7; color: #B9CCF2; margin: 0 0 14px; word-wrap: break-word; overflow-wrap: break-word; } .footer-title { font-size: 16px; font-weight: 700; color: #FFFFFF; margin: 0 0 14px; padding-bottom: 8px; border-bottom: 1px solid rgba(111, 163, 255, 0.35); } .footer-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; } .footer-nav a { color: #B9CCF2; font-size: 14px; text-decoration: none; transition: color 0.2s ease, padding-left 0.2s ease; } .footer-nav a:hover { color: #FFFFFF; padding-left: 4px; } .footer-slot-anchor, .footer-slot-anchor-inner { display: block; } .footer-mid { padding: 20px 0; border-top: 1px solid rgba(111, 163, 255, 0.2); } .footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; } .footer-slot-mid-row-1, .footer-slot-mid-row-2 { margin: 10px 0; } .footer-bottom { background-color: #0A1E4A; padding: 18px 0; border-top: 1px solid rgba(111, 163, 255, 0.2); } .footer-copyright { margin: 0; text-align: center; font-size: 13px; color: #9FB6E0; } @media (max-width: 768px) { :root { --header-offset: 110px; } .header-top { min-height: 60px !important; height: 60px !important; } .header-container { width: 100%; max-width: none; padding-left: 15px; padding-right: 15px; justify-content: space-between; } .logo { flex: 1 !important; display: flex !important; justify-content: center !important; align-items: center !important; text-align: center; font-size: 21px; } .logo img { display: block !important; max-width: 100%; height: auto; max-height: 56px; } .hamburger-menu { display: flex !important; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 40px; height: 40px; background: transparent; border: none; cursor: pointer; padding: 0; position: relative; z-index: 1002; flex: 0 0 auto; order: -1; } .hamburger-menu span { display: block; width: 24px; height: 3px; background-color: #FFFFFF; border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; } .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); } .desktop-nav-buttons { display: none !important; } .mobile-nav-buttons { display: flex !important; align-items: center; justify-content: center; width: 100%; max-width: 100%; box-sizing: border-box; padding-left: 15px; padding-right: 15px; min-height: 48px; height: 48px; overflow: hidden; gap: 10px; flex-wrap: nowrap; background-color: #143A85; } .mobile-nav-buttons .btn { flex: 1 1 0; min-width: 0; max-width: calc(50% - 5px); box-sizing: border-box; padding: 8px 12px; font-size: 13px; white-space: normal; word-wrap: break-word; overflow-wrap: break-word; } .main-nav { display: none; flex-direction: column; justify-content: flex-start; align-items: stretch; position: fixed; top: 0; left: 0; width: 82%; max-width: 320px; height: 100vh; min-height: 100vh; background-color: #0F2A66; z-index: 1001; transform: translateX(-100%); transition: transform 0.3s ease; overflow-y: auto; padding-top: 120px; box-shadow: 6px 0 24px rgba(0, 0, 0, 0.35); } .main-nav.active, .main-nav.open { display: block; transform: translateX(0); } .nav-container { width: 100%; max-width: none; padding: 0; height: auto; display: block; } .nav-menu { flex-direction: column; align-items: stretch; gap: 0; width: 100%; height: auto; } .nav-menu li { width: 100%; border-bottom: 1px solid rgba(111, 163, 255, 0.18); } .nav-link { display: block; width: 100%; height: auto; padding: 15px 24px; font-size: 15px; color: #DCE7FF; } .nav-link:hover, .nav-link.active { color: #FFFFFF; background-color: rgba(111, 163, 255, 0.16); } .nav-link.active::after { display: none; } .nav-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(10, 20, 40, 0.6); z-index: 999; } .nav-overlay.active { display: block; } body.no-scroll { overflow: hidden; } .footer-top-grid { grid-template-columns: 1fr; gap: 24px; } .footer-mid-grid { grid-template-columns: 1fr 1fr; } .footer-top { padding: 32px 0 20px; } .footer-container { padding: 0 16px; } .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;
  }
}
/* 内容保护（系统追加，请勿删除） */
body {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
input, textarea, select, [contenteditable="true"] {
  -webkit-user-select: text;
  -moz-user-select: text;
  user-select: text;
}
