:root { --primary: #2F6BFF; --secondary: #6FA3FF; --btn-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); --card-bg: #FFFFFF; --bg: #F4F7FB; --text-main: #1F2D3D; --text-dark: #000000; --border: #D6E2FF; --glow: #A5C4FF; --header-offset: 122px; }
* { box-sizing: border-box; }
body { margin: 0; padding-top: var(--header-offset); font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; color: var(--text-main); background: var(--bg); -webkit-font-smoothing: antialiased; }
.site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; box-shadow: 0 4px 20px rgba(47, 107, 255, 0.15); }
.header-top { box-sizing: border-box; height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; background: #0E2A66; 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: 24px; padding-right: 24px; }
.logo { font-size: 28px; font-weight: 800; letter-spacing: 1px; color: #FFFFFF; text-decoration: none; display: inline-flex; align-items: center; line-height: 1; text-shadow: 0 2px 8px rgba(111, 163, 255, 0.6); }
.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; }
.btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 700; border-radius: 8px; transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease; cursor: pointer; border: none; }
.btn-login { background: transparent; color: #FFFFFF; border: 2px solid var(--glow); padding: 9px 22px; font-size: 15px; }
.btn-login:hover { background: rgba(165, 196, 255, 0.15); transform: translateY(-2px); }
.btn-register { background: var(--btn-gradient); color: #FFFFFF; padding: 11px 24px; font-size: 15px; 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 20px rgba(47, 107, 255, 0.6); }
.mobile-nav-buttons { box-sizing: border-box; display: none; min-height: 48px; }
.main-nav { box-sizing: border-box; height: 52px; min-height: 52px; display: flex; align-items: center; overflow: hidden; background: #FFFFFF; width: 100%; border-bottom: 1px solid var(--border); }
.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; }
.nav-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: row; justify-content: center; align-items: center; gap: 4px; width: 100%; height: 100%; }
.nav-menu li { height: 100%; display: flex; align-items: center; }
.nav-menu a { display: flex; align-items: center; height: 100%; padding: 0 14px; text-decoration: none; color: var(--text-main); font-size: 14.5px; font-weight: 600; white-space: nowrap; position: relative; transition: color 0.2s ease; }
.nav-menu a::after { content: ''; position: absolute; bottom: 8px; left: 14px; right: 14px; height: 3px; background: var(--primary); border-radius: 2px; transform: scaleX(0); transition: transform 0.25s ease; }
.nav-menu a:hover { color: var(--primary); }
.nav-menu a:hover::after { transform: scaleX(1); }
.hamburger-menu { display: none; }
.menu-overlay { display: none; }
.site-footer { background: #0E2A66; color: #E3ECFF; margin-top: 40px; }
.footer-top { padding: 48px 20px 24px; }
.footer-container { max-width: 1200px; margin: 0 auto; }
.footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.footer-col { min-width: 0; display: flex; flex-direction: column; }
.footer-logo { font-size: 30px; font-weight: 800; letter-spacing: 1px; color: #FFFFFF; text-decoration: none; margin-bottom: 14px; display: inline-block; text-shadow: 0 2px 10px rgba(111, 163, 255, 0.5); }
.footer-logo:hover { color: var(--glow); }
.footer-description { font-size: 14px; line-height: 1.7; color: #C4D6F5; margin: 0 0 14px; word-wrap: break-word; overflow-wrap: break-word; }
.footer-col-title { font-size: 16px; font-weight: 700; color: #FFFFFF; margin: 0 0 16px; padding-bottom: 10px; border-bottom: 2px solid var(--primary); display: inline-block; }
.footer-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-nav li { line-height: 1.4; }
.footer-nav a { color: #C4D6F5; 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-about { grid-column: span 1; }
.footer-mid { margin-top: 30px; }
.footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 16px; }
.footer-dynamic-col { min-width: 0; }
.footer-slot-anchor-inner { min-height: 1px; }
.footer-bottom { background: #081E4A; padding: 18px 20px; text-align: center; border-top: 1px solid rgba(111, 163, 255, 0.25); }
.footer-bottom p { margin: 0; font-size: 13.5px; color: #A9C0E6; }
@media (max-width: 768px) {
  :root { --header-offset: 110px; }
  .header-top { height: 60px !important; min-height: 60px !important; }
  .header-container { width: 100%; max-width: none; padding-left: 12px; padding-right: 12px; position: relative; }
  .logo { flex: 1 !important; display: flex !important; justify-content: center !important; align-items: center !important; font-size: 24px; }
  .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: 8px 15px; overflow: hidden; gap: 10px; flex-wrap: nowrap; background: #0E2A66; }
  .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; border-radius: 6px; }
  .mobile-nav-buttons .btn-login { border-width: 1.5px; }
  .main-nav { height: 48px !important; min-height: 48px !important; position: fixed; top: 0; left: 0; display: none; flex-direction: column; justify-content: flex-start; align-items: stretch; width: 80%; max-width: 320px; height: 100vh !important; min-height: 100vh !important; padding-top: 70px; background: #0E2A66; box-shadow: 4px 0 24px rgba(0, 0, 0, 0.35); transform: translateX(-100%); transition: transform 0.3s ease; z-index: 1001; overflow-y: auto; }
  .main-nav.active { display: flex; transform: translateX(0); }
  .nav-container { width: 100%; max-width: none; height: auto; padding: 10px 0 30px; display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; }
  .nav-menu { flex-direction: column; justify-content: flex-start; align-items: stretch; gap: 0; height: auto; width: 100%; }
  .nav-menu li { height: auto; width: 100%; display: block; }
  .nav-menu a { height: auto; padding: 14px 24px; font-size: 16px; color: #FFFFFF; border-bottom: 1px solid rgba(111, 163, 255, 0.18); width: 100%; box-sizing: border-box; }
  .nav-menu a::after { display: none; }
  .nav-menu a:hover { color: var(--glow); background: rgba(111, 163, 255, 0.12); }
  .hamburger-menu { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; background: transparent; border: none; cursor: pointer; z-index: 1002; padding: 0; }
  .hamburger-menu span { display: block; width: 24px; height: 3px; background: #FFFFFF; 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); }
  .menu-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(8, 20, 48, 0.6); z-index: 1000; }
  .menu-overlay.active { display: block; }
  body.no-scroll { overflow: hidden; }
  .footer-top { padding: 32px 16px 20px; }
  .footer-top-grid { grid-template-columns: 1fr; gap: 22px; }
  .footer-mid-grid { grid-template-columns: 1fr; gap: 14px; }
  .footer-logo { font-size: 26px; }
  .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;
}
