/* ============================================================
   美女社官网 · 共享设计系统 style.css
   视觉概念：吃瓜热浪 Gossip Wave
   深夜紫底 + 荧光粉→珊瑚橙→霓虹紫流光渐变 + 玻璃拟态 + 大数字
   ============================================================ */

/* ---------- 设计令牌 ---------- */
:root {
  /* 色板 */
  --bg-0: #0b0520;
  --bg-1: #150a33;
  --bg-2: #1d0f44;
  --surface: rgba(255, 255, 255, 0.055);
  --surface-2: rgba(255, 255, 255, 0.09);
  --surface-3: rgba(255, 255, 255, 0.14);
  --stroke: rgba(255, 255, 255, 0.12);
  --stroke-2: rgba(255, 255, 255, 0.22);

  --ink: #f7f1ff;
  --ink-dim: #b3a4d6;
  --ink-faint: #8573ad;

  --pink: #ff4d8d;
  --orange: #ffa94d;
  --violet: #a855f7;
  --mint: #3ddc97;
  --red: #ff4d6d;

  --grad-warm: linear-gradient(135deg, #ff4d8d 0%, #ffa94d 100%);
  --grad-cool: linear-gradient(135deg, #a855f7 0%, #ff4d8d 100%);
  --grad-brand: linear-gradient(120deg, #ff4d8d 0%, #ffa94d 45%, #ffd166 100%);
  --grad-text: linear-gradient(120deg, #ffb3cd 0%, #ff4d8d 30%, #ffa94d 70%, #ffd166 100%);

  /* 字体 */
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-num: "Bahnschrift", "Arial Black", "DIN Alternate", "Segoe UI", sans-serif;

  /* 圆角与阴影 */
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 34px;
  --shadow-card: 0 18px 50px rgba(8, 2, 26, 0.55);
  --shadow-glow-pink: 0 10px 40px rgba(255, 77, 141, 0.35);
  --shadow-glow-violet: 0 10px 40px rgba(168, 85, 247, 0.35);

  /* 布局 */
  --container: 1180px;
  --header-h: 68px;
}

/* ---------- 基础 ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background:
    radial-gradient(1100px 600px at 85% -10%, rgba(168, 85, 247, 0.28), transparent 60%),
    radial-gradient(900px 560px at -10% 20%, rgba(255, 77, 141, 0.20), transparent 55%),
    linear-gradient(180deg, var(--bg-1) 0%, var(--bg-0) 45%, var(--bg-1) 100%);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 { margin: 0; line-height: 1.25; font-weight: 800; letter-spacing: 0.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 64px 0; }
.section-tight { padding: 44px 0; }

/* ---------- 可访问性：焦点态 ---------- */
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: var(--pink); color: #fff; }

/* 无 JS 兜底：默认显示内容 */
.reveal { opacity: 1; transform: none; }
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
html.js .reveal.in { opacity: 1; transform: none; }
html.js .reveal.d1 { transition-delay: 0.08s; }
html.js .reveal.d2 { transition-delay: 0.16s; }
html.js .reveal.d3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- 头部导航 ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(11, 5, 32, 0.72);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
  background: rgba(11, 5, 32, 0.92);
  border-bottom-color: var(--stroke);
  box-shadow: 0 8px 30px rgba(5, 0, 15, 0.45);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 1.28rem;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.brand-mark {
  width: 40px; height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--grad-warm);
  box-shadow: var(--shadow-glow-pink);
  font-size: 1.25rem;
}
.brand small {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  color: var(--ink-dim);
  margin-top: -2px;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 6px;
  margin: 0; padding: 0;
  align-items: center;
}
.main-nav a {
  display: block;
  padding: 9px 15px;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--ink-dim);
  transition: color 0.25s, background 0.25s;
}
.main-nav a:hover { color: var(--ink); background: var(--surface-2); }
.main-nav a.active {
  color: #fff;
  background: linear-gradient(120deg, rgba(255, 77, 141, 0.85), rgba(255, 169, 77, 0.85));
  box-shadow: 0 6px 20px rgba(255, 77, 141, 0.35);
}

.header-cta { display: flex; align-items: center; gap: 10px; }

/* 汉堡按钮 */
.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: var(--surface);
  color: var(--ink);
  font-size: 1.1rem;
  line-height: 1;
}
.nav-toggle:hover { background: var(--surface-2); }

/* 移动端抽屉菜单 */
@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .main-nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    width: min(320px, 84vw);
    height: calc(100vh - var(--header-h));
    background: rgba(16, 7, 40, 0.98);
    border-left: 1px solid var(--stroke);
    padding: 24px 18px;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    overflow-y: auto;
  }
  .main-nav.open { transform: translateX(0); box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5); }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 10px; }
  .main-nav a { padding: 13px 18px; border-radius: 14px; font-size: 1.02rem; }
  .header-cta .btn { padding: 9px 14px; font-size: 0.86rem; }
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  border: none;
  font-weight: 700;
  font-size: 0.98rem;
  color: #fff;
  background: var(--grad-warm);
  box-shadow: 0 12px 30px rgba(255, 77, 141, 0.38);
  transition: transform 0.25s, box-shadow 0.25s, filter 0.25s;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(255, 77, 141, 0.5); filter: brightness(1.05); }
