/* ==========================================================================
   VAPEPIE PRO 40000 — 落地页样式（移动优先 / 单文件）
   设计基调：深紫霓虹 + 高对比促销色，强调「选择套餐」与「砍价小游戏」
   ========================================================================== */
:root {
  --ink: #0c0616;
  --ink-2: #150a26;
  --panel: #1c0f31;
  --panel-2: #241339;
  --line: rgba(255, 255, 255, .12);
  --text: #f5f0ff;
  --muted: #b9a8d6;
  --purple: #8b5cf6;
  --pink: #ff2e88;
  --lime: #c6ff3d;
  --gold: #ffc247;
  --danger: #ff3b5c;
  --ok: #29d07e;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 50px rgba(0, 0, 0, .45);
  --font: "Noto Sans CJK SC", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(900px 520px at 82% -8%, rgba(255, 46, 136, .28), transparent 62%),
    radial-gradient(760px 480px at 6% 4%, rgba(139, 92, 246, .32), transparent 60%),
    radial-gradient(700px 500px at 50% 100%, rgba(198, 255, 61, .10), transparent 62%),
    var(--ink);
  line-height: 1.55;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- 顶部促销条（滚动播报，制造紧迫感） ---------- */
.announce {
  background: linear-gradient(90deg, var(--pink), #b026ff 45%, var(--purple));
  color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: .02em;
  overflow: hidden; white-space: nowrap;
}
.announce .track { display: inline-flex; gap: 28px; padding: 8px 0; animation: marquee 26s linear infinite; }
.announce b { color: var(--lime); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- 头部 ---------- */
.site-head {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(12, 6, 22, .78);
  border-bottom: 1px solid var(--line);
}
.site-head .bar { display: flex; align-items: center; gap: 12px; height: 58px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 900; letter-spacing: -.01em; }
.brand img { width: 28px; height: 28px; border-radius: 8px; }
.brand span { font-size: 16px; }
.brand small { display: block; font-size: 10px; color: var(--muted); font-weight: 600; letter-spacing: .16em; }
.head-tags { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .05);
  padding: 6px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; color: var(--muted);
}
.pill.live { border-color: rgba(41, 208, 126, .45); color: #8bf3bd; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(41, 208, 126, .18); }

/* ---------- 主视觉 ---------- */
.hero { padding: 26px 0 8px; }
.hero-grid { display: grid; gap: 20px; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.02fr 1fr; gap: 34px; align-items: start; }
}
.shot {
  position: relative; border-radius: 26px; padding: 18px;
  background: radial-gradient(120% 90% at 50% 0%, #ffffff 0%, #f2ecff 46%, #e7ddff 100%);
  box-shadow: var(--shadow);
}
.shot::after {
  content: ""; position: absolute; inset: 0; border-radius: 26px; pointer-events: none;
  border: 1px solid rgba(255, 255, 255, .6);
}
.shot img { border-radius: 16px; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.shot .flag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: var(--danger); color: #fff; font-size: 11.5px; font-weight: 900;
  padding: 6px 11px; border-radius: 999px; letter-spacing: .04em;
  box-shadow: 0 8px 20px rgba(255, 59, 92, .45);
}
.shot .save {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  background: var(--lime); color: #14210a; font-size: 12px; font-weight: 900;
  padding: 7px 11px; border-radius: 12px; transform: rotate(4deg);
}
.shot .cap { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.shot .cap span {
  font-size: 11px; font-weight: 800; color: #4a2d7a;
  background: #fff; border: 1px solid #e3d7ff; padding: 5px 9px; border-radius: 999px;
}

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 800; letter-spacing: .16em; color: var(--lime); text-transform: uppercase; }
h1 {
  font-size: clamp(28px, 6.4vw, 43px); line-height: 1.08; margin: 10px 0 8px;
  font-weight: 900; letter-spacing: -.02em;
}
h1 em { font-style: normal; background: linear-gradient(92deg, var(--pink), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sub { color: var(--muted); font-size: 14.5px; margin: 0 0 14px; max-width: 46ch; }
.rating { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--muted); margin-bottom: 14px; flex-wrap: wrap; }
.stars { color: var(--gold); letter-spacing: 1px; font-size: 14px; }
.rating b { color: var(--text); }
.rating .sep { width: 1px; height: 12px; background: var(--line); }

/* ---------- 价格 ---------- */
.price-row { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.price-now { font-size: clamp(32px, 8vw, 44px); font-weight: 900; letter-spacing: -.03em; line-height: 1; }
.price-was { font-size: 15px; color: var(--muted); text-decoration: line-through; margin-bottom: 5px; }
.price-off {
  background: rgba(255, 46, 136, .16); border: 1px solid rgba(255, 46, 136, .5); color: #ff86b6;
  font-size: 12px; font-weight: 900; padding: 4px 9px; border-radius: 8px; margin-bottom: 6px;
}
.price-unit { font-size: 12.5px; color: var(--lime); font-weight: 800; margin-top: 6px; }

/* ---------- 套餐选择 ---------- */
.bundle { margin: 16px 0 0; }
.bundle-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 9px; }
.bundle-head h2 { font-size: 14px; margin: 0; letter-spacing: .02em; }
.bundle-head .tip { font-size: 11.5px; color: var(--muted); }
.packs { display: grid; gap: 9px; }
.pack {
  position: relative; display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 12px 13px; border-radius: var(--radius-sm); text-align: left;
  background: rgba(255, 255, 255, .045);
  border: 1.5px solid var(--line);
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}
.pack:hover { transform: translateY(-1px); border-color: rgba(255, 255, 255, .3); }
.pack[aria-pressed="true"] {
  border-color: var(--lime);
  background: linear-gradient(96deg, rgba(198, 255, 61, .16), rgba(139, 92, 246, .16));
  box-shadow: 0 0 0 3px rgba(198, 255, 61, .12);
}
.pack .radio {
  width: 20px; height: 20px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35);
  flex: 0 0 auto; display: grid; place-items: center;
}
.pack[aria-pressed="true"] .radio { border-color: var(--lime); background: var(--lime); }
.pack[aria-pressed="true"] .radio::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #14210a; }
.pack .top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pack .units { font-size: 15px; font-weight: 900; }
.pack .note { font-size: 11.5px; color: var(--muted); }
.pack .tag {
  font-size: 10.5px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase;
  padding: 3px 7px; border-radius: 6px; background: rgba(255, 255, 255, .1); color: var(--text);
}
.pack .tag.hot { background: var(--pink); color: #fff; }
.pack .tag.best { background: var(--gold); color: #221500; }
.pack .money { margin-left: auto; text-align: right; flex: 0 0 auto; }
.pack .money b { display: block; font-size: 16px; font-weight: 900; }
.pack .money span { font-size: 10.5px; color: var(--muted); }
.pack .strike { font-size: 11px; color: var(--muted); text-decoration: line-through; display: block; }
.pack .fire { position: absolute; top: -9px; right: 10px; background: var(--danger); color: #fff; font-size: 10px; font-weight: 900; padding: 2px 7px; border-radius: 6px; }

/* ---------- 购买按钮 ---------- */
.cta { margin-top: 14px; display: grid; gap: 9px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  width: 100%; padding: 16px 18px; border-radius: 14px; font-weight: 900; font-size: 16px;
  letter-spacing: .01em; transition: transform .15s ease, filter .15s ease;
}
.btn:active { transform: scale(.985); }
.btn-primary {
  color: #150a24;
  background: linear-gradient(96deg, var(--lime), #9dff7a 45%, var(--gold));
  box-shadow: 0 12px 30px rgba(198, 255, 61, .28), inset 0 -2px 0 rgba(0, 0, 0, .12);
}
.btn-primary:hover { filter: brightness(1.05); }
.btn-ghost { background: rgba(255, 255, 255, .07); border: 1.5px solid var(--line); font-size: 14px; }
.btn .sub-line { display: block; font-size: 11px; font-weight: 700; opacity: .72; }
.trust { display: flex; flex-wrap: wrap; gap: 12px 18px; margin-top: 12px; font-size: 12px; color: var(--muted); }
.trust span { display: inline-flex; align-items: center; gap: 6px; }
.trust svg { width: 15px; height: 15px; flex: 0 0 auto; color: var(--lime); }

/* ---------- 通用区块 ---------- */
section { padding: 32px 0; }
.sec-head { margin-bottom: 16px; }
.sec-head h3 { font-size: clamp(20px, 4.6vw, 27px); margin: 0 0 6px; font-weight: 900; letter-spacing: -.015em; }
.sec-head p { margin: 0; color: var(--muted); font-size: 13.5px; max-width: 62ch; }
.card { background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .025)); border: 1px solid var(--line); border-radius: var(--radius); }

/* ---------- 小游戏：时间 / 库存 / 砍价进度 ---------- */
.deal { display: grid; gap: 14px; }
@media (min-width: 760px) { .deal { grid-template-columns: 1.15fr .85fr; } }
.deal-main { padding: 18px; }
.deal-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.deal-top h3 { margin: 0; font-size: 17px; font-weight: 900; }
.countdown { display: flex; align-items: center; gap: 5px; font-variant-numeric: tabular-nums; }
.countdown .num {
  background: #000; border: 1px solid rgba(255, 255, 255, .16); color: var(--lime);
  min-width: 34px; text-align: center; padding: 5px 6px; border-radius: 8px; font-weight: 900; font-size: 15px;
}
.countdown .colon { color: var(--muted); font-weight: 900; }
.bargain { margin-top: 14px; }
.bargain .row { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.bargain .row b { color: var(--lime); }
.bar { height: 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.bar i {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--pink), var(--gold));
  transition: width .8s cubic-bezier(.2, .8, .2, 1);
}
.stock { margin-top: 12px; font-size: 12.5px; color: var(--muted); }
.stock b { color: #ff8fae; }
.side { padding: 18px; display: grid; gap: 10px; align-content: start; }
.side h4 { margin: 0; font-size: 14px; }
.side ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 12.5px; display: grid; gap: 6px; }
.live-feed { display: grid; gap: 8px; margin-top: 4px; }
.feed-item {
  display: flex; align-items: center; gap: 8px; font-size: 12px; color: #ded3f4;
  background: rgba(0, 0, 0, .3); border: 1px solid var(--line); border-radius: 10px; padding: 7px 10px;
  animation: fadeUp .35s ease both;
}
.feed-item b { color: var(--lime); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- 转盘小游戏 ---------- */
.game { display: grid; gap: 18px; align-items: center; }
@media (min-width: 820px) { .game { grid-template-columns: 340px 1fr; } }
.wheel-box { position: relative; display: grid; place-items: center; padding: 8px; }
.wheel-outer {
  position: relative; width: min(300px, 78vw); aspect-ratio: 1/1; border-radius: 50%;
  padding: 9px;
  background: conic-gradient(from 0deg, var(--gold), var(--pink), var(--purple), var(--gold));
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .14), 0 20px 50px rgba(255, 46, 136, .3);
}
.wheel {
  position: relative; width: 100%; height: 100%; border-radius: 50%; overflow: hidden;
  transition: transform 4.4s cubic-bezier(.12, .72, .06, 1);
  background: #1b0f2e;
}
/* 扇区标签：沿半径方向竖排（writing-mode），保证文字始终落在圆内 */
.wheel .label {
  position: absolute; inset: 0; transform-origin: 50% 50%; pointer-events: none;
}
.wheel .label span {
  position: absolute; top: 10%; left: 50%; transform: translateX(-50%);
  height: 46%; width: 14px; display: grid; place-items: start center;
  writing-mode: vertical-rl; text-orientation: mixed;
  font-size: 10px; font-weight: 900; line-height: 1.05; letter-spacing: .02em;
  color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .65); white-space: nowrap; overflow: hidden;
}
.hub {
  position: absolute; inset: 0; margin: auto; width: 30%; height: 30%; border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, #fff, #f0e8ff 60%, #d9c9ff);
  display: grid; place-items: center; text-align: center; z-index: 3;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .4); border: 0;
}
.hub b { font-size: 12px; color: #2b1250; font-weight: 900; line-height: 1.1; }
.hub small { display: block; font-size: 9px; color: #6b4fa0; font-weight: 800; letter-spacing: .06em; }
.pointer {
  position: absolute; top: -2px; left: 50%; transform: translateX(-50%); z-index: 4;
  width: 0; height: 0; border-left: 11px solid transparent; border-right: 11px solid transparent;
  border-top: 20px solid var(--gold); filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .5));
}
.game-copy h3 { margin: 0 0 8px; font-size: clamp(20px, 4.6vw, 26px); font-weight: 900; letter-spacing: -.01em; }
.game-copy p { margin: 0 0 12px; color: var(--muted); font-size: 13.5px; }
.game-copy .rules { font-size: 11.5px; color: #8f7bb0; }
.coupon-slot { margin: 12px 0; }
.coupon {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px;
  border: 1.5px dashed rgba(198, 255, 61, .65); background: rgba(198, 255, 61, .1);
}
.coupon .amt { font-size: 22px; font-weight: 900; color: var(--lime); line-height: 1; }
.coupon .meta { font-size: 11.5px; color: var(--muted); }
.coupon .code {
  margin-left: auto; font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: 12px;
  font-weight: 800; letter-spacing: .08em; background: rgba(0, 0, 0, .45); padding: 6px 9px; border-radius: 8px;
}
