:root {
  --header-bg-top: #0A0A0A;
  --header-bg-nav: #111111;
  --header-text: #FFF6D6;
  --header-accent: #F2C14E;
  --header-accent-2: #FFD36B;
  --header-border: #3A2A12;
  --header-btn-grad: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  --header-btn-text: #111111;
  --header-logo-glow: #FFD36B;
  --header-offset: 122px;
}
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--header-bg-top);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45), 0 0 0 1px var(--header-border);
  min-height: 120px;
}
.header-top {
  background: var(--header-bg-top);
  border-bottom: 1px solid var(--header-border);
  width: 100%;
}
.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 40px;
  min-height: 68px;
  box-sizing: border-box;
}
.logo {
  display: inline-block;
  color: var(--header-logo-glow);
  font-size: 32px;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 0 0 12px rgba(255, 211, 107, 0.65);
  font-family: 'Arial Black', Arial, sans-serif;
  line-height: 1.2;
  flex-shrink: 0;
}
.logo:hover {
  color: #fff;
}
.desktop-nav-buttons {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-shrink: 0;
  margin-left: auto;
}
.btn {
  display: inline-block;
  padding: 10px 22px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.35s ease;
  cursor: pointer;
  white-space: nowrap;
  border: none;
  min-height: 44px;
  box-sizing: border-box;
  line-height: 1.2;
}
.btn-download {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: var(--header-btn-text);
}
.btn-register {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: var(--header-btn-text);
}
.btn-login {
  background: transparent;
  color: var(--header-text);
  border: 2px solid var(--header-accent);
}
.btn-login:hover {
  background: var(--header-accent);
  color: #111;
}
.btn-register:hover,
.btn-download:hover {
  filter: brightness(1.12);
  box-shadow: 0 0 18px rgba(255, 211, 107, 0.5);
  transform: translateY(-2px);
}
.main-nav {
  background: var(--header-bg-nav);
  border-bottom: 1px solid var(--header-border);
  width: 100%;
  display: flex;
  min-height: 52px;
  position: static;
  z-index: auto;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 24px;
  padding: 6px 20px;
  width: 100%;
  box-sizing: border-box;
  flex-wrap: wrap;
}
.nav-link {
  color: var(--header-text);
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  padding: 8px 0;
  position: relative;
  white-space: nowrap;
  transition: color 0.3s ease;
}
.nav-link::after {
  content: '';
  display: block;
  height: 2px;
  width: 0;
  background: var(--header-accent);
  transition: width 0.3s ease;
  margin-top: 4px;
}
.nav-link:hover {
  color: var(--header-accent);
}
.nav-link:hover::after {
  width: 100%;
}
body {
  padding-top: var(--header-offset);
  background: var(--header-bg-top);
  margin: 0;
}
.menu-toggle,
.hamburger-menu,
.mobile-nav-buttons,
.menu-overlay {
  display: none;
}
.site-footer {
  background: #0A0A0A;
  color: #FFF6D6;
  border-top: 3px solid #F2C14E;
  padding: 48px 0 0 0;
  font-size: 15px;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  padding: 0 30px 32px;
  justify-content: space-between;
}
.footer-column {
  flex: 1;
  min-width: 200px;
}
.footer-brand {
  max-width: 320px;
}
.footer-logo {
  font-size: 28px;
  font-weight: 900;
  color: #FFD36B;
  text-decoration: none;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.4);
  display: inline-block;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-desc {
  color: rgba(255, 246, 214, 0.8);
  line-height: 1.65;
  font-size: 14px;
}
.footer-title {
  color: #F2C14E;
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-nav li {
  margin-bottom: 10px;
}
.footer-nav a {
  color: rgba(255, 246, 214, 0.82);
  text-decoration: none;
  transition: color 0.25s ease;
}
.footer-nav a:hover {
  color: #FFD36B;
}
.footer-contact p {
  color: rgba(255, 246, 214, 0.8);
  margin: 8px 0;
}
.footer-buttons {
  margin-top: 16px;
}
.footer-buttons .btn {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 700;
}
.footer-bottom {
  border-top: 1px solid #3A2A12;
  padding: 20px 30px;
  text-align: center;
  color: rgba(255, 246, 214, 0.65);
  font-size: 14px;
}
@media (max-width: 768px) {
  :root {
    --header-offset: 110px;
  }
  .site-header {
    min-height: auto;
    background: #0A0A0A;
  }
  .header-top {
    border-bottom: none;
  }
  .header-container {
    width: 100%;
    max-width: none;
    padding: 10px 15px;
    min-height: 60px;
    justify-content: space-between;
    align-items: center;
    display: flex;
  }
  .logo {
    font-size: 24px;
    order: 2;
    flex: 1;
    text-align: center;
    margin: 0;
  }
  .desktop-nav-buttons {
    display: none;
  }
  .hamburger-menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    cursor: pointer;
    z-index: 1002;
    order: 1;
    border: 1px solid #3A2A12;
    border-radius: 6px;
    background: #111111;
  }
  .hamburger-menu span {
    display: block;
    width: 22px;
    height: 2px;
    background: #F2C14E;
    transition: all 0.3s ease;
  }
  .menu-toggle:checked ~ .hamburger-menu span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .menu-toggle:checked ~ .hamburger-menu span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle:checked ~ .hamburger-menu span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  .mobile-nav-buttons {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 8px 15px 4px;
    background: #0A0A0A;
    z-index: 1000;
    order: 3;
    width: 100%;
    box-sizing: border-box;
    overflow-x: auto;
    min-height: 48px;
    align-items: center;
  }
  .mobile-nav-buttons .btn {
    flex-shrink: 0;
    padding: 8px 14px;
    font-size: 13px;
    min-height: 42px;
  }
  .mobile-nav-buttons .btn-login {
    background: transparent;
    border: 1.5px solid #F2C14E;
    color: #FFF6D6;
  }
  .main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background: #111111;
    z-index: 1001;
    display: none;
    transform: translateX(-100%);
    transition: transform 0.35s ease;
    flex-direction: column;
    border-right: 2px solid #3A2A12;
    border-bottom: none;
    box-shadow: none;
    margin: 0;
    padding: 0;
    overflow-y: auto;
  }
  .menu-toggle:checked ~ .main-nav {
    display: block;
    transform: translateX(0);
  }
  .nav-container {
    width: 100%;
    max-width: none;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0;
    padding: 20px 0 30px;
  }
  .nav-link {
    width: 100%;
    font-size: 17px;
    padding: 14px 24px;
    border-bottom: 1px solid rgba(255, 246, 214, 0.08);
    color: #FFF6D6;
    white-space: normal;
    box-sizing: border-box;
  }
  .nav-link::after {
    display: none;
  }
  .nav-link:hover {
    color: #F2C14E;
    background: rgba(242, 193, 78, 0.06);
  }
  .menu-overlay {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  .menu-toggle:checked ~ .menu-overlay {
    display: block;
    opacity: 1;
    pointer-events: auto;
  }
  .menu-toggle:checked ~ .header-top + .mobile-nav-buttons {
    border-bottom: 1px solid #3A2A12;
  }
  .site-header:has(.menu-toggle:checked) {
    background: #0A0A0A;
  }
  .menu-toggle {
    display: none;
    position: fixed;
    left: -9999px;
  }
  .footer-container {
    width: 100%;
    max-width: none;
    padding: 20px 24px 40px;
    flex-direction: column;
    gap: 28px;
  }
  .footer-column {
    width: 100%;
    min-width: 0;
  }
  .footer-column:first-child {
    margin-bottom: 0;
  }
  .footer-desc {
    max-width: 100%;
  }
  .footer-bottom {
    padding: 16px 24px;
  }
  .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;
}
