:root { --primary: #017439; --secondary: #FFFFFF; --btn-login: #C30808; --btn-register: #C30808; --btn-text: #FFFF00; --header-offset: 122px; } * { box-sizing: border-box; } body { margin: 0; padding-top: var(--header-offset); font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; } .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); background: var(--primary); } .header-top { box-sizing: border-box; height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; background: var(--primary); width: 100%; } .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: 30px; padding-right: 30px; } .logo { display: inline-block; color: var(--btn-text); font-size: 28px; font-weight: 800; letter-spacing: 1px; text-decoration: none; text-transform: lowercase; } .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; } .btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 700; border-radius: 8px; padding: 10px 22px; font-size: 15px; transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease; border: none; cursor: pointer; } .btn-login, .btn-register { background: var(--btn-login); color: var(--btn-text); box-shadow: 0 3px 10px rgba(195,8,8,0.45); } .btn-register { background: var(--btn-register); } .btn:hover { transform: translateY(-2px); filter: brightness(1.1); box-shadow: 0 6px 16px rgba(195,8,8,0.6); } .hamburger-menu { display: none; background: transparent; border: none; padding: 8px; cursor: pointer; flex-direction: column; gap: 5px; z-index: 1001; } .hamburger-menu span { display: block; width: 26px; height: 3px; background: var(--btn-text); 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); } .mobile-nav-buttons { box-sizing: border-box; display: none; min-height: 48px; background: var(--primary); } .main-nav { box-sizing: border-box; height: 52px; min-height: 52px; display: flex; align-items: center; overflow: hidden; background: #025e2e; width: 100%; } .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; gap: 4px; } .nav-link { display: inline-flex; align-items: center; height: 100%; padding: 0 12px; color: #FFFFFF; text-decoration: none; font-size: 14px; font-weight: 600; white-space: nowrap; position: relative; transition: color 0.2s ease; } .nav-link:hover, .nav-link.active { color: var(--btn-text); } .nav-link::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 2px; background: var(--btn-text); transform: scaleX(0); transition: transform 0.25s ease; } .nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); } .menu-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.55); z-index: 999; opacity: 0; transition: opacity 0.3s ease; } .menu-overlay.active { display: block; opacity: 1; } body.no-scroll { overflow: hidden; } .site-footer { background: #012b14; color: #e8f5ee; padding: 40px 0 0; font-size: 14px; } .footer-container { 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-logo { display: inline-block; color: var(--btn-text); font-size: 26px; font-weight: 800; text-decoration: none; margin-bottom: 12px; text-transform: lowercase; } .footer-description { color: #bfe3cf; line-height: 1.6; margin: 0; word-wrap: break-word; overflow-wrap: break-word; } .footer-heading { color: #FFFFFF; font-size: 16px; margin: 0 0 12px; font-weight: 700; } .footer-nav { list-style: none; padding: 0; margin: 0; } .footer-nav li { margin-bottom: 8px; } .footer-nav a { color: #bfe3cf; text-decoration: none; transition: color 0.2s ease; } .footer-nav a:hover { color: var(--btn-text); } .footer-mid { margin-bottom: 20px; } .footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; } .footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); padding: 18px 0; text-align: center; color: #9fceb4; font-size: 13px; } .footer-bottom p { margin: 0; } .footer-slot-anchor-inner { min-height: 1px; } @media (max-width: 768px) { :root { --header-offset: 108px; } .site-header { width: 100%; max-width: 100%; overflow-x: hidden; } .header-top { min-height: 60px !important; height: 60px !important; } .header-container { width: 100%; max-width: none; padding-left: 15px; padding-right: 15px; position: relative; height: 100%; } .logo { flex: 1 !important; display: flex !important; justify-content: center !important; align-items: center !important; } .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%; 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; } .hamburger-menu { display: flex; position: relative; z-index: 1001; } .main-nav { min-height: 48px !important; height: 48px !important; position: fixed; top: calc(var(--header-offset) - 48px); left: 0; width: 100%; display: none; flex-direction: column; background: #025e2e; transform: translateX(-100%); transition: transform 0.3s ease; z-index: 1000; overflow-y: auto; padding: 10px 0; } .main-nav.active { display: flex; transform: translateX(0); } .nav-container { width: 100%; max-width: none; padding-left: 15px; padding-right: 15px; flex-direction: column; justify-content: flex-start; align-items: stretch; gap: 0; } .nav-link { width: 100%; height: auto; padding: 14px 10px; font-size: 15px; border-bottom: 1px solid rgba(255,255,255,0.08); } .nav-link::after { display: none; } .footer-top-grid { grid-template-columns: 1fr; gap: 20px; } .footer-mid-grid { grid-template-columns: 1fr 1fr; } .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;
}
