:root { --header-offset: 122px; --primary-color: #017439; --secondary-color: #FFFFFF; --login-color: #C30808; --register-color: #C30808; --button-text-color: #FFFF00; }
body { padding-top: var(--header-offset); margin: 0; font-family: Arial, sans-serif; }
.site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3); background-color: #FFFFFF; min-height: auto; }
.header-top { background-color: #017439; width: 100%; }
.header-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding-left: 30px; padding-right: 30px; min-height: 68px; }
.logo { color: #FFFF00; font-size: 28px; font-weight: 800; text-decoration: none; display: inline-block; letter-spacing: 2px; text-transform: uppercase; }
.logo:hover { color: #FFFFFF; }
.desktop-nav-buttons { display: flex; gap: 12px; align-items: center; }
.btn { display: inline-block; text-decoration: none; padding: 10px 24px; border-radius: 8px; font-weight: 700; font-size: 14px; border: none; cursor: pointer; transition: all 0.3s ease; text-transform: uppercase; letter-spacing: 0.5px; }
.btn-login { background-color: #C30808; color: #FFFF00; box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2); }
.btn-login:hover { background-color: #a00606; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); }
.btn-register { background-color: #C30808; color: #FFFF00; box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2); }
.btn-register:hover { background-color: #a00606; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); }
.main-nav { background-color: #FFFFFF; width: 100%; display: flex; border-top: 2px solid #017439; }
.nav-container { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 10px 20px; gap: 5px; width: 100%; }
.nav-link { color: #017439; font-size: 15px; font-weight: 600; padding: 8px 16px; text-decoration: none; transition: all 0.3s ease; border-radius: 6px; white-space: nowrap; }
.nav-link:hover { background-color: #017439; color: #FFFFFF; }
.hamburger-menu { display: none; }
.mobile-menu-overlay { display: none; }
.mobile-nav-buttons { display: none; }
@media (max-width: 768px) {
  :root { --header-offset: 146px; }
  .header-container { width: 100%; max-width: none; padding-left: 15px; padding-right: 15px; min-height: 60px; }
  .nav-container { width: 100%; max-width: none; padding-left: 15px; padding-right: 15px; }
  .desktop-nav-buttons { display: none; }
  .main-nav { display: none; flex-direction: column; position: fixed; top: 0; right: 0; width: 80%; max-width: 350px; height: 100vh; background-color: #017439; transform: translateX(100%); transition: transform 0.3s ease; padding-top: 20px; z-index: 1001; }
  .main-nav.active { display: flex; transform: translateX(0); }
  .nav-container { flex-direction: column; align-items: flex-start; gap: 5px; padding-top: 20px; }
  .nav-link { color: #FFFFFF; font-size: 16px; padding: 12px 20px; width: 100%; border-radius: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
  .nav-link:hover { background-color: rgba(255, 255, 255, 0.1); }
  .hamburger-menu { display: flex; flex-direction: column; justify-content: center; gap: 5px; position: fixed; top: 18px; left: 15px; z-index: 1003; cursor: pointer; padding: 5px; background: transparent; border: none; }
  .hamburger-menu span { display: block; width: 25px; height: 3px; background-color: #017439; border-radius: 3px; transition: all 0.3s ease; }
  .hamburger-menu.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); background-color: #FFFFFF; }
  .hamburger-menu.active span:nth-child(2) { opacity: 0; }
  .hamburger-menu.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); background-color: #FFFFFF; }
  .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: 1000; }
  .mobile-menu-overlay.active { display: block; }
  .mobile-nav-buttons { display: flex; justify-content: center; gap: 10px; padding: 10px 15px; background-color: #FFFFFF; border-top: 1px solid #e0e0e0; }
  .mobile-nav-buttons .btn { flex: 1; max-width: 150px; text-align: center; font-size: 13px; padding: 8px 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; }
  body.no-scroll { overflow: hidden; }
}
.site-footer { background-color: #017439; color: #FFFFFF; padding: 50px 20px 20px; width: 100%; box-sizing: border-box; }
.footer-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.footer-brand { display: flex; flex-direction: column; gap: 15px; }
.footer-logo { color: #FFFF00; font-size: 32px; font-weight: 800; text-decoration: none; letter-spacing: 2px; text-transform: uppercase; }
.footer-desc { font-size: 14px; line-height: 1.6; color: #FFFFFF; opacity: 0.9; }
.footer-heading { font-size: 18px; font-weight: 700; margin-bottom: 20px; position: relative; padding-bottom: 10px; color: #FFFF00; }
.footer-heading::after { content: ''; position: absolute; bottom: 0; left: 0; width: 40px; height: 2px; background-color: #FFFF00; }
.footer-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-link { color: #FFFFFF; text-decoration: none; font-size: 14px; transition: opacity 0.3s ease; }
.footer-link:hover { opacity: 0.7; text-decoration: underline; }
.footer-bottom { max-width: 1200px; margin: 30px auto 0; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.2); text-align: center; }
.copyright { font-size: 14px; color: #FFFFFF; opacity: 0.8; }
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
