html { scroll-behavior: smooth; } body { font-family: 'Arial', sans-serif; margin: 0; padding-top: var(--header-offset); background-color: #0D0E12; color: #FFF3E6; } a { text-decoration: none; color: #FFF3E6; } a:hover { color: #FFA53A; } :root { --header-offset: 122px; } .site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; width: 100%; box-shadow: 0 2px 5px rgba(0,0,0,0.2); background-color: #0D0E12; } .header-top { box-sizing: border-box; min-height: 68px; height: 68px; display: flex; align-items: center; overflow: hidden; width: 100%; } .header-container { box-sizing: border-box; width: 100%; height: 100%; max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 0 30px; } .logo { font-size: 28px; font-weight: bold; color: #FFA53A; text-transform: uppercase; display: block; } .desktop-nav-buttons { display: flex; gap: 12px; align-items: center; } .btn { padding: 10px 20px; border-radius: 8px; font-size: 16px; font-weight: bold; text-align: center; cursor: pointer; transition: all 0.3s ease; background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); color: #FFF3E6; border: none; text-decoration: none; display: inline-block; white-space: nowrap; } .btn:hover { opacity: 0.9; transform: translateY(-2px); } .hamburger-menu { display: none; width: 30px; height: 24px; position: relative; cursor: pointer; z-index: 1002; background: none; border: none; padding: 0; } .hamburger-icon, .hamburger-icon::before, .hamburger-icon::after { content: ''; display: block; width: 100%; height: 3px; background-color: #FFF3E6; position: absolute; left: 0; transition: all 0.3s ease; } .hamburger-icon { top: 50%; transform: translateY(-50%); } .hamburger-icon::before { top: -8px; } .hamburger-icon::after { top: 8px; } .hamburger-menu.active .hamburger-icon { background-color: transparent; } .hamburger-menu.active .hamburger-icon::before { top: 0; transform: rotate(45deg); } .hamburger-menu.active .hamburger-icon::after { top: 0; transform: rotate(-45deg); } .mobile-nav-buttons { box-sizing: border-box; display: none; min-height: 48px; background-color: #17191F; border-bottom: 1px solid #A84F0C; } .main-nav { box-sizing: border-box; min-height: 52px; height: 52px; display: flex; align-items: center; overflow: hidden; background-color: #17191F; width: 100%; border-top: 1px solid #A84F0C; } .nav-container { box-sizing: border-box; height: 100%; max-width: 1200px; margin: 0 auto; display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 0 20px; gap: 25px; } .nav-link { font-size: 16px; font-weight: 500; padding: 5px 0; display: block; white-space: nowrap; } .overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.7); z-index: 999; } .site-footer { background-color: #0D0E12; padding: 40px 0 20px; color: #FFF3E6; border-top: 1px solid #A84F0C; } .footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; max-width: 1200px; margin: 0 auto; padding: 0 30px; } .footer-col h3 { font-size: 18px; color: #FFA53A; margin-bottom: 20px; } .footer-logo { font-size: 24px; font-weight: bold; color: #FFA53A; text-transform: uppercase; margin-bottom: 15px; display: block; } .footer-description { font-size: 14px; line-height: 1.6; word-wrap: break-word; overflow-wrap: break-word; } .footer-nav { list-style: none; padding: 0; margin: 0; } .footer-nav li { margin-bottom: 10px; } .footer-nav a { font-size: 14px; color: #FFF3E6; } .footer-nav a:hover { color: #FFA53A; } .footer-bottom { text-align: center; font-size: 13px; margin-top: 40px; padding-top: 20px; border-top: 1px solid #A84F0C; } .footer-bottom p { margin: 0; } .footer-slot-anchor-top, .footer-slot-anchor-bottom, .footer-mid-slots > div { display: none; } .footer-slot-anchor-inner { display: none; } @media (max-width: 768px) { :root { --header-offset: 110px; } body { overflow-x: hidden; } .page-content img { max-width: 100% !important; height: auto !important; display: block; } .page-content { overflow-x: hidden; max-width: 100%; } .site-header { box-shadow: 0 1px 3px rgba(0,0,0,0.1); } .header-top { min-height: 60px; height: 60px; } .header-container { padding: 0 15px; position: relative; } .logo { font-size: 24px; flex: 1; display: flex; justify-content: center; align-items: center; position: absolute; left: 50%; transform: translateX(-50%); max-width: calc(100% - 100px); } .desktop-nav-buttons { display: none !important; } .hamburger-menu { display: block; position: relative; z-index: 1002; margin-left: auto; } .mobile-nav-buttons { display: flex !important; min-height: 48px; align-items: center; justify-content: center; width: 100%; max-width: 100%; box-sizing: border-box; padding: 0 15px; overflow: hidden; gap: 10px; flex-wrap: nowrap; background-color: #17191F; border-bottom: 1px solid #A84F0C; } .mobile-nav-buttons .btn { flex: 1; min-width: 0; max-width: calc(50% - 5px); box-sizing: border-box; padding: 8px 12px; font-size: 13px; white-space: normal; word-wrap: break-word; overflow-wrap: break-word; } .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: #17191F; box-shadow: 2px 0 5px rgba(0,0,0,0.2); transform: translateX(-100%); transition: transform 0.3s ease; align-items: flex-start; padding: 20px 0; border-top: none; overflow-y: auto; } .main-nav.active { display: flex; transform: translateX(0); } .nav-container { flex-direction: column; align-items: flex-start; padding: 0 20px; gap: 15px; width: 100%; } .nav-link { width: 100%; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.1); } .nav-link:last-child { border-bottom: none; } .overlay.active { display: block; } .footer-top-grid { grid-template-columns: 1fr; padding: 0 15px; } .footer-col { margin-bottom: 30px; } .footer-col:last-child { margin-bottom: 0; } .footer-logo { text-align: center; } .footer-description { text-align: center; } .footer-col h3 { text-align: center; } .footer-nav { text-align: center; } }
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
  }
}
