:root { --header-offset: 122px; }
body { padding-top: var(--header-offset); margin: 0; font-family: Arial, sans-serif; background-color: #0A0A0A; color: #FFF6D6; }

.site-header {
  background-color: #0A0A0A;
  width: 100%;
  position: fixed;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  min-height: 60px;
  display: flex;
  align-items: center;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 10px 30px;
  width: 100%;
  box-sizing: border-box;
}

.hamburger-menu {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 24px;
  position: relative;
  flex-shrink: 0;
  z-index: 1001;
}

.hamburger-menu .icon-bar {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #FFF6D6;
  margin: 5px 0;
  transition: all 0.3s ease;
}

.hamburger-menu.active .icon-bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger-menu.active .icon-bar:nth-child(2) { opacity: 0; }
.hamburger-menu.active .icon-bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.logo {
  color: #F2C14E;
  font-size: 28px;
  font-weight: bold;
  text-decoration: none;
  flex-shrink: 0;
  margin-right: 20px;
}

.main-nav {
  flex: 1;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.nav-link {
  color: #FFF6D6;
  text-decoration: none;
  font-size: 16px;
  padding: 5px 0;
  transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
  color: #F2C14E;
}

.desktop-nav-buttons {
  flex-shrink: 0;
  margin-left: auto;
  display: flex;
  gap: 12px;
}

.mobile-nav-buttons {
  display: none !important; /* Hidden by default on desktop */
}

.btn {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #000000;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn:hover {
  opacity: 0.9;
  box-shadow: 0 0 10px #FFD36B;
}

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

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

/* Footer Styles */
.site-footer {
  background-color: #0A0A0A;
  color: #FFF6D6;
  padding: 40px 0;
  font-size: 14px;
  border-top: 1px solid #3A2A12;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

.footer-cols-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.footer-col h3 {
  color: #F2C14E;
  font-size: 18px;
  margin-bottom: 20px;
}

.footer-logo {
  color: #F2C14E;
  font-size: 24px;
  font-weight: bold;
  text-decoration: none;
  display: block;
  margin-bottom: 15px;
}

.footer-description {
  line-height: 1.6;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

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

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

.footer-nav a {
  color: #FFF6D6;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: #F2C14E;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #3A2A12;
  color: #FFF6D6;
}

.footer-slot-anchor-inner { min-height: 1px; }

@media (max-width: 768px) {
  :root { --header-offset: 110px; }
  
  .header-container {
    width: 100%;
    max-width: none;
    padding: 10px 15px;
    justify-content: space-between;
  }

  .hamburger-menu {
    display: block;
    margin-right: 15px;
  }

  .logo {
    flex: 1 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin-right: 0;
  }

  .main-nav {
    display: none;
    flex-direction: column;
    position: fixed;
    top: var(--header-offset);
    left: 0;
    width: 250px;
    height: calc(100% - var(--header-offset));
    background-color: #111111;
    padding: 20px;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.5);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 999;
    overflow-y: auto;
    align-items: flex-start;
    gap: 15px;
  }

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

  .nav-link {
    font-size: 18px;
    width: 100%;
    padding: 10px 0;
  }

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

  .mobile-nav-buttons {
    display: flex !important;
    gap: 8px;
    margin-left: 15px;
  }

  .mobile-nav-buttons .btn {
    padding: 8px 15px;
    font-size: 14px;
  }

  .footer-cols-wrapper {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .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;
  }
}
