:root { --primary-color: #F2C14E; --secondary-color: #FFD36B; --card-bg: #111111; --bg-color: #0A0A0A; --text-main: #FFF6D6; --border-color: #3A2A12; --glow-color: #FFD36B; --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); --header-offset: 122px; } body { font-family: Arial, sans-serif; margin: 0; background-color: var(--bg-color); color: var(--text-main); padding-top: var(--header-offset); overflow-x: hidden; } /* Header */ .site-header { position: fixed; top: 0; width: 100%; background-color: var(--bg-color); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); z-index: 1000; min-height: 60px; display: flex; align-items: center; } .header-container { max-width: 1200px; margin: 0 auto; padding: 0 30px; display: flex; align-items: center; width: 100%; box-sizing: border-box; } .logo { font-size: 28px; font-weight: bold; color: var(--primary-color); text-decoration: none; flex-shrink: 0; padding: 10px 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-weight: bold; font-size: 16px; padding: 8px 12px; transition: color 0.3s ease, transform 0.3s ease; position: relative; } .nav-link:hover { color: var(--primary-color); transform: translateY(-2px); } .desktop-nav-buttons { margin-left: auto; display: flex; gap: 10px; flex-shrink: 0; } .mobile-nav-buttons { display: none !important; } .btn { background: var(--button-gradient); color: var(--bg-color); padding: 10px 20px; border-radius: 25px; text-decoration: none; font-weight: bold; font-size: 15px; transition: transform 0.3s ease, box-shadow 0.3s ease; border: none; cursor: pointer; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); display: inline-flex; align-items: center; justify-content: center; min-width: 80px; } .btn:hover { transform: translateY(-2px); box-shadow: 0 6px 15px var(--glow-color); } .hamburger-menu { display: none; background: none; border: none; color: var(--primary-color); font-size: 30px; cursor: pointer; padding: 5px; z-index: 1001; transition: transform 0.3s ease; } .hamburger-menu.active { transform: rotate(90deg); } /* Footer */ .site-footer { background-color: var(--card-bg); padding: 40px 20px; text-align: center; border-top: 1px solid var(--border-color); } .footer-content { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: left; margin-bottom: 30px; } .footer-col h3 { color: var(--primary-color); font-size: 18px; margin-bottom: 15px; } .footer-logo { font-size: 24px; font-weight: bold; color: var(--primary-color); text-decoration: none; display: block; margin-bottom: 15px; } .footer-description { font-size: 14px; line-height: 1.6; color: var(--text-main); word-wrap: break-word; overflow-wrap: break-word; } .footer-nav { list-style: none; padding: 0; margin: 0; } .footer-nav li { margin-bottom: 8px; } .footer-nav a { color: var(--text-main); text-decoration: none; font-size: 14px; transition: color 0.3s ease; } .footer-nav a:hover { color: var(--primary-color); } .footer-bottom { max-width: 1200px; margin: 0 auto; padding-top: 20px; border-top: 1px solid var(--border-color); font-size: 13px; color: var(--text-main); } .footer-bottom p { margin: 0; } /* Dynamic slot anchor styles - ensure visibility */ .footer-slot-anchor-inner { min-height: 1px; margin-top: 10px; } .footer-slot-anchor { min-height: 1px; } /* Mobile Styles */ @media (max-width: 768px) { :root { --header-offset: 110px; } .header-container { padding: 0 15px; width: 100%; max-width: none; justify-content: space-between; } .hamburger-menu { display: block; flex-shrink: 0; } .logo { flex: 1; text-align: center; padding: 8px 0; } .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: var(--card-bg); padding: 20px; box-shadow: 2px 0 10px rgba(0, 0, 0, 0.5); transform: translateX(-100%); transition: transform 0.3s ease-out; z-index: 999; align-items: flex-start; gap: 15px; overflow-y: auto; } .main-nav.active { display: flex; transform: translateX(0); } .desktop-nav-buttons { display: none !important; } .mobile-nav-buttons { display: flex !important; gap: 8px; flex-shrink: 0; } .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; opacity: 0; transition: opacity 0.3s ease-out; } .mobile-menu-overlay.active { display: block; opacity: 1; } .footer-content { grid-template-columns: 1fr; text-align: center; } .footer-col { margin-bottom: 20px; } .footer-col:last-child { margin-bottom: 0; } .footer-col h3, .footer-logo { text-align: center; } .footer-nav { display: flex; flex-direction: column; align-items: center; } /* Mobile content overflow protection */ .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;
  }
}
