:root { --primary: #2F6BFF; --primary-light: #6FA3FF; --btn-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); --bg: #F4F7FB; --card-bg: #FFFFFF; --text-main: #1F2D3D; --border: #D6E2FF; --glow: #A5C4FF; --header-offset: 122px; } * { box-sizing: border-box; } body { margin: 0; padding-top: var(--header-offset); font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; color: var(--text-main); background-color: var(--bg); } a { text-decoration: none; color: inherit; } .site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; box-shadow: 0 4px 18px rgba(31, 45, 61, 0.12); background-color: var(--card-bg); } .header-top { width: 100%; height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; background-color: #0F2A66; box-sizing: border-box; } .header-container { width: 100%; height: 100%; max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding-left: 30px; padding-right: 30px; box-sizing: border-box; } .logo { display: inline-block; font-size: 30px; font-weight: 800; letter-spacing: 1px; color: #FFFFFF; line-height: 1; } .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 { display: none; min-height: 48px; box-sizing: border-box; } .btn { display: inline-block; padding: 10px 22px; border-radius: 8px; font-size: 15px; font-weight: 700; text-align: center; text-decoration: none; cursor: pointer; border: none; transition: transform 0.2s ease, box-shadow 0.2s ease; white-space: nowrap; } .btn-login { background: transparent; color: #FFFFFF; border: 1.5px solid #A5C4FF; } .btn-login:hover { background-color: rgba(165, 196, 255, 0.15); } .btn-register { background: var(--btn-gradient); color: #FFFFFF; box-shadow: 0 3px 10px rgba(47, 107, 255, 0.45); } .btn-register:hover { transform: translateY(-1px); box-shadow: 0 5px 14px rgba(47, 107, 255, 0.6); } .main-nav { width: 100%; height: 52px; min-height: 52px; display: flex; align-items: center; overflow: hidden; background-color: #FFFFFF; border-top: 1px solid var(--border); box-sizing: border-box; } .nav-container { width: 100%; height: 100%; max-width: 1200px; margin: 0 auto; display: flex; flex-direction: row; justify-content: center; align-items: center; gap: 4px; padding: 0 20px; box-sizing: border-box; } .nav-link { display: inline-block; padding: 8px 12px; font-size: 14px; font-weight: 600; color: var(--text-main); border-radius: 6px; transition: background-color 0.2s ease, color 0.2s ease; } .nav-link:hover { background-color: #E8F0FF; color: var(--primary); } .nav-link.active { background-color: #E8F0FF; color: var(--primary); } .hamburger-menu { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 10px; background: transparent; border: none; cursor: pointer; z-index: 1001; } .hamburger-menu span { display: block; width: 24px; height: 2.5px; background-color: #FFFFFF; border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; } .hamburger-menu.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); } .hamburger-menu.active span:nth-child(2) { opacity: 0; } .hamburger-menu.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); } .nav-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(15, 42, 102, 0.55); z-index: 999; opacity: 0; transition: opacity 0.3s ease; } .nav-overlay.active { display: block; opacity: 1; } .site-footer { background-color: #0F2A66; color: #DCE6F8; padding-top: 40px; margin-top: 60px; } .footer-container { max-width: 1200px; margin: 0 auto; padding: 0 30px; box-sizing: border-box; } .footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding-bottom: 30px; border-bottom: 1px solid rgba(214, 226, 255, 0.18); } .footer-col { min-width: 0; } .footer-about { grid-column: span 1; } .footer-logo { display: inline-block; font-size: 28px; font-weight: 800; color: #FFFFFF; margin-bottom: 14px; } .footer-description { font-size: 14px; line-height: 1.7; color: #B9C9E6; margin: 0; word-wrap: break-word; overflow-wrap: break-word; } .footer-heading { font-size: 16px; font-weight: 700; color: #FFFFFF; margin: 0 0 16px 0; } .footer-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; } .footer-nav li a { font-size: 14px; color: #B9C9E6; transition: color 0.2s ease; } .footer-nav li a:hover { color: #FFFFFF; text-decoration: underline; } .footer-dynamic-col { min-height: 1px; } .footer-mid { padding: 24px 0; } .footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; } .footer-slot-anchor-inner { min-height: 1px; } .footer-bottom { border-top: 1px solid rgba(214, 226, 255, 0.18); padding: 20px 0; text-align: center; } .footer-bottom p { margin: 0; font-size: 13px; color: #9FB1D1; } @media (max-width: 768px) { :root { --header-offset: 110px; } .header-top { height: 60px !important; min-height: 60px !important; } .header-container { width: 100%; max-width: none; padding-left: 15px; padding-right: 15px; } .hamburger-menu { display: flex; } .logo { flex: 1 !important; display: flex !important; justify-content: center !important; align-items: center !important; font-size: 26px; } .logo img { display: block !important; max-width: 100%; height: auto; max-height: 56px !important; } .desktop-nav-buttons { display: none !important; } .mobile-nav-buttons { display: flex !important; align-items: center; justify-content: center; width: 100%; max-width: 100%; min-height: 48px; padding: 8px 15px; gap: 10px; flex-wrap: nowrap; overflow: hidden; background-color: #0B2050; } .mobile-nav-buttons .btn { flex: 1; min-width: 0; max-width: calc(50% - 5px); padding: 8px 12px; font-size: 13px; white-space: normal; word-wrap: break-word; overflow-wrap: break-word; } .main-nav { height: 48px !important; min-height: 48px !important; display: none; flex-direction: column; position: fixed; top: var(--header-offset); left: 0; width: 100%; max-width: 100%; background-color: #FFFFFF; transform: translateX(-100%); transition: transform 0.3s ease; overflow-y: auto; overflow-x: hidden; z-index: 1001; box-shadow: 0 10px 24px rgba(31, 45, 61, 0.18); } .main-nav.active { display: block; transform: translateX(0); } .nav-container { width: 100%; max-width: none; height: auto; flex-direction: column; align-items: stretch; justify-content: flex-start; padding: 10px 15px; gap: 2px; } .nav-link { display: block; width: 100%; padding: 14px 12px; font-size: 15px; border-radius: 6px; } .footer-top-grid { grid-template-columns: 1fr; gap: 24px; } .footer-mid-grid { grid-template-columns: 1fr; } .footer-container { padding-left: 15px; padding-right: 15px; } .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;
  }
}
/* 内容保护（系统追加，请勿删除） */
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;
}
