/* ═══════════════════════════════════════════════════════════
   WEPO Design System v1 — 维科生态协会 统一设计系统
   暗金奢华 · 国际权威 · 全站共享
   ═══════════════════════════════════════════════════════════ */

:root {
    --bg-void: #050507;
    --bg-surface: #111113;
    --bg-card: rgba(30, 30, 35, 0.4);
    --text-primary: #F5F5F7;
    --text-secondary: #86868B;
    --accent-gold: #d4af37;
    --shimmer-shine: #fff4ce;
    --border-glass: rgba(255, 255, 255, 0.1);
    --glass-blur: blur(20px);
    --nav-bg: rgba(5, 5, 7, 0.7);
    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
    --ease-apple: cubic-bezier(0.25, 1, 0.5, 1);
}
[data-theme="light"] {
    --bg-void: #F2F2F7; --bg-surface: #FFFFFF; --bg-card: rgba(255,255,255,.6);
    --text-primary: #1D1D1F; --text-secondary: #515154;
    --accent-gold: #B49020; --shimmer-shine: #e5b73b;
    --border-glass: rgba(0,0,0,.08); --nav-bg: rgba(255,255,255,.75);
}

/* ── Reset & Base ── */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: 'Manrope', 'Noto Serif SC', -apple-system, sans-serif;
    background: var(--bg-void); color: var(--text-primary);
    min-height: 100vh; overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    transition: background-color .6s var(--ease-apple), color .6s var(--ease-apple);
}
a { text-decoration: none; color: inherit; transition: all .3s var(--ease-apple); }
img { max-width: 100%; display: block; animation: imgFade .5s var(--ease-apple); }
@keyframes imgFade { from { opacity: 0 } to { opacity: 1 } }

/* ── 品牌滚动条 / 选中 / 聚焦 ── */
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--accent-gold), color-mix(in srgb, var(--accent-gold) 60%, transparent));
    border-radius: 99px; border: 2px solid transparent; background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover { background: var(--shimmer-shine); background-clip: padding-box; }
::selection { background: var(--accent-gold); color: #050507; }
:focus-visible { outline: 2px solid var(--accent-gold); outline-offset: 3px; border-radius: 4px; }

/* ── Page Loader: 首屏加载动画 ── */
.page-loader {
    position: fixed; inset: 0; z-index: 100000;
    background: var(--bg-void);
    display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 22px;
    transition: opacity .6s var(--ease-apple), visibility .6s;
}
.page-loader.done { opacity: 0; visibility: hidden; }
.page-loader .pl-logo {
    width: 64px; height: 64px; border-radius: 18px;
    background: linear-gradient(135deg, var(--shimmer-shine), var(--accent-gold));
    display: flex; align-items: center; justify-content: center;
    animation: plPulse 1.4s var(--ease-apple) infinite;
}
.page-loader .pl-logo svg { width: 34px; height: 34px; }
.page-loader .pl-bar { width: 160px; height: 2px; background: var(--border-glass); border-radius: 99px; overflow: hidden; }
.page-loader .pl-bar i { display: block; height: 100%; width: 40%; background: var(--accent-gold); border-radius: 99px; animation: plSlide 1.1s ease-in-out infinite; }
@keyframes plPulse { 0%,100% { transform: scale(1) } 50% { transform: scale(1.08) } }
@keyframes plSlide { 0% { transform: translateX(-100%) } 100% { transform: translateX(350%) } }

/* ── Header / 导航 ── */
.site-header {
    position: sticky; top: 0; z-index: 1000;
    background: var(--nav-bg); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--border-glass);
    padding: 14px 5%;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.logo-container { display: flex; align-items: center; gap: 10px; }
.logo-container .logo { height: 42px; border-radius: 4px; }
.logo-title { display: block; font-size: 1.2rem; font-weight: 600; letter-spacing: .08em; transition: color .3s, letter-spacing .4s var(--ease-apple); }
.logo-container:hover .logo-title { color: var(--accent-gold); letter-spacing: .12em; }
.logo-subtitle { display: block; font-size: .62rem; color: var(--text-secondary); letter-spacing: .04em; }
.site-nav ul { display: flex; gap: 20px; list-style: none; flex-wrap: wrap; }
.site-nav a { font-size: .85rem; opacity: .8; font-weight: 500; position: relative; padding: 5px 0; }
.site-nav a::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 1.5px; background: var(--accent-gold); transition: width .4s var(--ease-apple); }
.site-nav a:hover, .site-nav a.active { opacity: 1; color: var(--accent-gold); }
.site-nav a:hover::after, .site-nav a.active::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.control-btn {
    width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border-glass);
    background: rgba(125,125,125,.1); color: var(--text-primary); cursor: pointer;
    display: flex; align-items: center; justify-content: center; transition: all .3s var(--ease-apple);
}
.control-btn:hover { border-color: var(--accent-gold); color: var(--accent-gold); }
.mobile-menu-btn { display: none; }

