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

body {
  padding-top: var(--header-offset);
  background-color: #0A0A0A;
  margin: 0;
}

/* ===== SITE HEADER ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(242, 193, 78, 0.15), 0 2px 8px rgba(0, 0, 0, 0.4);
  background: #0A0A0A;
  min-height: auto;
}

/* --- Header Top --- */
.header-top {
  background-color: #111111;
  border-bottom: 1px solid #3A2A12;
  width: 100%;
}

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

.logo {
  display: inline-block;
  font-size: 28px;
  font-weight: 800;
  color: #F2C14E;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-decoration: none;
  text-shadow: 0 0 12px rgba(255, 211, 107, 0.4);
  white-space: nowrap;
}

.logo:hover {
  color: #FFD36B;
  text-shadow: 0 0 18px rgba(255, 211, 107, 0.7);
}

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

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #0A0A0A;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 6px 22px rgba(255, 211, 107, 0.5);
  transform: translateY(-2px);
  color: #0A0A0A;
}

.btn-secondary {
  background: #3A2A12;
  color: #FFF6D6;
  border: 1px solid #F2C14E;
}

.btn-secondary:hover {
  background: #4A3A1E;
  border-color: #FFD36B;
  color: #FFF6D6;
  transform: translateY(-2px);
}

/* --- Main Nav --- */
.main-nav {
  background-color: #0A0A0A;
  border-bottom: 1px solid #3A2A12;
  width: 100%;
  display: flex;
  flex-direction: row;
  position: static;
  min-height: 52px;
}

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

.nav-link {
  display: inline-block;
  padding: 8px 14px;
  color: #FFF6D6;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.nav-link:hover {
  color: #F2C14E;
  background: rgba(242, 193, 78, 0.08);
}

.nav-link.active {
  color: #F2C14E;
  background: rgba(242, 193, 78, 0.12);
  box-shadow: inset 0 -2px 0 #F2C14E;
}

/* Mobile elements hidden on desktop */
.hamburger-menu, .mobile-menu-overlay, .mobile-nav-buttons {
  display: none;
}

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

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  padding: 0 24px;
}

.footer-column {
  flex: 1;
  min-width: 200px;
}

.footer-brand {
  flex: 1.4;
}

.footer-logo {
  font-size: 22px;
  font-weight: 800;
  color: #F2C14E;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.footer-description {
  color: #9A8B6F;
  line-height: 1.6;
  margin-top: 14px;
  font-size: 14px;
}

.footer-heading {
  color: #F2C14E;
  font-size: 16px;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.footer-column a {
  display: block;
  color: #B8A88A;
  text-decoration: none;
  padding: 6px 0;
  font-size: 14px;
  transition: all 0.3s;
}

.footer-column a:hover {
  color: #FFD36B;
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid #3A2A12;
  margin-top: 30px;
  padding: 20px 24px;
  text-align: center;
  color: #9A8B6F;
  font-size: 13px;
  background: #0A0A0A;
}

.footer-bottom p {
  margin: 6px 0;
}

.footer-disclaimer {
  color: #F2C14E;
  font-weight: 600;
}

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

  .header-container {
    width: 100%;
    max-width: none;
    padding: 10px 16px;
    min-height: 60px;
  }

  .nav-container {
    width: 100%;
    max-width: none;
    padding: 0;
  }

  .logo {
    font-size: 22px;
    margin: 0 auto;
    text-align: center;
  }

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

  /* Hamburguer menu */
  .hamburger-menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    position: fixed;
    top: 10px;
    left: 16px;
    z-index: 1002;
    cursor: pointer;
    background: #111111;
    border: 1px solid #3A2A12;
    border-radius: 8px;
    padding: 8px;
  }

  .hamburger-menu span {
    display: block;
    width: 22px;
    height: 2px;
    background: #F2C14E;
    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 nav */
  .main-nav {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background: #111111;
    z-index: 1001;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    border-right: 2px solid #3A2A12;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.5);
    padding-top: 70px;
  }

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

  .nav-link {
    padding: 14px 24px;
    font-size: 15px;
    border-bottom: 1px solid rgba(242, 193, 78, 0.08);
    color: #FFF6D6;
    display: block;
    border-radius: 0;
    white-space: normal;
  }

  .nav-link:hover {
    background: rgba(242, 193, 78, 0.1);
  }

  /* Mobile buttons */
  .mobile-nav-buttons {
    display: flex;
    gap: 8px;
    padding: 8px 16px;
    background: #111111;
    border-bottom: 1px solid #3A2A12;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    z-index: 999;
  }

  .mobile-nav-buttons .btn {
    flex: 1;
    text-align: center;
    font-size: 13px;
    padding: 10px 15px;
    max-width: 160px;
  }

  /* Overlay */
  .mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
  }

  .mobile-menu-overlay.active {
    display: block;
  }

  /* Footer */
  .footer-container {
    padding: 0 16px;
  }

  .footer-column {
    flex: 1 1 100%;
  }

  .footer-bottom {
    padding: 14px 16px;
  }

  /* Prevent horizontal scroll */
  body {
    overflow-x: hidden;
  }

  .page-content {
    overflow-x: hidden;
    max-width: 100%;
  }

  .page-content img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
