/* ==========================================================================
   和平精英装备商城 · 战术视觉系统 v1.0
   参考和平精英官网（gp.qq.com）的军事硬核语言：
   近黑底 + 军械金 + 危险橙 + HUD 青，斜切角、扫描线、金属描边
   ========================================================================== */

:root {
  /* 底色 */
  --bg:        #07080B;
  --bg-2:      #0C0E13;
  --panel:     #12151C;
  --panel-2:   #181C25;
  --panel-3:   #1F2530;
  --line:      #2A303C;
  --line-soft: #1C2129;

  /* 主色 */
  --gold:      #FFC72C;
  --gold-2:    #FFE27A;
  --gold-3:    #C99612;
  --orange:    #FF5C16;
  --red:       #E2362B;
  --cyan:      #3FD5E8;
  --green:     #35D07F;

  /* 品质色 */
  --q-red:     #E2362B;
  --q-pink:    #F06BB0;
  --q-purple:  #9B5CFF;
  --q-blue:    #3B82F6;

  /* 文本 */
  --t1: #EDF0F5;
  --t2: #A7B0C0;
  --t3: #6E7889;

  --max: 1240px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--t1);
  font-family: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  /* 全局战术网格 + 顶部光晕 */
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(1200px 500px at 50% -10%, rgba(255,199,44,.10), transparent 70%),
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: auto, 44px 44px, 44px 44px;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input { font-family: inherit; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

/* ---------- 通用：斜切角 ---------- */
.cut { clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px)); }
.cut-sm { clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px)); }

/* 角标装饰：卡片四角的 HUD 短刻线 */
.hud-corner::before, .hud-corner::after {
  content: "";
  position: absolute;
  width: 12px; height: 12px;
  border: 1px solid var(--gold);
  opacity: .55;
  pointer-events: none;
}
.hud-corner::before { top: 4px; left: 4px; border-right: 0; border-bottom: 0; }
.hud-corner::after  { bottom: 4px; right: 4px; border-left: 0; border-top: 0; }

/* ==========================================================================
   1. 顶部公告条
   ========================================================================== */
.topbar {
  background: linear-gradient(90deg, #1A1205, #2A1E07 50%, #1A1205);
  border-bottom: 1px solid rgba(255,199,44,.22);
  font-size: 12px;
  color: var(--gold-2);
  letter-spacing: .5px;
  position: relative;
  z-index: 60;
}
.topbar .wrap { display: flex; align-items: center; gap: 14px; height: 34px; }
.topbar .dot-live {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: blink 1.6s infinite;
}
@keyframes blink { 0%,100% { opacity: 1 } 50% { opacity: .25 } }
.topbar .tb-sep { flex: 1; }
.topbar .tb-right { display: flex; gap: 18px; color: #C9A54A; font-size: 12px; }
.topbar .tb-right a:hover { color: var(--gold); }

/* ==========================================================================
   2. 主导航
   ========================================================================== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7,8,11,.82);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line-soft);
  transition: background .25s var(--ease), border-color .25s;
}
.nav.scrolled { background: rgba(7,8,11,.96); border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 34px; height: 70px; }

.logo { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.logo-mark {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, var(--gold), var(--gold-3));
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  color: #14100A; font-weight: 900; font-size: 17px;
  box-shadow: 0 0 22px rgba(255,199,44,.34);
}
.logo-txt strong {
  display: block; font-size: 17px; font-weight: 800; letter-spacing: 1.5px;
  background: linear-gradient(180deg, #fff, #C9D1DE);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.logo-txt span {
  display: block; font-size: 9px; letter-spacing: 3.4px; color: var(--gold);
  opacity: .8; font-weight: 600; margin-top: -1px;
}

.nav-links { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav-links a {
  position: relative; padding: 8px 15px; font-size: 14px; color: var(--t2);
  font-weight: 500; transition: color .18s;
}
.nav-links a:hover { color: #fff; }
.nav-links a.on { color: var(--gold); font-weight: 700; }
.nav-links a.on::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: -2px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.nav-search {
  display: flex; align-items: center; gap: 8px;
  height: 36px; padding: 0 14px; width: 230px;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 2px;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: border-color .2s;
}
.nav-search:focus-within { border-color: rgba(255,199,44,.55); }
.nav-search svg { flex-shrink: 0; color: var(--t3); }
.nav-search input {
  width: 100%; background: none; border: 0; outline: none;
  color: var(--t1); font-size: 13px;
}
.nav-search input::placeholder { color: var(--t3); }

.nav-actions { display: flex; align-items: center; gap: 10px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 38px; padding: 0 20px;
  font-size: 13px; font-weight: 700; letter-spacing: .5px;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: transform .14s, box-shadow .2s, filter .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-2), var(--gold) 45%, var(--gold-3));
  color: #17120A; box-shadow: 0 4px 20px rgba(255,199,44,.24);
}
.btn-gold:hover { filter: brightness(1.07); box-shadow: 0 6px 26px rgba(255,199,44,.4); }
.btn-ghost {
  background: var(--panel-2); color: var(--t1);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.btn-ghost:hover { border-color: rgba(255,199,44,.4); color: var(--gold-2); }

.btn-lg { height: 52px; padding: 0 38px; font-size: 16px; letter-spacing: 2px; }

/* ==========================================================================
   3. HERO
   ========================================================================== */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line-soft); }
