:root {
  --primary: #FF8C1A;
  --secondary: #FFA53A;
  --bg-dark: #0D0E12;
  --card-bg: #17191F;
  --text-main: #FFF3E6;
  --border-color: #A84F0C;
  --glow: #FFB04D;
  --deep-orange: #D96800;
  --header-offset: 122px;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: var(--bg-dark);
  color: var(--text-main);
  padding-top: var(--header-offset);
}
body.no-scroll {
  overflow: hidden;
}
a {
  text-decoration: none;
}
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--bg-dark);
  box-shadow: 0 4px 20px rgba(0,0,0,0.5), 0 0 15px rgba(255,140,26,0.1);
  border-bottom: 2px solid var(--border-color);
  flex-direction: column;
  display: flex;
  min-height: 0;
}
.header-top {
  width: 100%;
  background: #1a1c23;
  border-bottom: 1px solid rgba(255,140,26,0.2);
}
.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  min-height: 48px;
  width: 100%;
}
.logo {
  font-size: 28px;
  font-weight: 900;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  letter-spacing: 1px;
  text-shadow: 0 0 20px rgba(255,176,77,0.3);
}
.logo:hover {
  text-shadow: 0 0 30px rgba(255,176,77,0.6);
}
.desktop-nav-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 15px;
  text-align: center;
  border: none;
  cursor: pointer;
  text-decoration: none;
  color: #fff;
  transition: all 0.3s ease;
  min-width: 100px;
}
.btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  box-shadow: 0 2px 8px rgba(217,104,0,0.5);
  color: #fff;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(255,140,26,0.6);
  color: #fff;
}
.btn-secondary {
  background: transparent;
  border: 2px solid #FF8C1A;
  color: #FF8C1A;
}
.btn-secondary:hover {
  background: rgba(255,140,26,0.1);
  color: #FFA53A;
  border-color: #FFA53A;
}
.main-nav {
  display: flex;
  background: #22252e;
  width: 100%;
  border-top: 1px solid rgba(255,140,26,0.2);
  flex-direction: row;
  position: static;
  transform: none;
  transition: none;
  z-index: auto;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 10px 20px;
  gap: 5px;
  flex-wrap: wrap;
  width: 100%;
}
.nav-link {
  color: var(--text-main);
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 4px;
  transition: all 0.3s ease;
  font-size: 15px;
  display: inline-block;
  white-space: nowrap;
}
.nav-link:hover {
  color: var(--glow);
  background: rgba(255,140,26,0.1);
}
.mobile-nav-buttons {
  display: none;
}
.hamburger-menu {
  display: none;
}
.mobile-menu-overlay {
  display: none;
}
.site-footer {
  background: var(--bg-dark);
  border-top: 2px solid var(--border-color);
  padding: 30px 20px 0;
  margin-top: 50px;
  box-shadow: 0 -5px 20px rgba(0,0,0,0.5);
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,140,26,0.2);
}
.footer-logo {
  font-size: 28px;
  font-weight: 900;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  margin-bottom: 15px;
  letter-spacing: 1px;
}
.footer-brand p {
  color: #cfd2dc;
  font-size: 14px;
  line-height: 1.8;
}
.footer-column h4 {
  color: var(--glow);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}
.footer-column h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: #cfd2dc;
  font-size: 14px;
  transition: all 0.3s ease;
  display: inline-block;
}
.footer-nav a:hover {
  color: var(--glow);
  padding-left: 5px;
}
.footer-bottom {
  text-align: center;
  padding: 20px 0;
}
.footer-bottom p {
  color: #8a8d9a;
  font-size: 14px;
}
@media (max-width: 768px) {
  :root {
    --header-offset: 110px;
  }
  .header-container {
    width: 100%;
    max-width: none;
    padding-left: 15px;
    padding-right: 15px;
    min-height: 42px;
  }
  .header-top {
    background: #1a1c23;
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .desktop-nav-buttons {
    display: none;
  }
  .main-nav {
    display: none;
    position: fixed;
    top: 108px;
    left: 0;
    width: 280px;
    height: calc(100vh - 108px);
    background: #22252e;
    box-shadow: 4px 0 20px rgba(0,0,0,0.5);
    z-index: 1001;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    flex-direction: column;
    overflow-y: auto;
    border-top: 2px solid var(--primary);
  }
  .main-nav.active, .main-nav.open {
    display: block;
    transform: translateX(0);
  }
  .nav-container {
    max-width: none;
    width: 100%;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 0;
    gap: 0;
  }
  .nav-link {
    display: block;
    width: 100%;
    padding: 15px 20px;
    color: var(--text-main);
    font-size: 14px;
    border-bottom: 1px solid rgba(255,140,26,0.1);
    text-align: left;
  }
  .nav-link:hover {
    background: rgba(255,140,26,0.1);
    color: var(--glow);
  }
  .mobile-nav-buttons {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 8px 15px;
    background: #0D0E12;
    width: 100%;
    position: relative;
    z-index: 1000;
    min-height: 48px;
    align-items: center;
  }
  .mobile-nav-buttons .btn {
    flex: 1;
    max-width: 140px;
    font-size: 13px;
    padding: 8px 10px;
  }
  .hamburger-menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    cursor: pointer;
    position: fixed;
    top: 14px;
    left: 15px;
    z-index: 1002;
    gap: 5px;
    padding: 0;
  }
  .hamburger-menu span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--glow);
    transition: all 0.3s ease;
    border-radius: 2px;
  }
  .hamburger-menu.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  .hamburger-menu.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger-menu.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
  .mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 999;
    transition: opacity 0.3s ease;
    opacity: 0;
  }
  .mobile-menu-overlay.active, .mobile-menu-overlay.visible {
    display: block;
    opacity: 1;
  }
  .logo {
    font-size: 26px;
    text-align: center;
    display: inline-block;
  }
  .footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    padding-bottom: 20px;
  }
  .footer-bottom {
    padding: 15px 0;
  }
  .footer-bottom p {
    font-size: 13px;
  }
  .footer-nav a {
    font-size: 13px;
  }
  .footer-brand p {
    font-size: 13px;
  }
  .page-content img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
  }
  .page-content {
    overflow-x: hidden;
    max-width: 100%;
  }
  body {
    overflow-x: hidden;
    padding-top: var(--header-offset);
  }
  .footer-container {
    width: 100%;
    max-width: none;
  }
  .nav-container {
    width: 100% !important;
    max-width: none !important;
  }
  .header-container {
    width: 100% !important;
    max-width: none !important;
  }
  .hamburger-menu {
    display: flex;
  }
  .logo {
    order: 2;
  }
  .header-container {
    flex-direction: row;
    justify-content: center;
    position: relative;
  }
  .desktop-nav-buttons {
    order: 3;
  }
  .mobile-nav-buttons {
    border-top: 1px solid rgba(255,140,26,0.2);
  }
  .footer-container > .footer-brand {
    text-align: center;
  }
  .footer-container > .footer-brand .footer-logo {
    margin-left: auto;
    margin-right: auto;
  }
  .footer-column h4 {
    text-align: center;
  }
  .footer-column h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .footer-nav {
    align-items: center;
  }
  .footer-nav a:hover {
    padding-left: 0;
  }
  .main-nav::-webkit-scrollbar {
    width: 4px;
  }
  .main-nav::-webkit-scrollbar-track {
    background: #1a1c23;
  }
  .main-nav::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 2px;
  }
  .main-nav {
    top: auto;
    left: 0;
    width: 280px;
    height: calc(100vh - var(--header-offset));
    top: var(--header-offset);
  }
  body.no-scroll {
    overflow: 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;
}