/* ── 移动端菜单 ── */
.mobile-menu {
    position: fixed; inset: 0; z-index: 2000; background: var(--bg-void);
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
    opacity: 0; visibility: hidden; transition: opacity .4s var(--ease-apple), visibility .4s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu a { font-size: 1.15rem; color: var(--text-primary); }
.mobile-menu a.active, .mobile-menu a:hover { color: var(--accent-gold); }
.mobile-close { position: absolute; top: 22px; right: 22px; background: none; border: none; color: var(--text-primary); cursor: pointer; }

/* ── Section 骨架 ── */
.section { max-width: 1300px; margin: 0 auto; padding: 80px 8%; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-label { font-size: .78rem; color: var(--accent-gold); letter-spacing: .3em; text-transform: uppercase; font-weight: 600; display: block; margin-bottom: 12px; }
.section-title { font-family: 'Playfair Display', 'Noto Serif SC', serif; font-size: clamp(1.9rem, 4.5vw, 2.8rem); font-weight: 600; line-height: 1.25; }

/* ── 卡片 ── */
.card {
    background: var(--bg-card); border: 1px solid var(--border-glass);
    border-radius: 4px; padding: 40px 32px;
    transition: transform .5s var(--ease-apple), box-shadow .5s var(--ease-apple), border-color .5s;
    position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-10px); box-shadow: 0 30px 60px rgba(0,0,0,.12); border-color: var(--accent-gold); }
.card h3 { font-family: 'Playfair Display', 'Noto Serif SC', serif; font-size: 1.5rem; margin-bottom: 14px; }
.card p { color: var(--text-secondary); line-height: 1.8; font-size: .95rem; }

/* ── 按钮 ── */
.btn-primary, .btn-outline {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 15px 36px; font-size: .95rem; font-weight: 600; cursor: pointer;
    border-radius: 2px; letter-spacing: .05em;
    transition: all .35s var(--ease-apple);
}
.btn-primary { background: linear-gradient(110deg, var(--accent-gold), var(--shimmer-shine) 50%, var(--accent-gold)); background-size: 200%; color: #050507; border: none; }
.btn-primary:hover { background-position: 100%; box-shadow: 0 14px 40px rgba(212,175,55,.3); transform: translateY(-2px); }
.btn-outline { background: transparent; border: 1px solid var(--border-glass); color: var(--text-primary); }
.btn-outline:hover { border-color: var(--accent-gold); color: var(--accent-gold); }
button:active, .btn-primary:active, .btn-outline:active { transform: scale(.97); }

/* ── Reveal 滚动入场 ── */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease-out-expo, ease), transform .9s var(--ease-out-expo, ease); }
.reveal.in { opacity: 1; transform: none; }
.stagger-1 { transition-delay: .12s } .stagger-2 { transition-delay: .24s } .stagger-3 { transition-delay: .36s }

/* ── Cookie 弹窗（全站统一） ── */
.cookie-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.75); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); z-index: 99999; display: none; justify-content: center; align-items: center; opacity: 0; transition: opacity .5s ease; }
.cookie-overlay.active { display: flex; opacity: 1; }
.cookie-modal { background: var(--bg-surface); border: 1px solid var(--border-glass); padding: 40px; max-width: 560px; width: 92%; text-align: left; box-shadow: 0 25px 50px rgba(0,0,0,.5); transform: scale(.95); transition: transform .4s var(--ease-apple); }
.cookie-overlay.active .cookie-modal { transform: scale(1); }
.cookie-title { font-size: 1.6rem; color: var(--text-primary); margin-bottom: 16px; font-family: 'Playfair Display', serif; border-bottom: 1px solid var(--border-glass); padding-bottom: 14px; }
.cookie-text { color: var(--text-secondary); font-size: .95rem; line-height: 1.7; margin-bottom: 18px; }
.cookie-links { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--border-glass); }
.cookie-links a { color: var(--accent-gold); font-size: .85rem; font-weight: 500; }
.cookie-actions { display: flex; gap: 14px; justify-content: center; }
.c-btn { padding: 14px 35px; cursor: pointer; font-size: 1rem; transition: .3s var(--ease-apple); flex: 1; max-width: 150px; }
.c-btn.ok { background: var(--text-primary); color: var(--bg-void); border: 1px solid var(--text-primary); font-weight: 600; }
.c-btn.no { background: transparent; border: 1px solid var(--border-glass); color: var(--text-primary); }

/* ── 回顶按钮 ── */
#wepoBackTop {
    position: fixed; right: 22px; bottom: 26px; z-index: 900;
    width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--accent-gold);
    background: linear-gradient(135deg, var(--bg-surface), var(--bg-void));
    color: var(--accent-gold); cursor: pointer; display: flex; align-items: center; justify-content: center;
    opacity: 0; transform: translateY(14px); pointer-events: none;
    transition: opacity .35s var(--ease-apple), transform .35s var(--ease-apple), box-shadow .3s;
    box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
#wepoBackTop.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
#wepoBackTop:hover { box-shadow: 0 12px 34px rgba(212,175,55,.35); transform: translateY(-3px); }

/* ── Footer ── */
.site-footer { border-top: 1px solid var(--border-glass); padding: 44px 5% 30px; text-align: center; color: var(--text-secondary); font-size: .82rem; }
.site-footer a { color: var(--accent-gold); }
.footer-brand-row { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 16px; }
.footer-brand-row img { height: 36px; border-radius: 4px; }

