:root {
  --primary: #017439;
  --primary-dark: #005c2d;
  --primary-light: #e8f5ed;
  --accent: #FFFFFF;
  --bg: #FFFFFF;
  --cta-register: #C30808;
  --cta-login: #C30808;
  --cta-text: #FFFF00;
  --header-offset: 122px;
  --header-offset-mobile: 110px;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Segoe UI', Roboto, Arial, sans-serif;
  background: var(--bg);
  padding-top: var(--header-offset);
}
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--accent);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  min-height: auto;
}
.header-top {
  background: var(--primary);
  width: 100%;
}
.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 40px;
  padding-right: 40px;
  min-height: 68px;
}
.logo {
  font-size: 28px;
  font-weight: 800;
  color: #FFFFFF !important;
  text-decoration: none;
  letter-spacing: -0.5px;
  display: inline-block;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.desktop-nav-buttons {
  display: flex;
  gap: 10px;
  align-items: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  min-height: 40px;
  border: none;
  cursor: pointer;
}
.btn-login {
  background: var(--cta-login);
  color: var(--cta-text) !important;
}
.btn-login:hover {
  background: #a00606;
  color: #ffff4d !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(195, 8, 8, 0.3);
}
.btn-register {
  background: var(--cta-register);
  color: var(--cta-text) !important;
}
.btn-register:hover {
  background: #a00606;
  color: #ffff4d !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(195, 8, 8, 0.3);
}
.main-nav {
  background: #FFFFFF;
  border-top: 2px solid var(--primary);
  border-bottom: 1px solid #eee;
  width: 100%;
  display: flex;
  flex-direction: row;
  position: static;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 8px 20px;
  min-height: 52px;
  gap: 4px;
  flex-wrap: wrap;
}
.nav-link {
  color: var(--primary) !important;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 20px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
  line-height: 1.4;
}
.nav-link:hover {
  background: var(--primary-light);
  color: var(--primary-dark) !important;
}
.mobile-nav-buttons {
  display: none;
}
.hamburger-menu {
  display: none;
}
.mobile-menu-overlay {
  display: none;
}
.site-footer {
  background: #1a1a1a;
  color: #fff;
  margin-top: 60px;
  font-family: 'Segoe UI', Roboto, Arial, sans-serif;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 50px 40px 30px;
}
.footer-logo {
  font-size: 26px;
  font-weight: 800;
  color: #ffffff !important;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 15px;
  letter-spacing: -0.5px;
}
.footer-desc {
  font-size: 13px;
  line-height: 1.7;
  color: #b3b3b3;
  margin-top: 10px;
}
.footer-column h4 {
  color: var(--primary);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 8px;
  color: #2ecc71;
}
.footer-column h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background: var(--primary);
}
.footer-links {
  list-style: none;
  padding: 0;
}
.footer-nav {
  list-style: none;
  padding: 0;
}
.footer-column ul li {
  margin-bottom: 10px;
}
.footer-column ul li a {
  color: #cccccc !important;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s, padding-left 0.2s;
  line-height: 1.5;
}
.footer-column ul li a:hover {
  color: #ffffff !important;
  padding-left: 5px;
}
.footer-bottom {
  background: #111111;
  border-top: 1px solid #333;
}
.footer-bottom-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.copyright {
  font-size: 14px;
  color: #999999;
  margin: 0;
}
.copyright #copyright-year {
  color: #cccccc;
  font-weight: 600;
}
.footer-18 {
  font-size: 13px;
  font-weight: 700;
  color: #f1c40f;
  background: rgba(241, 196, 15, 0.1);
  padding: 4px 14px;
  border-radius: 4px;
  border: 1px solid rgba(241, 196, 15, 0.3);
  margin: 0;
}
.page-content {
  min-height: 60vh;
}
.page-content img {
  max-width: 100%;
  height: auto;
}
@media (max-width: 768px) {
  :root {
    --header-offset: 110px;
  }
  .header-container {
    width: 100%;
    max-width: none;
    padding-left: 15px;
    padding-right: 15px;
    min-height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .logo {
    font-size: 22px;
    order: 1;
    text-align: center;
    flex: 1;
    margin: 0;
  }
  .desktop-nav-buttons {
    display: none;
  }
  .main-nav {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: #ffffff;
    z-index: 1100;
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    border-top: 3px solid var(--primary);
    padding-top: 70px;
  }
  .main-nav.active {
    display: block;
    transform: translateX(0);
  }
  .nav-container {
    width: 100%;
    max-width: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 20px 25px;
    gap: 5px;
  }
  .nav-link {
    width: 100%;
    text-align: left;
    padding: 12px 10px;
    font-size: 16px;
    border-radius: 8px;
    border-bottom: 1px solid #f0f0f0;
    color: #1a1a1a !important;
    white-space: normal;
  }
  .nav-link:last-child {
    border-bottom: none;
  }
  .mobile-nav-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 10px 15px;
    background: var(--primary);
    width: 100%;
    min-height: 48px;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    flex-wrap: wrap;
  }
  .mobile-nav-buttons .btn {
    padding: 8px 20px;
    font-size: 13px;
    min-height: 36px;
    flex: 0 1 auto;
    white-space: nowrap;
  }
  .hamburger-menu {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    cursor: pointer;
    z-index: 1200;
    order: 0;
    position: relative;
    padding: 9px;
    gap: 5px;
  }
  .hamburger-menu span {
    display: block;
    width: 24px;
    height: 3px;
    background: #ffffff;
    border-radius: 3px;
    transition: transform 0.3s, opacity 0.3s;
  }
  .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-menu-overlay {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
    pointer-events: none;
  }
  .mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .site-header {
    background: var(--primary);
  }
  .header-top {
    background: var(--primary);
  }
  body {
    padding-top: var(--header-offset);
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 40px 20px 20px;
  }
  .footer-bottom-container {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }
  .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;
}
