:root { --header-offset: 122px; --primary-color: #017439; --secondary-color: #FFFFFF; --btn-login-bg: #C30808; --btn-register-bg: #C30808; --btn-text-color: #FFFF00; --footer-bg: #012b16; --footer-text: #d4e8dc; --footer-heading: #FFFFFF; }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; padding-top: var(--header-offset); font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; background-color: var(--secondary-color); }
.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 { box-sizing: border-box; height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; background-color: var(--primary-color); width: 100%; border-bottom: 1px solid rgba(255,255,255,0.12); }
.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: 24px; padding-right: 24px; }
.logo { display: inline-block; font-size: 34px; font-weight: 800; letter-spacing: 1px; color: var(--secondary-color); text-decoration: none; line-height: 1; text-shadow: 0 2px 6px rgba(0,0,0,0.25); }
.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 { box-sizing: border-box; display: none; min-height: 48px; }
.btn { display: inline-block; text-decoration: none; font-weight: 700; border-radius: 8px; padding: 10px 22px; font-size: 15px; line-height: 1.2; text-align: center; border: none; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease; box-shadow: 0 3px 10px rgba(0,0,0,0.28); }
.btn:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 6px 16px rgba(0,0,0,0.35); }
.btn-login, .btn-register { background-color: var(--btn-login-bg); color: var(--btn-text-color); }
.main-nav { box-sizing: border-box; height: 52px; min-height: 52px; display: flex; align-items: center; overflow: hidden; background-color: #01341c; width: 100%; border-top: 1px solid rgba(255,255,255,0.08); }
.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; }
.nav-list { display: flex; flex-direction: row; justify-content: center; align-items: center; list-style: none; margin: 0; padding: 0; gap: 4px; height: 100%; }
.nav-list li { height: 100%; display: flex; align-items: center; }
.nav-link { display: flex; align-items: center; height: 100%; padding: 0 14px; color: var(--secondary-color); text-decoration: none; font-size: 15px; font-weight: 600; position: relative; transition: color 0.2s ease, background-color 0.2s ease; border-radius: 4px; }
.nav-link:hover, .nav-link.active { color: #FFFF00; background-color: rgba(255,255,255,0.10); }
.hamburger-menu { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 8px; cursor: pointer; z-index: 1001; border-radius: 6px; background-color: rgba(255,255,255,0.08); }
.hamburger-menu span { display: block; width: 100%; height: 3px; background-color: var(--secondary-color); border-radius: 3px; transition: transform 0.3s ease, opacity 0.3s ease; }
.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); }
.nav-overlay { display: none; position: fixed; inset: 0; background-color: rgba(0,0,0,0.55); 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-color: var(--footer-bg); color: var(--footer-text); width: 100%; }
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
.footer-top { padding: 48px 0 32px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer-col { min-width: 0; }
.footer-about { grid-column: span 1; }
.footer-logo { display: inline-block; font-size: 30px; font-weight: 800; color: #FFFFFF; text-decoration: none; margin-bottom: 12px; letter-spacing: 1px; }
.footer-description { font-size: 14px; line-height: 1.7; color: #bfd8cb; margin: 0 0 12px; word-wrap: break-word; overflow-wrap: break-word; }
.footer-title { font-size: 17px; font-weight: 700; color: var(--footer-heading); margin: 0 0 14px; }
.footer-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-nav li { margin: 0; }
.footer-nav a { color: var(--footer-text); text-decoration: none; font-size: 14px; transition: color 0.2s ease, padding-left 0.2s ease; display: inline-block; }
.footer-nav a:hover { color: #FFFF00; padding-left: 4px; }
.footer-dynamic-col { min-height: 1px; }
.footer-slot-anchor-inner { min-height: 1px; }
.footer-slot-anchor { min-height: 1px; }
.footer-mid { padding: 28px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 10px; }
.footer-bottom { padding: 20px 0; text-align: center; }
.footer-copyright { margin: 0; font-size: 13px; color: #a9c4b7; }
@media (max-width: 768px) {
  :root { --header-offset: 110px; }
  .header-top { min-height: 60px !important; height: 60px !important; }
  .header-container { width: 100%; max-width: none; padding-left: 15px; padding-right: 15px; }
  .logo { font-size: 26px; }
  .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; }
  .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: flex; position: static; }
  .main-nav { min-height: 48px !important; height: 48px !important; background-color: #01341c; }
  .nav-container { width: 100%; max-width: none; padding-left: 15px; padding-right: 15px; justify-content: flex-start; }
  .main-nav { display: none; position: fixed; top: var(--header-offset); left: 0; width: 280px; max-width: 82%; height: 100vh !important; min-height: 100vh !important; transform: translateX(-100%); transition: transform 0.3s ease; background-color: #01341c; overflow-y: auto; z-index: 1000; box-shadow: 4px 0 18px rgba(0,0,0,0.4); }
  .main-nav.active { display: block; transform: translateX(0); }
  .nav-container { height: auto; padding-top: 12px; padding-bottom: 24px; align-items: flex-start; flex-direction: column; }
  .nav-list { flex-direction: column; align-items: stretch; width: 100%; gap: 2px; height: auto; }
  .nav-list li { height: auto; width: 100%; }
  .nav-link { height: auto; width: 100%; padding: 12px 14px; font-size: 15px; border-radius: 6px; box-sizing: border-box; }
  .nav-overlay { display: none; }
  .nav-overlay.active { display: block; opacity: 1; }
  .footer-top-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-mid-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .footer-container { padding: 0 15px; }
  .footer-logo { font-size: 26px; }
  .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;
}
