:root {
  --primary: #FF8C1A;
  --secondary: #FFA53A;
  --card-bg: #17191F;
  --bg-dark: #0D0E12;
  --text-main: #FFF3E6;
  --border-color: #A84F0C;
  --glow: #FFB04D;
  --deep-orange: #D96800;
  --header-offset: 122px;
}
body {
  padding-top: var(--header-offset);
}
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--bg-dark);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.8);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.header-top {
  background: #0D0E12;
  width: 100%;
  box-sizing: border-box;
}
.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;
  box-sizing: border-box;
}
.logo {
  font-size: 34px;
  font-weight: 900;
  color: #FFB04D;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
  text-shadow: 0 0 10px rgba(255, 176, 77, 0.5);
}
.desktop-nav-buttons {
  display: flex;
  gap: 12px;
  align-items: center;
}
.desktop-nav-buttons .btn {
  padding: 10px 22px;
  border-radius: 6px;
  font-weight: bold;
  font-size: 14px;
  text-decoration: none;
  border: solid 2px transparent;
  box-shadow: 0 4px 12px rgba(100, 60, 20, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  letter-spacing: 0.5px;
  color: #fff;
  display: inline-block;
}
.desktop-nav-buttons .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 138, 30, 0.4);
}
.btn-register {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  border-color: #A84F0C;
}
.btn-login {
  background: #17191F;
  border-color: #A84F0C;
  color: #FFB04D;
}
.mobile-nav-buttons {
  display: none;
  justify-content: center;
  gap: 10px;
  padding: 8px 10px;
  background: #0D0E12;
  border-bottom: 1px solid #17191F;
}
.mobile-nav-buttons .btn {
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: bold;
  font-size: 13px;
  text-decoration: none;
  text-align: center;
  border: solid 2px transparent;
  transition: opacity 0.2s;
  color: #fff;
  display: inline-block;
}
.mobile-nav-buttons .btn-login {
  background: #17191F;
  border-color: #A84F0C;
  color: #FFB04D;
}
.mobile-nav-buttons .btn-register {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  border-color: #A84F0C;
}
.main-nav {
  background: #17191F;
  width: 100%;
  display: flex;
  align-items: center;
  border-bottom: 2px solid #A84F0C;
  position: static;
  min-height: 52px;
  box-sizing: border-box;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 18px;
  padding: 10px 20px;
  width: 100%;
  box-sizing: border-box;
}
.nav-container a {
  color: #FFF3E6;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  padding: 6px 8px;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav-container a:hover {
  color: #FFB04D;
  background: rgba(255, 138, 30, 0.15);
}
.nav-container a:first-child {
  color: #FFB04D;
  font-weight: 800;
}
.hamburger-menu {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-around;
  width: 32px;
  height: 32px;
  padding: 5px;
  box-sizing: border-box;
}
.hamburger-line {
  display: block;
  width: 100%;
  height: 3px;
  background: #FFA53A;
  border-radius: 3px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.mobile-menu-overlay {
  display: none;
}
.site-footer {
  background: #0D0E12;
  color: #FFF3E6;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  border-top: 3px solid #A84F0C;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  padding: 40px 25px 30px;
}
.footer-column {
  flex: 1 1 200px;
  min-width: 170px;
}
.footer-brand {
  flex-basis: 280px;
}
.footer-logo {
  font-size: 30px;
  font-weight: 900;
  color: #FFB04D;
  text-decoration: none;
  letter-spacing: 1px;
  display: inline-block;
  margin-bottom: 12px;
  text-shadow: 0 0 10px rgba(255, 176, 77, 0.5);
}
.footer-description {
  font-size: 14px;
  line-height: 1.6;
  color: #FFF3E6;
  opacity: 0.85;
}
.footer-title {
  font-size: 18px;
  font-weight: 700;
  color: #FFA53A;
  margin-bottom: 14px;
  margin-top: 0;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: #FFF3E6;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.footer-nav a:hover {
  color: #FFA53A;
}
.footer-bottom {
  border-top: 1px solid #A84F0C;
  padding: 18px 20px;
  text-align: center;
  font-size: 14px;
  background: #17191F;
}
.footer-bottom p {
  margin: 4px 0;
}
.footer-disclaimer {
  color: #FFA53A;
  opacity: 0.9;
  font-size: 13px;
}
@media (max-width: 768px) {
  :root {
    --header-offset: 110px;
  }
  .header-container {
    width: 100%;
    max-width: none;
    padding-left: 15px;
    padding-right: 15px;
    min-height: 60px;
    justify-content: space-between;
  }
  .logo {
    order: 2;
    font-size: 26px;
    margin: 0 auto;
  }
  .hamburger-menu {
    display: flex;
    order: 1;
    z-index: 1001;
  }
  .desktop-nav-buttons {
    display: none;
  }
  .mobile-nav-buttons {
    display: flex;
    min-height: 48px;
    box-sizing: border-box;
  }
  .mobile-nav-buttons .btn {
    flex: 1;
    max-width: 160px;
  }
  .main-nav {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    width: min(80vw, 320px);
    height: 100vh;
    background: #17191F;
    z-index: 1000;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    border-left: 2px solid #A84F0C;
    border-bottom: none;
    overflow-y: auto;
    padding-top: 70px;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.7);
  }
  .main-nav.active {
    display: flex;
    transform: translateX(0);
  }
  .nav-container {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    padding: 10px 20px;
    width: 100%;
    max-width: none;
  }
  .nav-container a {
    display: block;
    width: 100%;
    font-size: 16px;
    padding: 14px 10px;
    border-bottom: 1px solid #2A2D38;
  }
  .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);
  }
  .mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
  }
  .mobile-menu-overlay.active {
    display: block;
  }
  .footer-container {
    padding: 30px 15px 20px;
    gap: 20px;
  }
  .footer-column {
    flex-basis: 45%;
  }
  .footer-brand {
    flex-basis: 100%;
  }
  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;
  }
}
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
