:root {
  --header-offset: 166px;
  --color-primary: #FF8C1A;
  --color-secondary: #FFA53A;
  --color-bg: #0D0E12;
  --color-card-bg: #17191F;
  --color-text-main: #FFF3E6;
  --color-border: #A84F0C;
  --color-glow: #FFB04D;
  --color-deep-orange: #D96800;
  --color-white: #FFFFFF;
  --btn-gradient-start: #FFA53A;
  --btn-gradient-end: #D96800;
  --font-main: 'Rajdhani', 'Arial', sans-serif;
  --font-heading: 'Rajdhani', 'Arial', sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: var(--font-main); background-color: var(--color-bg); padding-top: var(--header-offset); overflow-x: hidden; }
a { text-decoration: none; }
ul { list-style: none; }
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  min-height: auto;
  z-index: 1000;
  background-color: var(--color-bg);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.6), 0 0 15px rgba(255, 140, 26, 0.2);
  border-bottom: 1px solid var(--color-border);
  font-family: var(--font-main);
  padding-bottom: 0;
}
.header-top {
  background-color: #17191F;
  border-bottom: 1px solid var(--color-border);
  width: 100%;
}
.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 30px;
  gap: 20px;
}
.logo {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: 1px;
  display: inline-block;
  line-height: 1.2;
  text-transform: uppercase;
  background: linear-gradient(135deg, #FFFFFF 0%, var(--color-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  flex-shrink: 0;
}
.desktop-nav-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  background: linear-gradient(180deg, var(--btn-gradient-start) 0%, var(--btn-gradient-end) 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(255, 140, 26, 0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 176, 77, 0.6);
}
.main-nav {
  background-color: #0D0E12;
  display: flex;
  width: 100%;
  min-height: 44px;
  border-bottom: 1px solid rgba(168, 79, 12, 0.5);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 100%;
  flex-wrap: wrap;
  padding: 0 15px;
}
.nav-link {
  color: #EECEB0;
  font-size: 1rem;
  font-weight: 600;
  padding: 10px 15px;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
  text-align: center;
  line-height: 1.2;
  letter-spacing: 0.3px;
}
.nav-link:hover {
  color: #fff;
  background-color: rgba(255, 140, 26, 0.15);
}
.hamburger-menu {
  display: none;
}
.mobile-menu-overlay {
  display: none;
}
.mobile-nav-buttons {
  display: none;
}
.site-footer {
  background-color: #0D0E12;
  color: #C9BDB0;
  font-family: var(--font-main);
  border-top: 2px solid var(--color-border);
  margin-top: auto;
  width: 100%;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 30px;
  padding: 50px 30px 40px;
  width: 100%;
}
.footer-brand { padding-right: 20px; }
.footer-logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  display: inline-block;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #FFFFFF 0%, var(--color-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.footer-desc {
  font-size: 0.85rem;
  line-height: 1.8;
  color: #A89;
  font-weight: 400;
  text-align: justify;
}
.footer-heading {
  color: var(--color-text-main);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 22px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-left: 3px solid var(--color-primary);
  padding-left: 12px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links a {
  color: #C9BDB0;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-links a:hover {
  color: var(--color-secondary);
  transform: translateX(4px);
}
.footer-bottom {
  background-color: #0a0b0e;
  border-top: 1px solid var(--color-border);
  padding: 15px 0;
  width: 100%;
}
.footer-bottom-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 30px;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
}
.copyright {
  color: #9A8874;
  font-size: 0.85rem;
}
.footer-legal {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-legal a {
  color: #9A8874;
  font-size: 0.85rem;
  text-decoration: none;
}
.footer-legal a:hover { color: var(--color-secondary); }
@media (max-width: 1024px) {
  .nav-container { gap: 2px; }
  .nav-link { padding: 10px 10px; font-size: 0.9rem; white-space: normal; }
}
@media (max-width: 768px) {
  :root { --header-offset: 146px; }
  .site-header {
    background-color: #0D0E12;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8), 0 0 12px rgba(255, 140, 26, 0.15);
  }
  .header-top {
    background-color: #17191F;
    padding: 0;
  }
  .header-container {
    width: 100%;
    max-width: none;
    padding: 12px 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 60px;
  }
  .logo {
    font-size: 1.5rem;
    display: block;
    margin: 0 auto;
    position: relative;
    left: auto;
    z-index: 5;
  }
  .desktop-nav-buttons { display: none; }
  .hamburger-menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 42px;
    cursor: pointer;
    z-index: 1001;
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    gap: 5px;
    border-radius: 5px;
    padding: 8px;
    background-color: rgba(255,140,26,0.15);
  }
  .hamburger-menu span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-secondary);
    border-radius: 2px;
    transition: all 0.3s ease;
  }
  .hamburger-menu.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger-menu.active span:nth-child(2) { opacity: 0; }
  .hamburger-menu.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  @media (max-width: 768px) {
    .logo { font-size: 1.4rem; }
    .header-container { min-height: 60px; }
  }
  .main-nav {
    background-color: #0D0E12;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 260px;
    height: 100%;
    flex-direction: column;
    justify-content: flex-start;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1000;
    border-right: 1px solid var(--color-border);
    border-bottom: none;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
    padding: 0;
    overflow-y: auto;
  }
  .nav-container {
    width: 100%;
    max-width: none;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    padding: 80px 0 30px;
  }
  .nav-link {
    color: #FFE0B3;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    text-align: left;
    white-space: normal;
    width: 100%;
    display: block;
  }
  .nav-link:last-child { border-bottom: none; }
  .main-nav.active { display: flex; transform: translateX(0); }
  .mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(2px);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  .mobile-menu-overlay.active { display: block; opacity: 1; }
  .mobile-nav-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background-color: #17191F;
    border-top: 1px solid rgba(168, 79, 12, 0.3);
    width: 100%;
    z-index: 1000;
    flex-wrap: wrap;
  }
  .mobile-nav-buttons .btn {
    flex: 1;
    min-width: 100px;
    max-width: 180px;
    padding: 10px 14px;
    font-size: 0.9rem;
  }
  .btn:hover { transform: none; }
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 40px 20px 30px;
  }
  .footer-brand { padding-right: 0; }
  .footer-heading { margin-bottom: 16px; }
  .footer-links { gap: 10px; }
  .footer-links li a { font-size: 0.9rem; }
  .footer-bottom-container {
    flex-direction: column;
    gap: 12px;
    padding: 12px 15px;
    text-align: center;
  }
  .footer-legal { justify-content: center; gap: 16px; }
  .footer-desc { font-size: 0.8rem; line-height: 1.6; }
}
@media (max-width: 480px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 30px 15px;
  }
  .footer-brand { text-align: center; padding-right: 0; }
  .footer-desc { text-align: center; }
  .footer-heading { text-align: center; border-left: none; padding-left: 0; border-bottom: 1px solid var(--color-border); padding-bottom: 8px; }
  .footer-links { align-items: center; }
  .footer-links a { justify-content: center; }
  .footer-links a:hover { transform: translateX(0); }
}
:root {
  --header-offset: 166px;
}
body { padding-top: var(--header-offset); }
@media (max-width: 768px) {
  :root { --header-offset: 146px; }
}
.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;
}
