/* 稿子 A：直播活力。深紫黑底，热粉到橙的渐变是唯一的强调。 */
:root {
  --bg: #0d0618;
  --bg-2: #170b28;
  --ink: #fff6fb;
  --ink-2: #c9b8d9;
  --ink-3: #8c7aa0;
  --hot: #ff2e88;
  --hot-2: #ff8a00;
  --grad: linear-gradient(100deg, var(--hot), var(--hot-2));
  --line: rgba(255, 255, 255, 0.1);
  --radius: 18px;
  font-family: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--hot-2); outline-offset: 3px; border-radius: 6px; }

html:not(.is-phone) .on-phone,
html.is-phone .on-desktop { display: none; }

/* ---------- 顶栏 ---------- */
.topbar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; letter-spacing: 0.04em; }
.brand img { border-radius: 9px; }
.topbar nav { display: flex; gap: 18px; font-size: 14px; color: var(--ink-2); }
.topbar nav a { text-decoration: none; }
.topbar nav a:hover { color: var(--ink); }

/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  padding: 40px 16px 56px;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute; inset: -20% -30% auto;
  height: 90%;
  background:
    radial-gradient(40% 50% at 25% 40%, rgba(255, 46, 136, 0.45), transparent 70%),
    radial-gradient(35% 45% at 80% 30%, rgba(255, 138, 0, 0.32), transparent 70%);
  filter: blur(20px);
  z-index: -2;
}
/* 弹幕单独占截图上方的一条，不压在文案上。 */
.danmaku { position: relative; height: 104px; margin: 0 -16px 8px; overflow: hidden; pointer-events: none; }
.danmaku span {
  position: absolute; left: 100%; top: var(--y);
  white-space: nowrap;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.06);
  animation: fly var(--d) linear var(--t) infinite;
}
.danmaku .gift { color: #ffd2a1; background: rgba(255, 138, 0, 0.16); }
@keyframes fly { to { transform: translateX(calc(-100vw - 100%)); } }

.hero-copy { max-width: 620px; }
.live-chip {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 18px;
  padding: 5px 12px 5px 10px;
  border-radius: 999px;
  font-size: 13px; font-weight: 700;
  background: rgba(255, 46, 136, 0.16);
  color: #ff9cc6;
  animation: rise 0.6s ease-out both;
}
.live-chip i {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--hot);
  box-shadow: 0 0 0 0 rgba(255, 46, 136, 0.7);
  animation: pulse 1.6s infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255, 46, 136, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 46, 136, 0); } }

h1 {
  margin: 0;
  font-size: clamp(44px, 13vw, 92px);
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: -0.01em;
  animation: rise 0.7s 0.08s ease-out both;
}
h1 em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.lede {
  margin: 18px 0 26px;
  font-size: 17px;
  color: var(--ink-2);
  max-width: 30em;
  animation: rise 0.7s 0.16s ease-out both;
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; animation: rise 0.7s 0.24s ease-out both; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px; border: 0;
  font: inherit; font-size: 17px; font-weight: 800;
  text-decoration: none; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.btn:active { transform: scale(0.97); }
.btn-hot {
  color: #fff;
  background: var(--grad);
  box-shadow: 0 8px 28px -6px rgba(255, 46, 136, 0.7);
  animation: glow 2.4s ease-in-out infinite;
}
.btn-hot:hover { box-shadow: 0 10px 36px -4px rgba(255, 46, 136, 0.9); }
@keyframes glow { 50% { box-shadow: 0 8px 40px -2px rgba(255, 138, 0, 0.75); } }
.btn-ghost { color: var(--ink); background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.22); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.14); }
.btn-small { min-height: 44px; font-size: 15px; padding: 0 20px; }
.cta-row .btn { flex: 1 1 200px; }

.hint { margin: 14px 0 0; font-size: 13px; color: var(--ink-3); }
.hint a { color: var(--ink-2); }

.hero-shot { position: relative; margin: 28px 0 0; }
.screen {
  position: relative;
  border-radius: var(--radius);
  padding: 6px;
  background: var(--grad);
  transform: rotate(-1.5deg);
  box-shadow: 0 30px 80px -20px rgba(255, 46, 136, 0.55);
}
.screen img { border-radius: 13px; width: 100%; height: auto; }
.live-badge {
  position: absolute; top: -12px; left: 18px; z-index: 1;
  padding: 3px 10px;
  border-radius: 6px;
  background: var(--hot);
  font-size: 12px; font-weight: 900; letter-spacing: 0.12em;
}
.bubble {
  position: relative;
  margin: -18px 12px 0 auto;
  max-width: 340px;
  padding: 12px 16px;
  border-radius: 16px 16px 4px 16px;
  background: #fff;
  color: #1a0b2b;
  font-size: 14px; font-weight: 600;
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.6);
  transform: rotate(1deg);
}
.bubble b { color: var(--hot); }

