:root { --header-offset: 122px; } body { padding-top: var(--header-offset); margin: 0; font-family: Arial, sans-serif; overflow-x: hidden; background-color: #0A0A0A; } .site-header { position: fixed; top: 0; width: 100%; z-index: 1000; background-color: #0A0A0A; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); min-height: 60px; } .header-container { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; padding: 15px 30px; } .hamburger-menu { display: none; font-size: 28px; background: none; border: none; color: #FFF6D6; cursor: pointer; padding: 5px; line-height: 1; transition: transform 0.3s ease; } .hamburger-menu.active { transform: rotate(90deg); } .logo { flex-shrink: 0; color: #FFF6D6; font-size: 28px; font-weight: bold; text-decoration: none; padding: 5px 0; } .main-nav { flex: 1; display: flex; flex-direction: row; justify-content: center; align-items: center; gap: 25px; } .nav-link { color: #FFF6D6; text-decoration: none; padding: 10px 0; transition: color 0.3s ease; font-size: 16px; font-weight: 500; } .nav-link:hover { color: #FFD36B; } .desktop-nav-buttons { flex-shrink: 0; margin-left: auto; display: flex; gap: 10px; } .mobile-nav-buttons { display: none !important; } .btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 20px; border-radius: 8px; text-decoration: none; font-weight: bold; cursor: pointer; transition: all 0.3s ease; background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); color: #0A0A0A; box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4); border: none; font-size: 15px; } .btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255, 211, 107, 0.6); } .mobile-menu-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.7); z-index: 999; display: none; opacity: 0; transition: opacity 0.3s ease; } .mobile-menu-overlay.active { display: block; opacity: 1; } body.no-scroll { overflow: hidden; } .site-footer { background-color: #0A0A0A; color: #FFF6D6; padding: 40px 0 20px; border-top: 1px solid #3A2A12; } .footer-content-wrapper { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding: 0 30px; } .footer-col { margin-bottom: 20px; } .footer-col h3 { color: #FFD36B; margin-bottom: 20px; font-size: 18px; } .footer-logo { color: #FFF6D6; font-size: 24px; font-weight: bold; text-decoration: none; margin-bottom: 15px; display: block; } .footer-description { font-size: 14px; line-height: 1.6; word-wrap: break-word; overflow-wrap: break-word; color: #FFF6D6; } .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; font-size: 15px; } .footer-nav a:hover { color: #F2C14E; } .footer-bottom { text-align: center; margin-top: 40px; font-size: 13px; color: #F2C14E; padding: 0 30px; } .footer-slot-anchor, .footer-slot-anchor-inner { display: block; min-height: 1px; width: 100%; } @media (max-width: 768px) { :root { --header-offset: 110px; } .header-container { width: 100%; max-width: none; padding: 10px 15px; } .hamburger-menu { display: block; } .logo { flex: 1; text-align: center; } .desktop-nav-buttons { display: none !important; } .mobile-nav-buttons { flex-shrink: 0; display: flex !important; gap: 8px; } .main-nav { display: none; position: fixed; top: var(--header-offset); left: 0; width: 250px; height: calc(100% - var(--header-offset)); background-color: #111111; z-index: 1000; flex-direction: column; padding: 20px; box-shadow: 2px 0 10px rgba(0, 0, 0, 0.5); transform: translateX(-100%); transition: transform 0.3s ease; overflow-y: auto; } .main-nav.active { display: flex; transform: translateX(0); } .nav-link { padding: 12px 0; border-bottom: 1px solid #3A2A12; } .nav-link:last-child { border-bottom: none; } .footer-content-wrapper { grid-template-columns: 1fr; text-align: center; padding: 0 15px; } .footer-col h3 { text-align: center; } .footer-logo { margin-left: auto; margin-right: auto; } .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;
  }
}