.hero::after {
  /* 底部渐隐 */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 140px;
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none; z-index: 3;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 460px at 76% 42%, rgba(255,92,22,.12), transparent 68%),
    radial-gradient(700px 400px at 18% 20%, rgba(255,199,44,.08), transparent 70%),
    linear-gradient(180deg, #0A0C11, #07080B);
}
/* 斜纹警示带 */
.hero-stripes {
  position: absolute; top: 0; left: 0; width: 46%; height: 100%;
  background-image: repeating-linear-gradient(115deg, rgba(255,255,255,.028) 0 2px, transparent 2px 22px);
  mask-image: linear-gradient(90deg, #000, transparent 92%);
  pointer-events: none;
}

.hero .wrap {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px;
  align-items: center; min-height: 540px; padding-top: 46px; padding-bottom: 62px;
  position: relative; z-index: 2;
}

.hero-tag {
  display: inline-flex; align-items: center; gap: 9px;
  height: 30px; padding: 0 14px 0 10px; margin-bottom: 22px;
  background: rgba(255,92,22,.1);
  border: 1px solid rgba(255,92,22,.36);
  color: #FF8A4D; font-size: 12px; font-weight: 700; letter-spacing: 1.5px;
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 9px 100%, 0 calc(100% - 9px));
}
.hero-tag i { width: 5px; height: 5px; background: var(--orange); border-radius: 50%; box-shadow: 0 0 8px var(--orange); }

.hero h1 {
  font-size: 58px; line-height: 1.06; font-weight: 900; letter-spacing: -1.5px;
  margin-bottom: 18px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, #FFF3C4 6%, var(--gold) 42%, #E8912A 92%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 26px rgba(255,199,44,.26));
}
.hero-sub {
  font-size: 15px; color: var(--t2); line-height: 1.9; max-width: 440px; margin-bottom: 30px;
}
.hero-sub b { color: var(--gold-2); font-weight: 700; }

.hero-cta { display: flex; gap: 14px; align-items: center; margin-bottom: 40px; }

.hero-stats { display: flex; gap: 0; border-top: 1px solid var(--line-soft); padding-top: 22px; }
.hero-stats .hs { padding-right: 34px; margin-right: 34px; border-right: 1px solid var(--line-soft); }
.hero-stats .hs:last-child { border: 0; margin: 0; padding: 0; }
.hero-stats b {
  display: block; font-size: 26px; font-weight: 800; letter-spacing: -.5px;
  font-variant-numeric: tabular-nums; color: #fff;
}
.hero-stats b i { font-style: normal; font-size: 14px; color: var(--gold); margin-left: 2px; }
.hero-stats span { font-size: 12px; color: var(--t3); letter-spacing: .5px; }