.btn:active { transform: translateY(-1px); }

.btn-ghost {
  background: var(--surface-2);
  border: 1px solid var(--stroke-2);
  box-shadow: none;
  color: var(--ink);
}
.btn-ghost:hover { background: var(--surface-3); box-shadow: none; }

.btn-cool { background: var(--grad-cool); box-shadow: 0 12px 30px rgba(168, 85, 247, 0.4); }
.btn-cool:hover { box-shadow: 0 18px 40px rgba(168, 85, 247, 0.55); }

.btn-lg { padding: 16px 34px; font-size: 1.06rem; }
.btn-sm { padding: 8px 16px; font-size: 0.86rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 74px) 0 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(620px 380px at 78% 12%, rgba(255, 77, 141, 0.32), transparent 62%),
    radial-gradient(540px 400px at 12% 30%, rgba(168, 85, 247, 0.30), transparent 62%),
    radial-gradient(420px 300px at 55% 88%, rgba(255, 169, 77, 0.16), transparent 60%);
}
.hero-dots {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1.2px, transparent 1.2px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(560px 360px at 75% 20%, #000 0%, transparent 75%);
  mask-image: radial-gradient(560px 360px at 75% 20%, #000 0%, transparent 75%);
}
.hero-inner { position: relative; }

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--stroke);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink-dim);
  margin-bottom: 22px;
}
.live-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(255, 77, 109, 0.7);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 77, 109, 0.65); }
  70% { box-shadow: 0 0 0 11px rgba(255, 77, 109, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 77, 109, 0); }
}

.hero h1 {
  max-width: 17em;
  font-size: clamp(2.3rem, 6.4vw, 4.2rem);
  letter-spacing: 0.01em;
}
.hero h1 .grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

.hero-sub {
  max-width: 34em;
  margin: 20px 0 34px;
  color: var(--ink-dim);
  font-size: 1.06rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--stroke);
  color: var(--ink-dim);
  font-size: 0.92rem;
}
.hero-meta strong { color: var(--ink); font-size: 1.1rem; font-weight: 800; }
.hero-meta .num { font-family: var(--font-num); color: var(--orange); }

/* ---------- 区块标题 ---------- */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 30px;
}
.section-head .tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--pink);
  margin-bottom: 10px;
}
.section-head .tag::before { content: ""; width: 20px; height: 3px; border-radius: 3px; background: var(--grad-warm); }
.section-head .more { color: var(--ink-dim); font-size: 0.9rem; font-weight: 600; white-space: nowrap; }
.section-head .more:hover { color: var(--ink); }

/* ---------- 分类 Chips ---------- */
.chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 26px 0 30px;
}
.chip {
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: var(--surface);
  color: var(--ink-dim);
  font-size: 0.92rem;
  font-weight: 600;
  transition: all 0.25s;
}
.chip:hover { color: var(--ink); border-color: var(--stroke-2); background: var(--surface-2); }
.chip.active {
  color: #fff;
  border-color: transparent;
  background: var(--grad-warm);
  box-shadow: 0 8px 22px rgba(255, 77, 141, 0.35);
}

/* ---------- 榜单卡片 ---------- */
.rank-list { display: grid; gap: 16px; }
.rank-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 18px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--stroke);
  transition: transform 0.3s, background 0.3s, border-color 0.3s;
}
.rank-card:hover { transform: translateY(-4px); background: var(--surface-2); border-color: var(--stroke-2); }

