:root { --header-offset: 122px; } body { padding-top: var(--header-offset); margin: 0; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background-color: #0A0A0A; color: #FFF6D6; overflow-x: hidden; } .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; padding: 15px 30px; display: flex; align-items: center; width: 100%; } .logo { flex-shrink: 0; font-size: 28px; font-weight: bold; color: #F2C14E; text-decoration: none; text-transform: uppercase; } .hamburger-menu { display: none; background: none; border: none; font-size: 30px; color: #FFF6D6; cursor: pointer; padding: 5px; line-height: 1; } .main-nav { flex: 1; display: flex; justify-content: center; align-items: center; gap: 25px; } .nav-link { color: #FFF6D6; text-decoration: none; padding: 10px 0; font-size: 16px; font-weight: bold; transition: color 0.3s ease; white-space: nowrap; } .nav-link:hover { 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: 25px; text-decoration: none; font-weight: bold; font-size: 15px; transition: all 0.3s ease; border: none; cursor: pointer; white-space: nowrap; } .btn:hover { box-shadow: 0 0 15px #FFD36B; transform: translateY(-2px); } .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; } .site-footer { background-color: #0A0A0A; color: #FFF6D6; padding: 60px 0 20px; font-size: 15px; } .site-footer h3 { color: #F2C14E; font-size: 18px; margin-bottom: 20px; } .footer-container { max-width: 1200px; margin: 0 auto; padding: 0 30px; } .footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; } .footer-col { margin-bottom: 30px; } .footer-logo { font-size: 24px; font-weight: bold; color: #F2C14E; text-decoration: none; display: block; margin-bottom: 15px; text-transform: uppercase; } .footer-description { line-height: 1.6; margin-bottom: 20px; word-wrap: break-word; overflow-wrap: break-word; } .footer-nav a { display: block; color: #FFF6D6; text-decoration: none; margin-bottom: 10px; transition: color 0.3s ease; } .footer-nav a:hover { color: #FFD36B; } .footer-bottom { text-align: center; margin-top: 40px; padding-top: 20px; border-top: 1px solid #3A2A12; font-size: 14px; } .footer-bottom p { margin: 0; } .footer-slot-anchor-inner { min-height: 1px; } .footer-mid-slots { display: flex; flex-direction: column; gap: 20px; margin-top: 30px; } .footer-slot-mid-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; } @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; flex-shrink: 0; order: 0; } .logo { flex: 1 !important; display: flex !important; justify-content: center !important; align-items: center !important; order: 1; font-size: 24px; } .main-nav { display: none; flex-direction: column; position: fixed; top: var(--header-offset); left: 0; width: 80%; max-width: 300px; height: calc(100% - var(--header-offset)); background-color: #111111; padding: 20px; box-shadow: 2px 0 5px rgba(0, 0, 0, 0.5); transform: translateX(-100%); transition: transform 0.3s ease; overflow-y: auto; z-index: 999; align-items: flex-start; gap: 0; } .main-nav.active { display: flex; transform: translateX(0); } .nav-link { width: 100%; padding: 15px 0; border-bottom: 1px solid #3A2A12; } .nav-link:last-child { border-bottom: none; } .desktop-nav-buttons { display: none !important; } .mobile-nav-buttons { display: flex !important; gap: 8px; margin-left: auto; flex-shrink: 0; order: 2; } .btn { padding: 8px 15px; font-size: 14px; border-radius: 20px; } .mobile-menu-overlay.active { display: block; } .footer-cols { grid-template-columns: 1fr; } .footer-mid-slots { margin-top: 20px; } .footer-slot-mid-row { grid-template-columns: 1fr; gap: 15px; } .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;
  }
}