/* Hero 右侧：主推装备视觉 */
.hero-visual { position: relative; display: grid; place-items: center; }
.hero-frame {
  position: relative; width: 100%; aspect-ratio: 1/.92; max-height: 460px;
  background:
    radial-gradient(circle at 50% 45%, rgba(255,199,44,.16), transparent 62%),
    linear-gradient(160deg, var(--panel-2), var(--bg-2));
  border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 34px 100%, 0 calc(100% - 34px));
  overflow: hidden;
  display: grid; place-items: center;
}
.hero-frame img {
  width: auto; max-width: 80%; max-height: 84%;
  object-fit: contain;
  border-radius: 8px;
  filter: drop-shadow(0 26px 46px rgba(0,0,0,.7));
  animation: float 7s ease-in-out infinite;
  position: relative; z-index: 1;
}
/* 暗角：压住商品图四边，减少与深色底的割裂感 */
.hero-frame::before {
  content: "";
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(circle at 50% 48%, transparent 42%, rgba(7,8,11,.5) 100%);
}
@keyframes float { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-12px) } }
.hero-frame::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 100% 4px;
  mix-blend-mode: overlay; pointer-events: none;
}
/* 扫描线 */
.hero-scan {
  position: absolute; left: 0; right: 0; height: 2px; top: 0;
  background: linear-gradient(90deg, transparent, rgba(255,199,44,.85), transparent);
  box-shadow: 0 0 18px rgba(255,199,44,.7);
  animation: scan 4.6s linear infinite; z-index: 2;
}
@keyframes scan { 0% { top: -2px; opacity: 0 } 12% { opacity: 1 } 88% { opacity: 1 } 100% { top: 100%; opacity: 0 } }

.hero-badge {
  position: absolute; z-index: 4;
  background: rgba(10,12,16,.9); border: 1px solid rgba(255,199,44,.35);
  backdrop-filter: blur(6px);
  padding: 9px 14px; font-size: 12px; letter-spacing: .5px;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}
.hero-badge.b1 { top: 18px; left: 18px; color: var(--gold-2); }
.hero-badge.b1 b { color: #fff; }
.hero-badge.b2 { bottom: 20px; right: 20px; color: var(--t2); display: flex; align-items: center; gap: 7px; }
.hero-badge.b2 i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }

/* Hero 轮播点 */
.hero-dots { position: absolute; bottom: 26px; left: 24px; display: flex; gap: 8px; z-index: 4; }
.hero-dots i {
  width: 22px; height: 3px; background: rgba(255,255,255,.16); display: block;
  transition: background .2s, width .2s;
}
.hero-dots i.on { background: var(--gold); width: 34px; box-shadow: 0 0 10px rgba(255,199,44,.6); }

/* ==========================================================================
   4. 数据条（跑马灯式战况）
   ========================================================================== */
.ticker {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(90deg, #0B0D12, #101319 50%, #0B0D12);
  position: relative; z-index: 2;
}
.ticker .wrap { display: flex; align-items: center; height: 52px; gap: 20px; overflow: hidden; }
.ticker-label {
  font-size: 11px; font-weight: 800; letter-spacing: 2px; color: var(--gold);
  border: 1px solid rgba(255,199,44,.35); padding: 3px 10px; flex-shrink: 0;
  clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 7px, 100% 100%, 7px 100%, 0 calc(100% - 7px));
}
.ticker-body { flex: 1; overflow: hidden; position: relative; height: 22px; }
.ticker-track {
  position: absolute; display: flex; gap: 60px; white-space: nowrap;
  animation: marquee 32s linear infinite; font-size: 13px; color: var(--t2);
}
.ticker-track span b { color: var(--gold-2); }
@keyframes marquee { from { transform: translateX(0) } to { transform: translateX(-50%) } }

/* ==========================================================================
   5. 区块标题
   ========================================================================== */
.section { padding: 66px 0; position: relative; z-index: 1; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 28px; gap: 20px; }
.sec-title { display: flex; align-items: center; gap: 14px; }
.sec-title .bar {
  width: 4px; height: 30px;
  background: linear-gradient(180deg, var(--gold), var(--gold-3));
  box-shadow: 0 0 16px rgba(255,199,44,.5);
}
.sec-title h2 { font-size: 26px; font-weight: 900; letter-spacing: .5px; }
.sec-title h2 span { font-size: 12px; font-weight: 600; color: var(--t3); letter-spacing: 2.5px; margin-left: 10px; }
.sec-more { font-size: 13px; color: var(--t2); display: flex; align-items: center; gap: 6px; transition: color .2s; }
.sec-more:hover { color: var(--gold); }

/* ==========================================================================
   6. 分类入口
   ========================================================================== */
.cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.cat {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line-soft);
  padding: 22px 16px 20px; text-align: center;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  transition: border-color .2s, transform .2s var(--ease), background .2s;
}
.cat::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 40%, rgba(255,199,44,.1) 50%, transparent 60%);
  transform: translateX(-100%); transition: transform .55s var(--ease);
}
.cat:hover { border-color: rgba(255,199,44,.42); transform: translateY(-3px); }
.cat:hover::after { transform: translateX(100%); }
.cat .ico {
  width: 44px; height: 44px; margin: 0 auto 12px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  background: rgba(255,199,44,.06);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  color: var(--gold);
}
.cat:hover .ico { border-color: rgba(255,199,44,.5); background: rgba(255,199,44,.12); }
.cat h4 { font-size: 14px; font-weight: 700; margin-bottom: 3px; }
.cat p { font-size: 11px; color: var(--t3); letter-spacing: .5px; }

/* ==========================================================================
   7. 筛选栏 + 商品网格
   ========================================================================== */
.filters {
  display: flex; align-items: center; gap: 6px; margin-bottom: 22px;
  border-bottom: 1px solid var(--line-soft); padding-bottom: 0;
}
.filters a {
  position: relative; padding: 10px 18px; font-size: 14px; color: var(--t2);
  font-weight: 500; transition: color .18s;
}
.filters a:hover { color: #fff; }
.filters a.on { color: var(--gold); font-weight: 700; }
.filters a.on::after {
  content: ""; position: absolute; left: 18px; right: 18px; bottom: -1px; height: 2px; background: var(--gold);
  box-shadow: 0 0 12px rgba(255,199,44,.6);
}
.filters .arrows { display: inline-flex; flex-direction: column; gap: 2px; margin-left: 5px; vertical-align: middle; }
.filters .arrows i { width: 0; height: 0; border-left: 3.5px solid transparent; border-right: 3.5px solid transparent; display: block; }
.filters .arrows .up { border-bottom: 4px solid currentColor; opacity: .35; }
.filters .arrows .down { border-top: 4px solid currentColor; opacity: .35; }
.filters a.asc .up, .filters a.desc .down { opacity: 1; }
.filters .spacer { flex: 1; }
.filters .count { font-size: 12px; color: var(--t3); letter-spacing: .5px; }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.card {
  position: relative;
  background: linear-gradient(170deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line-soft);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
  transition: border-color .22s, transform .22s var(--ease), box-shadow .22s;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.card:hover {
  border-color: rgba(255,199,44,.5);
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -18px rgba(0,0,0,.9), 0 0 0 1px rgba(255,199,44,.12);
}
.card-thumb {
  position: relative; aspect-ratio: 1/1; overflow: hidden;
  background: radial-gradient(circle at 50% 40%, #232A36, #0E1116);
}
.card-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s var(--ease), filter .3s;
}
.card:hover .card-thumb img { transform: scale(1.06); }
.card-thumb::after {
  /* 底部信息渐隐 */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(7,8,11,.9));
  pointer-events: none;
}
/* 品质色条 */
.qbar { position: absolute; left: 0; top: 0; bottom: 0; width: 3px; z-index: 3; }
.q-red .qbar { background: var(--q-red); box-shadow: 0 0 14px var(--q-red); }
.q-pink .qbar { background: var(--q-pink); box-shadow: 0 0 14px var(--q-pink); }
.q-purple .qbar { background: var(--q-purple); box-shadow: 0 0 14px var(--q-purple); }
.q-blue .qbar { background: var(--q-blue); box-shadow: 0 0 14px var(--q-blue); }
.q-gold .qbar { background: var(--gold-2); box-shadow: 0 0 14px rgba(255, 199, 44, .55); }

.tag {
  position: absolute; top: 10px; left: 10px; z-index: 3;
  font-size: 11px; font-weight: 800; letter-spacing: 1px; padding: 3px 9px;
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
}
.tag-hot { background: linear-gradient(135deg, #FF6B2C, #E2362B); color: #fff; }
.tag-new { background: linear-gradient(135deg, var(--gold-2), var(--gold-3)); color: #17120A; }
/* 分类角标：改成黑玻璃底 + 金框金字，去掉原紫色，统一战术色系 */
.card .card-thumb .tag.tag-rare,
.tag.tag-rare {
  background: rgba(9, 11, 15, .84) !important;
  color: var(--gold-2) !important;
  border: 1px solid rgba(255, 199, 44, .40) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .45);
  backdrop-filter: blur(6px);
}

.card-hover-cta {
  position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 3;
  height: 34px; display: flex; align-items: center; justify-content: center;
  background: rgba(255,199,44,.94); color: #17120A; font-size: 12.5px; font-weight: 800; letter-spacing: 1px;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  opacity: 0; transform: translateY(8px);
  transition: opacity .22s, transform .22s var(--ease);
}
.card:hover .card-hover-cta { opacity: 1; transform: translateY(0); }

.card-body { padding: 12px 13px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-name {
  font-size: 13.5px; font-weight: 600; line-height: 1.45; color: var(--t1);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 39px;
}
.card-tags { display: flex; gap: 5px; flex-wrap: wrap; }
.card-tags span {
  font-size: 10.5px; color: var(--gold-2); border: 1px solid rgba(255,199,44,.3);
  padding: 1px 6px; letter-spacing: .3px; background: rgba(255,199,44,.05);
}
.card-foot { display: flex; align-items: flex-end; justify-content: space-between; margin-top: auto; }
.price { display: flex; align-items: baseline; gap: 3px; }
.price .sym { font-size: 13px; font-weight: 700; color: var(--orange); }
.price .num { font-size: 25px; font-weight: 900; color: var(--orange); letter-spacing: -.5px; font-variant-numeric: tabular-nums; line-height: 1; }
.price .old { font-size: 11px; color: var(--t3); text-decoration: line-through; margin-left: 4px; }
.sold { font-size: 11px; color: var(--t3); }

/* 占位卡（无图） */
.card-thumb.ph {
  display: grid; place-items: center;
  background:
    repeating-linear-gradient(45deg, #14181F 0 10px, #111419 10px 20px);
}
.card-thumb.ph span { font-size: 11px; letter-spacing: 2px; color: #3A424F; }

/* ==========================================================================
   8. 兑换流程
   ========================================================================== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step {
  position: relative; padding: 30px 26px;
  background: linear-gradient(160deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line-soft);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}
.step .no {
  position: absolute; right: 18px; top: 10px;
  font-size: 54px; font-weight: 900; color: rgba(255,255,255,.045); letter-spacing: -2px;
  font-variant-numeric: tabular-nums;
}
.step .si {
  width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 16px;
  background: rgba(255,199,44,.09); border: 1px solid rgba(255,199,44,.3); color: var(--gold);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.step h4 { font-size: 16px; font-weight: 800; margin-bottom: 8px; letter-spacing: .5px; }
.step p { font-size: 13px; color: var(--t2); line-height: 1.75; }

/* ==========================================================================
   9. 保障条
   ========================================================================== */
.guards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-soft); }
.guard { background: var(--panel); padding: 26px 22px; display: flex; gap: 14px; align-items: flex-start; }
.guard .gi { color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.guard h5 { font-size: 14px; font-weight: 700; margin-bottom: 5px; }
.guard p { font-size: 12px; color: var(--t3); line-height: 1.7; }

/* ==========================================================================
   10. 页脚
   ========================================================================== */
.footer { border-top: 1px solid var(--line-soft); background: #06070A; padding: 46px 0 30px; position: relative; z-index: 1; }
.foot-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 32px; border-bottom: 1px solid var(--line-soft); }
.foot-brand p { font-size: 12.5px; color: var(--t3); line-height: 1.9; margin-top: 14px; max-width: 300px; }
.foot-col h6 { font-size: 13px; font-weight: 700; color: var(--t1); margin-bottom: 14px; letter-spacing: 1px; }
.foot-col a { display: block; font-size: 12.5px; color: var(--t3); padding: 4px 0; transition: color .18s; }
.foot-col a:hover { color: var(--gold); }
.foot-bottom { padding-top: 22px; display: flex; justify-content: space-between; gap: 20px; font-size: 11.5px; color: #4C5462; flex-wrap: wrap; }

/* ==========================================================================
   11. 移动端
   ========================================================================== */
@media (max-width: 1080px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .cats { grid-template-columns: repeat(3, 1fr); }
  .hero h1 { font-size: 46px; }
  .nav-search { width: 180px; }
  .nav-links a { padding: 8px 10px; font-size: 13px; }
}

/* ==========================================================================
   移动端（主战场 · 按 375–430px 真机宽度设计）
   ========================================================================== */
@media (max-width: 820px) {
  body { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
  .wrap { padding: 0 14px; }

  /* ---------- 公告条 ---------- */
  .topbar .wrap { height: 30px; gap: 8px; }
  .topbar { font-size: 11px; }
  .topbar .tb-right { display: none; }

  /* ---------- 导航：LOGO + 搜索 + 订单 ---------- */
  .nav .wrap { height: 54px; gap: 10px; }
  .nav-links { display: none; }
  .logo { gap: 8px; flex-shrink: 0; }
  .logo-mark { width: 30px; height: 30px; font-size: 14px; }
  .logo-txt strong { font-size: 14.5px; letter-spacing: 0; white-space: nowrap; }
  .logo-txt > span { display: none; }
  .logo-txt .logo-full { display: none !important; }
  .logo-txt .logo-short { display: inline !important; font-size: 14.5px; color: inherit; letter-spacing: 0; opacity: 1; }
  .nav-search {
    width: auto; flex: 1; min-width: 0; height: 32px; padding: 0 10px; gap: 6px;
  }
  .nav-search input { font-size: 12.5px; }
  .nav-search input::placeholder { font-size: 12.5px; }
  .nav-actions { display: none; }

  /* ---------- HERO ---------- */
  .hero .wrap {
    grid-template-columns: 1fr; min-height: auto;
    padding-top: 0; padding-bottom: 20px; gap: 0;
  }
  .hero-visual { order: -1; }

  /* 图片区：顶部满幅，去除外框，像 app 首图 */
  .hero-frame {
    aspect-ratio: auto; height: 318px; max-height: 318px;
    padding: 0; margin: 0 -14px;
    border: 0; border-radius: 0;
    clip-path: none;
    background:
      radial-gradient(circle at 50% 50%, rgba(255,199,44,.09), transparent 66%),
      linear-gradient(180deg, #0E1116, #07080B);
  }
  .hero-frame img {
    width: 100%; height: 100%; max-width: none; max-height: none;
    object-fit: contain; object-position: center center;
    border-radius: 0; filter: none;
    animation: none;
  }
  .hero-frame::before {
    background: none;
  }
  .hero-frame::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 132px;
    background: linear-gradient(180deg, transparent 0%, rgba(7,8,11,.72) 42%, #07080B 88%);
    z-index: 4; pointer-events: none;
  }
  .hero-badge.b1 { display: none; }
  .hero-badge.b2 { display: none; }

  /* 文案区：压紧，首屏能看到按钮与数据 */
  .hero-copy { padding: 14px 0 0; }
  .hero-tag { display: none; }
  .hero h1 { font-size: 29px; line-height: 1.12; letter-spacing: -.8px; margin-bottom: 10px; }
  .hero-sub { font-size: 12.5px; line-height: 1.7; margin-bottom: 16px; max-width: 100%; }
  .hero-cta { gap: 10px; margin-bottom: 18px; }
  .btn-lg { flex: 1; height: 44px; padding: 0; font-size: 14.5px; letter-spacing: 1.2px; }
  .hero-stats { padding-top: 14px; }
  .hero-stats .hs { flex: 1; padding-right: 0; margin-right: 0; border-right: 0; }
  .hero-stats .hs + .hs { padding-left: 12px; border-left: 1px solid var(--line-soft); }
  .hero-stats b { font-size: 17px; letter-spacing: -.3px; }
  .hero-stats b i { font-size: 11px; }
  .hero-stats span { font-size: 10.5px; }
  .hero-dots { display: none; }

  /* ---------- LIVE 条 ---------- */
  .ticker .wrap { height: 38px; gap: 10px; }
  .ticker-label { font-size: 9.5px; padding: 2px 7px; letter-spacing: 1.4px; }
  .ticker-body { height: 18px; }
  .ticker-track { font-size: 11.5px; gap: 40px; }

  /* ---------- 区块 ---------- */
  .section { padding: 30px 0; }
  .sec-head { margin-bottom: 18px; }
  .sec-title .bar { width: 3px; height: 22px; }
  .sec-title h2 { font-size: 18px; letter-spacing: .2px; }
  .sec-title h2 span { display: none; }
  .sec-more { font-size: 12px; }

  /* ---------- 分类：横滑胶囊（省纵向空间） ---------- */
  .cats {
    display: flex; grid-template-columns: none; gap: 8px;
    overflow-x: auto; white-space: nowrap;
    padding: 0 0 4px; margin: 0 -14px; padding-left: 14px; padding-right: 14px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .cats::-webkit-scrollbar { display: none; }
  .cat {
    flex: 0 0 auto; padding: 8px 15px; text-align: center;
    background: var(--panel); border: 1px solid var(--line);
    clip-path: none; border-radius: 0;
  }
  .cat::after { display: none; }
  .cat .ico { display: none; }
  .cat h4 { font-size: 12.5px; font-weight: 500; color: var(--t2); margin: 0; }
  .cat p { display: none; }

  /* ---------- 筛选栏：吸顶横滑 ---------- */
  .filters {
    position: sticky; top: 54px; z-index: 30;
    background: rgba(7,8,11,.96);
    backdrop-filter: blur(12px);
    margin: 0 -14px 12px; padding: 0 14px;
    border-bottom: 1px solid var(--line-soft);
    overflow-x: auto; white-space: nowrap; scrollbar-width: none;
  }
  .filters::-webkit-scrollbar { display: none; }
  .filters a { padding: 11px 13px; font-size: 13.5px; flex: 0 0 auto; }
  .filters a.on::after { left: 13px; right: 13px; }
  .filters .spacer, .filters .count { display: none; }

  /* ---------- 商品卡 ---------- */
  .grid { grid-template-columns: repeat(2, 1fr); gap: 9px; }
  .card-thumb { aspect-ratio: 1 / .86; }
  .card-thumb img { object-fit: cover; object-position: center center; }
  .card { clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px)); }
  .card-hover-cta { display: none; }
  .card-body { padding: 9px 10px 11px; gap: 6px; }
  .card-name { font-size: 12.5px; line-height: 1.42; min-height: 35px; }
  .card-tags span { font-size: 9.5px; padding: 1px 5px; }
  .price .sym { font-size: 11px; }
  .price .num { font-size: 21px; }
  .sold { font-size: 10px; }
  .tag { font-size: 10px; padding: 3px 7px; top: 8px; left: 8px; }

  /* ---------- 流程 / 保障 / 页脚 ---------- */
  .steps { grid-template-columns: 1fr; gap: 10px; }
  .step { padding: 20px 18px; }
  .step .no { font-size: 40px; }
  .step .si { width: 36px; height: 36px; margin-bottom: 12px; }
  .step h4 { font-size: 14.5px; margin-bottom: 6px; }
  .step p { font-size: 12.5px; line-height: 1.7; }

  .guards { grid-template-columns: 1fr 1fr; }
  .guard { padding: 16px 14px; flex-direction: column; gap: 8px; }
  .guard h5 { font-size: 13px; }
  .guard p { font-size: 11px; line-height: 1.6; }

  .footer { padding: 28px 0 20px; }
  .foot-top { grid-template-columns: 1fr 1fr; gap: 20px; padding-bottom: 20px; }
  .foot-brand { grid-column: 1 / -1; }
  .foot-brand p { font-size: 11.5px; max-width: 100%; }
  .foot-bottom { font-size: 10.5px; line-height: 1.8; }
}

/* ---------- 移动端底部导航（app 式） ---------- */
.tabbar { display: none; }
@media (max-width: 820px) {
  .tabbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    display: flex; align-items: center;
    height: 58px; padding-bottom: env(safe-area-inset-bottom);
    background: rgba(9,11,15,.97);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--line);
  }
  .tabbar a {
    flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 3px; height: 100%; font-size: 10px; letter-spacing: .5px; color: var(--t3);
  }
  .tabbar a svg { width: 20px; height: 20px; }
  .tabbar a.on { color: var(--gold); }
  .tabbar a.on::before {
    content: ""; position: absolute; top: 0; width: 26px; height: 2px;
    background: var(--gold); box-shadow: 0 0 12px rgba(255,199,44,.8);
  }
  .tabbar a { position: relative; }
}