.rank-no {
  flex: 0 0 auto;
  width: 54px;
  text-align: center;
  font-family: var(--font-num);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--ink-faint);
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.16);
}
.rank-card.r1 .rank-no { color: var(--grad-brand); background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-stroke: 0; }
.rank-card.r2 .rank-no { color: #dcd4ff; -webkit-text-stroke: 0; }
.rank-card.r3 .rank-no { color: #ffb38a; -webkit-text-stroke: 0; }

.rank-thumb {
  flex: 0 0 auto;
  width: 92px; height: 62px;
  border-radius: var(--r-sm);
  overflow: hidden;
  position: relative;
}
.rank-thumb img { width: 100%; height: 100%; object-fit: cover; }
.rank-thumb .dur {
  position: absolute;
  right: 6px; bottom: 6px;
  font-size: 0.66rem;
  font-weight: 700;
  color: #fff;
  background: rgba(8, 2, 20, 0.72);
  padding: 2px 7px;
  border-radius: 6px;
}

.rank-body { flex: 1 1 auto; min-width: 0; }
.rank-title { font-size: 1.02rem; font-weight: 800; line-height: 1.45; overflow: hidden; text-overflow: ellipsis; }
.rank-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 8px; font-size: 0.82rem; color: var(--ink-dim); }
.rank-meta .cat {
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.22);
  color: #d9c7ff;
  font-weight: 700;
}
.rank-meta .hot { color: var(--orange); font-weight: 700; }
.rank-meta .hot .num { font-family: var(--font-num); }

.trend { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; }
.trend.up { color: var(--red); }
.trend.down { color: var(--mint); }
.trend.flat { color: var(--ink-faint); }

.rank-arrow {
  flex: 0 0 auto;
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--ink-dim);
  font-size: 1.05rem;
  transition: all 0.25s;
}
.rank-card:hover .rank-arrow { background: var(--grad-warm); color: #fff; transform: translateX(3px); }

/* 榜单大图变体（深度爆料榜） */
.rank-big { flex-direction: row; align-items: stretch; padding: 20px; gap: 22px; }
.rank-big .rank-thumb { width: 210px; height: 138px; border-radius: var(--r-md); }
.rank-big .rank-no { width: 72px; font-size: 2.6rem; align-self: center; }
@media (max-width: 640px) {
  .rank-big { flex-wrap: wrap; }
  .rank-big .rank-thumb { width: 100%; height: 150px; }
  .rank-big .rank-no { width: auto; }
}

/* ---------- 视频卡片 ---------- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}
.video-card {
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--stroke);
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}
.video-card:hover { transform: translateY(-6px); border-color: var(--stroke-2); box-shadow: var(--shadow-card); }

.video-cover { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-2); }
.video-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.video-card:hover .video-cover img { transform: scale(1.06); }

.video-cover .dur {
  position: absolute;
  right: 10px; bottom: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  background: rgba(8, 2, 20, 0.75);
  padding: 3px 9px;
  border-radius: 7px;
  z-index: 2;
}
.video-cover .play {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 52px; height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 77, 141, 0.92);
  color: #fff;
  font-size: 1.05rem;
  box-shadow: 0 10px 30px rgba(255, 77, 141, 0.5);
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  z-index: 2;
}
.video-card:hover .video-cover .play { opacity: 1; transform: translate(-50%, -50%) scale(1); }

.video-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.video-body h3 { font-size: 0.98rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.video-meta { display: flex; align-items: center; justify-content: space-between; font-size: 0.8rem; color: var(--ink-dim); margin-top: auto; }
.video-meta .views .num { font-family: var(--font-num); color: var(--ink); font-weight: 700; }
.video-meta .cat-pill {
  padding: 2px 11px;
  border-radius: 999px;
  font-weight: 700;
  background: rgba(255, 169, 77, 0.18);
  color: #ffc98a;
}

/* ---------- 话题卡片 ---------- */
.topic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 18px;
}
.topic-card {
  position: relative;
  border-radius: var(--r-lg);
  padding: 24px;
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--stroke);
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}
.topic-card::after {
  content: "🍉";
  position: absolute;
  right: -12px; bottom: -14px;
  font-size: 5.2rem;
  opacity: 0.08;
  transform: rotate(-12deg);
}
.topic-card:hover { transform: translateY(-6px); border-color: var(--stroke-2); }

