:root { --primary: #113B7A; --secondary: #1D5FD1; --card-bg: #10233F; --text-main: #F3F8FF; --text-secondary: #AFC4E8; --border-color: #244D84; --glow: #4FA8FF; --gold: #F2C14E; --divider: #1B3357; --deep-navy: #08162B; --btn-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); --header-offset: 122px; }
body { padding-top: var(--header-offset); }
.site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; background-color: var(--deep-navy); box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6); box-sizing: border-box; }
.header-top { box-sizing: border-box; min-height: 68px; height: 68px; display: flex; align-items: center; overflow: hidden; background-color: var(--primary); 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: 30px; padding-right: 30px; }
.logo { display: inline-block; text-decoration: none; font-size: 28px; font-weight: 800; color: var(--gold); letter-spacing: 1px; line-height: 1; }
.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: 6px; transition: all 0.25s ease; white-space: nowrap; }
.btn-primary { background: var(--btn-gradient); color: #FFFFFF; padding: 10px 22px; font-size: 14px; box-shadow: 0 4px 14px rgba(43, 115, 246, 0.4); }
.btn-primary:hover { background: linear-gradient(180deg, #3A82FF 0%, #1A55C0 100%); box-shadow: 0 6px 18px rgba(79, 168, 255, 0.6); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--gold); border: 1px solid var(--gold); padding: 9px 20px; font-size: 14px; }
.btn-outline:hover { background: rgba(242, 193, 78, 0.12); transform: translateY(-1px); }
.main-nav { box-sizing: border-box; min-height: 52px; height: 52px; display: flex; align-items: center; overflow: hidden; background-color: var(--card-bg); width: 100%; border-top: 1px solid var(--border-color); }
.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; gap: 4px; padding: 0 20px; }
.nav-link { text-decoration: none; color: var(--text-main); font-size: 14px; font-weight: 600; padding: 8px 12px; border-radius: 4px; transition: all 0.2s ease; white-space: nowrap; }
.nav-link:hover, .nav-link.active { color: var(--gold); background: rgba(242, 193, 78, 0.1); }
.nav-link-home { color: var(--gold); font-weight: 800; }
.hamburger-menu { display: none; background: none; border: none; cursor: pointer; padding: 8px; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; }
.hamburger-menu span { display: block; width: 24px; height: 2px; background-color: var(--text-main); border-radius: 2px; transition: all 0.3s ease; }
.hamburger-menu.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger-menu.active span:nth-child(2) { opacity: 0; }
.hamburger-menu.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-overlay { display: none; }
.site-footer { background-color: var(--deep-navy); color: var(--text-main); border-top: 1px solid var(--border-color); box-sizing: border-box; width: 100%; }
.footer-container { box-sizing: border-box; max-width: 1200px; margin: 0 auto; padding-left: 30px; padding-right: 30px; width: 100%; }
.footer-top { padding: 50px 0 30px; }
.footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.footer-col { box-sizing: border-box; }
.footer-about { min-width: 0; }
.footer-logo { display: inline-block; text-decoration: none; font-size: 26px; font-weight: 800; color: var(--gold); letter-spacing: 1px; margin-bottom: 14px; }
.footer-description { color: var(--text-secondary); font-size: 14px; line-height: 1.7; margin: 0 0 12px; word-wrap: break-word; overflow-wrap: break-word; }
.footer-heading { color: var(--text-main); font-size: 16px; font-weight: 700; margin: 0 0 16px; padding-bottom: 10px; border-bottom: 2px solid var(--gold); display: inline-block; }
.footer-nav { list-style: none; margin: 0; padding: 0; }
.footer-nav li { margin-bottom: 10px; }
.footer-nav a { text-decoration: none; color: var(--text-secondary); font-size: 14px; transition: color 0.2s ease, padding-left 0.2s ease; display: inline-block; }
.footer-nav a:hover { color: var(--gold); padding-left: 4px; }
.footer-mid { padding: 20px 0; border-top: 1px solid var(--divider); }
.footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.footer-bottom { background-color: #050E1C; padding: 18px 0; border-top: 1px solid var(--divider); }
.footer-copyright { color: var(--text-secondary); font-size: 13px; text-align: center; margin: 0; }
.footer-slot-anchor-inner { min-height: 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; }
  .logo { font-size: 24px; }
  .logo img { max-height: 56px !important; }
  .desktop-nav-buttons { display: none !important; }
  .mobile-nav-buttons { display: flex !important; min-height: 48px; 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; background-color: var(--primary); }
  .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: 0; left: 0; width: 100%; flex-direction: column; justify-content: flex-start; align-items: stretch; background-color: var(--card-bg); z-index: 1001; padding-top: 60px; overflow-y: auto; max-height: 100vh; transform: translateX(-100%); transition: transform 0.3s ease; box-sizing: border-box; border-top: none; }
  .main-nav.active { display: flex; transform: translateX(0); }
  .nav-container { width: 100%; max-width: none; padding-left: 15px; padding-right: 15px; flex-direction: column; justify-content: flex-start; align-items: stretch; height: auto; gap: 2px; padding-top: 10px; padding-bottom: 20px; }
  .hamburger-menu { display: flex; position: absolute; top: 12px; left: 12px; z-index: 1002; }
  .nav-link { padding: 12px 15px; font-size: 15px; border-bottom: 1px solid var(--divider); border-radius: 0; text-align: left; }
  .nav-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(0, 0, 0, 0.6); z-index: 999; opacity: 0; transition: opacity 0.3s ease; }
  .nav-overlay.active { display: block; opacity: 1; }
  .footer-top-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-mid-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .footer-container { padding-left: 15px; padding-right: 15px; }
  .footer-top { padding: 30px 0 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; }
}
body.no-scroll { overflow: 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;
}
