:root {
  --header-offset: 122px;
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --btn-register-bg: #C30808;
  --btn-login-bg: #C30808;
  --btn-text-color: #FFFF00;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
  background-color: var(--secondary-color);
}
body {
  padding-top: var(--header-offset);
  font-family: Arial, Helvetica, sans-serif;
}
.header-top {
  background: linear-gradient(135deg, #005a2b 0%, #017439 50%, #008a4a 100%);
  width: 100%;
}
.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 30px;
  padding-right: 30px;
  min-height: 68px;
}
.header-left {
  display: flex;
  align-items: center;
  gap: 15px;
}
.logo {
  font-size: 32px;
  font-weight: 900;
  color: var(--secondary-color);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
  display: inline-block;
  line-height: 1.2;
}
.logo:hover {
  color: #FFFF00;
}
.hamburger-menu {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.hamburger-menu span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--secondary-color);
  border-radius: 3px;
  transition: transform 0.3s ease, opacity 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);
}
.header-right {
  display: flex;
  align-items: center;
}
.desktop-nav-buttons {
  display: flex;
  gap: 10px;
  align-items: center;
}
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 40px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  text-align: center;
  letter-spacing: 0.5px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-register {
  background-color: var(--btn-register-bg);
  color: var(--btn-text-color);
  border: 2px solid #e0a800;
}
.btn-login {
  background-color: var(--btn-login-bg);
  color: var(--btn-text-color);
  border: 2px solid #e0a800;
}
.btn:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
.main-nav {
  background-color: #f0f8f5;
  width: 100%;
  display: flex;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  min-height: 52px;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 8px 20px;
  flex-wrap: wrap;
  width: 100%;
}
.nav-link {
  color: var(--primary-color);
  font-size: 15px;
  text-decoration: none;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 20px;
  transition: background-color 0.3s ease, color 0.3s ease;
  position: relative;
}
.nav-link:hover {
  background-color: var(--primary-color);
  color: #FFFF00;
}
.nav-link.active {
  background-color: var(--primary-color);
  color: #FFFF00;
}
.mobile-nav-buttons {
  display: none;
}
.mobile-menu-overlay {
  display: none;
}
.site-footer {
  background-color: #1a1a2e;
  color: #ffffff;
  font-size: 14px;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding: 40px 20px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
}
.footer-logo {
  font-size: 30px;
  font-weight: 900;
  color: #FFFFFF;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
}
.footer-logo:hover {
  color: #FFFF00;
}
.footer-description {
  color: #b0b0b0;
  line-height: 1.6;
  font-size: 13px;
}
.footer-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #FFFFFF;
  position: relative;
  padding-bottom: 8px;
}
.footer-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: #FFFF00;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  color: #b0b0b0;
  text-decoration: none;
  transition: color 0.3s;
  padding: 2px 0;
}
.footer-links a:hover {
  color: #FFFF00;
}
.footer-address,
.footer-hotline,
.footer-note {
  color: #b0b0b0;
  margin-bottom: 10px;
  line-height: 1.5;
}
.footer-note {
  font-weight: 700;
  color: #FFFF00;
}
.footer-bottom {
  background-color: #0f0f1a;
  padding: 15px 0;
  width: 100%;
}
.footer-bottom-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  padding: 0 20px;
}
.copyright {
  color: #b0b0b0;
  font-size: 14px;
}
.footer-bottom a {
  color: #FFFFFF;
  text-decoration: none;
}
.footer-bottom a:hover {
  color: #FFFF00;
  text-decoration: underline;
}
@media (max-width: 768px) {
  :root {
    --header-offset: 110px;
  }
  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;
  }
  .header-top {
    background: linear-gradient(135deg, #005a2b 0%, #017439 50%, #008a4a 100%);
    width: 100%;
  }
  .header-container {
    width: 100%;
    max-width: none;
    padding-left: 15px;
    padding-right: 15px;
    min-height: 60px;
    position: relative;
  }
  .header-left {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
  }
  .hamburger-menu {
    display: flex;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1002;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    gap: 4px;
  }
  .hamburger-menu span {
    background-color: #FFFFFF;
    width: 24px;
    height: 2px;
    display: block;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .logo {
    font-size: 28px;
    color: #FFFFFF;
    display: block;
    text-align: center;
    line-height: 1;
    padding: 5px 0;
  }
  .header-right {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1003;
  }
  .desktop-nav-buttons {
    gap: 5px;
  }
  .desktop-nav-buttons .btn {
    padding: 6px 12px;
    font-size: 12px;
    white-space: nowrap;
    display: inline-block;
    color: #FFFF00;
    border-radius: 20px;
    font-weight: 700;
  }
  .btn-register {
    background-color: #C30808;
    color: #FFFF00;
    border: 1px solid #e0a800;
  }
  .btn-login {
    background-color: #C30808;
    color: #FFFF00;
    border: 1px solid #e0a800;
  }
  .main-nav {
    display: none;
    min-height: auto;
    background-color: #f0f8f5;
  }
  .main-nav.active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 260px;
    background-color: #f0f8f5;
    transform: translateX(0);
    padding-top: 70px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    z-index: 1101;
    overflow-y: auto;
  }
  .main-nav {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1101;
  }
  .nav-container {
    width: 100%;
    max-width: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px 0;
  }
  .nav-link {
    padding: 8px 15px;
    width: 100%;
    color: #017439;
    border-radius: 0;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
  }
  .nav-link:hover {
    background-color: #017439;
    color: #FFFF00;
  }
  .mobile-nav-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 10px 15px;
    background-color: #FFFFFF;
    min-height: 48px;
    border-top: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  .mobile-nav-buttons .btn {
    flex: 1;
    max-width: 180px;
    padding: 10px 20px;
    font-size: 14px;
    text-align: center;
    display: inline-block;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    color: #FFFF00;
    border: none;
  }
  .mobile-nav-buttons .btn-register {
    background-color: #C30808;
  }
  .mobile-nav-buttons .btn-login {
    background-color: #C30808;
  }
  .mobile-menu-overlay {
    display: none;
  }
  .mobile-menu-overlay.show {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1100;
  }
  body.no-scroll {
    overflow: hidden;
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px 15px;
  }
  .footer-col {
    text-align: left;
  }
  .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px 15px;
  }
  .footer-bottom-container {
    padding: 0 15px;
  }
}
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
