:root { --primary: #2F6BFF; --secondary: #6FA3FF; --btn-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); --bg-page: #F4F7FB; --card-bg: #FFFFFF; --text-main: #1F2D3D; --text-black: #000000; --border-color: #D6E2FF; --glow: #A5C4FF; --header-offset: 122px; } body { padding-top: var(--header-offset); margin: 0; } .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.18); background-color: #FFFFFF; } .header-top { box-sizing: border-box; min-height: 68px; height: 68px; display: flex; align-items: center; overflow: hidden; background-color: #1F2D3D; width: 100%; } .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; color: #FFFFFF; font-size: 26px; font-weight: 800; letter-spacing: 0.5px; text-decoration: none; line-height: 1; } .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 { box-sizing: border-box; display: none; min-height: 48px; } .btn { display: inline-block; text-decoration: none; text-align: center; border: none; cursor: pointer; font-weight: 700; border-radius: 8px; box-sizing: border-box; transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease; white-space: nowrap; padding: 10px 20px; font-size: 14px; line-height: 1.2; } .btn:hover { transform: translateY(-1px); filter: brightness(1.06); } .btn-login { background-color: transparent; color: #FFFFFF; border: 1.5px solid var(--glow); } .btn-login:hover { background-color: rgba(165, 196, 255, 0.15); color: #FFFFFF; } .btn-register { background: var(--btn-gradient); color: #FFFFFF; box-shadow: 0 4px 12px rgba(47, 107, 255, 0.4); } .btn-register:hover { box-shadow: 0 6px 18px rgba(47, 107, 255, 0.55); } .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: 1001; } .hamburger-line { 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 .hamburger-line:nth-child(1) { transform: translateY(7.5px) rotate(45deg); } .hamburger-menu.active .hamburger-line:nth-child(2) { opacity: 0; } .hamburger-menu.active .hamburger-line:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); } .main-nav { box-sizing: border-box; min-height: 52px; height: 52px; display: flex; align-items: center; overflow: hidden; background-color: #2F6BFF; 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: #FFFFFF; text-decoration: none; font-size: 14px; font-weight: 600; padding: 8px 12px; border-radius: 6px; transition: background-color 0.2s ease, color 0.2s ease; white-space: nowrap; line-height: 1.2; } .nav-link:hover { background-color: rgba(255, 255, 255, 0.18); color: #FFFFFF; } .nav-link.active { background-color: #FFFFFF; color: #2F6BFF; } .nav-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); z-index: 999; opacity: 0; transition: opacity 0.3s ease; } .nav-overlay.active { display: block; opacity: 1; } .site-footer { background-color: #1F2D3D; color: #FFFFFF; padding: 50px 20px 0; box-sizing: border-box; } .footer-top-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding-bottom: 30px; } .footer-col { box-sizing: border-box; min-width: 0; } .footer-logo { display: inline-block; color: #FFFFFF; font-size: 26px; font-weight: 800; text-decoration: none; letter-spacing: 0.5px; margin-bottom: 16px; } .footer-logo:hover { color: var(--glow); } .footer-description { color: #C9D6E8; font-size: 14px; line-height: 1.7; margin: 0; overflow-wrap: break-word; word-wrap: break-word; } .footer-col-title { color: #FFFFFF; font-size: 16px; font-weight: 700; margin: 0 0 16px; padding-bottom: 10px; position: relative; } .footer-col-title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; background: var(--btn-gradient); border-radius: 2px; } .footer-nav { list-style: none; margin: 0; padding: 0; } .footer-nav li { margin-bottom: 10px; } .footer-nav a { color: #C9D6E8; text-decoration: none; font-size: 14px; transition: color 0.2s ease, padding-left 0.2s ease; display: inline-block; } .footer-nav a:hover { color: var(--glow); padding-left: 4px; } .footer-dynamic-col { min-height: 10px; } .footer-mid-area { max-width: 1200px; margin: 0 auto; padding: 10px 0; } .footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; } .footer-slot-anchor-inner { min-height: 1px; } .footer-bottom { border-top: 1px solid rgba(214, 226, 255, 0.2); margin-top: 20px; padding: 20px 0; text-align: center; } .footer-copyright { margin: 0; color: #A8BBD6; font-size: 13px; line-height: 1.6; } .page-content { background-color: var(--bg-page); } .page-content img { max-width: 100%; height: auto; } @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%; box-sizing: border-box; } .logo { flex: 1 !important; display: flex !important; justify-content: center !important; align-items: center !important; font-size: 22px; } .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; min-height: 48px; align-items: 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 10px; font-size: 13px; white-space: normal; word-wrap: break-word; overflow-wrap: break-word; } .hamburger-menu { display: flex; position: absolute; left: 12px; top: 50%; transform: translateY(-50%); z-index: 2; } .main-nav { min-height: 48px !important; height: 48px !important; display: none; position: fixed; top: 0; left: 0; width: 82%; max-width: 320px; height: 100vh !important; flex-direction: column; justify-content: flex-start; align-items: stretch; background-color: #1F2D3D; z-index: 1001; padding: 80px 0 20px; overflow-y: auto; transform: translateX(-100%); transition: transform 0.3s ease; } .main-nav.active { display: flex !important; transform: translateX(0); } .nav-container { width: 100%; max-width: none; padding: 0; height: auto; flex-direction: column; justify-content: flex-start; align-items: stretch; gap: 0; } .nav-link { display: block; width: 100%; box-sizing: border-box; padding: 14px 24px; font-size: 15px; border-radius: 0; border-bottom: 1px solid rgba(214, 226, 255, 0.12); } .nav-link.active { background-color: rgba(47, 107, 255, 0.3); color: #FFFFFF; } .footer-top-grid { grid-template-columns: 1fr; gap: 26px; } .footer-mid-grid { grid-template-columns: 1fr 1fr; } .site-footer { padding-top: 36px; } .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: 480px) { .footer-mid-grid { grid-template-columns: 1fr; } .btn { padding: 9px 12px; font-size: 13px; } }
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
