/* ============================================================
   导潮 · 整站视觉增强叠加层  fx_v20260926a.css
   主题：深空星河 · 香槟金尘
   - 全局星尘粒子画布（js/fx_v20260926a.js）
   - Hero 深空蓝黑 + 金辉（与个人中心暗色 Hero 统一品牌语言）
   - 卡片玻璃质感 + 金色顶线 + 悬停流光
   - 金色按钮流光 / 导航金线 / 标题金杠 / 页脚金线
   叠加在 design_v20260925a.css 之上，不修改原文件
   ============================================================ */

/* ---------- 1. 星尘粒子画布 ---------- */
#fxCanvas {
  position: fixed;
  left: 0; top: 0;
  z-index: 300;              /* 浮于内容与 header(50) 之上，低于弹窗(400)/toast(100000) */
  pointer-events: none;
}

/* ---------- 2. 全局底色：奶油白上叠金蓝极光 ---------- */
body {
  background-image:
    radial-gradient(1400px 700px at 85% -12%, rgba(111, 168, 199, 0.14), transparent 60%),
    radial-gradient(1000px 560px at -12% 8%, rgba(201, 162, 39, 0.11), transparent 55%),
    radial-gradient(1100px 640px at 108% 86%, rgba(201, 162, 39, 0.07), transparent 58%),
    radial-gradient(900px 520px at -8% 92%, rgba(47, 125, 166, 0.06), transparent 55%),
    linear-gradient(180deg, #FCF9F3 0%, #F8F1E4 100%);
  background-attachment: fixed;
}

::selection { background: rgba(201, 162, 39, 0.25); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: rgba(201, 162, 39, 0.32); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: rgba(201, 162, 39, 0.5); }
::-webkit-scrollbar-track { background: transparent; }

/* ---------- 3. Hero · 深空星河（index / mall） ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: #F3EEE2;
  border-radius: 0 0 26px 26px;
  background:
    radial-gradient(860px 420px at 86% -18%, rgba(201, 162, 39, 0.32), transparent 62%),
    radial-gradient(720px 420px at -10% 118%, rgba(111, 168, 199, 0.22), transparent 62%),
    linear-gradient(160deg, #26324F 0%, #1B2338 52%, #121826 100%);
  box-shadow: 0 18px 50px rgba(18, 24, 38, 0.28);
}
.hero::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 4%, rgba(230, 207, 139, 0.85) 32%, rgba(111, 168, 199, 0.55) 68%, transparent 96%);
}
.hero .eyebrow { color: var(--gold-light); }
.hero .eyebrow::before { background: var(--gold-light); }
.hero .slogan { color: #F5EFE2; text-shadow: 0 2px 26px rgba(201, 162, 39, 0.16); }
.hero .slogan .hl { color: #E6CF8B; }
.hero .slogan .hl::after { background: rgba(230, 207, 139, 0.16); }
.hero .lede { color: rgba(243, 238, 226, 0.78); }
.hero .lede strong { color: #E6CF8B; }
.hero-stats .num {
  background: linear-gradient(120deg, #F2DFA8, #C9A227 70%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-stats .lbl { color: rgba(243, 238, 226, 0.55); }
.hero-actions .btn-outline {
  border-color: rgba(230, 207, 139, 0.55);
  color: #E6CF8B;
  background: rgba(255, 255, 255, 0.04);
}
.hero-actions .btn-outline:hover { background: rgba(230, 207, 139, 0.12); }

/* Hero 内牌匾 → 深色玻璃 */
.hero .plaque {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(230, 207, 139, 0.35);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hero .plaque::before { border-color: rgba(230, 207, 139, 0.28); }
.hero .plaque .plaque-tag { color: var(--gold-light); }
.hero .plaque .plaque-title { color: #F5EFE2; }
.hero .plaque .plaque-sub { color: rgba(243, 238, 226, 0.72); }
.hero .plaque strong { color: #E6CF8B !important; }   /* 覆盖内联 var(--gold-deep) */

/* mall 积分栏（内联 color var(--ink-2)）在暗底上提亮 */
.hero #ptsBar { color: rgba(243, 238, 226, 0.75) !important; }

/* ---------- 4. 顶部导航 · 金蓝渐变细线 ---------- */
.site-header {
  background: rgba(251, 247, 240, 0.74);
  border-bottom: none;
}
.site-header::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 4%, rgba(201, 162, 39, 0.5) 30%, rgba(111, 168, 199, 0.45) 70%, transparent 96%);
  pointer-events: none;
}

/* ---------- 5. 卡片 · 玻璃质感 + 金顶线 + 悬停流光 ---------- */
.card,
.pkg-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, rgba(255, 253, 248, 0.9), rgba(248, 242, 231, 0.68));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.card::before,
.pkg-card::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(201, 162, 39, 0.55), transparent);
  opacity: 0.55;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.card:hover::before,
