:root {
  --primary: #113B7A;
  --secondary: #1D5FD1;
  --btn-gradient: 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: 172px;
}
body {
  margin: 0;
  padding: 0;
  padding-top: var(--header-offset);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f4f7fc;
  color: #333;
}
* {
  box-sizing: border-box;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--deep-navy);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(79, 168, 255, 0.15);
}
.header-top {
  background: var(--deep-navy);
  border-bottom: 1px solid var(--divider);
  width: 100%;
  min-height: 68px;
}
.header-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 32px;
  min-height: 68px;
}
.logo {
  display: inline-block;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -1px;
  text-transform: uppercase;
  color: var(--gold);
  background: linear-gradient(135deg, #F2C14E 0%, #E89B2D 50%, #F7D978 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  transition: opacity 0.3s;
}
.logo:hover {
  opacity: 0.85;
}
.desktop-nav-buttons {
  display: flex;
  gap: 12px;
  align-items: center;
}
.btn {
  display: inline-block;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s ease;
  color: #fff;
  text-decoration: none;
}
.btn-register {
  background: var(--btn-gradient);
  box-shadow: 0 4px 15px rgba(47, 128, 237, 0.3);
}
.btn-register:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(47, 128, 237, 0.45);
}
.btn-login {
  background: linear-gradient(180deg, #08162B 0%, #1B3357 100%);
  border: 1px solid var(--gold);
  color: var(--gold);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.btn-login:hover {
  background: linear-gradient(180deg, #1B3357 0%, #08162B 100%);
  transform: translateY(-2px);
}
.main-nav {
  background: var(--primary);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.3);
  width: 100%;
  display: flex;
  min-height: 52px;
  transition: transform 0.3s ease;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  gap: 4px;
}
.nav-link {
  display: inline-block;
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 600;
  color: rgba(243, 248, 255, 0.85);
  transition: all 0.3s ease;
  position: relative;
  white-space: nowrap;
}
.nav-link:hover {
  color: var(--gold);
}
.nav-link.active {
  color: var(--gold);
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
}
.mobile-nav-buttons {
  display: none;
  background: var(--deep-navy);
  width: 100%;
  border-top: 1px solid var(--divider);
  padding: 8px 0;
}
.mobile-buttons-container {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 0 15px;
}
.mobile-buttons-container .btn {
  flex: 1;
  max-width: 220px;
}
.hamburger-menu {
  display: none;
  position: fixed;
  top: 10px;
  left: 16px;
  z-index: 1002;
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px 0;
}
.hamburger-menu span {
  display: block;
  width: 30px;
  height: 3px;
  background: var(--gold);
  margin: 6px auto;
  border-radius: 3px;
  transition: all 0.35s ease;
}
.hamburger-menu.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
}
.hamburger-menu.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(8, 22, 43, 0.7);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.mobile-menu-overlay.active {
  opacity: 1;
}
.mobile-menu-overlay.show {
  display: block;
}
.site-footer {
  background: var(--deep-navy);
  color: var(--text-secondary);
  padding: 50px 0 0 0;
  margin-top: 60px;
  border-top: 3px solid var(--primary);
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-logo {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -1px;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-block;
}
.footer-description {
  font-size: 14px;
  line-height: 1.6;
  max-width: 360px;
  margin: 0;
}
.footer-heading {
  color: var(--text-main);
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 16px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-list a {
  font-size: 14px;
  transition: color 0.3s;
}
.footer-list a:hover {
  color: var(--gold);
}
.footer-bottom {
  margin-top: 40px;
  padding: 20px 15px;
  border-top: 1px solid var(--divider);
  text-align: center;
  font-size: 13px;
}
@media (max-width: 768px) {
  :root {
    --header-offset: 156px;
  }
  body {
    padding-top: var(--header-offset);
    overflow-x: hidden;
  }
  .page-content {
    overflow-x: hidden;
    width: 100%;
  }
  .page-content img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
  }
  .header-top {
    min-height: 60px;
  }
  .header-container {
    width: 100%;
    max-width: none;
    padding: 0 55px;
    min-height: 60px;
    position: relative;
  }
  .logo {
    margin-left: auto;
    margin-right: auto;
    font-size: 24px;
    display: block;
  }
  .desktop-nav-buttons {
    display: none;
  }
  .main-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background: var(--deep-navy);
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 999;
    border-right: 1px solid var(--divider);
    overflow-y: auto;
  }
  .main-nav.active {
    display: flex;
    transform: translateX(0);
  }
  .nav-container {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 0;
    width: 100%;
    max-width: none;
  }
  .nav-link {
    width: 100%;
    padding: 13px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 16px;
    color: var(--text-main);
  }
  .nav-link.active::after {
    left: 20px;
    transform: none;
    width: 4px;
    height: 20px;
    top: 10px;
  }
  .mobile-nav-buttons {
    display: flex;
    min-height: 48px;
  }
  .hamburger-menu {
    display: block;
  }
  .mobile-menu-overlay {
    display: none;
  }
  .mobile-menu-overlay.active,
  .mobile-menu-overlay.show {
    display: block;
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  .footer-description {
    margin: 0 auto;
  }
  .footer-list {
    align-items: center;
  }
}
@media (min-width: 769px) {
  .mobile-nav-buttons {
    display: none !important;
  }
  .hamburger-menu {
    display: none !important;
  }
  .mobile-menu-overlay {
    display: none !important;
  }
  body.no-scroll {
    overflow: 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;
}
