:root { --header-offset: 122px; --primary-color: #017439; --bg-color: #FFFFFF; --btn-login-bg: #C30808; --btn-register-bg: #C30808; --btn-login-text: #FFFF00; --btn-register-text: #FFFF00; }
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; width: 100%; z-index: 1000; background: var(--bg-color); box-shadow: 0 2px 15px rgba(0,0,0,.15); border-bottom: 3px solid var(--primary-color); }
.header-top { background: #014025; width: 100%; }
.header-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 10px 25px; }
.logo { font-size: 1.8rem; font-weight: 800; color: #fff; text-decoration: none; letter-spacing: .5px; display: block; }
.desktop-nav-buttons { display: flex; gap: 12px; align-items: center; }
.btn { padding: 10px 22px; border-radius: 30px; text-decoration: none; font-weight: 700; font-size: 1rem; transition: transform .2s, box-shadow .2s; }
.btn-login { background: var(--btn-login-bg); color: var(--btn-login-text); box-shadow: 0 4px 10px rgba(195,8,8,.3); }
.btn-register { background: var(--btn-register-bg); color: var(--btn-register-text); box-shadow: 0 4px 10px rgba(195,8,8,.3); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(0,0,0,.2); }
.hamburger-menu, .mobile-menu-overlay, .mobile-nav-buttons { display: none; }
.main-nav { background: var(--bg-color); width: 100%; display: flex; }
.nav-container { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 12px 20px; }
.nav-link { padding: 8px 15px; color: var(--primary-color); font-weight: 600; font-size: 1rem; text-decoration: none; border-radius: 20px; transition: background .3s, color .3s; }
.nav-link:hover, .nav-link.active { background: var(--primary-color); color: #fff; }
.site-footer { background: #014025; color: #fff; margin-top: 60px; }
.footer-container { max-width: 1200px; margin: 0 auto; padding: 40px 20px; }
.footer-column { margin-bottom: 20px; }
.footer-logo { font-size: 1.8rem; font-weight: 800; color: #fff; text-decoration: none; }
.footer-title { color: #fff; font-size: 1.3rem; margin-bottom: 15px; padding-bottom: 8px; border-bottom: 2px solid #FFFF00; display: inline-block; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { text-decoration: none; color: rgba(255,255,255,.85); transition: color .3s, padding-left .3s; }
.footer-links a:hover { color: #FFFF00; padding-left: 5px; }
.footer-bottom { background: #012c1d; }
.footer-bottom .footer-container { padding: 15px 20px; text-align: center; }
.footer-copyright { margin: 0; color: rgba(255,255,255,.9); font-size: .9rem; }
@media (max-width: 768px) {
:root { --header-offset: 110px; }
.header-container { width: 100%; max-width: none; padding: 10px 15px; }
.hamburger-menu { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 44px; height: 44px; background: transparent; border: 2px solid #fff; border-radius: 6px; cursor: pointer; padding: 8px; z-index: 1001; }
.hamburger-menu span { width: 100%; height: 2px; background: #fff; transition: .3s; }
.hamburger-menu.active span:nth-child(1) { transform: rotate(45deg) translate(4px,4px); }
.hamburger-menu.active span:nth-child(2) { opacity: 0; }
.hamburger-menu.active span:nth-child(3) { transform: rotate(-45deg) translate(4px,-4px); }
.header-top { display: flex; }
.header-top .desktop-nav-buttons { display: none; }
.logo { font-size: 1.5rem; }
.main-nav { display: none; transform: translateX(-100%); position: fixed; top: 60px; left: 0; width: 82%; max-height: calc(100vh - 60px); background: var(--bg-color); box-shadow: 2px 0 20px rgba(0,0,0,.2); z-index: 1000; transition: transform .3s ease, opacity .3s ease; opacity: 0; overflow-y: auto; border-radius: 0 0 8px 0; }
.main-nav.active { display: block; transform: translateX(0); opacity: 1; }
.main-nav .nav-container { display: flex; flex-direction: column !important; align-items: flex-start; padding: 15px; }
.main-nav .nav-link { display: block; width: 100%; padding: 14px 12px; font-size: 1.1rem; border-radius: 8px; border-bottom: 1px solid #eee; }
.main-nav .nav-link:last-child { border-bottom: none; }
.mobile-menu-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,.5); z-index: 999; display: none; }
.mobile-menu-overlay.active { display: block; }
.mobile-nav-buttons { display: flex; gap: 10px; justify-content: center; padding: 8px 15px; background: var(--bg-color); box-shadow: 0 2px 8px rgba(0,0,0,.1); }
.mobile-nav-buttons .btn { flex: 1; text-align: center; padding: 8px 10px; font-size: .95rem; }
.site-footer { margin-top: 40px; }
.footer-container { display: grid; grid-template-columns: 1fr; padding: 30px 15px; }
.footer-column { margin-bottom: 15px; }
.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; } }
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
