:root {
  --primary: #FF8C1A;
  --secondary: #FFA53A;
  --card-bg: #17191F;
  --bg-color: #0D0E12;
  --text-main: #FFF3E6;
  --border: #A84F0C;
  --glow: #FFB04D;
  --deep-orange: #D96800;
  --header-offset: 122px;
  --header-offset: 166px;
}
body {
  padding-top: var(--header-offset);
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: Arial, sans-serif;
  margin: 0;
  overflow-x: hidden;
}
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--bg-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  min-height: auto;
}
.header-top {
  background-color: #1a1c23;
  width: 100%;
}
.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
}
.logo {
  display: inline-block;
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 0 10px var(--glow);
}
.desktop-nav-buttons {
  display: flex;
  gap: 12px;
}
.btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}
.btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #fff;
}
.btn-primary:hover {
  background: linear-gradient(180deg, #FFB04D 0%, #E07000 100%);
  box-shadow: 0 4px 12px rgba(255, 138, 26, 0.4);
}
.btn-secondary {
  background: var(--secondary);
  color: #1a1c23;
}
.btn-secondary:hover {
  background: #FFB04D;
  box-shadow: 0 4px 12px rgba(255, 165, 58, 0.4);
}
.main-nav {
  background-color: var(--card-bg);
  width: 100%;
  display: flex;
  flex-direction: row;
  position: static;
  border-top: 1px solid var(--border);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 8px 20px;
  width: 100%;
}
.nav-menu {
  list-style: none;
  display: flex;
  flex-direction: row;
  gap: 8px;
  margin: 0;
  padding: 0;
}
.nav-menu li a {
  display: block;
  padding: 8px 12px;
  color: var(--text-main);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  transition: background 0.3s;
}
.nav-menu li a:hover {
  background: rgba(255, 140, 26, 0.2);
  color: var(--primary);
}
.hamburger-menu {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}
.hamburger-menu span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--primary);
  margin: 5px 0;
  transition: all 0.3s;
}
.mobile-menu-overlay {
  display: none;
}
.mobile-nav-buttons {
  display: none;
}
@media (max-width: 768px) {
  :root {
    --header-offset: 146px;
  }
  .header-container {
    width: 100%;
    max-width: none;
    padding: 10px 15px;
  }
  .nav-container {
    width: 100%;
    max-width: none;
    padding-left: 15px;
    padding-right: 15px;
  }
  .desktop-nav-buttons {
    display: none;
  }
  .hamburger-menu {
    display: block;
    position: absolute;
    top: 12px;
    left: 15px;
  }
  .hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .hamburger-menu.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }
  .main-nav {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 75%;
    height: 100vh;
    background-color: var(--card-bg);
    border-right: 1px solid var(--border);
    z-index: 1000;
    padding-top: 60px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }
  .main-nav.active {
    display: flex;
    transform: translateX(0);
  }
  .nav-container {
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
  }
  .nav-menu {
    flex-direction: column;
    width: 100%;
  }
  .nav-menu li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 138, 26, 0.2);
  }
  .nav-menu li a {
    padding: 12px 20px;
    font-size: 16px;
  }
  .mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
  }
  .mobile-menu-overlay.active {
    display: block;
  }
  .mobile-nav-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 10px 15px;
    background-color: var(--bg-color);
    border-top: 1px solid var(--border);
    position: fixed;
    top: 56px;
    left: 0;
    width: 100%;
    z-index: 1000;
  }
  .mobile-nav-buttons .btn {
    flex: 1;
    text-align: center;
    font-size: 13px;
    padding: 10px 8px;
  }
  .logo {
    font-size: 1.6rem;
    margin-left: auto;
    margin-right: auto;
    display: block;
    text-align: center;
  }
  .header-top {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .header-container {
    justify-content: center;
  }
  .page-content img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
  }
  .page-content {
    overflow-x: hidden;
    max-width: 100%;
  }
  body {
    overflow-x: hidden;
  }
}
.site-footer {
  background-color: var(--card-bg);
  color: var(--text-main);
  padding: 40px 0 0;
  border-top: 2px solid var(--border);
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding-bottom: 30px;
}
.footer-about p {
  font-size: 14px;
  line-height: 1.6;
}
.footer-logo {
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
  text-decoration: none;
  text-transform: uppercase;
}
.footer-links h4 {
  color: var(--primary);
  margin-bottom: 15px;
  font-size: 16px;
}
.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 8px;
}
.footer-links a {
  color: var(--text-main);
  text-decoration: none;
  font-size: 14px;
}
.footer-links a:hover {
  color: var(--primary);
}
.footer-bottom {
  background-color: var(--bg-color);
  padding: 15px 0;
  border-top: 1px solid var(--border);
  text-align: center;
}
.footer-bottom p {
  margin: 0;
  font-size: 14px;
  color: #aaa;
}
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .footer-container {
    max-width: none;
    width: 100%;
    padding: 0 15px;
  }
}
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
