:root { --header-offset: 122px; --primary: #2F6BFF; --secondary: #6FA3FF; --btn-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); --bg: #F4F7FB; --card-bg: #FFFFFF; --text-main: #1F2D3D; --text-black: #000000; --border-color: #D6E2FF; --glow: #A5C4FF; } *, *::before, *::after { box-sizing: border-box; } body { margin: 0; padding-top: var(--header-offset); background-color: var(--bg); color: var(--text-main); font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; overflow-x: hidden; } .site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; background-color: var(--card-bg); box-shadow: 0 4px 20px rgba(47, 107, 255, 0.15); border-bottom: 1px solid var(--border-color); } .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: 24px; padding-right: 24px; } .logo { display: inline-block; font-size: 24px; font-weight: 800; color: var(--primary); text-decoration: none; letter-spacing: 0.5px; white-space: nowrap; background: linear-gradient(90deg, var(--primary), var(--secondary)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; } .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; font-weight: 700; border-radius: 8px; padding: 10px 22px; font-size: 15px; line-height: 1.2; transition: all 0.25s ease; border: none; cursor: pointer; white-space: nowrap; } .btn-login { background-color: transparent; color: var(--primary); border: 2px solid var(--primary); } .btn-login:hover { background-color: var(--glow); } .btn-register { background: var(--btn-gradient); color: #FFFFFF; box-shadow: 0 4px 14px rgba(47, 107, 255, 0.35); } .btn-register:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(47, 107, 255, 0.45); } .main-nav { box-sizing: border-box; min-height: 52px; height: 52px; display: flex; align-items: center; overflow: hidden; background-color: var(--primary); 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; gap: 4px; } .nav-link { display: inline-block; color: rgba(255, 255, 255, 0.9); text-decoration: none; font-size: 14px; font-weight: 600; padding: 6px 12px; border-radius: 6px; transition: background-color 0.2s ease, color 0.2s ease; white-space: nowrap; } .nav-link:hover, .nav-link.active { color: #FFFFFF; background-color: rgba(255, 255, 255, 0.18); } .hamburger-menu { display: none; } .mobile-overlay { display: none; } .site-footer { background-color: #0B1E45; color: #C7D6F5; padding: 50px 20px 0; border-top: 3px solid var(--primary); } .footer-container { max-width: 1200px; margin: 0 auto; } .footer-top { padding-bottom: 30px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); } .footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; } .footer-col { min-width: 0; } .footer-logo { display: inline-block; font-size: 22px; font-weight: 800; color: #FFFFFF; text-decoration: none; margin-bottom: 14px; } .footer-description { font-size: 14px; line-height: 1.7; color: #A8BCE0; word-wrap: break-word; overflow-wrap: break-word; margin: 0; } .footer-title { font-size: 16px; font-weight: 700; color: #FFFFFF; margin: 0 0 16px; padding-bottom: 8px; border-bottom: 2px solid var(--primary); display: inline-block; } .footer-nav { list-style: none; padding: 0; margin: 0; } .footer-nav li { margin-bottom: 10px; } .footer-nav a { color: #A8BCE0; text-decoration: none; font-size: 14px; transition: color 0.2s ease, padding-left 0.2s ease; } .footer-nav a:hover { color: #FFFFFF; padding-left: 4px; } .footer-mid { padding: 30px 0; } .footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 20px; } .footer-slot-anchor, .footer-slot-anchor-inner { display: block; } .footer-slot-anchor-inner { min-height: 0; } .footer-bottom { padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, 0.12); text-align: center; color: #8FA5CC; font-size: 13px; } .footer-bottom p { margin: 0; } @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; } .logo { position: absolute !important; left: 50% !important; transform: translateX(-50%) !important; display: inline-block !important; font-size: 20px !important; max-width: calc(100% - 100px); overflow: hidden; text-overflow: ellipsis; } .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; } .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: 108px; left: 0; width: 100%; flex-direction: column; background-color: var(--primary); transform: translateX(-100%); transition: transform 0.3s ease; overflow-y: auto; overflow-x: hidden; height: auto !important; max-height: calc(100vh - 108px); padding: 10px 0; } .main-nav.active { display: block; transform: translateX(0); } .nav-container { width: 100%; max-width: none; padding: 0 15px; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; height: auto; } .nav-link { display: block; width: 100%; padding: 12px 16px; font-size: 15px; border-radius: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.92); } .nav-link:hover, .nav-link.active { background-color: rgba(255, 255, 255, 0.15); color: #FFFFFF; } .hamburger-menu { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; background: transparent; border: none; padding: 0; cursor: pointer; z-index: 1001; } .hamburger-menu span { display: block; width: 24px; height: 3px; background-color: var(--primary); border-radius: 2px; transition: all 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); } .mobile-overlay { display: none; position: fixed; top: 108px; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.55); z-index: 999; } .mobile-overlay.active { display: block; } .mobile-nav-buttons { z-index: 1000; } .footer-top-grid { grid-template-columns: 1fr 1fr; } .footer-mid-grid { grid-template-columns: 1fr 1fr; } .footer-logo { font-size: 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; } .no-scroll { overflow: hidden; } } @media (max-width: 480px) { .footer-top-grid { grid-template-columns: 1fr; } .footer-mid-grid { grid-template-columns: 1fr; } }
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
