:root { --primary-color: #2F6BFF; --secondary-color: #6FA3FF; --bg-color: #F4F7FB; --card-bg: #FFFFFF; --text-main: #1F2D3D; --text-black: #000000; --border-color: #D6E2FF; --glow-color: #A5C4FF; --btn-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); --header-offset: 122px; } * { box-sizing: border-box; } body { margin: 0; font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; color: var(--text-main); background-color: var(--bg-color); padding-top: var(--header-offset); } .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.16); } .header-top { box-sizing: border-box; min-height: 68px; height: 68px; display: flex; align-items: center; overflow: hidden; background-color: var(--card-bg); width: 100%; border-bottom: 1px solid var(--border-color); } .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: 28px; padding-right: 28px; } .logo { display: inline-block; font-size: 26px; font-weight: 800; letter-spacing: 0.5px; text-decoration: none; color: var(--primary-color); background: var(--btn-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; 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 { box-sizing: border-box; display: none; min-height: 48px; } .btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 22px; border-radius: 8px; font-size: 14px; font-weight: 700; text-decoration: none; border: none; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease; white-space: nowrap; line-height: 1.2; } .btn-login { background-color: var(--card-bg); color: var(--primary-color); border: 2px solid var(--primary-color); } .btn-login:hover { background-color: #EEF3FF; transform: translateY(-1px); } .btn-register { background: var(--btn-gradient); color: #FFFFFF; border: 2px solid transparent; box-shadow: 0 6px 16px rgba(47, 107, 255, 0.32); } .btn-register:hover { filter: brightness(1.06); transform: translateY(-1px); box-shadow: 0 8px 22px rgba(47, 107, 255, 0.42); } .main-nav { box-sizing: border-box; min-height: 52px; height: 52px; display: flex; align-items: center; overflow: hidden; background-color: var(--primary-color); width: 100%; } .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; } .nav-list { display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 4px; list-style: none; margin: 0; padding: 0; height: 100%; } .nav-link { display: inline-flex; align-items: center; height: 100%; padding: 0 12px; font-size: 14px; font-weight: 600; color: #FFFFFF; text-decoration: none; border-radius: 6px; transition: background-color 0.2s ease, color 0.2s ease; } .nav-link:hover { background-color: rgba(255, 255, 255, 0.16); color: #FFFFFF; } .nav-link.active { background-color: #FFFFFF; color: var(--primary-color); } .hamburger-menu { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 0; background: transparent; border: none; cursor: pointer; z-index: 1001; } .hamburger-menu span { display: block; width: 26px; height: 3px; border-radius: 3px; background-color: var(--primary-color); transition: transform 0.3s ease, opacity 0.3s ease; margin: 0 auto; } .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); } .nav-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(31, 45, 61, 0.55); z-index: 999; opacity: 0; transition: opacity 0.3s ease; } .nav-overlay.active { display: block; opacity: 1; } .site-footer { background-color: #0F1B33; color: #DCE6F7; margin-top: 40px; } .footer-container { max-width: 1200px; margin: 0 auto; padding: 0 28px; width: 100%; box-sizing: border-box; } .footer-top { padding: 44px 0 24px; } .footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; align-items: start; } .footer-col { min-width: 0; } .footer-about .footer-logo { display: inline-block; font-size: 26px; font-weight: 800; text-decoration: none; color: #FFFFFF; background: linear-gradient(180deg, #A5C4FF 0%, #6FA3FF 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 12px; } .footer-description { font-size: 14px; line-height: 1.7; color: #B9C8E3; margin: 0 0 12px; word-wrap: break-word; overflow-wrap: break-word; } .footer-col-title { font-size: 16px; font-weight: 700; color: #FFFFFF; margin: 0 0 14px; } .footer-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; } .footer-nav li { margin: 0; } .footer-nav a { color: #B9C8E3; text-decoration: none; font-size: 14px; line-height: 1.5; transition: color 0.2s ease; word-wrap: break-word; overflow-wrap: break-word; } .footer-nav a:hover { color: #FFFFFF; text-decoration: underline; } .footer-dynamic-col { min-height: 10px; } .footer-slot-anchor-top, .footer-slot-anchor-inner { display: block; width: 100%; } .footer-mid { display: flex; flex-direction: column; gap: 12px; padding-bottom: 16px; } .footer-mid-rows { display: flex; flex-direction: column; gap: 10px; } .footer-mid-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; } .footer-bottom { border-top: 1px solid rgba(214, 226, 255, 0.2); padding: 18px 0; background-color: #0A1426; } .footer-copyright { margin: 0; text-align: center; font-size: 13px; color: #9FB2D4; line-height: 1.6; } @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: 12px; padding-right: 12px; justify-content: space-between; position: relative; } .hamburger-menu { display: flex; } .logo { flex: 1 !important; display: flex !important; justify-content: center !important; align-items: center !important; font-size: 22px; margin: 0 8px; } .logo img { display: block !important; max-width: 100%; height: auto; max-height: 56px; } .desktop-nav-buttons { display: none !important; } .mobile-nav-buttons { display: flex !important; align-items: center; justify-content: center; min-height: 48px; width: 100%; max-width: 100%; box-sizing: border-box; padding-left: 12px; padding-right: 12px; overflow: hidden; gap: 10px; flex-wrap: nowrap; } .mobile-nav-buttons .btn { flex: 1; 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 { min-height: 48px !important; height: 48px !important; display: none; position: fixed; top: 0; left: 0; width: 260px; max-width: 82%; height: 100vh !important; min-height: 100vh !important; background-color: var(--primary-color); flex-direction: column; align-items: stretch; justify-content: flex-start; overflow-y: auto; transform: translateX(-100%); transition: transform 0.3s ease; z-index: 1001; padding-top: 80px; box-shadow: 6px 0 24px rgba(0, 0, 0, 0.25); } .main-nav.active { display: block; transform: translateX(0); } .nav-container { width: 100%; max-width: none; padding: 0 12px 24px; flex-direction: column; align-items: stretch; justify-content: flex-start; height: auto; } .nav-list { flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 4px; height: auto; width: 100%; } .nav-list li { width: 100%; } .nav-link { display: block; width: 100%; padding: 12px 14px; font-size: 15px; height: auto; border-radius: 8px; } .footer-top-grid { grid-template-columns: 1fr; gap: 24px; } .footer-mid-row { grid-template-columns: 1fr 1fr; gap: 12px; } .footer-container { padding: 0 16px; } .footer-top { padding: 32px 0 20px; } .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;
}
