:root {
  --header-offset: 122px;
  --primary-color: #E53935;
  --secondary-color: #FF5A4F;
  --text-color: #333333;
  --card-bg: #FFFFFF;
  --bg-color: #F5F7FA;
  --border-color: #E0E0E0;
}
body {
  padding-top: var(--header-offset);
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
}
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.header-top {
  background-color: #C62828;
  width: 100%;
}
.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 32px;
  padding-right: 32px;
  min-height: 68px;
}
.logo {
  display: inline-block;
  color: #FFFFFF;
  font-size: 32px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: 'Arial Black', Arial, sans-serif;
}
.desktop-nav-buttons {
  display: flex;
  gap: 12px;
  align-items: center;
}
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
}
.btn-register {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 10px rgba(255, 90, 79, 0.4);
}
.btn-login {
  background: #FFFFFF;
  color: #E53935;
  border: 2px solid #E53935;
}
.main-nav {
  background-color: #FFFFFF;
  width: 100%;
  display: flex;
  min-height: 52px;
  border-bottom: 3px solid var(--primary-color);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 8px 20px;
  gap: 24px;
  width: 100%;
}
.nav-link {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 0;
  position: relative;
  white-space: nowrap;
  transition: color 0.3s ease;
}
.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}
.mobile-nav-buttons {
  display: none;
}
.hamburger-menu {
  display: none;
}
.mobile-menu-overlay {
  display: none;
}
.site-footer {
  background-color: #212121;
  color: #FFFFFF;
  margin-top: 60px;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 50px 32px 30px;
}
.footer-logo {
  display: inline-block;
  color: #FFFFFF;
  font-size: 24px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-description {
  color: #BDBDBD;
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}
.footer-heading {
  color: #FFFFFF;
  font-size: 18px;
  margin-bottom: 20px;
  font-weight: 700;
  text-transform: uppercase;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 12px;
}
.footer-links a {
  color: #BDBDBD;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}
.footer-links a:hover {
  color: #FF5A4F;
}
.footer-contact-text {
  color: #BDBDBD;
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 8px;
}
.footer-bottom {
  background-color: #1A1A1A;
  padding: 20px 0;
  text-align: center;
}
.copyright-text {
  color: #9E9E9E;
  font-size: 14px;
  margin: 0;
}
.copyright-text a {
  color: #9E9E9E;
  text-decoration: none;
}
@media (max-width: 768px) {
  :root {
    --header-offset: 110px;
  }
  .header-container {
    width: 100%;
    max-width: none;
    padding-left: 15px;
    padding-right: 15px;
    min-height: 60px;
  }
  .logo {
    font-size: 22px;
    text-align: center;
    margin-left: 40px;
  }
  .desktop-nav-buttons {
    display: none;
  }
  .main-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100%;
    background-color: #FFFFFF;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 70px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    box-shadow: none;
    z-index: 1001;
  }
  .main-nav.active {
    display: flex;
    transform: translateX(0);
  }
  .nav-container {
    width: 100%;
    max-width: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0;
  }
  .nav-link {
    display: block;
    width: 100%;
    padding: 16px 30px;
    border-bottom: 1px solid #EEEEEE;
    font-size: 16px;
    color: var(--text-color);
  }
  .nav-link::after {
    display: none;
  }
  .mobile-nav-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 10px 15px;
    background-color: #FFFFFF;
    border-bottom: 1px solid #EEEEEE;
    min-height: 48px;
  }
  .mobile-nav-buttons .btn {
    flex: 1;
    text-align: center;
    padding: 12px 16px;
    font-size: 13px;
  }
  .hamburger-menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 1001;
    padding: 0;
  }
  .hamburger-line {
    display: block;
    width: 24px;
    height: 3px;
    background-color: #FFFFFF;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
  }
  .hamburger-menu.active .hamburger-line:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  .hamburger-menu.active .hamburger-line:nth-child(2) {
    opacity: 0;
  }
  .hamburger-menu.active .hamburger-line:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
  .mobile-menu-overlay {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
  }
  .mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
  }
  body.no-scroll {
    overflow: hidden;
  }
  .footer-container {
    grid-template-columns: 1fr;
    padding: 40px 20px 20px;
    gap: 30px;
  }
  .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;
}
