:root { --header-offset: 122px; --primary: #017439; --accent: #FFFFFF; --btn-red: #C30808; --btn-text: #FFFF00; }
* { box-sizing: border-box; }
body { padding-top: var(--header-offset); margin: 0; }
.site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; box-shadow: 0 4px 18px rgba(0,0,0,0.25); }
.header-top { height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; width: 100%; background: #014526; }
.header-container { width: 100%; height: 100%; max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding-left: 24px; padding-right: 24px; }
.logo { display: inline-block; font-size: 30px; font-weight: 800; letter-spacing: 1px; color: #FFFFFF; text-decoration: none; text-transform: lowercase; }
.logo img { display: block; max-height: 60px; height: auto; width: auto; max-width: 280px; object-fit: contain; }
.desktop-nav-buttons { display: flex; gap: 12px; align-items: center; }
.mobile-nav-buttons { display: none; min-height: 48px; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 22px; border-radius: 6px; text-decoration: none; font-weight: 700; font-size: 14px; line-height: 1.2; transition: transform 0.2s ease, box-shadow 0.2s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(0,0,0,0.25); }
.btn-login, .btn-register { background: var(--btn-red); color: var(--btn-text); border: 1px solid #a00606; }
.hamburger-menu { display: none; position: absolute; top: 10px; left: 14px; width: 44px; height: 44px; background: #014526; border: none; cursor: pointer; z-index: 1001; padding: 0; }
.hamburger-menu span { display: block; width: 26px; height: 3px; background: #FFFFFF; margin: 5px auto; transition: transform 0.3s ease, opacity 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); }
.menu-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.55); z-index: 999; opacity: 0; transition: opacity 0.3s ease; }
.menu-overlay.active { display: block; opacity: 1; }
.main-nav { min-height: 52px; height: 52px; display: flex; align-items: center; overflow: hidden; width: 100%; background: var(--primary); }
.nav-container { width: 100%; height: 100%; max-width: 1200px; margin: 0 auto; display: flex; flex-direction: row; justify-content: center; align-items: center; gap: 4px; padding: 0 20px; }
.nav-link { display: inline-flex; align-items: center; height: 100%; padding: 0 12px; color: #FFFFFF; text-decoration: none; font-size: 14px; font-weight: 600; white-space: nowrap; transition: background 0.2s ease, color 0.2s ease; }
.nav-link:hover, .nav-link.active { background: rgba(255,255,255,0.18); color: #FFFF00; }
.site-footer { background: #014526; color: #EEF5F1; padding: 44px 20px 0; margin-top: 40px; }
.footer-top-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer-col { min-width: 0; }
.footer-about { display: flex; flex-direction: column; }
.footer-logo { display: inline-block; font-size: 28px; font-weight: 800; color: #FFFF00; text-decoration: none; margin-bottom: 12px; }
.footer-description { font-size: 14px; line-height: 1.7; color: #CFE3D7; word-wrap: break-word; overflow-wrap: break-word; margin: 0 0 12px; }
.footer-col-title { font-size: 16px; font-weight: 700; color: #FFFFFF; margin: 0 0 14px; padding-bottom: 8px; border-bottom: 2px solid #017439; display: inline-block; }
.footer-nav { list-style: none; padding: 0; margin: 0; }
.footer-nav li { margin-bottom: 10px; }
.footer-nav a { color: #CFE3D7; text-decoration: none; font-size: 14px; transition: color 0.2s ease; }
.footer-nav a:hover { color: #FFFF00; }
.footer-mid-area { max-width: 1200px; margin: 28px auto 0; }
.footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.footer-slot-anchor-inner { min-height: 1px; visibility: visible; }
.footer-bottom { max-width: 1200px; margin: 24px auto 0; padding: 18px 0; border-top: 1px solid rgba(255,255,255,0.18); text-align: center; }
.footer-bottom p { margin: 0; font-size: 13px; color: #CFE3D7; }
@media (max-width: 768px) {
  :root { --header-offset: 110px; }
  .header-top { height: 60px !important; min-height: 60px !important; }
  .header-container { width: 100%; max-width: none; padding-left: 15px; padding-right: 15px; justify-content: center; position: relative; }
  .logo { display: flex !important; align-items: center !important; justify-content: center !important; font-size: 26px; }
  .logo img { max-height: 56px !important; display: block !important; }
  .desktop-nav-buttons { display: none !important; }
  .mobile-nav-buttons { display: flex !important; align-items: center; justify-content: center; width: 100%; max-width: 100%; min-height: 48px; box-sizing: border-box; padding-left: 15px; padding-right: 15px; overflow: hidden; gap: 10px; flex-wrap: nowrap; background: #013a20; }
  .mobile-nav-buttons .btn { flex: 1; min-width: 0; max-width: calc(50% - 5px); box-sizing: border-box; padding: 8px 12px; font-size: 13px; white-space: normal; word-wrap: break-word; overflow-wrap: break-word; }
  .hamburger-menu { display: block; }
  .main-nav { display: none; min-height: 48px; height: 48px; position: fixed; top: 0; left: 0; width: 280px; max-width: 82%; height: 100vh; min-height: 100vh; flex-direction: column; justify-content: flex-start; align-items: stretch; padding: 70px 16px 20px; background: #014526; transform: translateX(-100%); transition: transform 0.3s ease; z-index: 1000; overflow-y: auto; }
  .main-nav.active { display: flex; transform: translateX(0); }
  .nav-container { display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; width: 100%; max-width: none; height: auto; padding: 0; gap: 2px; }
  .nav-link { display: block; width: 100%; padding: 12px 10px; font-size: 15px; height: auto; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .site-footer { padding: 32px 16px 0; }
  .footer-top-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-mid-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@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.no-scroll { overflow: 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;
}
