/* ============================================================
   灵霖鑫塔 · 2026 视觉升级层（叠加，不破坏既有布局 token）
   风格：沉浸式渐变 / 玻璃拟态 / 光晕景深 / 大号渐变排版 / 微动效
   双商城：臻礼集=蓝紫极光，百货集=橙红暖调（靠 .mall-market 翻面）
   加载顺序：在 app.css / mall.css 之后，mobile.css 之前
   ============================================================ */

/* ---------- 顶栏：常驻玻璃 + 渐变字标 + 导航流光 ---------- */
.topbar {
  background: rgba(255, 255, 255, .78);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(20, 30, 60, .06);
}
.brandmark .logo b {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-style: italic;
}
.topnav a { position: relative; }
.topnav a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--grad-brand); border-radius: 2px; transition: width .25s ease;
}
.topnav a:hover::after, .topnav a.me::after { width: 100%; }

/* ---------- Hero：全幅渐变景深 + 大号渐变标题 + 极光球 ---------- */
.hero {
  overflow: hidden;
  background:
    radial-gradient(60% 120% at 92% -10%, var(--gold-soft) 0%, rgba(22, 119, 255, 0) 55%),
    radial-gradient(50% 90% at -5% 120%, var(--rose) 0%, rgba(64, 150, 255, 0) 55%);
}
.hero::before {
  background:
    radial-gradient(46% 60% at 80% 18%, rgba(107, 75, 255, .18), transparent 60%),
    radial-gradient(40% 50% at 12% 90%, rgba(64, 150, 255, .20), transparent 60%);
}
.hero h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.08; letter-spacing: .5px; }
.hero h1 .accent {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-style: italic;
}
.hero .eyebrow {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-weight: 700; letter-spacing: 4px;
}
/* Hero CTA 行 */
.hero-cta { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; }

/* 装饰区：玻璃浮卡 + 双极光球 */
.hero .deco { border: none; height: auto; align-self: center; position: relative; min-height: 220px; }
.hero .deco::before, .hero .deco::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(8px);
  background: var(--grad-brand); animation: floatY 7s ease-in-out infinite;
}
.hero .deco::before { width: 152px; height: 152px; right: 8%; top: 6%; opacity: .85; }
.hero .deco::after {
  width: 98px; height: 98px; left: 6%; bottom: 8%;
  background: linear-gradient(120deg, #FF7EB3, #FF9A2E);
  animation-delay: -3s; opacity: .8;
}
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }

/* ---------- 频道栏：渐变高亮胶囊 + 玻璃底 ---------- */
.mall-switch {
  background: var(--glass-bg);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(20, 30, 60, .07);
  box-shadow: 0 6px 22px rgba(20, 30, 60, .05);
}
.mall-tab { box-shadow: 0 2px 8px rgba(20, 30, 60, .05); }
.mall-tab .mt-ico { background: var(--grad-brand); }
.mall-tab .mt-ico.market { background: var(--grad-market); }
.mall-tab.active {
  background: var(--grad-brand); border-color: transparent; color: #fff;
  box-shadow: var(--glow-brand);
}
.mall-tab.active .mt-name { color: #fff; }
.mall-tab.active .mt-sub { color: rgba(255, 255, 255, .82); }
.mall-tab.active .mt-ico { background: rgba(255, 255, 255, .22); transform: scale(1.06); }
.mall-tab.active.market { background: var(--grad-market); box-shadow: var(--glow-market); }

/* ---------- 卡片：柔和圆角 + 悬浮光晕 + 扫光 ---------- */
.card { border-radius: var(--radius-lg); border: 1px solid var(--line); }
.card .thumb { position: relative; overflow: hidden; }
.card .thumb::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .5) 50%, transparent 65%);
  transform: translateX(-120%); transition: transform .7s cubic-bezier(.22, .61, .36, 1);
}
.card:hover { box-shadow: var(--glow-brand); transform: translateY(-8px); }
.card:hover .thumb::after { transform: translateX(120%); }
.card::after { box-shadow: inset 0 0 0 1px var(--accent-line); }

/* ---------- 按钮：渐变主按钮 + 辉光悬浮 ---------- */
.btn-gold {
  background: var(--grad-brand); color: #fff; border: none;
  box-shadow: 0 8px 22px rgba(22, 119, 255, .28);
}
.btn-gold:hover { filter: brightness(1.05); transform: translateY(-2px); box-shadow: var(--glow-brand); }
.btn-outline:hover {
  border-color: transparent; color: #fff; background: var(--grad-brand);
  box-shadow: 0 8px 22px rgba(22, 119, 255, .25);
}

/* ---------- 模块图标：渐变圆底 + 白图标 ---------- */
.mod-ico {
  background: var(--grad-brand); color: #fff; border: none;
  box-shadow: 0 8px 18px rgba(22, 119, 255, .25);
}

/* ---------- 百货集头部：渐变景深 + 玻璃标签 + 暖光 ---------- */
.mall-market .bh-head {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, #FFF3E6 0%, #FFE6CF 55%, #FFD9C2 100%);
}
.mall-market .bh-head::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(40% 70% at 88% 10%, rgba(240, 68, 56, .16), transparent 60%),
    radial-gradient(36% 60% at 6% 110%, rgba(255, 154, 46, .20), transparent 60%);
}
.mall-market .bh-head .wrap { position: relative; z-index: 1; }
.mall-market .bh-tag { background: var(--glass-bg); border: 1px solid var(--market-line); backdrop-filter: blur(6px); }

/* ---------- 无图占位 mono：品牌渐变质感 ---------- */
.mono {
  background:
    radial-gradient(120% 120% at 28% 18%, #fff 0%, var(--ivory-2) 62%),
    radial-gradient(80% 80% at 90% 100%, var(--gold-soft), transparent 60%);
}
.mono .glyph {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: none;
}

/* ---------- 立即购买（百货集）：渐变胶囊 + 辉光 ---------- */
.card-act.buy {
  background: var(--grad-market); color: #fff; border: none;
  box-shadow: 0 6px 16px rgba(232, 119, 12, .28);
}
.card-act.buy:hover { filter: brightness(1.05); transform: translateY(-1px); }

/* ---------- 尊重「减少动态效果」偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero .deco::before, .hero .deco::after { animation: none; }
  .card .thumb::after { transition: none; }
  .btn-gold:hover, .btn-outline:hover, .card:hover { transform: none; }
}
