:root { --header-offset: 122px; } body { padding-top: var(--header-offset); margin: 0; font-family: 'Arial', sans-serif; color: #FFF6D6; background-color: #0A0A0A; } a { text-decoration: none; color: #F2C14E; } a:hover { color: #FFD36B; } h1, h2, h3, h4, h5, h6 { color: #FFF6D6; } .btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 20px; border-radius: 5px; font-weight: bold; text-decoration: none; cursor: pointer; transition: all 0.3s ease; background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); color: #111111; border: none; 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-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; width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 10px 30px; } .logo { font-size: 28px; font-weight: bold; color: #F2C14E; text-transform: uppercase; letter-spacing: 1px; flex-shrink: 0; } .main-nav { flex: 1; display: flex; flex-direction: row; justify-content: center; align-items: center; gap: 25px; } .nav-link { color: #FFF6D6; font-weight: 500; padding: 5px 0; transition: color 0.3s ease; } .nav-link:hover { color: #F2C14E; } .hamburger-menu { display: none; background: none; border: none; font-size: 28px; color: #F2C14E; cursor: pointer; padding: 5px; z-index: 1001; transition: transform 0.3s ease; } .desktop-nav-buttons { display: flex; gap: 10px; flex-shrink: 0; margin-left: auto; } .mobile-nav-buttons { display: none !important; } .site-footer { background-color: #0A0A0A; color: #FFF6D6; padding: 40px 0 20px; border-top: 1px solid #3A2A12; } .footer-container { max-width: 1200px; margin: 0 auto; padding: 0 30px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; } .footer-col h3 { color: #F2C14E; margin-bottom: 20px; font-size: 18px; } .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; color: #FFF6D6; word-wrap: break-word; overflow-wrap: break-word; } .footer-nav { list-style: none; padding: 0; margin: 0; } .footer-nav .footer-link { display: block; margin-bottom: 10px; font-size: 14px; color: #FFF6D6; transition: color 0.3s ease; } .footer-nav .footer-link:hover { color: #F2C14E; } .footer-col p { font-size: 14px; line-height: 1.6; margin-bottom: 10px; } .footer-bottom { text-align: center; margin-top: 40px; padding-top: 20px; border-top: 1px solid #3A2A12; font-size: 13px; color: #FFF6D6; } .footer-slot-anchor-inner { min-height: 1px; } @media (max-width: 768px) { :root { --header-offset: 110px; } .page-content img { max-width: 100% !important; height: auto !important; display: block; } .page-content { overflow-x: hidden; max-width: 100%; } body { overflow-x: hidden; } .header-container { width: 100%; max-width: none; padding: 10px 15px; justify-content: flex-start; } .hamburger-menu { display: block; order: 1; margin-right: 15px; } .logo { order: 2; flex: 1 !important; display: flex !important; justify-content: center !important; align-items: center !important; font-size: 24px; } .logo img { display: block !important; max-width: 100%; height: auto; max-height: 40px; } .mobile-nav-buttons { display: flex !important; gap: 8px; order: 3; margin-left: 15px; } .desktop-nav-buttons { display: none !important; } .main-nav { display: none; flex-direction: column; position: fixed; top: var(--header-offset); left: 0; width: 70%; max-width: 300px; height: calc(100% - var(--header-offset)); background-color: #111111; box-shadow: 2px 0 10px rgba(0, 0, 0, 0.5); transform: translateX(-100%); transition: transform 0.3s ease; padding: 20px 0; z-index: 998; overflow-y: auto; } .main-nav.active { display: flex; transform: translateX(0); } .main-nav .nav-link { padding: 15px 20px; border-bottom: 1px solid #3A2A12; width: 100%; text-align: left; } .main-nav .nav-link:last-child { border-bottom: none; } .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: 997; } .mobile-menu-overlay.active { display: block; } body.no-scroll { overflow: hidden; } .footer-container { grid-template-columns: 1fr; gap: 20px; } .footer-col { text-align: center; } .footer-col h3, .footer-logo { text-align: center; } .footer-nav .footer-link { text-align: center; } } @media (max-width: 480px) { .footer-container { padding: 0 15px; } }
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
  }
}
