.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  background-color: #0A0A0A;
  min-height: auto;
}
.header-top {
  background-color: #111111;
  width: 100%;
  border-bottom: 1px solid #3A2A12;
}
.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  min-height: 68px;
  box-sizing: border-box;
}
.logo {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: #FFD86A;
  text-decoration: none;
  letter-spacing: 1px;
  text-shadow: 0 0 15px rgba(255, 211, 107, 0.5);
  white-space: nowrap;
}
.logo:hover {
  color: #FFF6D6;
}
.desktop-nav-buttons {
  display: flex;
  gap: 10px;
  align-items: center;
}
.btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.btn-register {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  box-shadow: 0 2px 10px rgba(255, 216, 106, 0.3);
}
.btn-register:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(255, 216, 106, 0.5);
  color: #111111;
}
.btn-login {
  background: transparent;
  color: #FFF6D6;
  border: 2px solid #FFD86A;
}
.btn-login:hover {
  background: rgba(255, 216, 106, 0.1);
  color: #FFD86A;
}
.main-nav {
  background-color: #0A0A0A;
  width: 100%;
  display: flex;
  border-bottom: 1px solid #3A2A12;
  min-height: 52px;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 8px 20px;
  width: 100%;
  box-sizing: border-box;
  position: relative;
}
.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
  justify-content: center;
  align-items: center;
}
.nav-menu li {
  margin: 0;
}
.nav-menu li a {
  display: block;
  color: #FFF6D6;
  text-decoration: none;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 600;
  transition: color 0.3s ease, background-color 0.3s ease;
  border-radius: 4px;
  white-space: nowrap;
}
.nav-menu li a:hover,
.nav-menu li a.active {
  color: #FFD86A;
  background-color: rgba(255, 216, 106, 0.1);
}
.hamburger-menu {
  display: none;
}
.mobile-nav-buttons {
  display: none;
}
.mobile-menu-overlay {
  display: none;
}
body {
  padding-top: 122px;
}
.site-footer {
  background-color: #111111;
  border-top: 3px solid #FFD86A;
  padding: 40px 20px 0;
  margin-top: auto;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 30px;
}
.footer-info {
  flex: 1 1 300px;
  max-width: 400px;
}
.footer-logo {
  font-size: 32px;
  font-weight: 800;
  color: #FFD86A;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 15px;
  text-shadow: 0 0 20px rgba(255, 211, 107, 0.5);
}
.footer-desc {
  color: #B8B8B8;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 15px;
}
.footer-contact {
  color: #FFD86A;
  font-size: 14px;
  font-weight: 600;
}
.footer-nav {
  flex: 1 1 200px;
}
.footer-nav h4 {
  color: #FFD86A;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 15px;
  text-transform: uppercase;
}
.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-nav ul li {
  margin-bottom: 8px;
}
.footer-nav ul li a {
  color: #B8B8B8;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease, padding-left 0.3s ease;
}
.footer-nav ul li a:hover {
  color: #FFD86A;
  padding-left: 4px;
}
.footer-bottom {
  border-top: 1px solid #3A2A12;
  padding: 20px 0;
  text-align: center;
}
.footer-bottom p {
  color: #B8B8B8;
  font-size: 14px;
  margin: 0;
}
@media (max-width: 768px) {
  :root {
    --header-offset: 110px;
  }
  .header-top {
    min-height: 60px;
  }
  .header-container {
    width: 100%;
    max-width: none;
    padding: 8px 15px;
    min-height: 60px;
  }
  .logo {
    font-size: 22px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  .desktop-nav-buttons {
    display: none;
  }
  .main-nav {
    min-height: auto;
    position: static;
    border-bottom: none;
  }
  .nav-container {
    width: 100%;
    max-width: none;
    padding: 6px 15px;
    flex-direction: column;
    align-items: flex-start;
  }
  .hamburger-menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 1002;
    background: none;
    border: none;
    padding: 8px;
  }
  .hamburger-menu span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #FFD86A;
    margin: 3px 0;
    transition: all 0.3s ease;
  }
  .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);
  }
  .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 10px 0;
    gap: 2px;
    background-color: #111111;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    max-height: 70vh;
    overflow-y: auto;
  }
  .nav-menu.active {
    display: flex;
  }
  .nav-menu li {
    width: 100%;
  }
  .nav-menu li a {
    padding: 14px 20px;
    font-size: 15px;
    border-bottom: 1px solid rgba(255, 216, 106, 0.1);
    display: block;
    color: #FFF6D6;
  }
  .mobile-nav-buttons {
    display: flex;
    gap: 10px;
    width: 100%;
    padding: 8px 0 6px;
    justify-content: center;
    border-top: 1px solid rgba(255, 216, 106, 0.2);
    margin-top: 8px;
    min-height: 48px;
  }
  .mobile-nav-buttons .btn {
    flex: 1;
    padding: 10px 14px;
    font-size: 13px;
    max-width: 160px;
  }
  .mobile-menu-overlay {
    display: none;
  }
  .mobile-menu-overlay.active {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
  }
  .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;
    gap: 30px;
    padding: 30px 0;
  }
  .footer-info {
    max-width: 100%;
  }
  .footer-nav {
    width: 100%;
  }
  .footer-logo {
    font-size: 26px;
  }
  .footer-bottom {
    margin-top: 20px;
  }
}
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
