:root {
  --header-offset: 122px;
  --nav-bg: #f8f9fa;
  --top-bg: #006130;
  --footer-bg: #f8f9fa;
  --white: #ffffff;
  --footer-heading-color: #017439;
}
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #ffffff;
  padding-top: var(--header-offset);
}
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--white);
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.header-top {
  background-color: var(--top-bg);
  width: 100%;
}
.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px;
}
.logo {
  font-size: 32px;
  font-weight: 900;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: 2px;
  background: linear-gradient(135deg, #f5e96b 0%, #e6c200 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  display: inline-block;
  flex-shrink: 0;
}
.desktop-nav-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}
.btn-login {
  background-color: #C30808;
  color: #FFFF00;
  border: 2px solid #FFFF00;
}
.btn-login:hover {
  background-color: #a00505;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(195, 8, 8, 0.4);
}
.btn-register {
  background-color: #C30808;
  color: #FFFF00;
  border: 2px solid #FFFF00;
}
.btn-register:hover {
  background-color: #a00505;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(195, 8, 8, 0.4);
}
.main-nav {
  background-color: var(--nav-bg);
  width: 100%;
  display: flex;
  align-items: center;
  border-bottom: 3px solid #017439;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
.nav-menu {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
}
.nav-item {
  margin: 0;
}
.nav-link {
  display: inline-block;
  padding: 14px 16px;
  font-weight: 600;
  font-size: 15px;
  color: #222222;
  text-decoration: none;
  text-align: center;
  transition: color 0.3s ease, background-color 0.3s ease;
  min-height: 48px;
  line-height: 29px;
  box-sizing: border-box;
}
.nav-link:hover {
  color: #017439;
  background-color: rgba(1, 116, 57, 0.1);
}
.nav-link.active {
  color: #017439;
  border-bottom: 3px solid #017439;
}
.mobile-nav-buttons {
  display: none;
}
.hamburger-menu {
  display: none;
}
.mobile-menu-overlay {
  display: none;
}
.site-footer {
  background-color: #212121;
  color: rgba(255, 255, 255, 0.9);
  padding: 50px 0 0;
  width: 100%;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding: 0 24px 30px;
}
.footer-brand .footer-logo {
  font-size: 36px;
  font-weight: 900;
  color: #ffffff;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 15px;
  letter-spacing: 2px;
}
.footer-description {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  text-align: left;
}
.footer-heading {
  color: #e6c200;
  font-size: 18px;
  margin: 0 0 20px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: left;
}
.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-column .footer-nav li {
  margin-bottom: 12px;
  text-align: left;
}
.footer-nav a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.5;
  display: inline-block;
  transition: color 0.3s ease;
  text-align: left;
}
.footer-nav a:hover {
  color: #e6c200;
}
.footer-bottom {
  background-color: #1a1a1a;
  padding: 20px 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-bottom p {
  margin: 5px 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
}
.footer-bottom a {
  color: #e6c200;
  text-decoration: none;
}
@media (max-width: 768px) {
  :root {
    --header-offset: 146px;
  }
  .site-header {
    flex-direction: column;
  }
  .header-top {
    order: 1;
    width: 100%;
  }
  .header-container {
    width: 100%;
    max-width: none;
    padding: 10px 20px;
    justify-content: space-between;
    position: relative;
    min-height: 60px;
    box-sizing: border-box;
  }
  .site-header .hamburger-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1003;
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    padding: 0;
    outline: none;
  }
  .site-header .hamburger-menu span {
    display: block;
    width: 24px;
    height: 3px;
    background-color: #ffffff;
    border-radius: 3px;
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
  }
  .site-header .hamburger-menu.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
    background-color: #ffffff;
  }
  .site-header .hamburger-menu.active span:nth-child(2) {
    opacity: 0;
  }
  .site-header .hamburger-menu.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
    background-color: #ffffff;
  }
  .desktop-nav-buttons {
    display: none;
  }
  .mobile-nav-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 8px 15px;
    background-color: #004d26;
    order: 2;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    box-sizing: border-box;
  }
  .mobile-nav-buttons .btn {
    flex: 1;
    max-width: 180px;
    font-size: 13px;
    padding: 10px 12px;
    border-radius: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  }
  .logo {
    font-size: 26px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 0;
    background: linear-gradient(135deg, #f5e96b 0%, #e6c200 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
  }
  .main-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    height: 100%;
    background-color: #f8f9fa;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    z-index: 1002;
    overflow-y: auto;
    padding-top: 60px;
    border-right: 3px solid #017439;
  }
  .main-nav.active {
    display: block;
    transform: translateX(0);
  }
  .nav-container {
    width: 100%;
    max-width: none;
    padding: 0;
  }
  .nav-menu {
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    margin: 0;
  }
  .nav-item {
    border-bottom: 1px solid #e0e0e0;
  }
  .nav-item:last-child {
    border-bottom: none;
  }
  .nav-link {
    display: block;
    padding: 15px 20px;
    font-size: 15px;
    line-height: 1.5;
    min-height: 48px;
    box-sizing: border-box;
    text-align: left;
  }
  .nav-link.active {
    background-color: rgba(1, 116, 57, 0.15);
    border-bottom: none;
    border-left: 4px solid #017439;
  }
  .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;
    transition: opacity 0.3s ease;
  }
  .mobile-menu-overlay.active {
    display: block;
  }
  .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;
}
