.site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background-color: #08160F; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5); border-bottom: 1px solid #2E7A4E; min-height: auto; }
.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-left: 30px; padding-right: 30px; min-height: 68px; }
.logo { display: inline-block; font-size: 28px; font-weight: 800; color: #F2FFF6; text-decoration: none; letter-spacing: 1px; text-transform: uppercase; text-shadow: 0 0 10px rgba(87, 227, 141, 0.5); }
.desktop-nav-buttons { display: flex; gap: 12px; align-items: center; }
.btn { display: inline-block; padding: 10px 24px; border-radius: 8px; font-size: 14px; font-weight: 700; text-decoration: none; text-align: center; transition: all 0.3s ease; border: none; cursor: pointer; }
.btn-register { background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); color: #F2FFF6; box-shadow: 0 4px 15px rgba(18, 153, 74, 0.4); }
.btn-register:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(18, 153, 74, 0.6); }
.btn-login { background: linear-gradient(180deg, #F2C14E 0%, #D4A032 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; 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: 10px 20px; gap: 8px; }
.nav-link { color: #A7D9B8; text-decoration: none; font-size: 14px; font-weight: 500; padding: 8px 15px; border-radius: 6px; transition: all 0.3s ease; white-space: nowrap; border-left: 1px solid transparent; border-right: 1px solid transparent; }
.nav-link:hover { color: #F2FFF6; background-color: rgba(87, 227, 141, 0.1); }
.mobile-nav-buttons { display: none; }
.hamburger-menu, .mobile-menu-overlay { display: none; }
:root { --header-offset: 122px; }
body { padding-top: var(--header-offset); margin: 0; }
.site-footer { background-color: #08160F; color: #A7D9B8; padding: 50px 20px 0; border-top: 2px solid #2E7A4E; }
.footer-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 30px; }
.footer-column { padding: 0 10px; }
.footer-logo { display: inline-block; font-size: 26px; font-weight: 800; color: #F2FFF6; text-decoration: none; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 15px; }
.footer-description { font-size: 14px; line-height: 1.6; color: #A7D9B8; margin: 0; }
.footer-heading { color: #F2C14E; font-size: 16px; font-weight: 700; margin-bottom: 15px; text-transform: uppercase; }
.footer-nav ul { list-style: none; padding: 0; margin: 0; }
.footer-nav li { margin-bottom: 10px; }
.footer-nav li a { color: #A7D9B8; text-decoration: none; font-size: 14px; transition: color 0.3s; }
.footer-nav li a:hover { color: #F2FFF6; }
.footer-bottom { border-top: 1px solid #1E3A2A; padding: 20px 0; text-align: center; }
.footer-bottom p { margin: 0; font-size: 13px; color: #A7D9B8; }
@media (max-width: 768px) {
  .site-header { min-height: auto; }
  .header-top { background-color: #0A4B2C; }
  .header-container { width: 100%; max-width: none; padding-left: 15px; padding-right: 15px; min-height: 60px; justify-content: space-between; position: relative; }
  .logo { position: absolute; left: 50%; transform: translateX(-50%); font-size: 24px; }
  .desktop-nav-buttons { display: none; }
  .main-nav { display: none; position: fixed; top: 0; left: 0; width: 280px; height: 100vh; background-color: #11271B; flex-direction: column; align-items: flex-start; padding: 70px 20px 20px; z-index: 1002; transform: translateX(-100%); transition: transform 0.3s ease; box-shadow: 4px 0 20px rgba(0, 0, 0, 0.5); border-right: 1px solid #2E7A4E; }
  .main-nav.active { display: flex; transform: translateX(0); }
  .nav-container { flex-direction: column; align-items: flex-start; width: 100%; padding: 0; gap: 5px; }
  .nav-link { width: 100%; font-size: 16px; padding: 12px 10px; border-bottom: 1px solid #1E3A2A; border-left: none; border-right: none; }
  .hamburger-menu { display: flex; flex-direction: column; justify-content: center; align-items: center; width: 44px; height: 44px; cursor: pointer; z-index: 1003; position: relative; }
  .hamburger-menu span { display: block; width: 24px; height: 2px; background-color: #F2FFF6; margin: 3px 0; transition: all 0.3s ease; border-radius: 2px; }
  .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); }
  .mobile-menu-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background-color: rgba(8, 22, 15, 0.8); z-index: 1001; transition: all 0.3s ease; /* replaced visibility and opacity with display */ }
  .mobile-menu-overlay.active { display: block; }
  .mobile-nav-buttons { display: flex; position: relative; z-index: 1000; background-color: #0A4B2C; border-top: 1px solid #2E7A4E; padding: 10px 15px; gap: 10px; justify-content: center; }
  .btn { padding: 8px 16px; font-size: 13px; }
  :root { --header-offset: 146px; }
  .footer-container { grid-template-columns: 1fr; gap: 30px; padding: 20px 5px; }
  .page-content img { max-width: 100% !important; height: auto !important; display: block; }
  .page-content { overflow-x: hidden; max-width: 100%; }
}
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
