:root {
  --header-offset: 164px;
  --primary: #FF8C1A;
  --primary-light: #FFA53A;
  --deep-orange: #D96800;
  --card-bg: #17191F;
  --page-bg: #0D0E12;
  --text-main: #FFF3E6;
  --glow: #FFB04D;
  --border-glow: #A84F0C;
  --btn-gradient: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  --header-top-bg: #17191F;
  --header-nav-bg: #0D0E12;
  --text-primary: #FFF3E6;
  --text-secondary: #D96800;
  --footer-bg: #0D0E12;
  --footer-text: #FFF3E6;
}
body {
  margin: 0;
  padding-top: var(--header-offset);
  background-color: var(--page-bg);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  overflow-x: hidden;
}
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: linear-gradient(135deg, #17191F 0%, #24262E 100%);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(255, 140, 26, 0.15);
  border-bottom: 2px solid var(--border-glow);
}
.header-top {
  background: var(--header-top-bg);
  width: 100%;
  border-bottom: 1px solid rgba(255, 140, 26, 0.2);
}
.header-container {
  max-width: 1200px;
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  box-sizing: border-box;
}
.logo {
  font-size: 2.2rem;
  font-weight: 800;
  text-decoration: none;
  background: linear-gradient(135deg, #FFB04D 0%, #FF8C1A 35%, #FFF3E6 50%, #FFA53A 65%, #FF8C1A 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  letter-spacing: 2px;
  transition: all 0.3s ease;
  display: block;
  text-shadow: none;
  filter: drop-shadow(0 2px 8px rgba(255, 140, 26, 0.4));
  animation: logoShine 3s ease-in-out infinite;
  flex-shrink: 0;
  padding: 0 5px;
}
@keyframes logoShine {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}
.logo:hover {
  filter: drop-shadow(0 0 12px rgba(255, 140, 26, 0.8));
  transform: scale(1.02);
}
.desktop-nav-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  padding: 0 5px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  min-height: 40px;
  letter-spacing: 0.3px;
  color: #FFF;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
.btn-primary {
  background: var(--btn-gradient);
  border-color: #FFB04D;
  box-shadow: 0 2px 12px rgba(255, 140, 26, 0.3);
}
.btn-primary:hover {
  background: linear-gradient(180deg, #FFB04D 0%, #FF8C1A 100%);
  box-shadow: 0 4px 20px rgba(255, 140, 26, 0.5);
  transform: translateY(-2px);
}
.btn-secondary {
  background: transparent;
  border-color: #FFB04D;
  color: #FFB04D;
}
.btn-secondary:hover {
  background: rgba(255, 176, 77, 0.12);
  border-color: #FFD9A8;
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(255, 140, 26, 0.2);
}
.btn-download {
  background: #0D0E12;
  border-color: #A84F0C;
  color: #FFA53A;
}
.btn-download:hover {
  background: #1a1c24;
  border-color: #D96800;
  color: #FFB04D;
  transform: translateY(-2px);
  box-shadow: 0 0 12px rgba(255, 140, 26, 0.3);
}
.main-nav {
  background: var(--header-nav-bg);
  width: 100%;
  display: flex;
  border-bottom: 1px solid rgba(255, 176, 77, 0.1);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 0 20px;
  width: 100%;
  box-sizing: border-box;
  min-height: 52px;
}
.nav-container a {
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 12px 14px;
  transition: all 0.3s ease;
  position: relative;
  border-radius: 6px;
  white-space: nowrap;
  display: inline-block;
}
.nav-container a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #FFB04D, #FF8C1A);
  transition: all 0.3s ease;
  transform: translateX(-50%);
  border-radius: 2px;
  box-shadow: 0 0 6px rgba(255, 140, 26, 0.6);
}
.nav-container a:hover {
  color: #FFB04D;
  text-shadow: 0 0 8px rgba(255, 140, 26, 0.4);
  transform: translateY(-1px);
}
.nav-container a:hover::after {
  width: 60%;
}
.hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: var(--btn-gradient);
  border: 1px solid rgba(255, 176, 77, 0.6);
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(255, 140, 26, 0.3);
  flex-shrink: 0;
  margin-left: auto;
  order: 1;
}
.hamburger-line {
  display: block;
  width: 20px;
  height: 2px;
  background: #FFF;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(2px);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.mobile-nav-buttons {
  display: none;
}
@media (max-width: 768px) {
  :root {
    --header-offset: 146px;
  }
  .header-container {
    width: 100%;
    max-width: none;
    min-height: 60px;
    padding: 8px 10px;
    justify-content: flex-start;
  }
  .logo {
    font-size: 1.8rem;
    order: 2;
    margin: 0 auto;
    padding: 0;
  }
  .desktop-nav-buttons {
    display: none;
  }
  .hamburger-menu {
    display: flex;
    order: 1;
    margin-left: 0;
    margin-right: 0;
  }
  .hamburger-menu.active {
    background: var(--btn-gradient);
    box-shadow: 0 0 15px rgba(255, 140, 26, 0.5);
  }
  .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);
  }
  .main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 86%;
    max-width: 320px;
    height: 100vh;
    height: 100dvh;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    display: none;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    background: #17191F;
    z-index: 1001;
    padding-top: 12px;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.7);
    overflow-y: auto;
  }
  .main-nav.active {
    display: block;
    transform: translateX(0);
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.7), -2px 0 15px rgba(255, 140, 26, 0.15);
  }
  .nav-container {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 0;
    width: 100%;
    max-width: none;
    min-height: auto;
  }
  .nav-container a {
    padding: 12px 18px;
    font-size: 0.95rem;
    display: block;
    text-align: left;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
    border-radius: 0;
  }
  .nav-container a::after {
    display: none;
  }
  .nav-container a:hover {
    background: rgba(255, 140, 26, 0.1);
    border-left: 3px solid var(--primary);
    color: #FFB04D;
    padding-left: 20px;
  }
  .mobile-menu-overlay {
    display: block;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
  }
  .mobile-menu-overlay.active {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }
  .mobile-nav-buttons {
    display: block;
    background: linear-gradient(180deg, #24262E 0%, #17191F 100%);
    border-top: 1px solid rgba(255, 140, 26, 0.15);
    border-bottom: 1px solid rgba(255, 140, 26, 0.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    padding: 6px 0;
    min-height: 48px;
    z-index: 800;
    width: 100%;
  }
  .mobile-buttons-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 0 10px;
    flex-wrap: nowrap;
    max-width: 100%;
  }
  .mobile-buttons-container .btn {
    flex: 1;
    padding: 8px 8px;
    font-size: 0.8rem;
    min-height: 36px;
  }
  .page-content img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
  }
  .page-content {
    overflow-x: hidden;
    max-width: 100%;
  }
  body {
    overflow-x: hidden;
  }
  .footer-container {
    flex-direction: column !important;
    text-align: center;
    gap: 20px !important;
  }
  .footer-column {
    flex: 1 1 100% !important;
    max-width: none !important;
  }
  .footer-nav {
    justify-content: center !important;
  }
  .footer-bottom {
    padding: 12px 10px !important;
  }
}
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  margin-top: 60px;
  border-top: 3px solid var(--primary);
  box-shadow: 0 -4px 20px rgba(255, 140, 26, 0.2);
  padding: 0;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 20px 30px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}
