.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #08160F;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  border-bottom: 1px solid #2E7A4E;
}

.header-top {
  background-color: #0A4B2C;
  width: 100%;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 40px;
  min-height: 44px;
}

.logo {
  display: inline-block;
  font-size: 28px;
  font-weight: 800;
  text-decoration: none;
  background: linear-gradient(135deg, #57E38D 0%, #F2C14E 50%, #57E38D 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(87, 227, 141, 0.3);
  letter-spacing: 1px;
  white-space: nowrap;
}

.desktop-nav-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  transition: all 0.3s ease;
  line-height: 1.4;
  min-height: 38px;
}

.btn-register {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.btn-register:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.btn-login {
  background: linear-gradient(135deg, #F2C14E 0%, #E6A800 100%);
  color: #08160F;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.3);
}

.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.5);
}

.main-nav {
  background-color: #11271B;
  width: 100%;
  display: flex;
  flex-direction: row;
  position: static;
  border-top: 1px solid #1E3A2A;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 6px 20px;
  width: 100%;
  gap: 2px;
}

.nav-link {
  color: #A7D9B8;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 14px;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.nav-link:hover {
  color: #57E38D;
}

.mobile-nav-buttons {
  display: none;
}

.hamburger-menu {
  display: none;
}

.mobile-menu-overlay {
  display: none;
}

:root {
  --header-offset: 122px;
}

body {
  padding-top: var(--header-offset);
  background-color: #08160F;
}

.site-footer {
  background-color: #08160F;
  color: #F2FFF6;
  border-top: 2px solid #2E7A4E;
  padding: 40px 20px 0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  padding-bottom: 30px;
}

.footer-brand .footer-logo {
  font-size: 28px;
  font-weight: 800;
  color: #F2FFF6;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 15px;
}

.footer-description {
  font-size: 14px;
  line-height: 1.6;
  color: #A7D9B8;
  margin-bottom: 15px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-icon {
  color: #A7D9B8;
  font-size: 13px;
  text-decoration: none;
  border: 1px solid #2E7A4E;
  border-radius: 20px;
  padding: 5px 12px;
  transition: all 0.3s ease;
}

.social-icon:hover {
  color: #F2C14E;
  border-color: #F2C14E;
}

.footer-title {
  font-size: 16px;
  font-weight: 700;
  color: #F2C14E;
  margin-bottom: 15px;
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li {
  margin-bottom: 8px;
}

.footer-nav a {
  color: #A7D9B8;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: #57E38D;
}

.footer-contact .hotline {
  font-size: 14px;
  color: #F2C14E;
  margin-top: 15px;
}

.footer-bottom {
  border-top: 1px solid #1E3A2A;
  padding: 20px 0;
  text-align: center;
}

.copyright {
  font-size: 14px;
  color: #A7D9B8;
  margin: 0;
}

@media (max-width: 768px) {
  :root {
    --header-offset: 110px;
  }

  .header-container {
    width: 100%;
    max-width: none;
    padding: 10px 15px;
    flex-wrap: wrap;
  }

  .logo {
    font-size: 22px;
    text-align: center;
    flex: 1;
    order: 2;
  }

  .desktop-nav-buttons {
    display: none;
  }

  .main-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background-color: #11271B;
    z-index: 1002;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 60px;
    opacity: 1;
    visibility: visible;
  }

  .main-nav.active {
    display: block;
    transform: translateX(0);
  }

  .nav-container {
    width: 100%;
    max-width: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 10px;
  }

  .nav-link {
    padding: 8px 10px;
    font-size: 16px;
    color: #F2FFF6;
    width: 100%;
    display: block;
  }

  .mobile-nav-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background-color: #0A4B2C;
    flex-wrap: wrap;
  }

  .mobile-nav-buttons .btn {
    flex: 1;
    max-width: 180px;
    padding: 8px 16px;
    font-size: 13px;
  }

  .hamburger-menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 1003;
    background: transparent;
    border: none;
    padding: 0;
    order: 1;
  }

  .hamburger-menu span {
    display: block;
    width: 100%;
    height: 3px;
    margin: 3px 0;
    background-color: #57E38D;
    border-radius: 3px;
    transition: all 0.3s ease;
  }

  .hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger-menu.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
  }

  .mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-brand .footer-logo {
    margin-bottom: 10px;
  }

  .footer-title {
    margin-bottom: 10px;
  }

  .footer-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-nav li {
    margin-bottom: 6px;
  }

  .site-footer {
    padding-top: 30px;
  }

  .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;
}
