:root { --header-offset: 122px; --primary: #11A84E; --secondary: #22C768; --btn-grad: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); --bg: #08160F; --card-bg: #11271B; --text-main: #F2FFF6; --text-sec: #A7D9B8; --border: #2E7A4E; --glow: #57E38D; --gold: #F2C14E; --divider: #1E3A2A; --deep-green: #0A4B2C; }
* { box-sizing: border-box; }
body { margin: 0; padding-top: var(--header-offset); background: var(--bg); color: var(--text-main); font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; overflow-x: hidden; }
.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.55); }
.header-top { width: 100%; height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; background: var(--deep-green); border-bottom: 1px solid var(--border); }
.header-container { 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: 24px; font-weight: 800; color: var(--gold); text-decoration: none; letter-spacing: 0.5px; text-shadow: 0 0 10px rgba(87,227,141,0.45); white-space: nowrap; }
.logo:hover { color: var(--glow); }
.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-flex; align-items: center; justify-content: center; padding: 10px 22px; border-radius: 8px; font-size: 15px; font-weight: 700; text-decoration: none; color: #06210F; background: var(--btn-grad); border: 1px solid var(--glow); box-shadow: 0 3px 12px rgba(87,227,141,0.35); transition: transform 0.2s ease, box-shadow 0.2s ease; white-space: nowrap; cursor: pointer; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(87,227,141,0.55); }
.btn-login { background: transparent; color: var(--text-main); border: 1px solid var(--border); box-shadow: none; }
.btn-login:hover { background: var(--card-bg); border-color: var(--glow); color: var(--glow); }
.main-nav { width: 100%; height: 52px; min-height: 52px; display: flex; align-items: center; overflow: hidden; background: var(--card-bg); border-bottom: 1px solid var(--divider); }
.nav-container { width: 100%; 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-menu { display: flex; flex-direction: row; justify-content: center; align-items: center; list-style: none; margin: 0; padding: 0; gap: 4px; flex-wrap: nowrap; }
.nav-menu li { margin: 0; }
.nav-link { display: inline-block; padding: 8px 12px; font-size: 14px; font-weight: 600; color: var(--text-sec); text-decoration: none; border-radius: 6px; transition: color 0.2s ease, background 0.2s ease; white-space: nowrap; }
.nav-link:hover { color: var(--text-main); background: rgba(46,122,78,0.35); }
.nav-link.active { color: var(--gold); background: rgba(46,122,78,0.45); }
.hamburger-menu { display: none; background: transparent; border: none; padding: 8px; cursor: pointer; flex-direction: column; gap: 5px; z-index: 1002; }
.hamburger-menu span { display: block; width: 26px; height: 3px; background: var(--text-main); border-radius: 2px; 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; }
.site-footer { background: var(--bg); color: var(--text-main); border-top: 3px solid var(--primary); margin-top: 40px; }
.footer-top { padding: 45px 0 25px; }
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 25px; }
.footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; margin-top: 20px; }
.footer-col { min-width: 0; }
.footer-about { display: flex; flex-direction: column; gap: 14px; }
.footer-logo { display: inline-block; font-size: 22px; font-weight: 800; color: var(--gold); text-decoration: none; letter-spacing: 0.5px; }
.footer-logo:hover { color: var(--glow); }
.footer-description { font-size: 14px; line-height: 1.7; color: var(--text-sec); margin: 0; word-wrap: break-word; overflow-wrap: break-word; }
.footer-title { font-size: 16px; font-weight: 700; color: var(--glow); margin: 0 0 16px; padding-bottom: 10px; border-bottom: 1px solid var(--divider); text-transform: uppercase; letter-spacing: 0.5px; }
.footer-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-nav li { margin: 0; }
.footer-nav a { display: inline-block; font-size: 14px; color: var(--text-sec); text-decoration: none; transition: color 0.2s ease, padding-left 0.2s ease; word-wrap: break-word; }
.footer-nav a:hover { color: var(--gold); padding-left: 4px; }
.footer-dynamic-col { min-height: 10px; }
.footer-mid { margin-top: 20px; }
.footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 15px; }
.footer-slot-anchor-inner { min-height: 1px; }
.footer-bottom { background: var(--deep-green); border-top: 1px solid var(--border); padding: 18px 0; }
.footer-copyright { margin: 0; text-align: center; font-size: 14px; color: var(--text-sec); word-wrap: break-word; }
@media (max-width: 992px) {
  .nav-link { padding: 8px 8px; font-size: 13px; }
  .footer-top-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-mid-grid { grid-template-columns: repeat(2, 1fr); }
}
@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; position: relative; }
  .logo { position: absolute !important; left: 50% !important; transform: translateX(-50%) !important; display: flex !important; align-items: center !important; justify-content: center !important; font-size: 20px; max-width: calc(100% - 110px); }
  .logo img { display: block !important; max-width: 100%; height: auto; 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%; min-height: 48px; box-sizing: border-box; padding-left: 15px; padding-right: 15px; overflow: hidden; gap: 10px; flex-wrap: nowrap; background: var(--deep-green); border-bottom: 1px solid var(--border); }
  .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 { min-height: 48px !important; height: 48px !important; background: transparent; border-bottom: none; }
  .nav-container { width: 100%; max-width: none; padding-left: 15px; padding-right: 15px; justify-content: flex-start; }
  .hamburger-menu { display: flex; position: relative; z-index: 1002; }
  .nav-menu { display: none; position: fixed; top: 0; left: 0; width: 82%; max-width: 320px; height: 100vh; background: var(--card-bg); flex-direction: column; justify-content: flex-start; align-items: stretch; padding: 90px 20px 30px; gap: 4px; overflow-y: auto; transform: translateX(-100%); transition: transform 0.3s ease; z-index: 1001; box-shadow: 4px 0 20px rgba(0,0,0,0.6); border-right: 1px solid var(--border); }
  .nav-menu.active { display: flex; transform: translateX(0); }
  .nav-menu li { width: 100%; }
  .nav-link { display: block; width: 100%; padding: 12px 14px; font-size: 15px; border-bottom: 1px solid var(--divider); border-radius: 0; }
  .nav-link.active { border-radius: 6px; }
  .nav-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.65); z-index: 1000; }
  .nav-overlay.active { display: block; }
  body.no-scroll { overflow: hidden; }
  .footer-top { padding: 30px 0 20px; }
  .footer-container { padding: 0 15px; }
  .footer-top-grid { grid-template-columns: 1fr; gap: 25px; }
  .footer-mid-grid { grid-template-columns: 1fr; gap: 15px; }
  .footer-title { font-size: 15px; }
  .footer-copyright { font-size: 13px; }
  .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;
}
