.site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background-color: #017439; box-shadow: 0 4px 15px rgba(0,0,0,0.3); min-height: auto; } .header-top { background-color: #ffffff; width: 100%; border-bottom: 2px solid #017439; } .header-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 10px 20px; } .logo { font-size: 32px; font-weight: 900; color: #017439; text-decoration: none; text-transform: uppercase; letter-spacing: 2px; font-style: italic; text-shadow: 1px 1px 0px #017439; } .logo:hover { color: #017439; text-decoration: none; } .desktop-nav-buttons { display: flex; gap: 10px; align-items: center; } .desktop-nav-buttons .btn, .mobile-nav-buttons .btn { display: inline-block; padding: 8px 18px; border-radius: 5px; text-decoration: none; font-size: 14px; font-weight: 700; text-transform: uppercase; border: none; box-shadow: 0 2px 5px rgba(0,0,0,0.2); transition: all 0.3s ease; color: #FFFF00; } .desktop-nav-buttons .btn:hover, .mobile-nav-buttons .btn:hover { transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0,0,0,0.3); color: #FFFF00; } .desktop-nav-buttons .btn-login, .mobile-nav-buttons .btn-login { background-color: #C30808; } .desktop-nav-buttons .btn-register, .mobile-nav-buttons .btn-register { background-color: #C30808; } .desktop-nav-buttons .btn-download, .mobile-nav-buttons .btn-download { background-color: #C30808; } .main-nav { background-color: #017439; width: 100%; display: flex; flex-direction: row; position: static; min-height: auto; } .nav-container { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 8px 20px; flex-wrap: wrap; } .nav-container .nav-link { color: #ffffff; text-decoration: none; font-size: 16px; font-weight: 500; text-transform: uppercase; padding: 8px 15px; margin: 0 2px; transition: color 0.3s; } .nav-container .nav-link:hover { color: #FFFF00; } .site-footer { background-color: #017439; color: #ffffff; padding: 0; margin-top: 0; } .footer-container { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; padding: 40px 20px 20px; gap: 30px; } .footer-column { flex: 1; min-width: 200px; } .footer-column.footer-brand { flex: 1.5; } .footer-logo { font-size: 28px; font-weight: 900; color: #ffffff; text-decoration: none; text-transform: uppercase; letter-spacing: 2px; font-style: italic; } .footer-logo:hover { color: #FFFF00; text-decoration: none; } .footer-description { font-size: 14px; line-height: 1.6; color: #ffffff; margin-top: 10px; } .footer-heading { font-size: 18px; font-weight: 700; margin-bottom: 15px; color: #FFFF00; text-transform: uppercase; } .footer-nav { display: flex; flex-direction: column; gap: 8px; } .footer-nav a { color: #ffffff; text-decoration: none; font-size: 14px; transition: color 0.3s; padding: 2px 0; } .footer-nav a:hover { color: #FFFF00; } .footer-contact-item { font-size: 14px; line-height: 1.6; color: #ffffff; margin-bottom: 5px; } .footer-bottom { border-top: 1px solid #ffffff; padding: 15px 20px; text-align: center; background-color: #01602f; } .footer-copyright { font-size: 14px; color: #ffffff; } .footer-disclaimer { font-size: 12px; color: #FFFF00; margin-top: 5px; } .hamburger-menu { display: none; } .mobile-menu-overlay { display: none; } .mobile-nav-buttons { display: none; } :root { --header-offset: 122px; } body { padding-top: var(--header-offset); } @media (max-width: 768px) { .header-container { width: 100%; max-width: none; padding-left: 15px; padding-right: 15px; justify-content: space-between; } .header-top { background-color: #ffffff; display: block; } .logo { font-size: 28px; color: #017439; } .desktop-nav-buttons { display: none; } .mobile-nav-buttons { display: flex; justify-content: center; gap: 8px; background-color: #ffffff; padding: 5px 0; } .mobile-nav-buttons .btn { padding: 6px 12px; font-size: 12px; } .hamburger-menu { display: flex; flex-direction: column; justify-content: center; align-items: center; width: 40px; height: 40px; background: transparent; border: none; cursor: pointer; z-index: 1002; position: fixed; top: 10px; left: 10px; } .hamburger-bar { display: block; width: 25px; height: 3px; background-color: #017439; margin: 3px 0; transition: all 0.4s ease; border-radius: 2px; } .hamburger-menu.active .hamburger-bar:nth-child(1) { transform: translateY(9px) rotate(45deg); } .hamburger-menu.active .hamburger-bar:nth-child(2) { opacity: 0; } .hamburger-menu.active .hamburger-bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); } .mobile-menu-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.5); z-index: 999; } .mobile-menu-overlay.active { display: block; } .main-nav { display: none; flex-direction: column; position: fixed; top: 0; left: 0; width: 300px; height: 100vh; background-color: #017439; transform: translateX(-100%); transition: transform 0.3s ease; z-index: 1001; overflow-y: auto; padding-top: 60px; } .main-nav.active { display: flex; transform: translateX(0); } .nav-container { width: 100%; max-width: none; flex-direction: column; align-items: flex-start; justify-content: flex-start; padding: 20px 0; } .nav-container .nav-link { display: block; width: 100%; padding: 12px 25px; font-size: 16px; border-bottom: 1px solid rgba(255,255,255,0.1); color: #ffffff; } .footer-container { flex-direction: column; gap: 30px; } .footer-column { min-width: 100%; text-align: left; } .footer-nav { flex-direction: column; } :root { --header-offset: 110px; } body { padding-top: var(--header-offset); } body.no-scroll { overflow: hidden; } .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;
}
