:root { --header-offset: 122px; }
body { padding-top: var(--header-offset); margin: 0; font-family: Arial, sans-serif; background-color: #F4F7FB; }
.site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; box-shadow: 0 4px 16px rgba(31, 45, 61, 0.15); border-bottom: 2px solid #D6E2FF; }
.header-top { box-sizing: border-box; min-height: 68px; height: 68px; display: flex; align-items: center; overflow: hidden; background-color: #1a3a6b; 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: 25px; padding-right: 25px; }
.logo { display: inline-flex; align-items: center; font-size: 24px; font-weight: 800; color: #ffffff; text-decoration: none; letter-spacing: 0.5px; white-space: nowrap; background: linear-gradient(135deg, #ffffff 0%, #A5C4FF 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; text-shadow: 0 0 12px rgba(165, 196, 255, 0.4); font-family: 'Arial Black', Arial, sans-serif; }
.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; width: 100%; max-width: 100%; overflow: hidden; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 20px; border-radius: 8px; font-size: 14px; font-weight: 700; text-decoration: none; border: none; cursor: pointer; transition: all 0.3s ease; box-sizing: border-box; }
.btn-login { background-color: #ffffff; color: #2F6BFF; border: 2px solid #2F6BFF; }
.btn-login:hover { background-color: #F4F7FB; }
.btn-register { background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); color: #ffffff; box-shadow: 0 4px 12px rgba(47, 107, 255, 0.35); }
.btn-register:hover { box-shadow: 0 4px 18px rgba(47, 107, 255, 0.5); transform: translateY(-2px); }
.main-nav { box-sizing: border-box; min-height: 52px; height: 52px; display: flex; align-items: center; overflow: hidden; background-color: #ffffff; width: 100%; border-top: 1px solid #D6E2FF; }
.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; width: 100%; }
.nav-menu { list-style: none; display: flex; margin: 0; padding: 0; align-items: center; height: 100%; }
.nav-menu li { height: 100%; display: flex; align-items: center; }
.nav-menu li a { display: flex; align-items: center; text-decoration: none; color: #1F2D3D; font-size: 14px; font-weight: 600; padding: 0 14px; height: 100%; transition: color 0.3s ease; white-space: nowrap; }
.nav-menu li a:hover { color: #2F6BFF; }
.mobile-nav-header, .mobile-close-btn { display: none; }
.nav-overlay { display: none; }
.site-footer { background-color: #1a2a45; color: #c8d3e5; padding: 0; margin-top: 40px; }
.footer-container { max-width: 1200px; margin: 0 auto; padding: 40px 20px 20px; box-sizing: border-box; }
.footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-bottom: 20px; }
.footer-col { box-sizing: border-box; }
.footer-about .footer-logo { font-size: 24px; font-weight: 800; color: #ffffff; text-decoration: none; display: inline-block; margin-bottom: 15px; }
.footer-description { font-size: 14px; line-height: 1.6; word-wrap: break-word; overflow-wrap: break-word; color: #a0b0c8; margin: 0; }
.footer-heading { color: #ffffff; font-size: 16px; font-weight: 700; margin: 0 0 15px 0; padding-bottom: 8px; border-bottom: 2px solid #2F6BFF; display: inline-block; }
.footer-nav { list-style: none; padding: 0; margin: 0; }
.footer-nav li { margin-bottom: 10px; }
.footer-nav li a { color: #a0b0c8; text-decoration: none; font-size: 14px; transition: color 0.3s ease, padding-left 0.3s ease; }
.footer-nav li a:hover { color: #6FA3FF; }
.footer-nav-secondary { margin-top: 15px; }
.footer-dynamic-col { min-height: 100px; }
.footer-slot-anchor-inner { min-height: 20px; }
.footer-mid-area { padding: 10px 0; }
.footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 10px; }
.footer-bottom { padding-top: 20px; margin-top: 10px; border-top: 1px solid rgba(214, 226, 255, 0.2); text-align: center; }
.footer-bottom p { margin: 0; font-size: 13px; color: #a0b0c8; }
@media (max-width: 768px) {
:root { --header-offset: 110px; }
.site-header { overflow-x: hidden; max-width: 100%; box-sizing: border-box; }
.header-top { min-height: 60px !important; height: 60px !important; }
.header-container { width: 100%; max-width: none; padding-left: 10px; padding-right: 10px; position: relative; height: 100%; box-sizing: border-box; }
.logo { flex: 1 !important; display: flex !important; justify-content: center !important; align-items: center !important; }
.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; 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; background-color: #1a2a45; }
.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: auto !important; display: none; flex-direction: column; position: fixed; top: 0; left: 0; width: 85%; max-width: 300px; height: 100vh !important; background-color: #ffffff; z-index: 1001; overflow-y: auto; transform: translateX(-100%); transition: transform 0.3s ease; box-shadow: 0 0 20px rgba(0, 0, 0, 0.2); padding-top: 0; align-items: flex-start; }
.main-nav.active { display: flex; transform: translateX(0); }
.nav-container { width: 100%; max-width: none; padding: 0; flex-direction: column; align-items: flex-start; height: auto; min-height: 100%; }
.nav-menu { flex-direction: column; width: 100%; height: auto; }
.nav-menu li { width: 100%; height: auto; border-bottom: 1px solid #D6E2FF; }
.nav-menu li a { padding: 12px 15px; height: auto; font-size: 15px; }
.mobile-nav-header { display: flex; justify-content: space-between; align-items: center; padding: 15px; background-color: #1a3a6b; color: #fff; width: 100%; box-sizing: border-box; }
.mobile-nav-logo { color: #ffffff; text-decoration: none; font-size: 18px; font-weight: 800; background: linear-gradient(135deg, #ffffff 0%, #A5C4FF 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.mobile-close-btn { display: block; background: none; border: none; color: #ffffff; font-size: 24px; cursor: pointer; padding: 0 5px; }
.nav-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5); z-index: 1000; }
.nav-overlay.active { display: block; }
body.no-scroll { overflow: hidden; }
.footer-top-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
.footer-mid-grid { grid-template-columns: 1fr 1fr; }
.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-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;
}
