html, body { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Arial', sans-serif; background-color: #0A0A0A; color: #FFF6D6; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
h1, h2, h3, h4, h5, h6 { color: #FFF6D6; margin-top: 0; margin-bottom: 15px; }

:root { --header-offset: 122px; }
body { padding-top: var(--header-offset); }

.site-header { position: fixed; top: 0; width: 100%; z-index: 1000; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); background-color: #111111; min-height: 60px; display: flex; align-items: center; }
.header-container { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; padding: 15px 30px; width: 100%; }
.hamburger-menu { display: none; background: none; border: none; font-size: 30px; color: #F2C14E; cursor: pointer; z-index: 1001; padding: 5px; line-height: 1; }
.logo { font-size: 28px; font-weight: bold; color: #F2C14E; text-transform: uppercase; letter-spacing: 1px; flex-shrink: 0; display: block; }
.main-nav { flex: 1; display: flex; flex-direction: row; justify-content: center; align-items: center; gap: 25px; }
.main-nav .nav-link { color: #FFF6D6; font-size: 16px; padding: 10px 0; transition: color 0.3s ease; }
.main-nav .nav-link:hover { color: #F2C14E; }
.desktop-nav-buttons { display: flex; gap: 10px; margin-left: auto; flex-shrink: 0; }
.mobile-nav-buttons { display: none !important; }
.btn { padding: 10px 20px; border-radius: 5px; font-weight: bold; text-decoration: none; text-align: center; display: inline-block; cursor: pointer; transition: all 0.3s ease; background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); color: #111111; box-shadow: 0 4px 10px rgba(255, 211, 107, 0.4); border: none; }
.btn:hover { opacity: 0.9; transform: translateY(-2px); box-shadow: 0 6px 12px rgba(255, 211, 107, 0.6); }

.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: 999; }
.mobile-menu-overlay.active { display: block; }
body.no-scroll { overflow: hidden; }

.site-footer { background-color: #111111; color: #FFF6D6; padding: 40px 0 20px; border-top: 1px solid #3A2A12; }
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 30px; }
.footer-columns { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-bottom: 30px; }
.footer-col h3 { color: #F2C14E; font-size: 18px; margin-bottom: 15px; }
.footer-logo { font-size: 24px; font-weight: bold; color: #F2C14E; text-transform: uppercase; display: block; margin-bottom: 15px; }
.footer-description { font-size: 14px; line-height: 1.6; word-wrap: break-word; overflow-wrap: break-word; color: #FFF6D6; }
.footer-nav a { display: block; margin-bottom: 8px; color: #FFF6D6; transition: color 0.3s ease; font-size: 14px; }
.footer-nav a:hover { color: #F2C14E; }
.footer-bottom { border-top: 1px solid #3A2A12; padding-top: 20px; text-align: center; font-size: 13px; color: #FFF6D6; margin-top: 20px; }
.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; }
  .logo {
    flex: 1 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }
  .logo img {
    display: block !important;
    max-width: 100%;
    height: auto;
    max-height: 40px;
  }
  .main-nav {
    display: none; /* Default hidden */
    position: fixed; top: var(--header-offset); left: 0; width: 75%; max-width: 300px; height: calc(100vh - var(--header-offset)); background-color: #111111; flex-direction: column; padding: 20px; box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2); transform: translateX(-100%); transition: transform 0.3s ease; overflow-y: auto; align-items: flex-start; gap: 15px;
  }
  .main-nav.active {
    display: flex; /* Show when active */
    transform: translateX(0);
  }
  .desktop-nav-buttons { display: none !important; }
  .mobile-nav-buttons { display: flex !important; gap: 8px; flex-shrink: 0; }

  .footer-columns { grid-template-columns: 1fr; }
  .footer-col { margin-bottom: 20px; }
  .footer-col:last-child { margin-bottom: 0; }

  /* Mobile content overflow protection */
  .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;
  }
}
