:root {
  --header-offset: 122px;
  --color-primary: #113B7A;
  --color-secondary: #1D5FD1;
  --color-btn-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  --color-card-bg: #10233F;
  --color-text-main: #F3F8FF;
  --color-text-secondary: #AFC4E8;
  --color-border: #244D84;
  --color-glow: #4FA8FF;
  --color-gold: #F2C14E;
  --color-divider: #1B3357;
  --color-deep-navy: #08162B;
}
body { padding-top: var(--header-offset); margin: 0; }
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  min-height: auto;
}
.header-top {
  background-color: var(--color-primary);
  width: 100%;
}
.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  min-height: 48px;
}
.logo {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: var(--color-gold);
  text-decoration: none;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.desktop-nav-buttons {
  display: flex;
  gap: 10px;
  align-items: center;
}
.btn {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}
.btn-register {
  background: var(--color-btn-gradient);
  color: #ffffff;
}
.btn-login {
  background: transparent;
  color: var(--color-text-main);
  border: 1px solid var(--color-border);
}
.btn-login:hover {
  background: rgba(255, 255, 255, 0.1);
}
.main-nav {
  background-color: var(--color-secondary);
  width: 100%;
  display: flex;
  flex-direction: row;
  position: static;
  transition: transform 0.3s ease;
  z-index: 1002;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 8px 20px;
  flex-wrap: wrap;
}
.nav-container a {
  padding: 6px 14px;
  color: var(--color-text-main);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  border-radius: 4px;
  transition: background 0.3s, color 0.3s;
}
.nav-container a:hover {
  background: var(--color-primary);
  color: var(--color-gold);
}
.mobile-nav-buttons {
  display: none;
}
.hamburger-menu {
  display: none;
}
.mobile-menu-overlay {
  display: none;
}
.site-footer {
  background-color: var(--color-deep-navy);
  color: var(--color-text-main);
  border-top: 3px solid var(--color-gold);
  margin-top: 40px;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  padding: 40px 20px 30px;
}
.footer-column {
  flex: 1;
  min-width: 180px;
}
.footer-brand { flex: 2; }
.footer-logo {
  font-size: 28px;
  font-weight: 800;
  color: var(--color-gold);
  text-decoration: none;
  text-transform: uppercase;
}
.footer-description {
  color: var(--color-text-secondary);
  font-size: 14px;
  line-height: 1.6;
  margin-top: 10px;
}
.footer-title {
  font-size: 18px;
  color: var(--color-gold);
  margin-bottom: 15px;
  border-bottom: 1px solid var(--color-divider);
  padding-bottom: 5px;
}
.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-nav li { margin-bottom: 8px; }
.footer-nav a {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}
.footer-nav a:hover {
  color: var(--color-gold);
}
.footer-bottom {
  border-top: 1px solid var(--color-divider);
  padding: 15px 20px;
  text-align: center;
  font-size: 13px;
  color: var(--color-text-secondary);
  background: var(--color-primary);
}
.footer-bottom p { margin: 4px 0; }
.copyright-text .copyright-year { font-weight: 700; }
.footer-slogan { opacity: 0.8; }
@media (max-width: 768px) {
  :root {
    --header-offset: 156px;
  }
  .header-container {
    width: 100%;
    max-width: none;
    padding: 8px 12px;
    min-height: 44px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .logo {
    font-size: 28px;
    order: 2;
    flex: 1;
    text-align: center;
  }
  .desktop-nav-buttons {
    display: none;
  }
  .hamburger-menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
    order: 1;
    margin-left: 0;
  }
  .hamburger-menu span {
    display: block;
    width: 24px;
    height: 3px;
    background: var(--color-gold);
    border-radius: 2px;
    transition: all 0.3s ease;
  }
  .hamburger-menu.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .hamburger-menu.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger-menu.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  .main-nav {
    position: fixed;
    top: 44px;
    left: 0;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    overflow-y: auto;
    background: var(--color-deep-navy);
    flex-direction: column;
    display: none;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1002;
    box-shadow: 4px 0 15px rgba(0, 0, 0, 0.3);
    padding-top: 10px;
  }
  .main-nav.active {
    display: block;
    transform: translateX(0);
  }
  .nav-container {
    width: 100%;
    max-width: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    padding: 10px 15px;
  }
  .nav-container a {
    display: block;
    width: 100%;
    padding: 12px 10px;
    border-bottom: 1px solid var(--color-divider);
    font-size: 16px;
    color: var(--color-text-main);
  }
  .nav-container a:hover {
    background: var(--color-primary);
    color: var(--color-gold);
  }
  .mobile-nav-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    background: var(--color-primary);
    border-top: 1px solid var(--color-border);
    width: 100%;
    box-sizing: border-box;
    z-index: 999;
  }
  .mobile-nav-buttons .btn {
    flex: 1;
    max-width: 180px;
    font-size: 14px;
    padding: 8px 12px;
  }
  .mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
  }
  .mobile-menu-overlay.active {
    display: block;
  }
  .footer-container {
    padding: 30px 15px 20px;
    gap: 20px;
  }
  .footer-column {
    flex: 1 1 100%;
    text-align: center;
  }
  .footer-nav { margin: 0 auto; }
  body {
    overflow-x: hidden;
  }
  .page-content img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
  }
  .page-content {
    overflow-x: hidden;
    max-width: 100%;
  }
  body {
    overflow-x: 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;
}