.topic-no { font-family: var(--font-num); font-size: 2.4rem; font-weight: 900; color: transparent; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; }
.topic-title { font-size: 1.12rem; font-weight: 800; margin: 14px 0 6px; }
.topic-desc { font-size: 0.88rem; color: var(--ink-dim); line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.topic-stats { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.topic-stats .stat {
  flex: 1 1 auto;
  min-width: 96px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  text-align: center;
}
.topic-stats .stat b { display: block; font-family: var(--font-num); font-size: 1.05rem; color: var(--ink); }
.topic-stats .stat span { font-size: 0.72rem; color: var(--ink-faint); }

/* ---------- 翻车合集（独特版块） ---------- */
.flip-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.flip-card {
  border-radius: var(--r-md);
  padding: 18px;
  background: var(--surface);
  border: 1px dashed var(--stroke-2);
  transition: transform 0.3s, background 0.3s;
}
.flip-card:hover { transform: translateY(-4px) rotate(-0.6deg); background: var(--surface-2); }
.flip-card .label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--orange);
  border: 1px solid rgba(255, 169, 77, 0.45);
  border-radius: 999px;
  padding: 3px 10px;
  margin-bottom: 12px;
}
.flip-card h3 { font-size: 1rem; line-height: 1.5; }
.flip-card p { font-size: 0.84rem; color: var(--ink-dim); margin-top: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- 下载横幅 ---------- */
.download-banner {
  position: relative;
  border-radius: var(--r-xl);
  padding: 52px 40px;
  background: linear-gradient(120deg, rgba(168, 85, 247, 0.25), rgba(255, 77, 141, 0.28) 55%, rgba(255, 169, 77, 0.22));
  border: 1px solid var(--stroke-2);
  overflow: hidden;
}
.download-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(400px 240px at 90% 20%, rgba(255, 255, 255, 0.14), transparent 60%);
}
.download-banner h2 { position: relative; font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
.download-banner p { position: relative; color: var(--ink-dim); margin: 14px 0 26px; max-width: 32em; }
.download-banner .btn-row { position: relative; display: flex; flex-wrap: wrap; gap: 12px; }
.download-banner .melon {
  position: absolute;
  right: 40px; bottom: -30px;
  font-size: 9rem;
  opacity: 0.14;
  transform: rotate(14deg);
  pointer-events: none;
}
@media (max-width: 760px) { .download-banner { padding: 38px 24px; } .download-banner .melon { display: none; } }

/* ---------- 弹窗 ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(6, 1, 18, 0.78);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.modal.open { display: flex; animation: fadeIn 0.25s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal-box {
  width: min(720px, 100%);
  max-height: 88vh;
  overflow-y: auto;
  border-radius: var(--r-lg);
  background: linear-gradient(170deg, #1e1045, #140a33);
  border: 1px solid var(--stroke-2);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
  padding: 30px 26px;
  position: relative;
  animation: riseIn 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes riseIn { from { opacity: 0; transform: translateY(28px) scale(0.97); } to { opacity: 1; transform: none; } }

.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--stroke);
  background: var(--surface);
  color: var(--ink);
  font-size: 1rem;
}
.modal-close:hover { background: var(--surface-2); }

.modal-stage {
  aspect-ratio: 16 / 9;
  border-radius: var(--r-md);
  overflow: hidden;
  background: radial-gradient(300px 160px at 50% 30%, rgba(255, 77, 141, 0.4), transparent 70%), var(--bg-0);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
}
.modal-stage .big-play {
  width: 84px; height: 84px;
  border-radius: 50%;
  background: var(--grad-warm);
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  color: #fff;
  box-shadow: 0 16px 46px rgba(255, 77, 141, 0.55);
}
.modal-stage .big-play .live {
  position: absolute;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--red);
  border: 3px solid #1e1045;
  margin: 58px 0 0 58px;
  animation: pulse 1.5s infinite;
}

.modal-title { font-size: 1.35rem; font-weight: 800; margin-bottom: 8px; }
.modal-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.modal-tags span {
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.2);
  color: #d9c7ff;
}
.modal-desc { color: var(--ink-dim); font-size: 0.94rem; line-height: 1.8; }
.modal-desc + .modal-desc { margin-top: 10px; }

/* ---------- 应用下载页 ---------- */
.app-hero {
  position: relative;
  padding: calc(var(--header-h) + 70px) 0 60px;
  overflow: hidden;
}
.app-phone {
  width: 260px;
  border-radius: 46px;
  padding: 14px 10px;
  background: linear-gradient(165deg, #322065, #191039);
  border: 1px solid var(--stroke-2);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55), 0 0 0 10px rgba(255, 255, 255, 0.035);
  transform: rotate(4deg);
  margin: 0 auto;
  transition: transform 0.4s;
}
.app-phone:hover { transform: rotate(0deg) translateY(-6px); }
.phone-screen {
  border-radius: 34px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-2), var(--bg-0));
  aspect-ratio: 9 / 19;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  padding: 20px;
}
.phone-screen .melon { font-size: 3.4rem; animation: floaty 3.4s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.phone-screen h3 { font-size: 1.15rem; }
.phone-screen .pills { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }
.phone-screen .pills span { font-size: 0.66rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); color: var(--ink-dim); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}
.feature-card {
  border-radius: var(--r-lg);
  padding: 26px 22px;
  background: var(--surface);
  border: 1px solid var(--stroke);
  transition: transform 0.3s, border-color 0.3s;
}
.feature-card:hover { transform: translateY(-5px); border-color: var(--stroke-2); }
.feature-icon {
  width: 54px; height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
  background: var(--grad-cool);
  box-shadow: 0 10px 26px rgba(168, 85, 247, 0.35);
}
.feature-card:nth-child(2n) .feature-icon { background: var(--grad-warm); box-shadow: 0 10px 26px rgba(255, 77, 141, 0.35); }
.feature-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.feature-card p { font-size: 0.88rem; color: var(--ink-dim); line-height: 1.7; }

