:root {
  --header-offset: 122px;
  --color-primary: #E53935;
  --color-secondary: #FF5A4F;
  --color-bg: #FFFFFF;
  --color-text: #333333;
  --color-border: #E0E0E0;
}
body {
  padding-top: var(--header-offset);
  margin: 0;
  font-family: 'Arial', sans-serif;
  background-color: #F5F7FA;
  color: #333333;
  overflow-x: hidden;
}
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #FFFFFF;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  min-height: auto;
}
.header-top {
  background-color: #2B2B3D;
  width: 100%;
}
.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  min-height: 48px;
}
.logo {
  font-size: 24px;
  font-weight: 700;
  color: #FFFFFF;
  text-decoration: none;
  display: block;
  order: 0;
  flex-shrink: 0;
}
.desktop-nav-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex-shrink: 0;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  color: #FFFFFF;
  text-transform: uppercase;
}
.btn-register {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  box-shadow: 0 2px 6px rgba(229, 57, 53, 0.4);
}
.btn-login {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  box-shadow: 0 2px 6px rgba(229, 57, 53, 0.4);
}
.main-nav {
  background-color: #E53935;
  width: 100%;
  display: flex;
  flex-direction: row;
  position: static;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
}
.nav-item {
  margin: 0;
  padding: 0;
}
.nav-link {
  display: block;
  color: #FFFFFF;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 12px;
  transition: color 0.2s ease;
  white-space: nowrap;
}
.nav-link:hover {
  color: #FFD6D4;
}
.nav-link.active {
  color: #FFD6D4;
}
.hamburger-menu {
  display: none;
  position: absolute;
  top: 10px;
  left: 15px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 8px;
}
.hamburger-line {
  display: block;
  width: 24px;
  height: 3px;
  background-color: #FFFFFF;
  margin: 4px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.mobile-menu-overlay {
  display: none;
}
.mobile-nav-buttons {
  display: none;
}
.site-footer {
  background-color: #2B2B3D;
  color: #FFFFFF;
  padding: 40px 0 0;
  margin-top: 20px;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 0 20px;
  gap: 20px;
}
.footer-column {
  flex: 1 1 200px;
  min-width: 180px;
  margin-bottom: 20px;
}
.footer-logo {
  font-size: 22px;
  font-weight: 700;
  color: #FFFFFF;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 15px;
}
.footer-description {
  font-size: 13px;
  line-height: 1.6;
  opacity: 0.8;
  margin: 10px 0;
}
.footer-heading {
  font-size: 16px;
  font-weight: 600;
  color: #E53935;
  margin-bottom: 15px;
  text-transform: uppercase;
}
.footer-nav,
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-nav li,
.footer-contact li {
  margin-bottom: 8px;
}
.footer-nav a,
.footer-contact a {
  color: #FFFFFF;
  text-decoration: none;
  font-size: 14px;
  opacity: 0.8;
  transition: opacity 0.2s ease, color 0.2s ease;
}
.footer-nav a:hover,
.footer-contact a:hover {
  color: #FF5A4F;
  opacity: 1;
}
.footer-bottom {
  text-align: center;
  padding: 20px;
  border-top: 1px solid #E0E0E0;
  margin-top: 20px;
  background-color: #1F1F2E;
}
.copyright-text {
  font-size: 14px;
  color: #FFFFFF;
  margin: 0;
  opacity: 0.7;
}
@media (max-width: 768px) {
  :root {
    --header-offset: 146px;
  }
  body {
    padding-top: var(--header-offset);
  }
  .header-container {
    width: 100%;
    max-width: none;
    padding: 8px 15px;
  }
  .nav-container {
    width: 100%;
    max-width: none;
    padding: 0;
  }
  .header-container {
    flex-wrap: wrap;
  }
  .logo {
    font-size: 20px;
    margin: 0 auto;
    order: 1;
    text-align: center;
    flex: 1;
  }
  .desktop-nav-buttons {
    display: none;
  }
  .hamburger-menu {
    display: block;
    order: 0;
  }
  .hamburger-menu.active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .hamburger-menu.active .hamburger-line:nth-child(2) {
    opacity: 0;
  }
  .hamburger-menu.active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  .main-nav {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background-color: #2B2B3D;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1002;
    overflow-y: auto;
    align-items: flex-start;
    padding: 60px 0 20px;
  }
  .main-nav.active {
    display: block;
    transform: translateX(0);
  }
  .nav-menu {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }
  .nav-item {
    width: 100%;
  }
  .nav-link {
    padding: 12px 20px;
    width: 100%;
    color: #FFFFFF;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .nav-link:hover {
    background-color: rgba(229, 57, 53, 0.3);
  }
  .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: 998;
  }
  .mobile-menu-overlay.active {
    display: block;
  }
  .mobile-nav-buttons {
    display: flex;
    position: relative;
    background-color: #2B2B3D;
    padding: 8px 10px;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    order: 2;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  .mobile-nav-buttons .btn {
    flex: 1;
    max-width: 180px;
    padding: 8px 12px;
  }
  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;
  }
  .footer-container {
    flex-direction: column;
    padding: 0 15px;
  }
  .footer-column {
    flex: 1 1 100%;
    min-width: auto;
  }
}
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
