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

.site-header { position: fixed; top: 0; width: 100%; z-index: 1000; background-color: #0A0A0A; box-shadow: 0 2px 5px rgba(0,0,0,0.2); min-height: 60px; display: flex; align-items: center; }
.header-container { max-width: 1200px; margin: 0 auto; padding: 15px 30px; display: flex; align-items: center; justify-content: space-between; width: 100%; }

.logo { flex-shrink: 0; font-size: 28px; font-weight: bold; color: #F2C14E; text-decoration: none; transition: color 0.3s ease; }
.logo:hover { color: #FFD36B; }

.main-nav { flex: 1; display: flex; flex-direction: row; justify-content: center; align-items: center; gap: 25px; margin: 0 20px; }
.nav-link { color: #FFF6D6; text-decoration: none; font-size: 16px; padding: 10px 0; transition: color 0.3s ease; white-space: nowrap; }
.nav-link:hover, .nav-link.active { color: #F2C14E; }

.desktop-nav-buttons { flex-shrink: 0; margin-left: auto; display: flex; gap: 10px; }
.mobile-nav-buttons { display: none !important; }

.btn { background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); color: #111111; padding: 10px 20px; border-radius: 5px; text-decoration: none; font-weight: bold; transition: transform 0.2s ease, box-shadow 0.2s ease; border: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; font-size: 15px; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 4px 8px rgba(255, 211, 107, 0.3); }

.hamburger-menu { display: none; width: 30px; height: 24px; position: relative; cursor: pointer; flex-direction: column; justify-content: space-between; border: none; background: transparent; padding: 0; z-index: 1001; margin-right: 15px; }
.hamburger-menu span { display: block; width: 100%; height: 3px; background-color: #FFF6D6; border-radius: 2px; transition: all 0.3s ease-in-out; }
.hamburger-menu.active span:nth-child(1) { transform: translateY(10.5px) rotate(45deg); }
.hamburger-menu.active span:nth-child(2) { opacity: 0; }
.hamburger-menu.active span:nth-child(3) { transform: translateY(-10.5px) rotate(-45deg); }

.mobile-menu-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.7); z-index: 998; display: none; opacity: 0; transition: opacity 0.3s ease; }
.mobile-menu-overlay.active { display: block; opacity: 1; }

/* Footer Styles */
.site-footer { background-color: #0A0A0A; color: #FFF6D6; padding: 40px 20px 20px; font-size: 14px; line-height: 1.6; }
.footer-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 25px; }
.footer-col { margin-bottom: 20px; }
.footer-about .footer-logo { margin-bottom: 15px; }
.footer-logo { font-size: 24px; font-weight: bold; color: #F2C14E; text-decoration: none; display: block; transition: color 0.3s ease; }
.footer-logo:hover { color: #FFD36B; }
.footer-description { color: #FFF6D6; word-wrap: break-word; overflow-wrap: break-word; }
.footer-heading { font-size: 18px; color: #F2C14E; margin-bottom: 15px; font-weight: bold; }
.footer-nav ul { list-style: none; padding: 0; margin: 0; }
.footer-nav li { margin-bottom: 8px; }
.footer-nav a { color: #FFF6D6; text-decoration: none; transition: color 0.3s ease; display: block; }
.footer-nav a:hover { color: #F2C14E; }
.footer-bottom { text-align: center; margin-top: 30px; padding-top: 20px; border-top: 1px solid #3A2A12; color: #FFF6D6; }
.footer-slot-anchor-inner { min-height: 10px; }

/* Mobile Styles */
@media (max-width: 768px) {
  :root { --header-offset: 110px; }
  .header-container { width: 100%; max-width: none; padding: 10px 15px; }
  
  .hamburger-menu { display: flex; }
  .logo { flex: 1; text-align: center; font-size: 24px; margin: 0 10px; }
  
  .main-nav { display: none; flex-direction: column; position: fixed; top: var(--header-offset); left: 0; width: 75%; height: calc(100% - var(--header-offset)); background-color: #111111; transform: translateX(-100%); transition: transform 0.3s ease; padding: 20px; box-shadow: 2px 0 5px rgba(0,0,0,0.3); overflow-y: auto; z-index: 999; align-items: flex-start; }
  .main-nav.active { display: flex; transform: translateX(0); }
  .main-nav .nav-link { width: 100%; padding: 15px 0; border-bottom: 1px solid #3A2A12; text-align: left; }
  .main-nav .nav-link:last-child { border-bottom: none; }

  .desktop-nav-buttons { display: none !important; }
  .mobile-nav-buttons { display: flex !important; flex-shrink: 0; gap: 8px; margin-left: auto; }

  .footer-container { grid-template-columns: 1fr; }
  .footer-col { text-align: center; }
  .footer-heading { margin-top: 20px; }
  .footer-nav ul { padding-left: 0; }
  .footer-nav li { display: inline-block; margin: 0 8px 8px; }
  .footer-nav a { display: inline; }
  .footer-about .footer-logo { margin-bottom: 10px; }

  .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;
  }
}
