:root { --header-offset: 122px; }
body { padding-top: var(--header-offset); }
.site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); background-color: #FFFFFF; }
.header-top { background-color: #017439; width: 100%; min-height: 68px; }
.header-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 0 20px; min-height: 68px; gap: 16px; }
.logo { display: block; font-size: 24px; font-weight: 800; color: #FFFFFF; text-decoration: none; letter-spacing: 1px; text-transform: uppercase; line-height: 1.2; }
.logo a { color: #FFFFFF; text-decoration: none; }
.desktop-nav-buttons { display: flex; gap: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 8px 18px; font-size: 14px; font-weight: 700; border-radius: 4px; text-decoration: none; transition: opacity 0.2s ease, transform 0.2s ease; white-space: nowrap; }
.btn:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-register { background: #C30808; color: #FFFF00; }
.btn-login { background: #C30808; color: #FFFF00; }
.btn-download { background: #017439; color: #FFFFFF; border: 2px solid #FFD700; }
.mobile-nav-buttons { display: none; }
.main-nav { background-color: #FFFFFF; width: 100%; display: flex; justify-content: center; border-top: 2px solid #F0F0F0; border-bottom: 1px solid #E0E0E0; }
.nav-container { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 10px 20px; gap: 8px; flex-wrap: wrap; }
.main-nav a { color: #017439; text-decoration: none; font-size: 14px; font-weight: 600; padding: 8px 12px; border-radius: 4px; transition: background-color 0.2s, color 0.2s; white-space: nowrap; }
.main-nav a:hover, .main-nav a.active { background-color: #017439; color: #FFFFFF; }
.hamburger-menu { display: none; }
.mobile-menu-overlay { display: none; }
.site-footer { background-color: #017439; color: #FFFFFF; padding: 40px 20px 20px; margin-top: 40px; }
.footer-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1.5fr; gap: 30px; }
.footer-column h4 { font-size: 16px; margin-bottom: 15px; color: #FFFFFF; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-column p { font-size: 14px; line-height: 1.6; color: #D0D0D0; }
.footer-column ul { list-style: none; padding: 0; }
.footer-column ul li { margin-bottom: 8px; }
.footer-column ul li a { color: #FFFFFF; text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer-column ul li a:hover { color: #FFD700; text-decoration: underline; }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.2); margin-top: 30px; }
.footer-bottom p { font-size: 14px; color: #D0D0D0; }
@media (max-width: 768px) {
  :root { --header-offset: 146px; }
  .header-container { width: 100%; max-width: none; padding-left: 15px; padding-right: 15px; min-height: 60px; }
  .header-top { min-height: 60px; }
  .desktop-nav-buttons { display: none; }
  .mobile-nav-buttons { display: flex; justify-content: center; gap: 8px; padding: 8px 10px; background-color: #FFFFFF; border-bottom: 1px solid #E0E0E0; min-height: 48px; width: 100%; }
  .mobile-nav-buttons .btn { padding: 6px 12px; font-size: 12px; }
  .logo { font-size: 16px; }
  .main-nav { display: none; flex-direction: column; position: fixed; top: 0; left: 0; width: 80%; max-width: 320px; height: 100%; background-color: #FFFFFF; z-index: 1002; transform: translateX(-100%); transition: transform 0.3s ease; overflow-y: auto; box-shadow: 2px 0 12px rgba(0, 0, 0, 0.2); border-top: none; }
  .main-nav.active { display: flex; transform: translateX(0); }
  .nav-container { width: 100%; max-width: none; flex-direction: column; align-items: flex-start; padding: 20px 15px; gap: 10px; }
  .main-nav a { display: block; width: 100%; padding: 10px 12px; color: #017439; font-size: 16px; border-bottom: 1px solid #F0F0F0; }
  .main-nav a:hover, .main-nav a.active { background-color: #017439; color: #FFFFFF; }
  .hamburger-menu { display: block; width: 44px; height: 44px; background: none; border: none; cursor: pointer; padding: 10px; position: fixed; top: 8px; left: 10px; z-index: 1003; }
  .hamburger-menu span { display: block; width: 24px; height: 3px; background-color: #FFFFFF; margin-bottom: 5px; border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; }
  .hamburger-menu span:last-child { margin-bottom: 0; }
  .hamburger-menu.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); background-color: #017439; }
  .hamburger-menu.active span:nth-child(2) { opacity: 0; }
  .hamburger-menu.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); background-color: #017439; }
  .mobile-menu-overlay { display: block; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); z-index: 999; opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s; }
  .mobile-menu-overlay.active { opacity: 1; visibility: visible; }
  .site-footer { padding: 30px 15px 15px; }
  .footer-container { grid-template-columns: 1fr; gap: 20px; }
  .footer-column { text-align: center; }
  .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;
}
