:root {
  --header-offset: 122px;
  --primary-color: #113B7A;
  --secondary-color: #1D5FD1;
  --bg-card: #10233F;
  --text-main: #F3F8FF;
  --text-secondary: #AFC4E8;
  --border-color: #244D84;
  --glow: #4FA8FF;
  --gold: #F2C14E;
  --divider-color: #1B3357;
  --deep-navy: #08162B;
  --btn-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  padding-top: var(--header-offset);
  background-color: var(--deep-navy);
}
body.no-scroll {
  overflow: hidden;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
.btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  text-align: center;
  border: none;
  cursor: pointer;
  background: var(--btn-gradient);
  color: var(--text-main);
  box-shadow: 0 4px 12px rgba(27, 51, 87, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(79, 168, 255, 0.3);
}
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--deep-navy);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
}
.header-top {
  background-color: var(--primary-color);
  width: 100%;
}
.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 24px;
}
.logo {
  font-size: 32px;
  font-weight: 900;
  color: var(--text-main);
  letter-spacing: -1px;
  background: linear-gradient(180deg, #E6C05F 0%, #F2C14E 50%, #C9A13B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
}
.desktop-nav-buttons {
  display: flex;
  gap: 12px;
  align-items: center;
}
.main-nav {
  background-color: var(--deep-navy);
  border-top: 1px solid var(--divider-color);
  border-bottom: 1px solid var(--divider-color);
  display: flex;
  flex-direction: row;
  position: static;
  width: 100%;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 0 16px;
  width: 100%;
}
.nav-menu {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0;
  width: 100%;
  justify-content: center;
}
.nav-menu > li {
  position: relative;
}
.nav-menu > li > a {
  display: block;
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-main);
  transition: color 0.3s ease;
  white-space: nowrap;
}
.nav-menu > li > a:hover,
.nav-menu > li > a.active {
  color: var(--gold);
  background: rgba(79, 168, 255, 0.08);
}
.mobile-nav-buttons {
  display: none;
}
.hamburger-menu {
  display: none;
}
.mobile-menu-overlay {
  display: none;
}
.site-footer {
  background-color: var(--deep-navy);
  border-top: 2px solid var(--divider-color);
  padding-top: 60px;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 40px;
  padding: 0 24px 40px;
}
.footer-brand .footer-logo {
  font-size: 28px;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: -1px;
}
.footer-desc {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
}
.footer-column h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-column li {
  margin-bottom: 12px;
}
.footer-column li a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.3s ease;
}
.footer-column li a:hover {
  color: var(--gold);
}
.footer-bottom {
  border-top: 1px solid var(--divider-color);
  padding: 20px 24px;
  text-align: center;
  background: var(--primary-color);
}
.footer-bottom .copyright {
  font-size: 14px;
  color: var(--text-main);
  opacity: 0.9;
}
@media (max-width: 768px) {
  :root {
    --header-offset: 110px;
  }
  .header-container {
    width: 100%;
    max-width: none;
    padding-left: 15px;
    padding-right: 15px;
    min-height: 60px;
  }
  .nav-container {
    width: 100%;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
  }
  .logo {
    font-size: 26px;
  }
  .header-top {
    position: relative;
  }
  .header-container {
    justify-content: center;
  }
  .desktop-nav-buttons {
    display: none;
  }
  .btn-register {
    background: var(--btn-gradient);
    color: var(--text-main);
  }
  .btn-login {
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
  }
  .btn-login:hover {
    background: rgba(242, 193, 78, 0.1);
  }
  .btn-download {
    background: var(--btn-gradient);
    color: var(--text-main);
  }
  .mobile-nav-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 10px 10px;
    background-color: var(--deep-navy);
    border-bottom: 1px solid var(--divider-color);
    flex-wrap: wrap;
    min-height: 48px;
    align-items: center;
  }
  .mobile-nav-buttons .btn {
    flex-shrink: 0;
    font-size: 13px;
    padding: 8px 16px;
    white-space: nowrap;
  }
  .main-nav {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    height: 100%;
    height: 100dvh;
    overflow-y: auto;
    background-color: var(--deep-navy);
    border-right: 2px solid var(--divider-color);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    box-shadow: 4px 0 15px rgba(0, 0, 0, 0.3);
    z-index: 1002;
  }
  .main-nav.active {
    display: flex;
    transform: translateX(0);
  }
  .nav-container {
    flex-direction: column;
    align-items: stretch;
    padding: 70px 0 20px;
    flex: 1;
  }
  .nav-menu {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .nav-menu > li {
    width: 100%;
    border-bottom: 1px solid var(--divider-color);
  }
  .nav-menu > li > a {
    display: block;
    padding: 15px 24px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-main);
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
    background: transparent;
  }
  .nav-menu > li > a:hover,
  .nav-menu > li > a.active {
    color: var(--gold);
    background: rgba(79, 168, 255, 0.08);
    border-left-color: var(--gold);
    padding-left: 28px;
  }
  .hamburger-menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    cursor: pointer;
    position: absolute;
    left: 10px;
    top: 8px;
    z-index: 1003;
    background: transparent;
    border: none;
    padding: 8px;
  }
  .hamburger-menu .bar {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--text-main);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
  }
  .hamburger-menu.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .hamburger-menu.active .bar:nth-child(2) {
    opacity: 0;
  }
  .hamburger-menu.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  .mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1001;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  .mobile-menu-overlay.active {
    display: block;
    opacity: 1;
  }
  .mobile-nav-buttons {
    position: relative;
    z-index: 1000;
    background-color: var(--deep-navy);
  }
  .page-content img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
  }
  .page-content {
    overflow-x: hidden;
    max-width: 100%;
  }
  body {
    overflow-x: hidden;
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0 20px 40px;
  }
  .footer-brand,
  .footer-column {
    text-align: center;
  }
  .footer-bottom .copyright {
    font-size: 13px;
  }
}
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