/* ---------- 四个时刻 ---------- */
section h2 {
  margin: 0 0 24px;
  font-size: clamp(28px, 7.5vw, 48px);
  line-height: 1.15;
  font-weight: 900;
}
.moments { padding: 56px 0 40px; }
.moments h2 { padding: 0 16px; }
.moment-track {
  list-style: none; margin: 0; padding: 0 16px 8px;
  display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 320px);
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.moment-track::-webkit-scrollbar { display: none; }
.moment-track li {
  scroll-snap-align: start;
  padding: 22px 20px;
  border-radius: var(--radius);
  background: var(--bg-2);
  box-shadow: inset 0 0 0 1px var(--line);
}
.tag { margin: 0 0 14px; display: inline-block; padding: 2px 10px; border-radius: 6px; font-size: 13px; font-weight: 800; color: var(--bg); background: var(--grad); }
.ask { margin: 0 0 12px; font-size: 20px; font-weight: 800; }
.say { margin: 0; font-size: 15px; color: var(--ink-2); padding-left: 12px; border-left: 3px solid var(--hot); }

/* ---------- 功能 ---------- */
.features { padding: 56px 16px; }
.feature-list { display: grid; gap: 0; }
.feature-list article { padding: 22px 0; border-top: 1px solid var(--line); }
.feature-list h3 { margin: 0 0 6px; font-size: 21px; font-weight: 800; display: flex; align-items: baseline; gap: 12px; }
.feature-list h3 span { font-size: 14px; font-weight: 900; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.feature-list p { margin: 0; color: var(--ink-2); font-size: 15px; padding-left: 32px; }

/* ---------- 会员 ---------- */
.member { padding: 56px 16px; background: linear-gradient(180deg, transparent, var(--bg-2) 30%, var(--bg-2) 70%, transparent); }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.plan { padding: 22px 18px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px var(--line); }
.plan-hot { background: var(--grad); box-shadow: 0 16px 40px -14px rgba(255, 46, 136, 0.7); }
.plan-name { margin: 0; font-size: 15px; font-weight: 700; opacity: 0.85; }
.plan-time { margin: 6px 0 0; font-size: 34px; font-weight: 900; line-height: 1.1; }
.plan-note { margin: 18px 0 20px; font-size: 15px; color: var(--ink-2); }
.perk-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.perk-list li { padding: 7px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; background: rgba(255, 255, 255, 0.07); }

/* ---------- 联系 ---------- */
.contact { padding: 56px 16px 72px; }
.contact-card { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; padding: 22px; border-radius: var(--radius); background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); }
.qr {
  width: 132px; height: 132px; flex: none;
  display: grid; place-items: center; text-align: center;
  border-radius: 12px; background: #fff; color: #888; font-size: 13px;
}
.contact-line { margin: 0 0 12px; color: var(--ink-2); }
.contact-line b { color: var(--ink); }
.socials { margin: 14px 0 0; font-size: 14px; }

.footer { display: flex; flex-wrap: wrap; gap: 18px; padding: 24px 16px 40px; font-size: 13px; color: var(--ink-3); border-top: 1px solid var(--line); }
.footer a { text-decoration: none; }

/* ---------- 常见问题 ---------- */
.faq { max-width: 760px; margin: 0 auto; padding: 32px 16px 64px; }
.faq-title { font-size: clamp(36px, 10vw, 64px); margin-bottom: 8px; }
.faq h2 { margin: 40px 0 8px; font-size: 15px; font-weight: 800; letter-spacing: 0.08em; color: #ff9cc6; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 0;
  font-size: 18px; font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 24px; font-weight: 400; color: var(--hot); transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--ink-2); font-size: 15px; }
.faq-cta { margin-top: 48px; padding: 24px; border-radius: var(--radius); background: var(--bg-2); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.faq-cta p { margin: 0; font-size: 18px; font-weight: 800; }

/* ---------- 滚动浮现 ---------- */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- 宽屏 ---------- */
@media (min-width: 900px) {
  .topbar { padding: 16px 40px; }
  .hero { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 48px; padding: 80px max(40px, calc((100vw - 1200px) / 2)) 96px; }
  .danmaku { margin: 0 0 8px; }
  .hero-shot { margin: 0; }
  .moments h2, .moment-track { padding-left: max(40px, calc((100vw - 1200px) / 2)); }
  .moment-track { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; padding-right: max(40px, calc((100vw - 1200px) / 2)); }
  .features, .member, .contact { padding-left: max(40px, calc((100vw - 1200px) / 2)); padding-right: max(40px, calc((100vw - 1200px) / 2)); }
  .feature-list { grid-template-columns: repeat(3, 1fr); column-gap: 40px; }
  .plans { max-width: 640px; }
  .footer { padding: 28px 40px 48px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .danmaku { display: none; }
}