/* ── 移动端适配 ── */
@media (max-width: 1024px) {
    .site-nav { display: none; }
    .mobile-menu-btn {
        display: flex; background: none; border: 1px solid var(--border-glass);
        border-radius: 8px; color: var(--text-primary); cursor: pointer;
        width: 44px; height: 44px; align-items: center; justify-content: center;
    }
    .section { padding: 56px 6%; }
}
@media (max-width: 640px) {
    .section { padding: 44px 5%; }
    .logo-subtitle { display: none; }
}

/* ── 动效降级 ── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important; animation-iteration-count: 1 !important;
        transition-duration: .01ms !important; scroll-behavior: auto !important;
    }
}

/* ── 完整 Footer (v2 融合版) ── */
/* --- Footer (完全对齐主页) --- */
        footer { padding: 80px 8% 50px; background: var(--bg-surface); border-top: 1px solid var(--border-glass); transition: background 0.6s; margin-top: auto;}
.footer-top { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: 40px; }
.footer-brand .logo-container { justify-content: center; margin-bottom: 25px; animation: none; }
.footer-brand .logo { height: 50px; margin-bottom: 0; }
.footer-brand .logo-title { font-size: 1.45rem; }
.footer-brand .logo-subtitle { font-size: 0.62rem; }
.footer-brand p { max-width: 600px; margin: 0 auto; color: var(--text-secondary); font-size: 0.95rem; line-height: 1.8; }
.footer-slogan { font-weight: 600; color: var(--accent-gold); font-family: 'Playfair Display', serif; font-size: 1.1rem; display: block; margin-bottom: 10px; }
.footer-disclaimer { text-align: center; max-width: 1000px; margin: 0 auto 40px; font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6; padding: 0 5%; }
.footer-info-blocks { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; max-width: 1200px; margin: 0 auto 40px; padding: 0 5%; }
.info-block { flex: 1; min-width: 280px; display: flex; align-items: flex-start; gap: 15px; background: var(--bg-card); border: 1px solid var(--border-glass); padding: 20px 25px; border-radius: 0; transition: transform 0.4s var(--ease-apple), border-color 0.4s; }
.info-block:hover { transform: translateY(-5px); border-color: var(--accent-gold); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.info-icon { width: 32px; height: 32px; fill: var(--accent-gold); flex-shrink: 0; margin-top: 2px; }
.info-text { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6; }
.info-links { margin-top: 10px; display: flex; gap: 12px; align-items: center; }
.info-links a { color: var(--text-primary); font-weight: 600; font-size: 0.8rem; position: relative; }
.info-links a::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 100%; height: 1px; background: var(--accent-gold); transform: scaleX(0); transform-origin: right; transition: transform 0.3s; }
.info-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.info-links .divider { color: var(--border-glass); }
.footer-social-wrapper { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer-social-wrapper { align-items: center; }
.social-links { display: flex; gap: 20px; margin-bottom: 0; width: auto; justify-content: center; flex-wrap: wrap; }
.social-icon { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; background: rgba(125,125,125,0.1); border-radius: 0; color: var(--text-secondary); transition: all 0.3s ease; border: 1px solid var(--border-glass); }
.social-icon svg { width: 18px; height: 18px; fill: currentColor; }
.social-icon:hover { background: var(--accent-gold); color: #000; transform: translateY(-3px); box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3); }
.footer-btm { border-top: 1px solid var(--border-glass); padding-top: 40px; display: flex; justify-content: space-between; align-items: center; color: var(--text-secondary); font-size: 0.85rem; flex-wrap: wrap; gap: 20px; }
.footer-btm { flex-direction: column; align-items: center; text-align: center; }
.footer-social-wrapper { width: 100%; margin-bottom: 20px; }
.social-links { justify-content: center; width: 100%; margin-bottom: 0; }
        .footer-col h4 { font-size: .8rem; color: var(--accent-gold); letter-spacing: .18em; text-transform: uppercase; margin-bottom: 14px; font-weight: 600; }
        .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
        .footer-col li, .footer-col a { font-size: .85rem; color: var(--text-secondary); line-height: 1.6; }
        .footer-col a:hover { color: var(--accent-gold); }
        .footer-top { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 40px; }
        @media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
        @media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }


/* ═══════════════════════════════════════════════
   语言切换器 / Language Switcher
   ═══════════════════════════════════════════════ */
.language-switcher { position: relative; display: inline-block; }
.language-switcher .lang-icon { width: 16px; height: 16px; flex-shrink: 0; }
#langBtn.control-btn {
    width: auto; min-width: 40px; padding: 0 10px; gap: 4px;
    font-size: .82rem; font-weight: 500; color: var(--text-primary);
}
.language-dropdown {
    position: absolute; top: calc(100% + 8px); right: 0;
    min-width: 150px; z-index: 9999;
    background: var(--nav-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 6px 0; margin: 0;
    list-style: none;
    box-shadow: 0 10px 30px rgba(0,0,0,.35);
    opacity: 0; visibility: hidden; transform: translateY(-4px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}
.language-switcher.open .language-dropdown {
    opacity: 1; visibility: visible; transform: translateY(0);
}
.language-dropdown li {
    padding: 8px 16px; cursor: pointer;
    font-size: .85rem; white-space: nowrap;
    color: var(--text-primary);
    transition: background-color .15s ease, color .15s ease;
}
.language-dropdown li:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--accent-gold);
}


