:root {
  --header-offset: 122px;
}

body {
  padding-top: var(--header-offset);
  margin: 0;
  font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #0A0A0A;
  color: #FFF6D6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* ===== HEADER BASE (DESKTOP) ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: #0A0A0A;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(242, 193, 78, 0.15);
  border-bottom: 1px solid #3A2A12;
}

.header-top {
  background-color: #1A1A1A;
  width: 100%;
  min-height: 68px;
  border-bottom: 1px solid #3A2A12;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 24px;
  padding-right: 24px;
  min-height: 68px;
  box-sizing: border-box;
}

.logo {
  display: inline-block;
  text-decoration: none;
  font-size: 1.8rem;
  font-weight: 800;
  color: #F2C14E;
  letter-spacing: 0.5px;
  text-shadow: 0 0 20px rgba(242, 193, 78, 0.3), 0 0 40px rgba(242, 193, 78, 0.15);
  transition: color 0.3s ease;
}

.logo:hover {
  color: #FFD36B;
}

.desktop-nav-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  color: #111111;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  border: none;
  box-shadow: 0 2px 8px rgba(242, 193, 78, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn:hover {
  box-shadow: 0 4px 12px rgba(242, 193, 78, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
}

.btn-secondary {
  background: linear-gradient(180deg, #FFF6D6 0%, #DDA11D 100%);
}

.btn-secondary:hover {
  box-shadow: 0 4px 12px rgba(255, 246, 214, 0.4);
}

.btn-download {
  width: 100%;
  max-width: 180px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
}

.main-nav {
  background-color: #0A0A0A;
  width: 100%;
  display: block;
  position: static;
  border-top: 1px solid #3A2A12;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 2px;
  padding: 0 20px;
  flex-wrap: wrap;
  box-sizing: border-box;
}

.nav-link {
  display: inline-block;
  padding: 12px 16px;
  color: #FFF6D6;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border-radius: 4px;
  position: relative;
}

.nav-link:hover {
  color: #F2C14E;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.3);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #F2C14E, #FFD36B);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 50%;
}

.hamburger-menu {
  display: none;
  z-index: 1001;
}

.mobile-menu-overlay {
  display: none;
}

.mobile-nav-buttons {
  display: none;
  min-height: 48px;
  gap: 8px;
  background-color: #0A0A0A;
  border-top: 1px solid #3A2A12;
  padding: 8px 12px;
}

/* ===== FOOTER ===== */
.site-footer {
  background-color: #111111;
  border-top: 1px solid #3A2A12;
  padding-top: 40px;
  margin-top: 
  0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding: 0 24px 32px;
}

.footer-brand .footer-logo {
  font-size: 1.6rem;
  color: #F2C14E;
  text-decoration: none;
  font-weight: 800;
  display: inline-block;
  margin-bottom: 12px;
}

.footer-desc {
  color: #FFF6D6;
  opacity: 0.8;
  line-height: 1.6;
  font-size: 0.8125rem;
}

.footer-title {
  color: #F2C14E;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #3A2A12;
}

.footer-links, .footer-download {
  padding-left: 0;
}

.footer-nav {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.footer-nav li {
  margin-bottom: 8px;
}

.footer-nav li a {
  color: #FFF6D6;
  opacity: 0.8;
  text-decoration: none;
  font-size: 0.8125rem;
  transition: all 0.3s ease;
  line-height: 1.8;
}

.footer-nav li a:hover {
  color: #F2C14E;
  opacity: 1;
  padding-left: 4px;
}

.footer-certification {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #3A2A12;
}

.footer-certification p {
  color: #FFF6D6;
  opacity: 0.6;
  font-size: 0.75rem;
}

.footer-bottom {
  background-color: #0A0A0A;
  border-top: 1px solid #3A2A12;
  padding: 16px 24px;
  text-align: center;
}

.footer-copyright {
  color: #FFF6D6;
  opacity: 0.6;
  font-size: 0.75rem;
  margin: 0;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
  :root {
    --header-offset: 110px;
  }

  .header-top {
    background-color: #1A1A1A;
    min-height: 60px;
    border-bottom: 1px solid #3A2A12;
  }

  .header-container {
    width: 100%;
    max-width: none;
    padding-left: 12px;
    padding-right: 12px;
    min-height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
  }

  .logo {
    font-size: 1.5rem;
    flex: 0 0 auto;
  }

  .logo {
    order: 2;
    margin: 0;
  }

  .hamburger-menu {
    order: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid #3A2A12;
    border-radius: 8px;
    background-color: #0A0A0A;
    cursor: pointer;
    padding: 0 8px;
    position: relative;
    z-index: 1001;
  }

  .hamburger-menu span {
    display: block;
    width: 20px;
    height: 2px;
    background-color: #F2C14E;
    margin: 2px 0;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .hamburger-menu.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .hamburger-menu.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger-menu.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .desktop-nav-buttons {
    display: none;
  }

  .main-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 90%;
    height: 100vh;
    background-color: #111111;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.6);
    z-index: 1000;
    padding-top: 100px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
  }

  .main-nav.active {
    display: block;
    transform: translateX(0);
  }

  .nav-container {
    width: 100%;
    max-width: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-link {
    display: block;
    padding: 14px 24px;
    font-size: 1rem;
    color: #FFF6D6;
    border-bottom: 1px solid #3A2A12;
    opacity: 0.9;
  }

  .nav-link:hover {
    background-color: #1A1A1A;
    color: #F2C14E;
    padding-left: 28px;
  }

  .nav-link::after {
    display: none;
  }

  .mobile-nav-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background-color: #0A0A0A;
    padding: 8px 12px;
    gap: 10px;
    z-index: 1000;
  }

  .mobile-nav-buttons .btn {
    flex: 1;
    max-width: 180px;
    padding: 10px 16px;
  }

  .mobile-menu-overlay {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
  }

  .mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  .site-footer {
    padding-top: 24px;
    margin-top: 0;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 0 16px 24px;
  }

  .footer-brand .footer-logo {
    font-size: 1.4rem;
  }

  .footer-title {
    font-size: 0.875rem;
  }

  .footer-nav li a {
    font-size: 0.8125rem;
  }

  .footer-copyright {
    font-size: 0.75rem;
  }

  /* ===== CONTENT IMAGE SAFEGUARD ===== */
  .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.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;
}
