:root {
  --header-offset: 122px;
}
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.header-top {
  background: linear-gradient(135deg, #0A4B2C 0%, #11A84E 100%);
  width: 100%;
  color: #F2FFF6;
  border-bottom: 1px solid #2E7A4E;
}
.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px;
  min-height: 68px;
}
.logo {
  font-size: 28px;
  font-weight: 800;
  color: #F2FFF6;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-shadow: 0 0 20px rgba(87, 227, 141, 0.6);
  display: inline-block;
}
.desktop-nav-buttons {
  display: flex;
  gap: 12px;
  padding: 4px 0;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  border: 2px solid transparent;
  line-height: 1;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}
.btn-register {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #08160F;
  border-color: #57E38D;
}
.btn-login {
  background: linear-gradient(180deg, #F2C14E 0%, #D4A032 100%);
  color: #08160F;
  border-color: #F2C14E;
}
.main-nav {
  background: #11271B;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  min-height: 52px;
  border-top: 1px solid #2E7A4E;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 6px 24px;
  flex-wrap: wrap;
  width: 100%;
}
.nav-link {
  color: #F2FFF6;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 8px;
  transition: all 0.3s ease;
  white-space: nowrap;
  letter-spacing: 0.3px;
  display: inline-block;
}
.nav-link:hover {
  background: #2E7A4E;
  color: #F2FFF6;
  transform: translateY(-1px);
}
.mobile-menu-overlay {
  display: none;
}
.hamburger-menu {
  display: none;
}
.mobile-nav-buttons {
  display: none;
}
.site-footer {
  background: #08160F;
  color: #A7D9B8;
  padding: 40px 0 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  border-top: 2px solid #2E7A4E;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  padding: 0 24px 32px;
}
.footer-column {
  flex: 1;
  min-width: 220px;
}
.footer-logo {
  color: #F2C14E;
  font-size: 26px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 3px;
  display: inline-block;
  margin-bottom: 12px;
}
.footer-column p {
  font-size: 14px;
  line-height: 1.8;
  color: #A7D9B8;
  margin-bottom: 16px;
  max-width: 280px;
}
.footer-column h3 {
  font-size: 18px;
  font-weight: 700;
  color: #F2C14E;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #2E7A4E;
  display: inline-block;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.footer-nav a {
  color: #A7D9B8;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
  line-height: 1.6;
}
.footer-nav a:hover {
  color: #F2C14E;
  text-decoration: underline;
}
.footer-bottom {
  background: #11271B;
  padding: 16px 24px;
  text-align: center;
  border-top: 1px solid #2E7A4E;
}
.footer-bottom p {
  font-size: 14px;
  color: #A7D9B8;
  margin: 0;
}
@media (max-width: 768px) {
  :root {
    --header-offset: 110px;
  }
  .site-header {
    background: #11271B;
  }
  .header-top {
    background: linear-gradient(135deg, #0A4B2C 0%, #11A84E 100%);
  }
  .header-container {
    width: 100%;
    max-width: none;
    min-height: 60px;
    padding: 8px 40px 8px 52px;
    justify-content: center;
  }
  .logo {
    font-size: 20px;
  }
  .desktop-nav-buttons {
    display: none;
  }
  .main-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background: #08160F;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 80px;
    z-index: 1002;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.35s ease;
    box-shadow: 4px 0 30px rgba(0, 0, 0, 0.5);
    border-top: none;
    border-right: 1px solid #2E7A4E;
  }
  .main-nav.active {
    display: block;
    transform: translateX(0);
  }
  .nav-container {
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    width: 100%;
    max-width: none;
    padding: 10px;
  }
  .nav-link {
    padding: 14px 16px;
    text-align: left;
    font-size: 16px;
    border-bottom: 1px solid #1E3A2A;
    width: 100%;
  }
  .mobile-menu-overlay {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease;
  }
  .mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
  }
  .hamburger-menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1003;
    padding: 0;
  }
  .hamburger-menu .bar {
    display: block;
    width: 22px;
    height: 2px;
    background: #F2FFF6;
    margin: 4px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
  }
  .hamburger-menu.active .bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  .hamburger-menu.active .bar:nth-child(2) {
    opacity: 0;
  }
  .hamburger-menu.active .bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }
  .mobile-nav-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 10px 15px;
    background: #0A4B2C;
    border-top: 1px solid #2E7A4E;
    width: 100%;
    z-index: 999;
    min-height: 48px;
  }
  .mobile-nav-buttons .btn {
    flex: 1;
    max-width: 200px;
    padding: 10px 20px;
    font-size: 15px;
  }
  .mobile-nav-buttons .nav-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 12px;
    padding: 0;
  }
  body {
    padding-top: var(--header-offset);
  }
  .footer-container {
    padding: 0px 15px 24px;
    gap: 24px;
  }
}
body {
  padding-top: var(--header-offset);
  background: #08160F;
}
@supports (padding-top: env(safe-area-inset-top)) {
  body {
    padding-top: calc(var(--header-offset) + env(safe-area-inset-top));
  }
}
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
