:root { --primary: #113B7A; --secondary: #1D5FD1; --btn-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); --card-bg: #10233F; --text-main: #F3F8FF; --text-secondary: #AFC4E8; --border: #244D84; --glow: #4FA8FF; --gold: #F2C14E; --divider: #1B3357; --deep-navy: #08162B; --header-offset: 166px; }
body { margin: 0; padding: 0; padding-top: var(--header-offset); font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background-color: var(--deep-navy); }
.site-header { position: fixed; top: 0; left: 0; width: 100%; background-color: var(--deep-navy); box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3); z-index: 1000; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }
.header-top { background-color: #0D1F3C; width: 100%; border-bottom: 1px solid var(--border); }
.header-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 0 30px; min-height: 68px; box-sizing: border-box; }
.logo { font-size: 32px; font-weight: 900; color: #ffffff; text-decoration: none; letter-spacing: 1px; line-height: 1; display: inline-block; }
.logo:hover { color: var(--gold); }
.desktop-nav-buttons { display: flex; gap: 12px; align-items: center; }
.btn { display: inline-block; padding: 10px 22px; border-radius: 25px; font-weight: 700; font-size: 14px; text-decoration: none; transition: transform 0.2s ease, box-shadow 0.2s ease; text-align: center; border: none; cursor: pointer; line-height: 1.2; }
.btn:hover { transform: translateY(-2px); }
.btn-register { background: var(--btn-gradient); color: #ffffff; box-shadow: 0 4px 15px rgba(43, 115, 246, 0.3); }
.btn-login { background: transparent; color: var(--text-main); border: 2px solid var(--gold); }
.btn-download { background: var(--gold); color: var(--deep-navy); }
.main-nav { background-color: #0A1930; width: 100%; display: flex; align-items: center; border-top: 1px solid var(--divider); position: relative; z-index: 1001; }
.nav-container { max-width: 1200px; width: 100%; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; min-height: 52px; box-sizing: border-box; position: relative; }
.nav-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: row; justify-content: center; align-items: center; gap: 5px; width: 100%; }
.nav-menu li { margin: 0; }
.nav-menu a { display: block; color: var(--text-secondary); text-decoration: none; font-size: 14px; font-weight: 600; padding: 12px 14px; line-height: 1.2; transition: color 0.2s ease; border-radius: 4px; }
.nav-menu a:hover { color: var(--gold); }
.hamburger-menu { display: none; }
.mobile-nav-buttons { display: none; }
.mobile-menu-overlay { display: none; }
@media (max-width: 768px) {
  :root { --header-offset: 110px; }
  .header-container { width: 100%; max-width: none; padding: 0 15px; min-height: 60px; }
  .desktop-nav-buttons { display: none; }
  .logo { font-size: 28px; order: 2; margin: 0 auto; position: relative; left: -20px; }
  .header-container { display: flex; align-items: center; justify-content: flex-start; }
  .header-container .logo { position: absolute; left: 50%; transform: translateX(-50%); }
  .main-nav { display: none; position: fixed; top: 0; left: 0; width: 300px; height: 100vh; height: 100dvh; background-color: var(--deep-navy); flex-direction: column; align-items: flex-start; justify-content: flex-start; box-shadow: 2px 0 15px rgba(0, 0, 0, 0.5); transform: translateX(-100%); transition: transform 0.3s ease; border-top: none; overflow-y: auto; padding: 0;
  }
  .main-nav.active { display: flex; transform: translateX(0); flex-direction: column; align-items: stretch; justify-content: flex-start; }
  .main-nav .nav-container { flex-direction: column; align-items: stretch; justify-content: flex-start; width: 100%; max-width: none; padding: 0; min-height: 0; height: 100%;
  }
  .hamburger-menu { display: flex; flex-direction: column; justify-content: center; align-items: center; width: 44px; height: 44px; gap: 5px; cursor: pointer; background: transparent; border: none; padding: 8px; margin-right: auto; z-index: 1005; position: relative; }
  .hamburger-menu span { display: block; width: 26px; height: 2px; background-color: var(--text-main); transition: all 0.3s ease; }
  .hamburger-menu.active span:nth-child(2) { opacity: 0; }
  .hamburger-menu.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger-menu.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-menu { display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; width: 100%; padding: 10px 0 10px 0; margin: 0; gap: 0; }
  .nav-menu li { width: 100%; margin: 0; border-bottom: 1px solid var(--divider); }
  .nav-menu a { display: block; padding: 14px 20px;
    font-size: 16px; color: var(--text-main); width: 100%; box-sizing: border-box; text-align: left; }
  .nav-menu a:hover { background-color: rgba(255, 255, 255, 0.1); color: var(--gold); }
  .mobile-nav-buttons { display: flex; justify-content: center; align-items: center; gap: 8px; padding: 8px 10px; background-color: var(--deep-navy); border-top: 1px solid var(--divider); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); position: relative; z-index: 1000; }
  .mobile-nav-buttons .btn { flex: 1; max-width: 120px; text-align: center; padding: 10px 6px; font-size: 13px;
  }
  .mobile-menu-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; height: 100dvh; background-color: rgba(0, 0, 0, 0.5); z-index: 998; display: none; }
  .mobile-menu-overlay.active { display: block; }
  .footer-container {
    flex-direction: column; padding: 30px 20px; gap: 20px;
  }
  .footer-column { width: 100%; }
  .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-color: var(--deep-navy); color: var(--text-main); margin-top: 60px; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }
.footer-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; gap: 40px; padding: 50px 20px; box-sizing: border-box; }
.footer-column { flex: 1; }
.footer-brand { flex: 0 0 30%; }
.footer-logo { font-size: 28px; font-weight: 800; color: #ffffff; text-decoration: none; display: inline-block; margin-bottom: 15px; }
.footer-logo:hover { color: var(--gold); }
.footer-description { font-size: 0.95em; line-height: 1.7; color: var(--text-secondary); }
.footer-title { font-size: 18px; font-weight: 700; color: #ffffff; margin: 0 0 20px; padding-bottom: 10px; letter-spacing: 1px; }
.footer-nav { list-style: none; padding: 0; margin: 0; }
.footer-nav li { margin-bottom: 12px; }
.footer-nav a { color: var(--text-secondary); text-decoration: none; font-size: 0.95em; transition: color 0.2s; }
.footer-nav a:hover { color: var(--gold); }
.footer-contact-list { list-style: none; padding: 0; margin: 0; color: var(--text-secondary); font-size: 0.95em; line-height: 1.8; }
.footer-bottom { background-color: #0D1F3C; padding: 20px 0; border-top: 1px solid var(--divider); }
.footer-bottom-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; padding: 0 20px; box-sizing: border-box; }
.copyright { margin: 0; font-size: 0.9em; color: var(--text-secondary); }
.footer-disclaimer { margin: 0; font-size: 0.9em; color: var(--gold); }
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
