:root { --header-offset: 164px; --primary: #2F6BFF; --primary-light: #6FA3FF; --primary-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); --bg: #F4F7FB; --card-bg: #FFFFFF; --text-main: #1F2D3D; --text-black: #000000; --border-color: #D6E2FF; --glow: #A5C4FF; --header-top-bg: #1a3f9e; --main-nav-bg: #2F6BFF; }
body { padding-top: var(--header-offset); margin: 0; font-family: 'Segoe UI', Arial, sans-serif; background: var(--bg); }
.site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; box-shadow: 0 4px 20px rgba(0,0,0,0.15); background: var(--main-nav-bg); }
.header-top { background: var(--header-top-bg); padding: 0; }
.header-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 12px 24px; gap: 16px; }
.logo { font-size: 28px; font-weight: 900; color: #FFFFFF; text-decoration: none; letter-spacing: 2px; text-transform: lowercase; font-style: italic; background: var(--primary-gradient); -webkit-background-clip: text; -webkit-text-fill-color: #fff; }
.logo { font-style: normal; }
.desktop-nav-buttons { display: flex; align-items: center; gap: 12px; }
.btn { display: inline-block; padding: 10px 24px; border-radius: 50px; font-weight: 700; font-size: 14px; text-decoration: none; transition: all 0.3s ease; }
.btn-login { background: transparent; color: #FFFFFF; border: 2px solid rgba(255,255,255,0.4); }
.btn-login:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn-register { background: var(--primary-gradient); color: #FFFFFF; box-shadow: 0 4px 15px rgba(47,107,255,0.4); }
.btn-register:hover { box-shadow: 0 6px 20px rgba(47,107,255,0.6); transform: translateY(-2px); }
.main-nav { background: var(--main-nav-bg); display: flex; width: 100%; }
.nav-container { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 0 20px; gap: 4px; width: 100%; }
.nav-link { display: block; padding: 14px 16px; color: rgba(255,255,255,0.9); text-decoration: none; font-size: 15px; font-weight: 600; transition: all 0.3s ease; border-bottom: 3px solid transparent; }
.nav-link:hover { background: rgba(255,255,255,0.1); border-bottom-color: #fff; color: #fff; }
.mobile-nav-buttons { display: none; }
.hamburger-menu { display: none; position: fixed; top: 12px; left: 16px; z-index: 1001; background: transparent; border: none; cursor: pointer; padding: 8px; border-radius: 4px; }
.mobile-menu-overlay { display: none; }
@media (max-width: 768px) {
:root { --header-offset: 146px; }
.site-header { background: var(--header-top-bg); }
.header-top { padding: 0; }
.header-container { width: 100%; max-width: none; padding: 0 15px; display: flex; justify-content: center; align-items: center; height: 60px; }
.logo { display: block; font-size: 22px; color: #fff; background: none; -webkit-text-fill-color: #fff; order: 0; position: static; }
.desktop-nav-buttons { display: none; }
.btn { display: block; width: auto; text-align: center; padding: 8px 20px; font-size: 13px; }
.mobile-nav-buttons { display: flex; justify-content: center; gap: 10px; width: 100%; background: var(--header-top-bg); padding: 6px 15px; }
.mobile-nav-buttons .btn { display: inline-block; }
.main-nav { display: none; position: fixed; top: 0; left: 0; width: 280px; height: 100vh; background: var(--header-top-bg); flex-direction: column; justify-content: flex-start; align-items: flex-start; z-index: 1000; transform: translateX(-100%); transition: transform 0.3s ease, display 0.3s ease; box-shadow: 2px 0 20px rgba(0,0,0,0.3); }
.main-nav.active { display: flex; transform: translateX(0); }
.nav-container { width: 100%; max-width: none; flex: 1; display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; padding: 70px 0 30px; gap: 0; }
.nav-link { padding: 14px 24px; color: rgba(255,255,255,0.9); font-size: 15px; border-bottom: 1px solid rgba(255,255,255,0.1); width: 100%; text-align: left; }
.nav-link:hover { background: rgba(255,255,255,0.08); color: #fff; }
.hamburger-menu { display: flex; position: fixed; top: 20px; left: 15px; z-index: 1001; width: 24px; height: 20px; align-items: center; justify-content: center; }
.hamburger-menu span { display: block; width: 24px; height: 3px; border-radius: 2px; background: #FFFFFF; position: absolute; transition: all 0.3s ease; }
.hamburger-menu span:nth-child(1) { top: 0; }
.hamburger-menu span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hamburger-menu span:nth-child(3) { bottom: 0; }
.hamburger-menu.active span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.hamburger-menu.active span:nth-child(2) { opacity: 0; }
.hamburger-menu.active span:nth-child(3) { top: 50%; transform: translateY(-50%) rotate(-45deg); }
.mobile-menu-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); z-index: 999; transition: opacity 0.3s ease; }
.mobile-menu-overlay.active { display: block; }
body.no-scroll { overflow: hidden; }
.page-content img { max-width: 100% !important; height: auto !important; display: block; }
.page-content { overflow-x: hidden; max-width: 100%; }
body { overflow-x: hidden; }
}
.site-footer { background: #16233a; color: rgba(255,255,255,0.9); padding: 48px 0 28px; margin-top: 40px; }
.footer-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 0.8fr 0.8fr 0.8fr; gap: 40px; padding: 0 24px; }
.footer-logo { font-size: 28px; font-weight: 900; color: #FFFFFF; text-decoration: none; letter-spacing: 2px; text-transform: lowercase; }
.footer-desc { color: rgba(255,255,255,0.6); font-size: 13px; line-height: 1.8; margin-top: 12px; }
.footer-title { color: var(--glow); font-size: 16px; font-weight: 700; text-transform: uppercase; margin: 0 0 20px; letter-spacing: 1px; }
.footer-nav { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-nav a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 14px; transition: color 0.3s ease, padding-left 0.3s ease; }
.footer-nav a:hover { color: #FFFFFF; padding-left: 6px; }
.footer-bottom { max-width: 1200px; margin: 40px auto 0; padding: 20px 24px 0; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { margin: 0; font-size: 13px; color: rgba(255,255,255,0.5); }
.copyright { display: inline; }
.footer-disclaimer { text-align: right; }
@media (max-width: 1024px) {
.footer-container { grid-template-columns: 1fr 1fr; }
.footer-column.footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
.footer-container { grid-template-columns: 1fr; }
.footer-column.footer-brand { grid-column: auto; }
.footer-bottom { flex-direction: column; align-items: center; text-align: center; }
.footer-disclaimer { text-align: center; }
}
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
