:root {
  --primary: #11A84E;
  --primary-light: #2AD16F;
  --primary-dark: #0A4B2C;
  --primary-glow: #57E38D;
  --gold: #F2C14E;
  --card-bg: #11271B;
  --bg-dark: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --divider: #1E3A2A;
  --btn-bg: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --header-offset: 122px;
}
body {
  margin: 0;
  padding-top: var(--header-offset);
  background-color: var(--bg-dark);
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: block;
  background: var(--bg-dark);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
  z-index: 1000;
}
.header-top {
  background: var(--bg-dark);
  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;
}
.logo {
  font-size: 34px;
  font-weight: 900;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: -0.5px;
  line-height: 1.2;
  text-shadow: 0 0 15px rgba(242, 193, 78, 0.4);
}
.logo:hover {
  color: var(--gold);
}
.desktop-nav-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn {
  display: inline-block;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  padding: 10px 18px;
  text-align: center;
  cursor: pointer;
  line-height: 1.2;
  transition: all 0.3s ease;
  color: var(--text-main);
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-download {
  background: linear-gradient(180deg, #0A4B2C 0%, #08160F 100%);
  border: 1px solid var(--primary);
}
.btn-download:hover {
  box-shadow: 0 0 12px rgba(17, 168, 78, 0.5);
  border-color: var(--primary-glow);
}
.btn-login {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-color);
}
.btn-login:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--text-secondary);
}
.btn-register {
  background: var(--btn-bg);
  border: 2px solid var(--primary-glow);
  color: var(--bg-dark);
  font-weight: 800;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 12px rgba(87, 227, 141, 0.3);
}
.btn-register:hover {
  box-shadow: 0 4px 20px var(--primary-glow);
  transform: translateY(-2px) scale(1.02);
}
.mobile-nav-buttons {
  display: none;
  background-color: var(--bg-dark);
  border-bottom: 1px solid var(--divider);
  padding: 8px 12px 12px 12px;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.main-nav {
  display: flex;
  background: var(--card-bg);
  border-bottom: 1px solid var(--border-color);
  width: 100%;
  flex-direction: row;
  position: static;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 8px 16px;
  min-height: 52px;
}
.nav-link {
  color: var(--text-main);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 8px 15px;
  border-radius: 4px;
  line-height: 1.4;
  display: inline-block;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.nav-link:hover {
  background: rgba(17, 168, 78, 0.2);
  color: var(--primary-glow);
}
.nav-link.active {
  color: var(--gold);
  background: rgba(17, 168, 78, 0.15);
}
.hamburger-menu {
  display: none;
  background: transparent;
  border: none;
  width: 44px;
  height: 44px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  z-index: 1001;
  position: relative;
}
.hamburger-line {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--text-main);
  border-radius: 4px;
  transition: all 0.3s ease;
}
.mobile-menu-overlay {
  display: none;
}
.site-footer {
  background: var(--bg-dark);
  border-top: 2px solid var(--border-color);
  margin-top: 40px;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 35px;
  padding: 45px 20px 30px 20px;
}
.footer-column {
  display: flex;
  flex-direction: column;
}
.footer-logo {
  font-size: 28px;
  font-weight: 900;
  color: var(--gold);
  text-decoration: none;
  margin-bottom: 14px;
}
.footer-desc {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}
.footer-heading {
  color: var(--text-main);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 12px;
  text-align: left;
}
.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-nav li a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  line-height: 2.2;
  transition: color 0.2s;
}
.footer-nav li a:hover {
  color: var(--primary-glow);
}
.footer-bottom {
  border-top: 1px solid var(--divider);
  background: rgba(0, 0, 0, 0.25);
  text-align: center;
  padding: 18px 15px;
}
.footer-bottom p {
  color: var(--text-secondary);
  font-size: 14px;
  margin: 5px 0;
}
#copyright-year {
  color: var(--text-main);
  font-weight: 600;
}
@media (max-width: 768px) {
  :root {
    --header-offset: 146px;
  }
  body {
    overflow-x: hidden;
  }
  .header-container {
    width: 100%;
    max-width: none;
    min-height: 60px;
    justify-content: space-between;
    padding-left: 12px;
    padding-right: 12px;
    flex-wrap: wrap;
  }
  .header-top {
    background-color: var(--bg-dark);
  }
  .logo {
    order: 2;
    flex: 1;
    text-align: center;
    font-size: 28px;
    margin: 0 auto;
  }
  .hamburger-menu {
    order: 1;
    display: flex;
    flex-direction: column;
  }
  .desktop-nav-buttons {
    display: none;
  }
  .mobile-nav-buttons {
    display: flex;
    order: 3;
    width: 100%;
    border-top: 1px solid var(--divider);
  }
  .btn {
    flex: 1;
    text-align: center;
    font-size: 14px;
    padding: 8px 6px;
  }
  .btn-register {
    border-width: 1px;
  }
  .main-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 78%;
    max-width: 320px;
    flex-direction: column;
    background: var(--card-bg);
    z-index: 1000;
    transform: translateX(-100%);
    transition: transform 0.3s ease, display 0.3s ease;
    height: 100%;
    overflow-y: auto;
    border-right: 1px solid var(--border-color);
    border-bottom: none;
  }
  .main-nav.active {
    display: block;
    transform: translateX(0);
  }
  .nav-container {
    flex-direction: column;
    width: 100%;
    max-width: none;
    align-items: flex-start;
    padding: 0;
    min-height: 0;
  }
  .nav-link {
    width: 100%;
    padding: 14px 24px;
    font-size: 15px;
    border-bottom: 1px solid var(--divider);
    white-space: normal;
  }
  .nav-link:hover {
    background: var(--primary-dark);
  }
  .mobile-menu-overlay {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  .mobile-menu-overlay.active {
    display: block;
    opacity: 1;
    pointer-events: auto;
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 35px 16px 20px 16px;
  }
  .footer-column {
    text-align: left;
  }
  .footer-bottom p {
    font-size: 13px;
  }
  .page-content img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
  }
  .page-content {
    overflow-x: hidden;
    max-width: 100%;
  }
  .nav-container {
    padding-left: 0;
    padding-right: 0;
  }
  .header-container {
    padding-bottom: 0;
  }
  .mobile-nav-buttons {
    min-height: 48px;
  }
}
@media (min-width: 769px) {
  .mobile-nav-buttons, .hamburger-menu, .mobile-menu-overlay {
    display: none;
  }
  .main-nav, .desktop-nav-buttons {
    display: flex;
  }
  .footer-nav, .footer-logo, .footer-desc {
    display: block;
  }
}
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
