:root { --header-offset: 122px; } body { padding-top: var(--header-offset); overflow-x: hidden; font-family: 'Arial', sans-serif; margin: 0; background-color: #0A0A0A; color: #FFF6D6; } .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; 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: 24px; color: #F2C14E; cursor: pointer; padding: 5px; line-height: 1; } .logo { font-size: 28px; font-weight: bold; color: #F2C14E; 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: 25px; } .nav-link { color: #FFF6D6; text-decoration: none; padding: 10px 0; transition: color 0.3s ease, border-bottom 0.3s ease; border-bottom: 2px solid transparent; } .nav-link:hover, .nav-link.active { color: #FFD36B; border-bottom-color: #FFD36B; } .desktop-nav-buttons { display: flex; gap: 10px; margin-left: auto; flex-shrink: 0; } .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; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); } .btn:hover { transform: translateY(-2px); box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4); } .site-footer { background-color: #0A0A0A; color: #FFF6D6; padding: 40px 0 20px; border-top: 1px solid #3A2A12; } .footer-slot-anchor { display: block; height: 0; overflow: hidden; } .footer-slot-anchor-inner { display: block; height: 0; overflow: hidden; } .footer-main-content { max-width: 1200px; margin: 0 auto; padding: 0 30px; } .footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-bottom: 40px; } .footer-col h3 { color: #FFD36B; font-size: 18px; margin-bottom: 15px; } .footer-col ul { list-style: none; padding: 0; margin: 0; } .footer-col ul li { margin-bottom: 10px; } .footer-col ul li a { color: #FFF6D6; text-decoration: none; transition: color 0.3s ease; } .footer-col ul li a:hover { color: #F2C14E; } .footer-logo { font-size: 24px; font-weight: bold; color: #F2C14E; text-decoration: none; display: block; margin-bottom: 15px; } .footer-description { font-size: 14px; line-height: 1.6; word-wrap: break-word; overflow-wrap: break-word; } .footer-mid-slots { display: flex; flex-direction: column; gap: 20px; margin-bottom: 40px; } .footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; } .footer-bottom { text-align: center; font-size: 14px; color: #FFF6D6; padding-top: 20px; border-top: 1px solid #3A2A12; } .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; } @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 !important; display: flex !important; justify-content: center !important; align-items: center !important; margin-right: 0; } .desktop-nav-buttons { display: none !important; } .mobile-nav-buttons { display: flex !important; gap: 8px; flex-shrink: 0; } .main-nav { display: none; position: fixed; top: var(--header-offset); left: 0; width: 250px; height: calc(100% - var(--header-offset)); background-color: #111111; flex-direction: column; padding: 20px 0; transform: translateX(-100%); transition: transform 0.3s ease; z-index: 1000; overflow-y: auto; } .main-nav.active { display: flex; transform: translateX(0); } .main-nav .nav-link { padding: 15px 20px; width: 100%; border-bottom: none; } .main-nav .nav-link:hover, .main-nav .nav-link.active { background-color: rgba(242, 193, 78, 0.2); } .footer-cols { grid-template-columns: 1fr 1fr; } .footer-col:nth-child(1) { grid-column: span 2; } .footer-col:nth-child(2), .footer-col:nth-child(3), .footer-col:nth-child(4) { grid-column: span 1; } .footer-mid-grid { grid-template-columns: repeat(2, 1fr); } .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;
  }
}