.footer-column {
  flex: 1;
  min-width: 180px;
}
.footer-brand {
  max-width: 280px;
  flex-direction: column;
  display: flex;
}
.footer-logo {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #FFB04D 0%, #FF8C1A 35%, #FFF3E6 50%, #FFA53A 65%, #FF8C1A 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-decoration: none;
  letter-spacing: 1px;
  display: inline-block;
  filter: drop-shadow(0 2px 6px rgba(255, 140, 26, 0.4));
  margin-bottom: 15px;
  animation: logoShine 3s ease-in-out infinite;
}
.footer-description {
  line-height: 1.7;
  margin: 0 0 20px 0;
  font-size: 0.9rem;
  opacity: 0.9;
}
.footer-heading {
  color: var(--primary-light);
  font-size: 1.1rem;
  margin-bottom: 15px;
  font-weight: 700;
  position: relative;
  padding-bottom: 8px;
  letter-spacing: 0.5px;
}
.footer-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(255, 140, 26, 0.4);
}
.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
}
.footer-nav li {
  margin-bottom: 6px;
  width: 100%;
}
.footer-nav a {
  color: rgba(255, 243, 230, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  position: relative;
  padding: 2px 0;
  display: inline-flex;
  align-items: center;
}
.footer-nav a::before {
  content: '›';
  margin-right: 8px;
  color: var(--primary);
  font-weight: bold;
  transition: transform 0.3s ease;
}
.footer-nav a:hover {
  color: var(--primary-light);
  padding-left: 5px;
}
.footer-nav a:hover::before {
  transform: translateX(2px);
  color: var(--glow);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 140, 26, 0.15);
  padding: 18px 20px;
  background: rgba(0, 0, 0, 0.3);
  text-align: center;
}
.copyright-text {
  font-size: 0.85rem;
  margin: 0;
  color: rgba(255, 243, 230, 0.7);
}
#copyright-year {
  color: var(--primary-light);
  font-weight: 600;
  padding: 0 2px;
}
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
