:root { --primary: #017439; --secondary: #FFFFFF; --bg: #FFFFFF; --btn-bg: #C30808; --btn-text: #FFFF00; --header-offset: 122px; }
* { box-sizing: border-box; }
body { margin: 0; padding-top: var(--header-offset); font-family: 'Segoe UI', Roboto, Arial, sans-serif; background: var(--bg); color: #333; }
a { text-decoration: none; }
.site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; box-shadow: 0 3px 12px rgba(0,0,0,0.25); background: var(--primary); }
.header-top { box-sizing: border-box; height: 68px; display: flex; align-items: center; overflow: hidden; width: 100%; background: var(--primary); }
.header-container { box-sizing: border-box; width: 100%; height: 100%; max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding-left: 30px; padding-right: 30px; }
.logo { display: inline-block; font-size: 30px; font-weight: 800; letter-spacing: 1px; color: var(--secondary); text-transform: lowercase; line-height: 1; }
.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; }
.btn { display: inline-block; padding: 10px 20px; border-radius: 6px; font-size: 15px; font-weight: 700; text-align: center; text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: transform 0.2s ease, opacity 0.2s ease; }
.btn:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-login, .btn-register { background: var(--btn-bg); color: var(--btn-text); box-shadow: 0 3px 10px rgba(195,8,8,0.4); }
.mobile-nav-buttons { box-sizing: border-box; display: none; min-height: 48px; }
.main-nav { box-sizing: border-box; height: 52px; display: flex; align-items: center; overflow: hidden; width: 100%; background: #02622f; }
.nav-container { box-sizing: border-box; height: 100%; max-width: 1200px; margin: 0 auto; display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 0 20px; position: relative; width: 100%; }
.nav-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: row; align-items: center; gap: 4px; flex-wrap: nowrap; }
.nav-link { display: block; padding: 6px 12px; color: var(--secondary); font-size: 14px; font-weight: 600; border-radius: 4px; white-space: nowrap; transition: background 0.2s ease; }
.nav-link:hover, .nav-link.active { background: rgba(255,255,255,0.18); }
.hamburger-menu { display: none; background: none; border: none; padding: 8px; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; z-index: 1001; }
.hamburger-line { display: block; width: 26px; height: 3px; background: var(--secondary); border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; }
.hamburger-menu.active .hamburger-line:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger-menu.active .hamburger-line:nth-child(2) { opacity: 0; }
.hamburger-menu.active .hamburger-line:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.nav-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 999; opacity: 0; transition: opacity 0.3s ease; }
.nav-overlay.active { display: block; opacity: 1; }
body.no-scroll { overflow: hidden; }
.site-footer { background: #02622f; color: #e8f5ee; margin-top: 0; }
.footer-top { padding: 40px 0 20px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer-col { min-width: 0; }
.footer-logo { display: inline-block; font-size: 28px; font-weight: 800; color: var(--secondary); margin-bottom: 14px; letter-spacing: 1px; }
.footer-description { font-size: 14px; line-height: 1.7; color: #cfe9db; margin: 0 0 14px; word-wrap: break-word; overflow-wrap: break-word; }
.footer-title { font-size: 16px; font-weight: 700; color: var(--secondary); margin: 0 0 14px; }
.footer-nav { list-style: none; margin: 0; padding: 0; }
.footer-nav li { margin-bottom: 8px; }
.footer-nav a { color: #cfe9db; font-size: 14px; line-height: 1.5; transition: color 0.2s ease; }
.footer-nav a:hover { color: #FFD700; }
.footer-slot-anchor-inner { display: block; }
.footer-mid { padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.footer-slot-bottom { display: block; }
.footer-bottom { background: #014d26; padding: 18px 0; text-align: center; }
.footer-bottom p { margin: 0; font-size: 13px; color: #b9d9c6; }
@media (max-width: 768px) {
  :root { --header-offset: 110px; }
  .header-top { height: 60px !important; }
  .header-container { width: 100%; max-width: none; padding-left: 15px; padding-right: 15px; }
  .logo { font-size: 24px; }
  .logo img { max-height: 56px !important; }
  .desktop-nav-buttons { display: none !important; }
  .mobile-nav-buttons { display: flex !important; align-items: center; justify-content: center; width: 100%; max-width: 100%; box-sizing: border-box; padding-left: 15px; padding-right: 15px; overflow: hidden; gap: 10px; flex-wrap: nowrap; height: 48px; background: var(--primary); }
  .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; }
  .main-nav { height: 48px !important; position: fixed; top: 108px; left: 0; width: 100%; background: #02622f; display: none; flex-direction: column; align-items: stretch; justify-content: flex-start; overflow-y: auto; max-height: calc(100vh - 108px); transform: translateX(-100%); transition: transform 0.3s ease; z-index: 1001; }
  .main-nav.active { display: block; transform: translateX(0); }
  .nav-container { width: 100%; max-width: none; height: auto; flex-direction: column; justify-content: flex-start; align-items: stretch; padding: 10px 15px 20px; }
  .hamburger-menu { display: flex; position: absolute; top: 0; left: 15px; height: 48px; }
  .nav-menu { flex-direction: column; align-items: stretch; width: 100%; gap: 0; padding-top: 8px; }
  .nav-link { padding: 12px 10px; font-size: 15px; border-bottom: 1px solid rgba(255,255,255,0.1); border-radius: 0; }
  .footer-top-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-mid-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .footer-top { padding: 28px 0 16px; }
  .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;
}
