.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.header-top {
  background-color: #0A0A0A;
  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-left: 25px;
  padding-right: 25px;
  min-height: 68px;
}

.logo {
  display: inline-block;
  font-size: 28px;
  font-weight: 800;
  color: #FFD36B;
  text-decoration: none;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-shadow: 0 1px 4px rgba(255, 211, 107, 0.3);
}

.logo:hover {
  color: #F2C14E;
  text-decoration: none;
}

.desktop-nav-buttons {
  display: flex;
  gap: 12px;
}

.btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  min-height: 44px;
  line-height: 1.6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-register {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  box-shadow: 0 2px 8px rgba(255, 216, 106, 0.3);
}

.btn-register:hover {
  background: linear-gradient(180deg, #F2C14E 0%, #C8941A 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 216, 106, 0.4);
  text-decoration: none;
}

.btn-login {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  box-shadow: 0 2px 8px rgba(255, 216, 106, 0.2);
}

.btn-login:hover {
  background: linear-gradient(180deg, #F2C14E 0%, #C8941A 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 216, 106, 0.3);
  text-decoration: none;
}

.main-nav {
  background-color: #111111;
  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: 10px 20px;
  width: 100%;
}

.nav-link {
  color: #FFF6D6;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 6px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.nav-link:hover {
  color: #F2C14E;
  background-color: rgba(58, 42, 18, 0.3);
  text-decoration: none;
}

.hamburger-menu {
  display: none;
}

.mobile-menu-overlay {
  display: none;
}

.mobile-nav-buttons {
  display: none;
}

.site-footer {
  background-color: #111111;
  color: #FFF6D6;
  padding: 50px 0 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin-top: 50px;
  border-top: 1px solid #3A2A12;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr;
  gap: 40px;
  padding: 0 20px 40px;
}

.footer-logo {
  display: inline-block;
  font-size: 28px;
  font-weight: 800;
  color: #FFD36B;
  text-decoration: none;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 15px;
  text-shadow: 0 1px 4px rgba(255, 211, 107, 0.3);
}

.footer-logo:hover {
  color: #F2C14E;
  text-decoration: none;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #CCC9BC;
  margin: 15px 0;
}

.footer-title {
  color: #FFD36B;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.footer-link {
  color: #CCC9BC;
  text-decoration: none;
  font-size: 14px;
  padding: 4px 0;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-link:hover {
  color: #F2C14E;
  text-decoration: none;
  padding-left: 5px;
}

.footer-contact {
  padding-left: 20px;
}

.footer-text {
  color: #CCC9BC;
  font-size: 14px;
  margin: 8px 0;
}

.footer-bottom {
  border-top: 1px solid #3A2A12;
  padding: 20px 0;
  text-align: center;
}

.copyright-text {
  color: #886E44;
  font-size: 13px;
  margin: 0;
}

:root {
  --header-offset: 122px;
}

body {
  padding-top: var(--header-offset);
  overflow-x: hidden;
}

.page-content img {
  display: block;
  max-width: 100%;
  height: auto;
}

.page-content {
  max-width: 100%;
  overflow-x: hidden;
}

@media (max-width: 768px) {
  :root {
    --header-offset: 110px;
  }

  .header-container {
    width: 100%;
    max-width: none;
    padding-left: 15px;
    padding-right: 15px;
    min-height: 60px;
    position: relative;
  }

  .header-top {
    position: relative;
  }

  .logo {
    font-size: 24px;
    display: block;
    margin: 0 auto;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: auto;
  }

  .desktop-nav-buttons {
    display: none;
  }

  .main-nav {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 108px;
    left: 0;
    width: 85%;
    height: calc(100vh - 108px);
    background-color: #111111;
    z-index: 1001;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    border-right: 1px solid #3A2A12;
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
  }

  .main-nav.active {
    display: flex;
    transform: translateX(0);
  }

  .nav-container {
    width: 100%;
    max-width: none;
    flex-direction: column;
    justify-content: flex-start;
    padding: 20px;
    gap: 5px;
  }

  .nav-link {
    display: block;
    font-size: 15px;
    padding: 12px 15px;
    width: 100%;
    text-align: left;
    border-bottom: 1px solid rgba(58, 42, 18, 0.3);
    color: #FFF6D6;
  }

  .nav-link:hover {
    background-color: rgba(58, 42, 18, 0.5);
    color: #FFD36B;
  }

  .hamburger-menu {
    display: block;
    position: fixed;
    top: 10px;
    left: 15px;
    z-index: 1002;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    background-color: #0A0A0A;
    border: 1px solid #3A2A12;
    border-radius: 8px;
    padding: 8px;
  }

  .hamburger-menu span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #FFD36B;
    transition: all 0.3s ease;
  }

  .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: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 10, 0.7);
    z-index: 999;
  }

  .mobile-menu-overlay.active {
    display: block;
  }

  .mobile-nav-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    background-color: #0A0A0A;
    padding: 8px 15px;
    border-bottom: 1px solid #3A2A12;
    min-height: 48px;
  }

  .mobile-nav-buttons .btn {
    flex: 1;
    max-width: 160px;
    padding: 8px 16px;
    min-height: 32px;
    font-size: 13px;
  }

  .site-footer {
    padding-top: 40px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px 30px;
  }

  .footer-contact {
    padding-left: 0;
  }

  .footer-bottom {
    padding: 15px 0;
  }

  .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;
}
