:root { --header-offset: 122px; --primary: #017439; --secondary: #FFFFFF; --btn-red: #C30808; --btn-text: #FFFF00; } *, *::before, *::after { box-sizing: border-box; } body { margin: 0; padding-top: var(--header-offset); font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background: #ffffff; color: #333333; } .site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; background: #FFFFFF; box-shadow: 0 3px 12px rgba(0,0,0,0.18); } .header-top { height: 68px; min-height: 68px; width: 100%; display: flex; align-items: center; overflow: hidden; background: #017439; } .header-container { width: 100%; height: 100%; max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding-left: 28px; padding-right: 28px; } .logo { display: inline-block; font-size: 28px; font-weight: 800; letter-spacing: 1px; color: #FFFF00; text-decoration: none; text-transform: none; white-space: nowrap; } .logo:hover { text-decoration: none; color: #FFFFFF; } .desktop-nav-buttons { display: flex; gap: 12px; align-items: center; } .btn { display: inline-block; text-decoration: none; border-radius: 6px; font-weight: 700; text-align: center; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease; border: none; } .btn:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(0,0,0,0.25); text-decoration: none; opacity: 0.95; } .btn-login, .btn-register { background: #C30808; color: #FFFF00; padding: 10px 22px; font-size: 15px; line-height: 1.2; box-shadow: 0 3px 8px rgba(0,0,0,0.2); } .hamburger-menu { display: none; background: transparent; border: none; cursor: pointer; padding: 8px; margin-left: auto; z-index: 1002; flex-direction: column; justify-content: center; align-items: center; gap: 5px; } .hamburger-menu span { display: block; width: 26px; height: 3px; background: #FFFF00; 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 { display: none; box-sizing: border-box; min-height: 48px; } .main-nav { height: 52px; min-height: 52px; width: 100%; display: flex; align-items: center; overflow: hidden; background: #FFFFFF; border-top: 1px solid rgba(1,116,57,0.15); } .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; gap: 4px; overflow-x: auto; scrollbar-width: none; } .nav-container::-webkit-scrollbar { display: none; } .nav-link { display: inline-block; padding: 8px 12px; color: #017439; text-decoration: none; font-size: 14px; font-weight: 600; white-space: nowrap; border-radius: 4px; transition: background 0.2s ease, color 0.2s ease; } .nav-link:hover, .nav-link.active { background: #017439; color: #FFFF00; text-decoration: none; } .nav-overlay { display: none; } .site-footer { background: #017439; color: #FFFFFF; margin-top: 40px; } .footer-top { padding: 44px 0 20px; } .footer-container { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: 28px; padding-right: 28px; } .footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 16px; } .footer-col { min-width: 0; } .footer-logo { display: inline-block; font-size: 26px; font-weight: 800; color: #FFFF00; text-decoration: none; margin-bottom: 12px; } .footer-logo:hover { color: #FFFFFF; text-decoration: none; } .footer-description { color: #FFFFFF; font-size: 14px; line-height: 1.7; margin: 0 0 12px; word-wrap: break-word; overflow-wrap: break-word; } .footer-heading { font-size: 16px; font-weight: 700; color: #FFFF00; margin: 0 0 14px; text-transform: uppercase; letter-spacing: 0.5px; } .footer-nav { list-style: none; margin: 0; padding: 0; } .footer-nav li { margin-bottom: 9px; } .footer-nav a { color: #FFFFFF; text-decoration: none; font-size: 14px; transition: color 0.2s ease, padding-left 0.2s ease; display: inline-block; } .footer-nav a:hover { color: #FFFF00; padding-left: 4px; text-decoration: none; } .footer-mid { padding: 10px 0 20px; } .footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; } .footer-bottom-wrap { padding: 10px 0; } .footer-bottom { border-top: 1px solid rgba(255,255,255,0.25); padding: 16px 0 20px; background: rgba(0,0,0,0.12); } .footer-copyright { margin: 0; text-align: center; font-size: 13px; color: #FFFFFF; } .footer-slot-anchor-inner { min-height: 1px; } @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: 0 0 auto; font-size: 24px; } .desktop-nav-buttons { display: none !important; } .hamburger-menu { display: flex; } .mobile-nav-buttons { display: flex !important; align-items: center; justify-content: center; width: 100%; max-width: 100%; box-sizing: border-box; padding-left: 15px; padding-right: 15px; overflow: hidden; gap: 10px; flex-wrap: nowrap; background: #017439; border-top: 1px solid rgba(255,255,255,0.2); } .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: var(--header-offset); left: 0; width: 280px; max-width: 85%; height: auto; min-height: 0; max-height: calc(100vh - var(--header-offset)); background: #017439; flex-direction: column; justify-content: flex-start; align-items: stretch; overflow-y: auto; transform: translateX(-100%); transition: transform 0.3s ease; z-index: 1001; box-shadow: 4px 0 18px rgba(0,0,0,0.3); border-top: none; padding: 12px 0; } .main-nav.active, .main-nav.open { display: flex; transform: translateX(0); } .nav-container { width: 100%; max-width: none; height: auto; flex-direction: column; align-items: stretch; justify-content: flex-start; padding: 0; overflow: visible; gap: 0; } .nav-link { width: 100%; padding: 14px 22px; font-size: 15px; border-radius: 0; color: #FFFFFF; border-bottom: 1px solid rgba(255,255,255,0.12); } .nav-link:hover, .nav-link.active { background: rgba(255,255,255,0.15); color: #FFFF00; } .nav-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); z-index: 999; } .nav-overlay.active, .nav-overlay.visible { display: block; } body.no-scroll { overflow: hidden; } .footer-top-grid { grid-template-columns: 1fr; gap: 22px; } .footer-mid-grid { grid-template-columns: 1fr 1fr; gap: 14px; } .footer-container { padding-left: 15px; padding-right: 15px; } .footer-top { padding: 32px 0 16px; } .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;
}