/* ================================================================
   FINAL OVERRIDE PATCH (2026-08-28)
   A. 删除深浅色 → 双保险锁定深色
   B. 移动菜单排版优化
   C. LOGO 修复显示
   D. FOOTER 白屏修复 + 栅格列
=================================================================== */

/* ---- A: 双保险 dark 锁定 [data-theme="light"] 变量 = dark ---- */
[data-theme="light"] {
    --bg-void: #07080B !important;
    --bg-surface: #0E1014 !important;
    --bg-card: rgba(255,255,255,.05) !important;
    --text-primary: #F5F5F7 !important;
    --text-secondary: #A1A1AA !important;
    --nav-bg: rgba(7,8,11,.82) !important;
    --border-glass: rgba(255,255,255,.10) !important;
}
:root { --glass-blur: blur(18px) saturate(180%); }

/* ---- C: LOGO 彻底修复显示（header）---- */
.logo-container {
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px;
    min-height: 52px;
    padding: 2px 0;
}
.logo-container img.logo,
.site-header img.logo,
.logo {
    width: auto !important;
    height: 48px !important;
    min-height: 48px;
    max-height: 48px;
    object-fit: contain;
    border-radius: 6px;
    display: inline-block !important;
    vertical-align: middle;
    flex-shrink: 0;
}
.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.15;
    text-align: left;
    min-width: 0;
}
.logo-text .logo-title {
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    letter-spacing: .06em !important;
    color: var(--text-primary) !important;
    white-space: nowrap;
    line-height: 1.2;
}
.logo-text .logo-subtitle {
    display: block !important;
    font-size: .65rem !important;
    color: var(--text-secondary) !important;
    letter-spacing: .05em !important;
    margin-top: 3px;
    line-height: 1.2;
    white-space: nowrap;
}
@media (max-width: 768px) {
    .logo-container img.logo { height: 40px !important; min-height: 40px; }
    .logo-text .logo-subtitle { display: none !important; }
    .logo-text .logo-title { font-size: .95rem !important; }
}
@media (max-width: 480px) {
    .logo-container img.logo { height: 36px !important; min-height: 36px; }
}

