:root { --primary: #113B7A; --secondary: #1D5FD1; --btn-bg: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); --card-bg: #10233F; --text-main: #F3F8FF; --text-secondary: #AFC4E8; --border-color: #244D84; --glow: #4FA8FF; --gold: #F2C14E; --divider: #1B3357; --deep-navy: #08162B; --header-offset: 122px; }
body { padding-top: var(--header-offset); margin: 0; background-color: var(--deep-navy); font-family: 'Segoe UI', Arial, sans-serif; color: var(--text-main); }
.site-header { position: fixed; top: 0; width: 100%; z-index: 1000; box-shadow: 0 2px 12px rgba(0,0,0,0.4); min-height: auto; }
.header-top { background-color: var(--deep-navy); width: 100%; border-bottom: 1px solid var(--divider); }
.header-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding-left: 24px; padding-right: 24px; min-height: 68px; box-sizing: border-box; }
.logo { display: inline-block; color: var(--text-main); font-size: 32px; font-weight: 900; text-decoration: none; letter-spacing: 1px; text-transform: uppercase; background: linear-gradient(135deg, var(--glow) 0%, var(--secondary) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.desktop-nav-buttons { display: flex; gap: 10px; align-items: center; }
.btn { padding: 9px 22px; border-radius: 4px; font-size: 14px; font-weight: 700; text-decoration: none; display: inline-block; transition: opacity 0.2s, box-shadow 0.2s; border: none; cursor: pointer; text-align: center; }
.btn:hover { opacity: 0.9; box-shadow: 0 0 12px rgba(79,168,255,0.35); }
.btn-register { background: linear-gradient(180deg, #2B73F6, #1144A6); color: #fff; }
.btn-login { background: var(--gold); color: var(--deep-navy); }
.main-nav { background-color: var(--primary); width: 100%; display: flex; min-height: 52px; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--divider); }
.nav-container { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: row; justify-content: center; align-items: center; padding-left: 20px; padding-right: 20px; flex-wrap: wrap; gap: 4px; width: 100%; box-sizing: border-box; }
.nav-container a { color: var(--text-main); text-decoration: none; padding: 8px 12px; font-size: 14px; font-weight: 600; border-radius: 3px; transition: color 0.2s, background 0.2s; border-left: 1px solid transparent; border-right: 1px solid transparent; }
.nav-container a:hover, .nav-container a.active { background: rgba(255,255,255,0.15); color: var(--glow); }
.nav-container a:first-child { font-weight: 800; }
.mobile-nav-buttons { display: none; }
.hamburger-btn { display: none; }
.site-footer { background: var(--deep-navy); padding: 44px 20px 18px; font-size: 14px; color: var(--text-secondary); border-top: 2px solid var(--primary); margin-top: 60px; }
.site-footer * { box-sizing: border-box; }
.footer-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; padding-bottom: 30px; border-bottom: 1px solid var(--divider); }
.footer-logo { font-size: 24px; font-weight: 900; text-decoration: none; color: var(--text-main); background: linear-gradient(135deg, var(--glow) , var(--secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; display: inline-block; margin-bottom: 12px; }
.footer-desc { line-height: 1.6; color: var(--text-secondary); margin: 0; max-width: 320px; }
.footer-column { }
.footer-title { color: var(--text-main); font-size: 16px; font-weight: 700; margin: 0 0 14px 0; padding-bottom: 8px; border-bottom: 1px solid var(--divider); letter-spacing: 0.3px; }
.footer-nav { display: flex; flex-direction: column; gap: 8px; }
.footer-nav a { color: var(--text-secondary); text-decoration: none; transition: color 0.2s, padding-left 0.2s; padding-left: 0; }
.footer-nav a:hover { color: var(--glow); padding-left: 6px; }
.footer-contact { color: var(--text-secondary); }
.footer-hotline { font-weight: 600; color: var(--gold); margin: 6px 0; }
.footer-note { margin: 10px 0 0; font-size: 13px; line-height: 1.5; opacity: 0.8; }
.footer-bottom { text-align: center; padding-top: 16px; color: var(--text-secondary); font-size: 13px; }
.footer-bottom p { margin: 0; }
@media (max-width: 768px) {
  :root { --header-offset: 110px; }
  .header-container { width: 100%; max-width: none; padding-left: 16px; padding-right: 16px; display: grid; grid-template-columns: 44px 1fr 44px; min-height: 60px; }
  .logo { display: block; text-align: center; font-size: 22px; margin: 0 auto; }
  .desktop-nav-buttons { display: none; }
  .hamburger-btn { display: block; background: transparent; border: none; width: 44px; height: 44px; cursor: pointer; position: relative; z-index: 1100; }
  .hamburger-btn span { display: block; width: 24px; height: 2px; background: var(--text-main); margin: 5px auto; transition: transform 0.3s, opacity 0.3s; }
  .hamburger-btn.active span:nth-child(1) { transform: translate(0, 7px) rotate(45deg); }
  .hamburger-btn.active span:nth-child(2) { opacity: 0; }
  .hamburger-btn.active span:nth-child(3) { transform: translate(0, -7px) rotate(-45deg); }
  .main-nav { display: none; position: fixed; top: 108px; left: 0; width: 260px; height: auto; max-height: 60vh; background-color: var(--deep-navy); border-right: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); border-radius: 0 0 8px 0; padding: 12px 0; transform: translateX(-100%); transition: transform 0.3s ease; z-index: 1001; box-shadow: 2px 4px 12px rgba(0,0,0,0.3); }
  .main-nav.active { display: block; transform: translateX(0); }
  .nav-container { flex-direction: column; align-items: flex-start; padding: 0; gap: 0; max-width: none; width: 100%; }
  .nav-container a { width: 100%; padding: 12px 20px; text-align: left; border-bottom: 1px solid var(--divider); border-left: none; border-right: none; border-radius: 0; color: var(--text-main); font-size: 15px; }
  .nav-container a:hover { background: var(--primary); color: var(--glow); padding-left: 24px; }
  .mobile-nav-buttons { display: flex; justify-content: center; align-items: center; gap: 10px; width: 100%; background: var(--primary); padding: 4px 12px 10px; z-index: 10; box-sizing: border-box; border-bottom: 1px solid var(--divider); }
  .mobile-nav-buttons .btn { flex: 1; max-width: 180px; padding: 8px 14px; font-size: 13px; }
  body { overflow-x: hidden; }
  .site-footer { padding: 30px 16px 14px; }
  .footer-container { grid-template-columns: 1fr; gap: 24px; padding-bottom: 20px; text-align: center; }
  .footer-desc { max-width: 100%; margin: 0 auto; }
  .footer-nav { align-items: center; gap: 6px; }
  .footer-nav a:hover { padding-left: 0; padding-right: 6px; }
  .footer-brand { 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%; }
}
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
