/* ===== 基础重置 ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

/* ===== 导航栏（全站统一） ===== */
.header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,0.5);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(180,190,210,0.2);
    padding: 10px 0 6px;
}
.header-content { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.header-top { display: flex; align-items: center; justify-content: center; margin-bottom: 4px; }
.logo { font-size: 18px; font-weight: 600; color: #7f8c8d; display: flex; align-items: center; letter-spacing: 2px; }
.logo a { text-decoration: none; color: inherit; display: flex; align-items: center; }
.logo-img { width: 30px; height: 30px; border-radius: 50%; margin-right: 6px; object-fit: cover; border: 1.5px solid rgba(230,126,34,0.25); opacity: 0.85; }
.header-nav { display: flex; justify-content: center; gap: 2px; flex-wrap: wrap; }
.header-nav a { text-decoration: none; color: #8c9aa8; font-weight: 400; padding: 5px 12px; border-radius: 16px; font-size: 12px; transition: all 0.2s; letter-spacing: 1px; }
.header-nav a:hover { color: #e67e22; }
.header-nav a.active { color: #e67e22; font-weight: 500; }

/* 汉堡菜单 */
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; flex-direction: column; gap: 4px; z-index: 101; }
.hamburger span { display: block; width: 20px; height: 1.5px; background: #8c9aa8; border-radius: 1px; transition: all 0.3s; }
.nav-mobile { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(255,255,255,0.95); backdrop-filter: blur(20px); z-index: 99; flex-direction: column; align-items: center; justify-content: center; gap: 20px; }
.nav-mobile.active { display: flex; }
.nav-mobile a { text-decoration: none; color: #5d6d7e; font-weight: 500; font-size: 20px; padding: 10px 24px; border-radius: 12px; letter-spacing: 2px; }
.nav-mobile a:hover { color: #e67e22; background: rgba(254,245,231,0.5); }

/* ===== 页脚（全站统一） ===== */
.footer {
    padding: 20px 0;
    background: #2c3e50;
    color: #bdc3c7;
    text-align: center;
    font-size: 12px;
    margin-top: auto;
}
.footer a { color: #ecf0f1; text-decoration: none; }
.footer a:hover { color: #e67e22; }
.footer-tagline { margin-bottom: 6px; font-size: 11px; color: #e67e22; }
.footer .pay-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: #e67e22;
    text-decoration: none;
    font-size: 20px;
    margin-bottom: 10px;
    border-radius: 50%;
    background: rgba(230,126,34,0.1);
    transition: all 0.2s;
}
.footer .pay-icon:hover { background: rgba(230,126,34,0.2); }

/* ===== 汉堡菜单 JS ===== */
/* 所有页面需要在底部引入以下脚本片段 */
/* 
<script>
const hamburger = document.getElementById('hamburger');
const navMobile = document.getElementById('navMobile');
if (hamburger && navMobile) {
    hamburger.addEventListener('click', () => { navMobile.classList.toggle('active'); });
    navMobile.querySelectorAll('a').forEach(link => { link.addEventListener('click', () => { navMobile.classList.remove('active'); }); });
}
</script>
*/

/* ===== 响应式 ===== */
@media (max-width: 768px) {
    .header-nav { display: none; }
    .hamburger { display: flex; }
}
@media (min-width: 769px) {
    .header-content { display: flex; justify-content: space-between; align-items: center; }
    .header-top { margin-bottom: 0; }
    .header-nav { justify-content: flex-end; }
    .header-nav a { font-size: 13px; }
}