.pkg-card:hover::before { opacity: 1; }
.card::after,
.pkg-card::after {
  content: "";
  position: absolute;
  top: -70%; bottom: -70%;
  left: -55%;
  width: 34%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-18deg);
  opacity: 0;
  pointer-events: none;
}
.card:hover::after,
.pkg-card:hover::after {
  left: 125%;
  opacity: 1;
  transition: left 0.65s ease, opacity 0.2s ease;
}
.card:hover { border-color: rgba(201, 162, 39, 0.38); box-shadow: var(--shadow-gold); }
.card .icon {
  background: linear-gradient(135deg, rgba(230, 207, 139, 0.28), rgba(201, 162, 39, 0.14));
  box-shadow: inset 0 0 0 1px rgba(201, 162, 39, 0.22);
}

/* ---------- 6. 金色按钮 · 流光渐变 ---------- */
.btn {
  transition: transform 0.18s ease, box-shadow 0.25s ease, filter 0.2s ease, background-color 0.2s ease;
}
.btn-gold {
  background: linear-gradient(120deg, #E6CF8B, #C9A227 55%, #B08D1F);
  background-size: 200% 100%;
  animation: fxGoldShift 6s ease-in-out infinite;
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(201, 162, 39, 0.35);
  filter: brightness(1.06);
}
.btn-outline:hover { transform: translateY(-2px); }

@keyframes fxGoldShift {
  0%, 100% { background-position: 0% 0; }
  50% { background-position: 100% 0; }
}

/* ---------- 7. 区块标题 · 金杠点缀 ---------- */
.section-head .tag { position: relative; display: inline-block; padding: 0 16px; }
.section-head .tag::before,
.section-head .tag::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 10px;
  height: 1px;
}
.section-head .tag::before { left: 0; background: linear-gradient(90deg, transparent, var(--gold)); }
.section-head .tag::after { right: 0; background: linear-gradient(90deg, var(--gold), transparent); }
.section-head h2 { position: relative; padding-bottom: 14px; }
.section-head h2::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  width: 58px; height: 3px;
  transform: translateX(-50%);
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold), var(--gold-light));
  box-shadow: 0 2px 10px rgba(201, 162, 39, 0.35);
}

/* ---------- 8. 分账框 / 徽标 / 页脚 ---------- */
.split-box { transition: transform 0.25s ease, box-shadow 0.25s ease; }
.split-box:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.pkg-card.featured {
  box-shadow: 0 14px 40px rgba(201, 162, 39, 0.22);
}
.pkg-card.featured::before { opacity: 1; }

.badge {
  background: linear-gradient(120deg, #E6CF8B, #C9A227);
  color: #fff;
  box-shadow: 0 4px 14px rgba(201, 162, 39, 0.3);
}

.site-footer { border-top: none; position: relative; }
.site-footer::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 162, 39, 0.5), transparent);
}

/* ---------- 9. 无障碍：偏好减少动效时全部静止 ---------- */
@media (prefers-reduced-motion: reduce) {
  #fxCanvas { display: none; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ---------- 10. 移动端微调 ---------- */
@media (max-width: 880px) {
  .hero { border-radius: 0 0 18px 18px; padding: 52px 0 44px; }
  .hero-stats { gap: 26px; }
}
