:root { --primary-color: #017439; --secondary-color: #FFFFFF; --register-color: #C30808; --login-color: #C30808; --btn-text-color: #FFFF00; --header-offset: 122px; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; padding-top: var(--header-offset); font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background-color: #FFFFFF; color: #333333; overflow-x: hidden; }
img { max-width: 100%; height: auto; }
a { text-decoration: none; }
.site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; background-color: var(--primary-color); box-shadow: 0 4px 18px rgba(0, 0, 0, 0.28); }
.header-top { width: 100%; height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; background-color: var(--primary-color); border-bottom: 1px solid rgba(255, 255, 255, 0.16); }
.header-container { width: 100%; max-width: 1200px; height: 100%; margin: 0 auto; padding-left: 24px; padding-right: 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.logo { display: inline-block; flex-shrink: 0; color: var(--secondary-color); font-size: 24px; font-weight: 800; letter-spacing: 0.5px; line-height: 1.1; text-transform: lowercase; white-space: nowrap; }
.logo:hover { color: #FFFF00; }
.logo img { display: block; max-height: 60px; height: auto; width: auto; max-width: 280px; object-fit: contain; }
.hamburger-menu { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 44px; height: 44px; padding: 0; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 8px; cursor: pointer; z-index: 1001; flex-shrink: 0; }
.hamburger-menu span { display: block; width: 22px; height: 2px; background-color: var(--secondary-color); border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; }
.hamburger-menu.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger-menu.active span:nth-child(2) { opacity: 0; }
.hamburger-menu.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.desktop-nav-buttons { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.mobile-nav-buttons { display: none; min-height: 48px; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 22px; border-radius: 6px; font-size: 14px; font-weight: 700; text-decoration: none; text-transform: uppercase; letter-spacing: 0.4px; color: var(--btn-text-color); border: 1px solid transparent; transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease; cursor: pointer; line-height: 1.2; }
.btn-login { background-color: var(--login-color); box-shadow: 0 3px 10px rgba(195, 8, 8, 0.4); }
.btn-register { background-color: var(--register-color); box-shadow: 0 3px 10px rgba(195, 8, 8, 0.35); }
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35); }
.main-nav { width: 100%; height: 52px; min-height: 52px; display: flex; align-items: center; overflow: hidden; background-color: #015f2f; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.nav-container { width: 100%; max-width: 1200px; height: 100%; margin: 0 auto; padding: 0 24px; display: flex; flex-direction: row; justify-content: center; align-items: center; }
.nav-menu { display: flex; flex-direction: row; justify-content: center; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; height: 100%; }
.nav-menu li { display: flex; align-items: center; height: 100%; }
.nav-link { display: flex; align-items: center; height: 100%; padding: 0 12px; color: #FFFFFF; font-size: 14px; font-weight: 600; white-space: nowrap; border-bottom: 3px solid transparent; transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease; }
.nav-link:hover, .nav-link.active { color: #FFFF00; border-bottom-color: #FFFF00; background-color: rgba(255, 255, 255, 0.08); }
.menu-overlay { display: none; }
.site-footer { background-color: #013a1d; color: #E6F5EC; padding: 0; margin: 0; }
.footer-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.footer-top { padding: 48px 0 32px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; align-items: start; }
.footer-col { min-width: 0; }
.footer-about { display: flex; flex-direction: column; gap: 13px; }
.footer-logo { display: inline-block; color: var(--secondary-color); font-size: 22px; font-weight: 800; letter-spacing: 0.4px; white-space: nowrap; }
.footer-logo:hover { color: #FFFF00; }
.footer-description { margin: 0; font-size: 14px; line-height: 1.7; color: #C9E6D6; word-wrap: break-word; overflow-wrap: break-word; }
.footer-heading { margin: 0 0 14px; font-size: 15px; font-weight: 700; color: #FFFFFF; text-transform: uppercase; letter-spacing: 0.6px; }
.footer-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-nav li { line-height: 1.4; }
.footer-nav a { color: #C9E6D6; font-size: 14px; transition: color 0.2s ease, padding-left 0.2s ease; display: inline-block; word-wrap: break-word; overflow-wrap: break-word; }
.footer-nav a:hover { color: #FFFF00; padding-left: 3px; }
.footer-slot-anchor-inner { display: block; width: 100%; }
.footer-mid { padding: 28px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 12px; }
.footer-bottom { padding: 20px 0 26px; text-align: center; }
.footer-copyright { margin: 0; font-size: 13px; color: #A9CDB9; }
@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: 12px; padding-right: 12px; justify-content: flex-start; position: relative; }
  .logo { flex: 1 !important; display: flex !important; justify-content: center !important; align-items: center !important; font-size: 21px; }
  .logo img { display: block !important; max-height: 56px !important; max-width: 100%; height: auto; }
  .hamburger-menu { display: flex; position: relative; z-index: 1001; }
  .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: 7px 15px; overflow: hidden; gap: 10px; flex-wrap: nowrap; background-color: #015f2f; }
  .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 { display: none; position: fixed; top: 0; left: 0; width: 280px; max-width: 82%; height: 100vh; min-height: 100vh; flex-direction: column; align-items: stretch; justify-content: flex-start; background-color: #013a1d; transform: translateX(-100%); transition: transform 0.3s ease; overflow-y: auto; z-index: 1001; padding-top: 16px; box-shadow: 4px 0 18px rgba(0, 0, 0, 0.35); }
  .main-nav.active { display: flex; transform: translateX(0); }
  .nav-container { width: 100%; max-width: none; height: auto; padding: 0; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; }
  .nav-menu { flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; width: 100%; height: auto; padding: 8px 0; }
  .nav-menu li { width: 100%; height: auto; }
  .nav-link { width: 100%; height: auto; padding: 14px 22px; font-size: 15px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); border-left: 3px solid transparent; }
  .nav-link:hover, .nav-link.active { border-left-color: #FFFF00; border-bottom-color: rgba(255, 255, 255, 0.08); }
  .menu-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background-color: rgba(0, 0, 0, 0.55); z-index: 999; }
  .menu-overlay.active { display: block; }
  body.no-scroll { overflow: hidden; }
  .footer-top-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-mid-grid { grid-template-columns: 1fr 1fr; }
  .footer-container { padding: 0 16px; }
  .footer-logo { font-size: 20px; }
  .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;
}
