:root { --primary: #017439; --secondary: #FFFFFF; --btn-bg: #C30808; --btn-text: #FFFF00; --header-offset: 122px; --footer-bg: #012b18; --footer-text: #d7e8de; --footer-heading: #ffffff; }
* { box-sizing: border-box; }
body { margin: 0; padding-top: var(--header-offset); font-family: Arial, Helvetica, sans-serif; }
.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.35); background: var(--primary); }
.header-top { width: 100%; height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; background: var(--primary); }
.header-container { width: 100%; max-width: 1200px; height: 100%; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding-left: 24px; padding-right: 24px; position: relative; }
.logo { color: #FFFFFF; font-size: 28px; font-weight: 800; text-decoration: none; letter-spacing: 1px; display: inline-block; }
.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; box-sizing: border-box; }
.btn { display: inline-block; text-decoration: none; font-weight: 700; border-radius: 6px; padding: 10px 22px; font-size: 15px; line-height: 1.2; text-align: center; transition: transform .15s ease, opacity .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); opacity: .92; }
.btn-login, .btn-register { background: var(--btn-bg); color: var(--btn-text); border: 1px solid rgba(255,255,255,0.25); }
.hamburger-menu { display: none; }
.main-nav { width: 100%; height: 52px; min-height: 52px; display: flex; align-items: center; overflow: hidden; background: #013b21; }
.nav-container { width: 100%; max-width: 1200px; height: 100%; margin: 0 auto; display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 0 20px; }
.nav-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: row; justify-content: center; align-items: center; gap: 22px; }
.nav-menu li { margin: 0; }
.nav-menu a { color: #FFFFFF; text-decoration: none; font-size: 14px; font-weight: 600; padding: 6px 2px; display: inline-block; border-bottom: 2px solid transparent; transition: color .2s ease, border-color .2s ease; }
.nav-menu a:hover, .nav-menu a.active { color: #FFFF00; border-bottom-color: #FFFF00; }
.menu-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.55); z-index: 999; opacity: 0; transition: opacity .3s ease; }
.menu-overlay.active { display: block; opacity: 1; }
body.no-scroll { overflow: hidden; }
.site-footer { background: var(--footer-bg); color: var(--footer-text); margin-top: 40px; }
.footer-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.footer-top { padding: 44px 0 24px; }
.footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer-col { min-width: 0; }
.footer-about .footer-logo { color: #FFFFFF; font-size: 26px; font-weight: 800; text-decoration: none; display: inline-block; margin-bottom: 14px; letter-spacing: 1px; }
.footer-description { color: #b9d4c6; font-size: 14px; line-height: 1.7; margin: 0 0 12px; word-wrap: break-word; overflow-wrap: break-word; }
.footer-title { color: var(--footer-heading); font-size: 16px; font-weight: 700; margin: 0 0 16px; }
.footer-nav { list-style: none; margin: 0; padding: 0; }
.footer-nav li { margin: 0 0 10px; }
.footer-nav a { color: #b9d4c6; text-decoration: none; font-size: 14px; transition: color .2s ease; }
.footer-nav a:hover { color: #FFFF00; }
.footer-slot-anchor-inner { min-height: 1px; }
.footer-slot-top, .footer-slot-bottom { min-height: 1px; }
.footer-mid { padding: 10px 0; }
.footer-mid-row1 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 12px; }
.footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.footer-mid-col, .footer-mid-cell { min-width: 0; }
.footer-bottom { background: #011f11; border-top: 1px solid rgba(255,255,255,0.08); padding: 18px 0; }
.copyright { margin: 0; text-align: center; color: #9cbcab; font-size: 13px; }
@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; }
  .logo { flex: 1 !important; display: flex !important; justify-content: center !important; align-items: center !important; font-size: 24px; }
  .logo img { display: block !important; max-width: 100%; height: auto; max-height: 56px; }
  .hamburger-menu { display: flex; flex-direction: column; justify-content: center; gap: 5px; position: relative; z-index: 2; width: 40px; height: 40px; background: transparent; border: none; cursor: pointer; padding: 0; }
  .hamburger-menu span { display: block; width: 26px; height: 3px; background: #FFFFFF; border-radius: 2px; transition: transform .3s ease, opacity .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); }
  .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: 8px 15px; overflow: hidden; gap: 10px; flex-wrap: nowrap; 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; min-height: 48px !important; display: none; position: fixed; top: var(--header-offset); left: 0; width: 100%; transform: translateX(-100%); transition: transform .3s ease; z-index: 1001; overflow-y: auto; }
  .main-nav.active { display: block; transform: translateX(0); }
  .nav-container { width: 100%; max-width: none; padding: 10px 15px; height: auto; display: block; }
  .nav-menu { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-menu li { border-bottom: 1px solid rgba(255,255,255,0.12); }
  .nav-menu a { display: block; padding: 12px 4px; font-size: 15px; border-bottom: none; }
  .footer-top-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-mid-row1 { grid-template-columns: 1fr; }
  .footer-mid-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-container { padding: 0 15px; }
  .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;
}