/* ---- D: FOOTER 彻底修复（防白屏+深色渐变+4列栅格）---- */
.site-footer, footer.site-footer, footer {
    background: linear-gradient(180deg, rgba(10,11,16,.98) 0%, #050507 100%) !important;
    color: #C8C9CE !important;
    border-top: 1px solid rgba(255,255,255,.08) !important;
    padding: 64px 5% 36px !important;
    height: auto !important;
}
.site-footer .footer-col h4 {
    color: var(--accent-gold);
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
    margin-bottom: 18px;
    text-align: left;
    font-family: 'Playfair Display', serif;
}
.footer-top {
    display: grid !important;
    grid-template-columns: 1.3fr 1fr 1fr 1fr !important;
    gap: 40px !important;
    align-items: start !important;
    margin-bottom: 48px !important;
    text-align: left !important;
    flex-direction: initial !important;
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
}
.footer-brand { display: block; text-align: left; min-width: 0; }
.footer-brand .logo-container { justify-content: flex-start; margin-bottom: 18px; }
.footer-brand p {
    color: #98999F;
    font-size: .88rem;
    line-height: 1.8;
    margin: 8px 0 6px 0;
}
.footer-col {
    display: block;
    min-width: 0;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 12px; line-height: 1.5; }
.footer-col li, .footer-col li a {
    color: #B8B9BF;
    font-size: .85rem;
    transition: all .3s;
}
.footer-col li a:hover {
    color: var(--accent-gold) !important;
    padding-left: 4px;
}
.footer-slogan {
    color: var(--accent-gold);
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    letter-spacing: .04em;
    margin: 4px 0 6px;
    display: block;
    font-weight: 500;
}
.footer-info-blocks {
    max-width: 1300px;
    margin: 0 auto 40px;
}
.footer-disclaimer {
    max-width: 1100px;
    color: #7D7E85;
    font-size: .78rem;
    border-top: 1px solid rgba(255,255,255,.06);
    padding-top: 28px;
    padding-bottom: 0;
    margin-bottom: 36px;
}
.footer-btm {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-top: 26px;
    border-top: 1px solid rgba(255,255,255,.08);
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
    flex-wrap: wrap;
}
.footer-social-wrapper {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.footer-social-wrapper > span {
    color: #C8C9CE !important;
    font-weight: 500;
    font-size: .9rem;
}
.footer-btm p { color: #7D7E85; font-size: .8rem; margin: 0; }
.social-links { display: flex; gap: 10px; }
.social-icon {
    width: 36px; height: 36px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    transition: all .3s;
}
.social-icon svg { width: 16px; height: 16px; fill: #C8C9CE; transition: fill .3s; }
.social-icon:hover {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    transform: translateY(-3px);
}
.social-icon:hover svg { fill: #050507 !important; }
@media (max-width: 1024px) {
    .footer-top { grid-template-columns: 1fr 1fr !important; gap: 36px !important; }
}
@media (max-width: 640px) {
    .site-footer { padding: 50px 6% 28px !important; }
    .footer-top { grid-template-columns: 1fr !important; gap: 30px !important; }
    .footer-col h4 { margin-bottom: 14px; }
    .footer-btm { flex-direction: column !important; text-align: center; gap: 16px; padding-top: 20px; }
    .footer-social-wrapper { justify-content: center; }
}

/* ---- B: 移动菜单 排版 彻底优化 ---- */
.mobile-menu {
    background:
      radial-gradient(1200px 600px at 20% -10%, rgba(180,144,32,.14), transparent 60%),
      linear-gradient(180deg, #07080B 0%, #0B0C12 100%) !important;
    padding: 90px 24px 40px !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
}
.mobile-menu::before {
    content: 'MENU \00B7  \u5BFC\u822A';
    display: block;
    text-align: center;
    color: var(--accent-gold);
    font-family: 'Playfair Display', serif;
    font-size: .9rem;
    letter-spacing: .4em;
    padding-bottom: 24px;
    margin-bottom: 18px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.mobile-menu a {
    display: block !important;
    width: 100% !important;
    padding: 16px 20px !important;
    border-bottom: 1px solid rgba(255,255,255,.06) !important;
    font-size: 1rem !important;
    letter-spacing: .04em;
    color: #E8E8EC !important;
    border-radius: 0 !important;
    text-align: left;
    transition: all .25s ease;
}
.mobile-menu a:hover,
.mobile-menu a.active {
    color: var(--accent-gold) !important;
    padding-left: 28px !important;
    background: rgba(180,144,32,.05);
    border-bottom-color: rgba(180,144,32,.25) !important;
}
.mobile-close {
    width: 44px !important;
    height: 44px !important;
    top: 20px !important;
    right: 20px !important;
    font-size: 30px !important;
    line-height: 40px !important;
    border: 1px solid rgba(255,255,255,.12) !important;
    border-radius: 12px !important;
    background: rgba(255,255,255,.04) !important;
    color: #E8E8EC !important;
}
.mobile-close:hover {
    background: var(--accent-gold) !important;
    color: #050507 !important;
    border-color: var(--accent-gold) !important;
}
.mobile-menu-btn { padding: 0 !important; }

/* >>> WEPO LIGHT RESET v2 — 强制浅色 + 移动按钮尺寸锁定 + Footer紧凑 2026 <<< */

/* [1] 强制浅色变量 —— 覆盖任何[data-theme="dark"/"light"]，任何主题都变成 LIGHT WHITE */
[data-theme="dark"],
[data-theme="light"],
[data-theme],
:root {
    --bg-void:        #FFFFFF !important;
    --bg-surface:     #F6F7F9 !important;
    --bg-raised:      #FFFFFF !important;
    --bg-elevated:    #FFFFFF !important;
    --bg-glass:       rgba(255,255,255,0.75) !important;
    --text-primary:   #0E1014 !important;
    --text-secondary: #565860 !important;
    --text-muted:     #8D8F98 !important;
    --text-invert:    #FFFFFF !important;
    --border-glass:   rgba(10,12,16,0.08) !important;
    --border-subtle:  rgba(10,12,16,0.06) !important;
    --border-strong:  rgba(10,12,16,0.14) !important;
    --shadow-soft:    0 6px 24px rgba(10,12,16,0.05) !important;
    --shadow-hard:    0 18px 60px rgba(10,12,16,0.08) !important;
    --shadow-glow:    0 0 40px rgba(61, 123, 255, 0.15) !important;
    --accent:         #0F6BFF !important;
    --accent-strong:  #0851D6 !important;
    --accent-soft:    rgba(15, 107, 255, 0.09) !important;
    --accent-2:       #0FA678 !important;
    --accent-gold:    #C9A227 !important;
    --accent-warn:    #E15730 !important;
}
html, body { background: var(--bg-void) !important; color: var(--text-primary) !important; }
.site-header {
    background: rgba(255,255,255,0.82) !important;
    border-bottom: 1px solid rgba(10,12,16,0.06) !important;
    backdrop-filter: saturate(180%) blur(18px) !important;
    -webkit-backdrop-filter: saturate(180%) blur(18px) !important;
    color: var(--text-primary) !important;
}
.site-nav a, .nav-left .logo-title, .logo-subtitle, .hero-subtitle, .hero-slogan, .footer-col h4, .footer-col p, .footer-col span, .footer-col a:not(.btn-outline), .site-footer, .footer-btm, .footer-copy, .footer-btm p {
    color: var(--text-primary) !important;
}
.nav-left .logo-subtitle { color: var(--text-secondary) !important; }
.site-footer { color: var(--text-secondary) !important; }
.footer-col h4 { color: var(--text-primary) !important; }
.footer-social-wrapper span { color: var(--text-primary) !important; }
.hero h1, .hero h2, h1, h2, h3, h4, h5, h6 { color: var(--text-primary) !important; }
.section-label { color: var(--accent) !important; }

/* Hero 视频层需要白色时不闪，但hero是视频背景：保留覆盖层，强制文字用深色 (invert) */
.hero-content .hero-slogan, .hero-content h1, .hero-content p, .hero-content .hero-subtitle {
    color: #FFFFFF !important;  /* 保留：hero是视频背景，文字需要白色 */
    text-shadow: 0 2px 16px rgba(0,0,0,0.55) !important;
}

/* [2] 移动菜单按钮：锁定尺寸与可见性（解决移动端不显示） */
.mobile-menu-btn {
    display: none !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    max-width: 44px !important;
    max-height: 44px !important;
    padding: 0 !important;
    visibility: hidden !important;
    opacity: 0 !important;
}
@media (max-width: 1024px) {
    .mobile-menu-btn {
        display: inline-flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        align-items: center !important;
        justify-content: center !important;
        margin-left: 6px !important;
        color: var(--text-primary) !important;
        stroke: currentColor !important;
        background: transparent !important;
        border: 1px solid var(--border-glass) !important;
        border-radius: 10px !important;
        z-index: 99999 !important;
        cursor: pointer !important;
    }
    .mobile-menu-btn svg {
        width: 22px !important;
        height: 22px !important;
        stroke: currentColor !important;
        stroke-width: 2.2 !important;
    }
    /* 汉堡内SVG显示 */
    .mobile-menu-btn > svg, .mobile-menu-btn svg * { visibility: visible !important; opacity: 1 !important; }
}

/* [3] Footer 紧凑化（解决大面积留白 + 版权行） */
.site-footer {
    padding: 26px 5% 18px !important;
    background: #F6F7F9 !important;
    border-top: 1px solid rgba(10,12,16,0.08) !important;
    color: var(--text-secondary) !important;
}
.footer-top {
    display: grid !important;
    grid-template-columns: 1.3fr 1fr 1fr 1fr !important;
    gap: 24px !important;
    margin-bottom: 18px !important;
    padding: 0 !important;
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: left !important;
}
.footer-brand {
    padding-right: 10px !important;
}
.footer-brand .logo-subtitle { margin-bottom: 10px !important; }
.footer-info-blocks {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 14px !important;
    justify-content: center !important;
    max-width: 1100px !important;
    margin: 0 auto 18px !important;
    padding: 0 5% !important;
}
.footer-info-blocks > * {
    min-height: 0 !important;
}
.footer-col { padding: 0 !important; }
.footer-col h4 {
    font-size: 0.95rem !important;
    margin-bottom: 12px !important;
    letter-spacing: 0.02em !important;
}
.footer-col li, .footer-col a:not(.btn-outline) {
    padding: 4px 0 !important;
    font-size: 0.88rem !important;
    color: var(--text-secondary) !important;
}
.footer-col li:hover a, .footer-col a:hover { color: var(--accent) !important; }
.footer-btm {
    border-top: 1px solid var(--border-glass) !important;
    padding-top: 14px !important;
    margin-top: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 12px !important;
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: left !important;
}
.footer-copy {
    margin: 0 !important;
    color: var(--text-secondary) !important;
    font-size: 0.8rem !important;
    line-height: 1.5 !important;
    order: 1 !important;
    flex: 1 1 auto !important;
    text-align: left !important;
}
.footer-social-wrapper { order: 2 !important; }
.footer-btm-legal { order: 3 !important; display: flex; flex-wrap: wrap; gap: 14px; }
.footer-btm-legal a {
    font-size: 0.78rem !important;
    color: var(--text-secondary) !important;
}
.footer-btm-legal a:hover { color: var(--accent) !important; }

@media (max-width: 1100px) {
    .footer-top { grid-template-columns: 1fr 1fr !important; gap: 22px !important; }
}
@media (max-width: 640px) {
    .site-footer { padding: 24px 5% 16px !important; }
    .footer-top { grid-template-columns: 1fr !important; gap: 20px !important; text-align: left !important; }
    .footer-btm { flex-direction: column !important; align-items: flex-start !important; gap: 14px !important; padding-top: 18px !important; }
    .footer-copy { order: 3 !important; text-align: left !important; }
    .footer-social-wrapper { order: 1 !important; width: 100% !important; }
    .footer-btm-legal { order: 2 !important; width: 100% !important; }
}

/* [4] Logo大小统一（LIGHT版背景下可见性保障） */
.logo-container {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    flex-wrap: nowrap !important;
}
.logo-container img.logo {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    object-fit: contain !important;
    display: block !important;
    flex-shrink: 0 !important;
    border-radius: 10px !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06) !important;
}
.logo-container .logo-text {
    display: flex !important;
    flex-direction: column !important;
    line-height: 1.15 !important;
    justify-content: center !important;
    text-align: left !important;
    min-width: 0 !important;
}
.logo-container .logo-title {
    font-weight: 700 !important;
    font-size: 1.05rem !important;
    color: var(--text-primary) !important;
    margin: 0 !important;
    letter-spacing: 0.01em !important;
    display: block !important;
    white-space: nowrap !important;
}
.logo-container .logo-subtitle {
    font-weight: 400 !important;
    font-size: 0.78rem !important;
    color: var(--text-secondary) !important;
    margin: 2px 0 0 !important;
    letter-spacing: 0 !important;
    display: block !important;
    white-space: nowrap !important;
}
.footer-brand img.logo {
    width: 52px !important;
    height: 52px !important;
    border-radius: 12px !important;
}

/* [5] 移动菜单内容排版优化（LIGHT配色下保证可读性） */
.mobile-menu {
    background: #FFFFFF !important;
    border-top: 1px solid rgba(10,12,16,0.08) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05) !important;
    color: var(--text-primary) !important;
}
.mobile-menu a {
    padding: 14px 22px !important;
    font-size: 1rem !important;
    color: var(--text-primary) !important;
    border-bottom: 1px solid rgba(10,12,16,0.05) !important;
    display: block !important;
}
.mobile-menu a:hover { background: #F6F7F9 !important; color: var(--accent) !important; }
.mobile-menu-group-title {
    padding: 14px 22px 6px !important;
    font-size: 0.7rem !important;
    letter-spacing: 0.12em !important;
    color: var(--text-muted) !important;
    text-transform: uppercase !important;
}
.mobile-menu .mobile-language-switcher {
    padding: 14px 22px 18px !important;
}

/* [6] 全站白色背景（避免任何深色区域露出白屏变成真·白） */
html, body { background-color: #FFFFFF !important; }
main, .section, section, .wrap, .container, .content-wrapper { background-color: transparent !important; }

/* END: WEPO LIGHT RESET v2 <<< */

/* WEPO HEADER SHRINK v1 */
/* 滚动时导航栏收缩动画（sticky + padding/logo缩小 + 边框加深） */
.site-header, header.site-header {
    transition: padding 0.35s cubic-bezier(.2,.8,.2,1),
                background-color 0.3s ease,
                box-shadow 0.3s ease,
                backdrop-filter 0.3s ease,
                -webkit-backdrop-filter 0.3s ease,
                border-color 0.3s ease !important;
    will-change: padding, transform;
}
.site-header.scrolled {
    padding-top: 4px !important;
    padding-bottom: 4px !important;
    background: rgba(255,255,255,0.94) !important;
    border-bottom: 1px solid rgba(10,12,16,0.10) !important;
    box-shadow: 0 6px 22px rgba(10,12,16,0.06) !important;
    backdrop-filter: saturate(180%) blur(20px) !important;
    -webkit-backdrop-filter: saturate(180%) blur(20px) !important;
}
.site-header.scrolled .logo-container img.logo {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    transition: width .3s ease, height .3s ease !important;
}
.site-header.scrolled .logo-container .logo-title {
    font-size: 0.95rem !important;
    transition: font-size .3s ease !important;
}
.site-header.scrolled .logo-container .logo-subtitle {
    font-size: 0.7rem !important;
    transition: font-size .3s ease !important;
    opacity: .75 !important;
}
.site-header.scrolled .site-nav a {
    font-size: 0.9rem !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    transition: padding .3s ease, font-size .3s ease !important;
}
.site-header.scrolled .language-dropdown {
    top: calc(100% + 8px) !important;
}
/* 移动端滚动收缩（小屏进一步缩） */
@media (max-width: 768px) {
    .site-header.scrolled .logo-container img.logo { width: 32px !important; height: 32px !important; }
    .site-header.scrolled .mobile-menu-btn {
        width: 40px !important; height: 40px !important;
    }
}
/* END HEADER SHRINK */

/* >>> WEPO ULTIMATE FINAL PATCH v5COMPLETE <<< */
/* (1) 全站底部 FOOTER 强制紧凑（解决1604px大面积留白） + 强浅色 */
.site-footer, footer.site-footer, footer, [class*="footer"] {
  background-color: #F4F5F8 !important;
  background-image: none !important;
  color: #1A1C21 !important;
}
.site-footer {
  padding-top: 28px !important;
  padding-bottom: 20px !important;
  padding-left: 5% !important;
  padding-right: 5% !important;
  min-height: 0 !important;
  height: auto !important;
  max-height: none !important;
  overflow: hidden !important;
}
.footer-top {
  display: grid !important;
  grid-template-columns: 1.2fr 1fr 1fr 1fr !important;
  gap: 20px 28px !important;
  margin-bottom: 18px !important;
  padding: 0 !important;
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  min-height: 0 !important;
}
.footer-top > * {
  min-height: 0 !important;
  overflow: hidden !important;
}
.footer-brand {
  padding: 0 !important;
  margin: 0 !important;
  min-height: 0 !important;
}
.footer-brand p, .footer-brand .footer-tagline, .footer-brand > div:last-child {
  margin-top: 8px !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  min-height: 0 !important;
  font-size: 0.82rem !important;
  line-height: 1.55 !important;
}
.footer-info-blocks {
  display: none !important; /* 之前占大量空白的 info blocks 彻底隐藏 */
}
.footer-col, footer .footer-col {
  padding: 0 !important;
  margin: 0 !important;
  min-height: 0 !important;
  line-height: 1.5 !important;
}
.footer-col h4 {
  font-size: 0.92rem !important;
  letter-spacing: 0.03em !important;
  margin-bottom: 10px !important;
  padding-bottom: 0 !important;
  color: #1A1C21 !important;
}
.footer-col ul, .footer-col li {
  padding: 0 !important;
  margin: 0 !important;
}
.footer-col li {
  padding: 3px 0 !important;
  list-style: none !important;
}
.footer-col a:not(.btn-outline), .footer-col li a {
  padding: 3px 0 !important;
  font-size: 0.84rem !important;
  line-height: 1.45 !important;
  display: inline-block !important;
  color: #4A4C55 !important;
}
.footer-col a:hover { color: #0F6BFF !important; }
.footer-btm {
  border-top: 1px solid rgba(10,12,16,0.08) !important;
  padding: 14px 0 0 0 !important;
  margin-top: 12px !important;
  margin-bottom: 0 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px 18px !important;
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  min-height: 0 !important;
  line-height: 1.4 !important;
}
.footer-copy {
  margin: 0 !important;
  font-size: 0.78rem !important;
  line-height: 1.45 !important;
  color: #565860 !important;
  flex: 1 1 auto !important;
  text-align: left !important;
  order: 1 !important;
  min-width: 0 !important;
  word-wrap: break-word !important;
}
.footer-social-wrapper {
  order: 2 !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
  padding: 0 !important;
  min-width: 0 !important;
}
.footer-btm-legal {
  order: 3 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px 14px !important;
  padding: 0 !important;
  margin: 0 !important;
  min-width: 0 !important;
}
.footer-btm-legal a,
.footer-btm-legal span {
  font-size: 0.76rem !important;
  color: #6D6F78 !important;
  margin: 0 !important;
  padding: 0 !important;
}
/* 响应式 footer < 1100px */
@media (max-width: 1100px) {
  .footer-top { grid-template-columns: 1.2fr 1fr 1fr !important; }
}
@media (max-width: 820px) {
  .footer-top { grid-template-columns: 1fr 1fr !important; gap: 20px !important; }
}
@media (max-width: 560px) {
  .site-footer { padding-top: 24px !important; padding-bottom: 18px !important; }
  .footer-top { grid-template-columns: 1fr !important; gap: 18px !important; }
  .footer-btm { flex-direction: column !important; align-items: flex-start !important; gap: 12px !important; padding-top: 16px !important; }
  .footer-copy { order: 3 !important; text-align: left !important; }
  .footer-social-wrapper { order: 1 !important; }
  .footer-btm-legal { order: 2 !important; }
}

/* (2) 移动端窄屏 logo 文字压缩，保证移动汉堡按钮不被挤掉溢出（603px用户反馈） */
@media (max-width: 760px) {
  header.site-header, .site-header {
    padding-left: 14px !important;
    padding-right: 10px !important;
  }
  .logo-container {
    gap: 8px !important;
    min-width: 0 !important;
    max-width: calc(100% - 120px) !important;  /* 留120px给语言切换 + 汉堡按钮 */
    overflow: hidden !important;
  }
  .logo-container img.logo {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    flex-shrink: 0 !important;
  }
  .logo-text { min-width: 0 !important; overflow: hidden !important; }
  .logo-container .logo-title {
    font-size: 0.88rem !important;
    letter-spacing: 0 !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
    line-height: 1.15 !important;
  }
  .logo-container .logo-subtitle {
    font-size: 0.62rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    margin-top: 2px !important;
    line-height: 1.1 !important;
    color: #6D6F78 !important;
    max-width: 100% !important;
  }
  /* header 右控件 */
  .header-controls, .site-header > div:last-child, .nav-right {
    gap: 4px !important;
    min-width: 0 !important;
    flex-shrink: 0 !important;
  }
  .language-dropdown-btn, #langBtn, button[id*=lang] {
    font-size: 0.8rem !important;
    padding: 6px 10px !important;
    min-height: 32px !important;
  }
  .mobile-menu-btn {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
  }
}
@media (max-width: 480px) {
  .logo-container { max-width: calc(100% - 110px) !important; }
  .logo-container .logo-subtitle {
    display: none !important;  /* 超窄屏 只保留标题一行 */
  }
  .logo-container .logo-title { font-size: 0.84rem !important; }
}

/* (3) 滚动收缩 HEADER 增强版：收缩后仍然可读，不被遮挡不溢出 */
header.site-header {
  position: sticky !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 9999 !important;
  min-height: 64px !important;
  display: flex !important;
  align-items: center !important;
  overflow: visible !important;
}
header.site-header.scrolled {
  padding-top: 6px !important;
  padding-bottom: 6px !important;
  min-height: 54px !important;
}
header.site-header.scrolled .site-nav,
header.site-header.scrolled .nav-center,
header.site-header.scrolled nav a {
  padding-top: 8px !important;
  padding-bottom: 8px !important;
  line-height: 1.35 !important;
  overflow: visible !important;
  text-overflow: initial !important;
  white-space: nowrap !important;
}
header.site-header.scrolled nav a,
header.site-header.scrolled .site-nav a {
  font-size: 0.9rem !important;
}
/* 滚动后 header 内子元素垂直居中 */
header.site-header .nav-left,
header.site-header .nav-center,
header.site-header .nav-right,
header.site-header > * {
  align-self: center !important;
}
header.site-header.scrolled .logo-container img.logo {
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  min-height: 34px !important;
}
header.site-header.scrolled .logo-title {
  font-size: 0.93rem !important;
}
/* 移动端 scrolled */
@media (max-width: 760px) {
  header.site-header { min-height: 56px !important; }
  header.site-header.scrolled { min-height: 48px !important; padding-top: 4px !important; padding-bottom: 4px !important; }
}

/* (4) Hero CTA 按钮多语言正确（第二个按钮Support Us替换Donate） */
.hero-content > .hero-cta > a.btn-outline[href="/donate.html"] {
  content: none !important;  /* no-op：防止误渲染 */
}

/* END: /* >>> WEPO ULTIMATE FINAL PATCH v5COMPLETE <<< */ */