.qr-wrap { text-align: center; }
.qr-box {
  width: 180px; height: 180px;
  margin: 0 auto 16px;
  border-radius: 22px;
  background: #fff;
  display: grid;
  place-items: center;
  font-size: 0.68rem;
  font-weight: 700;
  color: #150a33;
  text-align: center;
  padding: 10px;
  box-shadow: var(--shadow-card);
}
.qr-box .code {
  font-family: var(--font-num);
  font-size: 2rem;
  letter-spacing: 0.3em;
  background: linear-gradient(120deg, #150a33, #ff4d8d);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  word-break: break-all;
}

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 14px; max-width: 820px; }
.faq-item {
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--stroke);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  padding: 18px 22px;
  background: none;
  border: none;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-q .plus { color: var(--pink); font-size: 1.2rem; transition: transform 0.3s; }
.faq-item.open .plus { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 22px 20px; color: var(--ink-dim); font-size: 0.92rem; line-height: 1.8; }
.faq-item.open .faq-a { display: block; }

/* ---------- 回到顶部 ---------- */
.to-top {
  position: fixed;
  right: 22px; bottom: 26px;
  z-index: 90;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--stroke-2);
  background: rgba(30, 16, 69, 0.92);
  color: var(--ink);
  font-size: 1.1rem;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.3s;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--grad-warm); color: #fff; }

/* ---------- 页脚 ---------- */
.site-footer {
  margin-top: 40px;
  border-top: 1px solid var(--stroke);
  background: linear-gradient(180deg, rgba(11, 5, 32, 0.4), rgba(11, 5, 32, 0.9));
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 32px;
  padding: 56px 0 40px;
}
.footer-grid h4 { font-size: 0.98rem; margin-bottom: 16px; }
.footer-grid p { font-size: 0.86rem; color: var(--ink-dim); line-height: 1.8; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-links a { font-size: 0.88rem; color: var(--ink-dim); transition: color 0.25s; }
.footer-links a:hover { color: var(--orange); }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 1.15rem; margin-bottom: 14px; }
.footer-bottom {
  border-top: 1px solid var(--stroke);
  padding: 18px 0 26px;
  font-size: 0.8rem;
  color: var(--ink-faint);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- 工具类 ---------- */
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-40 { margin-top: 40px; }
.mb-24 { margin-bottom: 24px; }
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- 详情/静态内容排版 ---------- */
.prose { color: var(--ink-dim); line-height: 1.9; font-size: 0.96rem; }
.prose h3 { color: var(--ink); font-size: 1.12rem; margin: 26px 0 10px; }
.prose ul { margin: 10px 0 0; padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose strong { color: var(--ink); }

/* ---------- 骨架加载占位 ---------- */
.skeleton {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--r-md);
}
.skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.09) 50%, transparent 70%);
  animation: shimmer 1.6s infinite;
}
@keyframes shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
