:root {
  --header-offset: 166px;
}
body {
  padding-top: var(--header-offset);
  background-color: #0A0A0A;
  margin: 0;
}
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), 0 2px 6px rgba(0, 0, 0, 0.4);
  background-color: #1a1a1a;
}
.header-top {
  background-color: #1c170d;
  width: 100%;
  border-bottom: 1px solid #3A2A12;
}
.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 30px;
}
.logo {
  display: inline-block;
  font-size: 36px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 2px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 20px rgba(242, 193, 78, 0.2);
}
.desktop-nav-buttons {
  display: flex;
  gap: 12px;
  align-items: center;
}
.mobile-nav-buttons {
  display: none;
}
.btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  color: #0A0A0A;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.3);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.5);
}
.btn-register {
  font-weight: 700;
}
.btn-login {
  background: transparent;
  border: 1px solid #F2C14E;
  color: #F2C14E;
}
.btn-download {
  background: #0A0A0A;
  border: 1px solid #F2C14E;
  color: #FFD36B;
}
.main-nav {
  display: flex;
  flex-direction: row;
  position: static;
  background-color: #111111;
  width: 100%;
  border-bottom: 1px solid #3A2A12;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 10px 20px;
  width: 100%;
}
.nav-link {
  color: #FFF6D6;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 14px;
  transition: color 0.3s ease, text-shadow 0.3s ease;
  white-space: nowrap;
}
.nav-link:hover {
  color: #FFD36B;
  text-shadow: 0 0 8px rgba(255, 211, 107, 0.5);
}
.hamburger-menu {
  display: none;
}
.mobile-menu-overlay {
  display: none;
}
.site-footer {
  background-color: #111111;
  border-top: 2px solid #3A2A12;
  padding: 50px 20px 0;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand {
  padding-right: 20px;
}
.footer-logo {
  font-size: 32px;
  font-weight: 800;
  text-decoration: none;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.footer-desc {
  color: #FFF6D6;
  font-size: 14px;
  line-height: 1.7;
  margin-top: 15px;
  opacity: 0.8;
}
.footer-title {
  color: #FFD36B;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: #FFF6D6;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
  opacity: 0.8;
}
.footer-nav a:hover {
  color: #FFD36B;
  opacity: 1;
}
.footer-bottom {
  border-top: 1px solid #3A2A12;
  text-align: center;
  padding: 25px 0;
  font-size: 14px;
}
.footer-bottom p {
  color: #FFF6D6;
  margin: 5px 0;
  opacity: 0.7;
}
@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 0 10px rgba(242, 193, 78, 0.2);
  }
  50% {
    box-shadow: 0 0 25px rgba(242, 193, 78, 0.5);
  }
}
.btn-register {
  animation: glowPulse 2s ease-in-out infinite;
}
@media (max-width: 768px) {
  :root {
    --header-offset: 146px;
  }
  .header-container, .nav-container {
    width: 100%;
    max-width: none;
    padding-left: 15px;
    padding-right: 15px;
  }
  .header-container {
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
  }
  .header-top {
    background-color: #1c170d;
    min-height: 48px;
  }
  .logo {
    font-size: 28px;
    text-align: center;
    flex: 1;
  }
  .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .header-container {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
  }
  .desktop-nav-buttons {
    display: none;
  }
  .mobile-nav-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background-color: #111111;
    border-bottom: 1px solid #3A2A12;
    min-height: 48px;
  }
  .mobile-nav-buttons .btn {
    padding: 6px 12px;
    font-size: 11px;
    flex: 1;
    text-align: center;
    white-space: nowrap;
  }
  .main-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 260px;
    height: 100vh;
    overflow-y: auto;
    background-color: #111111;
    padding: 60px 20px 40px;
    z-index: 1001;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.7);
    transform: translateX(-100%);
    transition: transform 0.4s ease;
  }
  .main-nav.active {
    display: block;
    transform: translateX(0);
  }
  .nav-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 0;
    margin: 0;
    width: 100%;
  }
  .nav-link {
    display: block;
    width: 100%;
    color: #FFF6D6;
    font-size: 15px;
    padding: 12px 10px;
    border-bottom: 1px solid rgba(242, 193, 78, 0.08);
  }
  .nav-link:hover {
    color: #FFD36B;
    background-color: rgba(242, 193, 78, 0.05);
    text-shadow: none;
  }
  .hamburger-menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    cursor: pointer;
    z-index: 1001;
    background-color: transparent;
    border: none;
    padding: 10px;
    border-radius: 8px;
    background-color: #1c170d;
  }
  .hamburger-menu span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #FFD36B;
    margin: 3px 0;
    transition: all 0.3s ease;
  }
  .hamburger-menu.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .hamburger-menu.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger-menu.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  .mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.4s ease;
  }
  .mobile-menu-overlay.active {
    display: block;
    opacity: 1;
  }
  .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 {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-brand {
    padding-right: 0;
  }
  .footer-bottom {
    padding: 20px 10px;
  }
}
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
