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