:root { --primary: #2F6BFF; --secondary: #6FA3FF; --bg: #F4F7FB; --card-bg: #FFFFFF; --text-main: #1F2D3D; --border: #D6E2FF; --glow: #A5C4FF; --header-offset: 122px; --btn-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); } *, *::before, *::after { box-sizing: border-box; } body { margin: 0; padding-top: var(--header-offset); font-family: 'Segoe UI', Roboto, Arial, sans-serif; color: var(--text-main); background-color: var(--bg); } .site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; background-color: #FFFFFF; box-shadow: 0 4px 16px rgba(47, 107, 255, 0.18); border-bottom: 1px solid var(--border); } .header-top { box-sizing: border-box; height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; background-color: #FFFFFF; width: 100%; border-bottom: 1px solid var(--border); } .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: 30px; font-weight: 800; letter-spacing: 1px; color: var(--primary); text-decoration: none; line-height: 1; } .logo:hover { color: var(--secondary); } .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; cursor: pointer; font-weight: 700; border-radius: 8px; border: none; transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease; font-size: 14px; line-height: 1.2; padding: 10px 20px; white-space: nowrap; } .btn:hover { transform: translateY(-1px); filter: brightness(1.07); box-shadow: 0 4px 12px rgba(47, 107, 255, 0.35); } .btn-login { background-color: transparent; color: var(--primary); border: 2px solid var(--primary); } .btn-login:hover { background-color: rgba(47, 107, 255, 0.1); } .btn-register { background: var(--btn-gradient); color: #FFFFFF; box-shadow: 0 3px 10px rgba(47, 107, 255, 0.35); } .hamburger-menu { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 44px; height: 44px; background: transparent; border: none; cursor: pointer; padding: 0; z-index: 1002; } .hamburger-menu span { display: block; width: 26px; height: 3px; background-color: var(--primary); 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); } .main-nav { box-sizing: border-box; height: 52px; min-height: 52px; display: flex; align-items: center; overflow: hidden; background-color: var(--primary); width: 100%; } .nav-container { box-sizing: border-box; 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 16px; } .nav-link { display: inline-block; color: #FFFFFF; text-decoration: none; font-weight: 600; font-size: 14px; padding: 8px 12px; border-radius: 6px; transition: background-color 0.2s ease, color 0.2s ease; white-space: nowrap; } .nav-link:hover { background-color: rgba(255, 255, 255, 0.18); color: #FFFFFF; } .nav-link.active { background-color: var(--secondary); color: #FFFFFF; } .mobile-menu-overlay { display: none; position: fixed; inset: 0; background-color: rgba(15, 32, 60, 0.55); z-index: 999; opacity: 0; transition: opacity 0.3s ease; } .mobile-menu-overlay.active { display: block; opacity: 1; } .site-footer { background-color: #0F2050; color: #D6E2FF; margin-top: 48px; } .footer-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; } .footer-top-row { padding: 0; } .footer-top { padding-top: 48px; padding-bottom: 32px; } .footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 24px; align-items: start; } .footer-col { min-width: 0; } .footer-logo { display: inline-block; font-size: 28px; font-weight: 800; color: #FFFFFF; text-decoration: none; margin-bottom: 14px; letter-spacing: 1px; } .footer-logo:hover { color: var(--secondary); } .footer-description { margin: 0 0 14px; font-size: 14px; line-height: 1.7; color: #B9CCF2; word-wrap: break-word; overflow-wrap: break-word; } .footer-heading { font-size: 16px; font-weight: 700; color: #FFFFFF; margin: 0 0 14px; } .footer-nav { list-style: none; margin: 0; padding: 0; } .footer-nav li { margin-bottom: 10px; } .footer-nav a { color: #B9CCF2; text-decoration: none; font-size: 14px; transition: color 0.2s ease; } .footer-nav a:hover { color: #FFFFFF; text-decoration: underline; } .footer-dynamic-col { min-height: 24px; } .footer-mid { padding: 8px 0 24px; } .footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 14px; } .footer-bottom-slot { padding: 0 0 12px; } .footer-bottom { border-top: 1px solid rgba(111, 163, 255, 0.28); padding: 20px 0 26px; background-color: #0A1738; } .footer-bottom p { margin: 0; text-align: center; font-size: 13px; color: #9FB6E0; word-wrap: break-word; overflow-wrap: break-word; } .footer-slot-anchor-inner { min-height: 1px; } @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; } .logo { flex: 1 !important; display: flex !important; justify-content: center !important; align-items: center !important; text-align: center; font-size: 26px; } .hamburger-menu { display: flex; position: absolute; left: 12px; top: 50%; transform: translateY(-50%); } .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: 8px 15px; overflow: hidden; gap: 10px; flex-wrap: nowrap; background-color: #FFFFFF; border-bottom: 1px solid var(--border); } .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: var(--header-offset); left: 0; right: 0; width: 100%; height: auto !important; max-height: calc(100vh - var(--header-offset)); overflow-y: auto; background-color: var(--primary); transform: translateX(-100%); transition: transform 0.3s ease; z-index: 1001; padding: 8px 0; } .main-nav.active { display: block; transform: translateX(0); } .nav-container { width: 100%; max-width: none; padding: 8px 15px; flex-direction: column; justify-content: flex-start; align-items: stretch; gap: 0; height: auto; } .nav-link { display: block; width: 100%; padding: 12px 14px; font-size: 15px; border-radius: 6px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); } .nav-link:last-child { border-bottom: none; } .mobile-menu-overlay.active { display: block; opacity: 1; } body.no-scroll { overflow: hidden; } .footer-top-grid { grid-template-columns: 1fr; gap: 26px; } .footer-mid-grid { grid-template-columns: 1fr 1fr; gap: 12px; } .footer-container { padding: 0 16px; } .footer-top { padding-top: 32px; padding-bottom: 22px; } .footer-logo { font-size: 24px; } .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;
}
