:root { --primary: #2F6BFF; --secondary: #6FA3FF; --btn-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); --card-bg: #FFFFFF; --page-bg: #F4F7FB; --text-main: #1F2D3D; --border-color: #D6E2FF; --glow: #A5C4FF; --header-offset: 122px; } *, *::before, *::after { box-sizing: border-box; } body { margin: 0; padding-top: var(--header-offset); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; color: var(--text-main); background-color: var(--page-bg); line-height: 1.5; } .site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; box-shadow: 0 4px 16px rgba(47, 107, 255, 0.15); } .header-top { height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; background-color: var(--primary); width: 100%; } .header-container { width: 100%; max-width: 1200px; height: 100%; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding-left: 24px; padding-right: 24px; } .logo { display: inline-block; font-size: 24px; font-weight: 800; color: #FFFFFF; text-decoration: none; letter-spacing: 0.5px; white-space: nowrap; } .logo:hover { color: var(--glow); } .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-flex; align-items: center; justify-content: center; text-decoration: none; border-radius: 8px; font-weight: 700; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease; border: none; white-space: nowrap; } .btn-login { background: transparent; color: #FFFFFF; border: 2px solid #FFFFFF; padding: 9px 20px; font-size: 14px; } .btn-login:hover { background: #FFFFFF; color: var(--primary); transform: translateY(-2px); } .btn-register { background: var(--btn-gradient); color: #FFFFFF; padding: 11px 22px; font-size: 14px; box-shadow: 0 4px 14px rgba(47, 107, 255, 0.45); } .btn-register:hover { filter: brightness(1.08); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(47, 107, 255, 0.6); } .main-nav { height: 52px; min-height: 52px; display: flex; align-items: center; overflow: hidden; background-color: #FFFFFF; width: 100%; border-top: 1px solid var(--border-color); } .nav-container { height: 100%; max-width: 1200px; margin: 0 auto; display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 0 24px; width: 100%; } .hamburger-menu { display: none; flex-direction: column; justify-content: space-between; width: 28px; height: 20px; background: transparent; border: none; cursor: pointer; padding: 0; z-index: 1001; } .hamburger-line { display: block; width: 100%; height: 3px; background-color: var(--primary); border-radius: 2px; transition: all 0.3s ease; } .hamburger-menu.active .hamburger-line:nth-child(1) { transform: translateY(8.5px) rotate(45deg); } .hamburger-menu.active .hamburger-line:nth-child(2) { opacity: 0; } .hamburger-menu.active .hamburger-line:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); } .nav-list { display: flex; flex-direction: row; align-items: center; justify-content: center; list-style: none; margin: 0; padding: 0; gap: 6px; } .nav-item { display: flex; } .nav-link { display: inline-block; padding: 8px 12px; font-size: 14px; font-weight: 600; color: var(--text-main); text-decoration: none; border-radius: 6px; transition: background-color 0.2s ease, color 0.2s ease; white-space: nowrap; } .nav-link:hover, .nav-link.active { background-color: var(--glow); color: var(--primary); } .menu-overlay { display: none; } .site-footer { background-color: #0B1B3A; color: #C9D6F0; margin-top: 40px; } .footer-top-row { max-width: 1200px; margin: 0 auto; padding: 0 24px; } .footer-container { max-width: 1200px; margin: 0 auto; padding: 40px 24px 20px; } .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: 22px; font-weight: 800; color: #FFFFFF; text-decoration: none; margin-bottom: 14px; letter-spacing: 0.5px; } .footer-logo:hover { color: var(--glow); } .footer-description { font-size: 14px; line-height: 1.7; color: #B3C4E0; margin: 0 0 14px; word-wrap: break-word; overflow-wrap: break-word; } .footer-heading { font-size: 16px; font-weight: 700; color: #FFFFFF; margin: 0 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--primary); display: inline-block; } .footer-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; } .footer-nav li { margin: 0; } .footer-nav a { display: inline-block; font-size: 14px; color: #B3C4E0; text-decoration: none; transition: color 0.2s ease, padding-left 0.2s ease; padding: 2px 0; } .footer-nav a:hover { color: var(--glow); padding-left: 4px; } .footer-mid-area { max-width: 1200px; margin: 0 auto; padding: 0 24px; } .footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 20px; } .footer-slot-anchor-inner { width: 100%; } .footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); padding: 20px 24px; text-align: center; background-color: #081428; } .footer-copyright { margin: 0; font-size: 13px; color: #8FA3C6; } @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; position: relative; height: 100%; } .logo { flex: 1 !important; display: flex !important; justify-content: center !important; align-items: center !important; font-size: 18px; padding-left: 44px; } .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%; box-sizing: border-box; padding-left: 15px; padding-right: 15px; overflow: hidden; gap: 10px; flex-wrap: nowrap; background-color: var(--primary); } .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; } .mobile-nav-buttons .btn-login { border-width: 1.5px; padding: 7px 12px; } .mobile-nav-buttons .btn-register { padding: 8px 12px; } .main-nav { min-height: 48px !important; height: 48px !important; background-color: #FFFFFF; position: static; display: flex; align-items: center; justify-content: flex-start; padding-left: 15px; padding-right: 15px; } .nav-container { width: 100%; max-width: none; padding-left: 0; padding-right: 0; justify-content: flex-start; } .hamburger-menu { display: flex; position: relative; z-index: 1001; } .nav-list { position: fixed; top: 0; left: 0; width: 280px; max-width: 85vw; height: 100vh; background-color: #FFFFFF; flex-direction: column; align-items: flex-start; justify-content: flex-start; padding: 80px 20px 20px; gap: 4px; transform: translateX(-100%); transition: transform 0.3s ease; z-index: 1001; box-shadow: 4px 0 20px rgba(0,0,0,0.15); overflow-y: auto; display: none; } .nav-list.active { display: flex; transform: translateX(0); } .nav-item { width: 100%; } .nav-link { display: block; width: 100%; padding: 12px 14px; font-size: 15px; color: var(--text-main); border-radius: 6px; } .menu-overlay { display: block; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); z-index: 999; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; } .menu-overlay.active { opacity: 1; visibility: visible; } body.no-scroll { overflow: hidden; } .footer-top-grid { grid-template-columns: 1fr; gap: 24px; } .footer-mid-grid { grid-template-columns: 1fr; gap: 16px; } .footer-container { padding: 30px 15px 16px; } .footer-top-row { padding: 0 15px; } .footer-mid-area { padding: 0 15px; } .footer-bottom { padding: 16px 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; } }
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
