:root { --primary: #017439; --secondary: #FFFFFF; --accent-red: #C30808; --accent-yellow: #FFFF00; --text-dark: #333333; --text-light: #FFFFFF; --bg-light: #F5F5F5; --header-offset: 122px; }
* { box-sizing: border-box; }
body { padding-top: var(--header-offset); margin: 0; font-family: 'Segoe UI', Arial, sans-serif; }
.site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25); background-color: var(--primary); }
.header-top { height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; background-color: var(--primary); width: 100%; }
.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 { color: var(--secondary); font-size: 24px; font-weight: 800; text-decoration: none; letter-spacing: 1px; display: block; text-transform: uppercase; white-space: nowrap; }
.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; width: 100%; align-items: center; justify-content: center; background-color: var(--primary); padding: 6px 15px; gap: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 700; border-radius: 6px; padding: 10px 20px; font-size: 15px; transition: all 0.25s ease; border: 2px solid transparent; cursor: pointer; }
.btn-login { background-color: var(--accent-red); color: var(--accent-yellow); border-color: var(--accent-yellow); }
.btn-login:hover { background-color: #a00606; transform: translateY(-2px); box-shadow: 0 4px 10px rgba(195, 8, 8, 0.4); }
.btn-register { background-color: var(--accent-red); color: var(--accent-yellow); border-color: var(--accent-yellow); }
.btn-register:hover { background-color: #a00606; transform: translateY(-2px); box-shadow: 0 4px 10px rgba(195, 8, 8, 0.4); }
.main-nav { height: 52px; min-height: 52px; display: flex; align-items: center; overflow: hidden; background-color: #015c2e; width: 100%; }
.nav-container { height: 100%; max-width: 1200px; margin: 0 auto; display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 0 20px; width: 100%; }
.nav-list { display: flex; flex-direction: row; justify-content: center; align-items: center; list-style: none; margin: 0; padding: 0; gap: 6px; flex-wrap: wrap; }
.nav-list li { margin: 0; }
.nav-link { color: var(--secondary); text-decoration: none; font-size: 14px; font-weight: 600; padding: 8px 10px; border-radius: 4px; transition: background-color 0.2s ease, color 0.2s ease; display: inline-block; white-space: nowrap; }
.nav-link:hover, .nav-link.active { background-color: var(--secondary); color: var(--primary); }
.hamburger-menu { display: none; flex-direction: column; justify-content: space-between; width: 30px; height: 24px; background: transparent; border: none; cursor: pointer; padding: 0; z-index: 1001; }
.hamburger-menu span { display: block; width: 100%; height: 3px; background-color: var(--secondary); border-radius: 2px; transition: all 0.3s ease; }
.hamburger-menu.active span:nth-child(1) { transform: translateY(10.5px) rotate(45deg); }
.hamburger-menu.active span:nth-child(2) { opacity: 0; }
.hamburger-menu.active span:nth-child(3) { transform: translateY(-10.5px) rotate(-45deg); }
.nav-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.6); 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: #012d16; color: var(--secondary); padding: 40px 0 0; font-size: 14px; line-height: 1.6; }
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.footer-top-row { max-width: 1200px; margin: 0 auto; padding: 0 20px 20px; }
.footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 30px; }
.footer-col { min-width: 0; }
.footer-about { display: flex; flex-direction: column; gap: 12px; }
.footer-logo { color: var(--secondary); font-size: 22px; font-weight: 800; text-decoration: none; text-transform: uppercase; letter-spacing: 1px; }
.footer-description { color: #c9e6d6; font-size: 13px; line-height: 1.7; margin: 0; word-wrap: break-word; overflow-wrap: break-word; }
.footer-heading { color: #8fd4ac; font-size: 16px; font-weight: 700; margin: 0 0 14px; padding-bottom: 8px; border-bottom: 2px solid #015c2e; text-transform: uppercase; }
.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: #c9e6d6; text-decoration: none; font-size: 13px; transition: color 0.2s ease, padding-left 0.2s ease; display: inline-block; }
.footer-nav a:hover { color: var(--accent-yellow); padding-left: 4px; }
.footer-dynamic-col { display: block; }
.footer-slot-anchor-inner { min-height: 1px; }
.footer-mid-section { margin-bottom: 24px; }
.footer-mid-row { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 16px; }
.footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.footer-bottom { border-top: 1px solid #015c2e; padding: 20px 0; text-align: center; margin-top: 20px; }
.footer-copyright { margin: 0; color: #8fd4ac; font-size: 13px; }
@media (max-width: 768px) {
  :root { --header-offset: 108px; }
  .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: 20px; }
  .logo img { max-height: 56px !important; }
  .desktop-nav-buttons { display: none !important; }
  .mobile-nav-buttons { display: flex !important; width: 100%; max-width: 100%; box-sizing: border-box; padding: 6px 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; }
  .main-nav { height: 48px !important; min-height: 48px !important; display: block; position: static; background-color: #015c2e; }
  .nav-container { width: 100%; max-width: none; padding: 0 15px; height: 100%; display: flex; align-items: center; justify-content: flex-start; }
  .hamburger-menu { display: flex; }
  .nav-list { position: fixed; top: 0; left: 0; width: 280px; max-width: 80%; height: 100vh; background-color: #012d16; flex-direction: column; justify-content: flex-start; align-items: stretch; padding: 80px 20px 20px; gap: 4px; display: none; transform: translateX(-100%); transition: transform 0.3s ease; z-index: 1001; overflow-y: auto; }
  .nav-list.active { display: flex; transform: translateX(0); }
  .nav-list li { width: 100%; }
  .nav-link { display: block; width: 100%; padding: 12px 14px; font-size: 15px; border-bottom: 1px solid #015c2e; border-radius: 0; }
  .nav-link:hover, .nav-link.active { background-color: var(--primary); color: var(--secondary); }
  .nav-overlay.active { display: block; opacity: 1; }
  .footer-top-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-mid-grid { grid-template-columns: 1fr 1fr; }
  .footer-mid-row { flex-direction: column; }
  .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 (min-width: 769px) {
  .nav-list { display: flex !important; }
}
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
