/* 娱乐大事记官网 · 统一设计系统 */
:root {
  --bg: #0a0b10;
  --bg-soft: #0e1017;
  --surface: #14161f;
  --surface-2: #1b1e29;
  --surface-3: #242834;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f5f6f8;
  --text-2: #c8cad4;
  --muted: #8e91a3;
  --accent: #ff3b5c;
  --accent-2: #ff8a3d;
  --accent-3: #8b6cff;
  --cyan: #35d0d6;
  --green: #38d39f;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.38);
  --max: 1240px;
  --header-h: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
body.modal-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
::selection { background: rgba(255, 59, 92, 0.35); color: #fff; }

/* 背景氛围 */
.bg-glow { position: fixed; inset: 0; pointer-events: none; z-index: -1; overflow: hidden; }
.bg-glow::before, .bg-glow::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.16;
}
.bg-glow::before { width: 620px; height: 620px; background: var(--accent); top: -260px; left: -180px; }
.bg-glow::after { width: 560px; height: 560px; background: var(--accent-3); top: 280px; right: -240px; }

/* 布局容器 */
.container { width: min(100% - 40px, var(--max)); margin-inline: auto; }
.section { padding: 84px 0; position: relative; }
.section--tight { padding: 56px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 12px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); border-radius: 2px; }
.section-title { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.25; margin: 0; font-weight: 800; letter-spacing: -0.02em; }
.section-sub { color: var(--muted); margin: 10px 0 0; max-width: 620px; }
.section-link { color: var(--text-2); font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; transition: color .2s; }
.section-link:hover { color: var(--accent); }

/* 顶部导航 */
.site-header {
  position: sticky; top: 0; z-index: 80; height: var(--header-h);
  background: rgba(10, 11, 16, 0.82); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 6px 20px rgba(255,59,92,.32);
  font-weight: 900; font-size: 17px; color: #fff; letter-spacing: -1px;
}
.brand-name { font-weight: 800; font-size: 18px; letter-spacing: -0.02em; white-space: nowrap; }
.brand-name span { color: var(--accent); }
.main-nav { display: flex; align-items: center; gap: 4px; margin-left: 12px; }
.main-nav a {
  padding: 9px 14px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--text-2);
  transition: background .2s, color .2s; white-space: nowrap;
}
.main-nav a:hover { color: #fff; background: var(--surface-2); }
.main-nav a.active { color: #fff; background: var(--surface-2); box-shadow: inset 0 -2px 0 var(--accent); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.search-box { position: relative; display: flex; align-items: center; }
.search-box input {
  width: 188px; height: 40px; padding: 0 38px 0 14px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); color: var(--text); outline: none;
  transition: border-color .2s, width .2s;
}
.search-box input::placeholder { color: var(--muted); }
.search-box input:focus { border-color: var(--accent); width: 220px; }
.search-box button {
  position: absolute; right: 5px; width: 30px; height: 30px; border: 0; background: transparent;
  color: var(--muted); border-radius: 50%; display: grid; place-items: center;
}
.search-box button:hover { color: var(--accent); background: var(--surface-2); }
.icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.nav-toggle { display: none; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--text); align-items: center; justify-content: center; }

/* 按钮 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 44px; padding: 0 20px; border-radius: 12px; border: 1px solid transparent;
  font-weight: 700; font-size: 14px; transition: transform .2s, box-shadow .2s, background .2s, border-color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--accent), #ff6a4d); color: #fff; box-shadow: 0 10px 26px rgba(255,59,92,.28); }
.btn-primary:hover { box-shadow: 0 14px 32px rgba(255,59,92,.42); }
.btn-ghost { background: var(--surface-2); color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 13px; border-radius: 9px; }
.btn-lg { min-height: 52px; padding: 0 26px; font-size: 15px; border-radius: 14px; }
.btn-block { width: 100%; }
.btn-icon { width: 44px; height: 44px; padding: 0; border-radius: 12px; }

/* 徽标与标签 */
.badge {
  display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 7px;
  font-size: 11px; font-weight: 800; letter-spacing: .04em; background: var(--surface-3); color: var(--text-2);
}
.badge--hot { background: rgba(255,59,92,.16); color: #ff6b83; }
.badge--new { background: rgba(56,211,159,.14); color: var(--green); }
.badge--ai { background: rgba(139,108,255,.18); color: #b6a4ff; }
.badge--video { background: rgba(255,138,61,.16); color: #ffac70; }
.tag { font-size: 12px; color: var(--muted); }
.dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .6; }

/* Hero */
.hero { padding: 72px 0 40px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 54px; align-items: center; }
.hero-kicker { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(255,59,92,.32); background: rgba(255,59,92,.08); color: #ff7d92; font-size: 12px; font-weight: 700; margin-bottom: 22px; }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(255,59,92,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255,59,92,0); } 100% { box-shadow: 0 0 0 0 rgba(255,59,92,0); } }
.hero-title { font-size: clamp(38px, 5.4vw, 68px); line-height: 1.08; letter-spacing: -0.045em; margin: 0 0 20px; font-weight: 900; }
@media (min-width: 901px) { .hero-title .gradient-text { font-size: .76em; white-space: nowrap; } }
.gradient-text { background: linear-gradient(100deg, #fff 10%, #ff7b7b 48%, var(--accent-2) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-desc { color: var(--text-2); font-size: 17px; max-width: 540px; margin: 0 0 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-stats { display: flex; gap: 34px; margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); }
.stat-num { font-size: 26px; font-weight: 900; line-height: 1; letter-spacing: -0.03em; }
.stat-label { font-size: 12px; color: var(--muted); margin-top: 7px; }
.hero-visual { position: relative; padding: 18px; }
.hero-visual::before { content: ""; position: absolute; inset: 8% 4% 4% 10%; background: linear-gradient(135deg, var(--accent), var(--accent-3)); filter: blur(60px); opacity: .32; border-radius: 30px; }
.hero-image { position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: 4/3.4; border: 1px solid var(--line-strong); box-shadow: var(--shadow); }
.hero-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 36%, rgba(10,11,16,.92) 100%); }
.hero-caption { position: absolute; left: 26px; right: 26px; bottom: 24px; z-index: 2; }
.hero-caption h2 { font-size: 21px; margin: 10px 0 8px; line-height: 1.35; }
.hero-caption p { margin: 0; color: var(--text-2); font-size: 13px; }
.float-card {
  position: absolute; z-index: 3; right: -10px; top: 42px; background: rgba(20,22,31,.92);
  backdrop-filter: blur(12px); border: 1px solid var(--line-strong); border-radius: 14px; padding: 12px 16px;
  box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px;
}
.float-card .live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.float-card strong { display: block; font-size: 18px; line-height: 1.2; }
.float-card span { font-size: 11px; color: var(--muted); }

/* 滚动快讯 */
.ticker { border-block: 1px solid var(--line); background: rgba(20,22,31,.55); overflow: hidden; }
.ticker-inner { display: flex; align-items: center; height: 50px; }
.ticker-label { flex: none; display: flex; align-items: center; gap: 8px; padding-right: 22px; margin-right: 22px; border-right: 1px solid var(--line); color: var(--accent); font-weight: 800; font-size: 13px; white-space: nowrap; }
.ticker-viewport { overflow: hidden; flex: 1; }
.ticker-track { display: flex; gap: 42px; width: max-content; animation: ticker 38s linear infinite; }
.ticker-viewport:hover .ticker-track { animation-play-state: paused; }
.ticker-track a { font-size: 13px; color: var(--text-2); white-space: nowrap; transition: color .2s; }
.ticker-track a:hover { color: var(--accent); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* 分类筛选 */
.chips { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.chip {
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
  color: var(--text-2); font-size: 13px; font-weight: 600; transition: all .2s;
}
.chip:hover { border-color: var(--line-strong); color: #fff; }
.chip.active { background: linear-gradient(135deg, rgba(255,59,92,.22), rgba(255,138,61,.14)); border-color: rgba(255,59,92,.5); color: #fff; }

/* Masonry 瀑布流 */
.masonry { column-count: 4; column-gap: 18px; }
.masonry--3 { column-count: 3; }
.masonry > * { break-inside: avoid; margin-bottom: 18px; display: inline-block; width: 100%; }
.card {
  position: relative; display: block; overflow: hidden; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); transition: transform .25s, border-color .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-5px); border-color: rgba(255,59,92,.42); box-shadow: 0 20px 44px rgba(0,0,0,.42); }
.card-media { position: relative; overflow: hidden; background: var(--surface-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-media img { transform: scale(1.055); }
.card-media::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(180deg, transparent, rgba(10,11,16,.82)); pointer-events: none; }
.ratio-tall { aspect-ratio: 3/4.2; }
.ratio-portrait { aspect-ratio: 3/3.8; }
.ratio-square { aspect-ratio: 1/1; }
.ratio-wide { aspect-ratio: 4/3; }
.ratio-short { aspect-ratio: 4/2.7; }
.card-badges { position: absolute; z-index: 2; top: 12px; left: 12px; right: 12px; display: flex; justify-content: space-between; gap: 8px; }
.card-body { padding: 15px 17px 17px; position: relative; }
.card-body.has-overlay { margin-top: -52px; padding-top: 0; z-index: 2; }
.card-title { font-size: 15px; line-height: 1.5; font-weight: 700; margin: 0 0 10px; }
.card-title.clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-title.clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--muted); flex-wrap: wrap; }
.card--feature { border-color: rgba(255,59,92,.35); box-shadow: 0 0 0 1px rgba(255,59,92,.08) inset; }
.card--text { padding: 20px; background: linear-gradient(150deg, var(--surface-2), var(--surface)); }
.card--text .quote { font-size: 26px; color: var(--accent); line-height: 1; font-weight: 900; margin-bottom: 10px; }
.play-btn {
  position: absolute; z-index: 3; inset: 0; margin: auto; width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255,59,92,.9); color: #fff; border: 0;
  box-shadow: 0 8px 24px rgba(255,59,92,.4); transition: transform .2s;
}
.play-btn:hover { transform: scale(1.1); }
.duration { position: absolute; z-index: 2; right: 12px; bottom: 12px; padding: 3px 7px; border-radius: 6px; background: rgba(0,0,0,.7); font-size: 11px; font-weight: 700; }
.masonry-empty { text-align: center; color: var(--muted); padding: 40px 0; display: none; }

/* 热搜榜 */
.hot-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, .8fr); gap: 28px; align-items: start; }
.rank-list { display: grid; gap: 8px; }
.rank-item {
  display: grid; grid-template-columns: 42px 1fr auto; gap: 14px; align-items: center;
  padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line);
  transition: border-color .2s, transform .2s;
}
.rank-item:hover { border-color: rgba(255,59,92,.4); transform: translateX(4px); }
.rank-num { font-size: 24px; font-weight: 900; font-style: italic; color: var(--surface-3); letter-spacing: -.05em; }
.rank-item:nth-child(1) .rank-num { color: var(--accent); }
.rank-item:nth-child(2) .rank-num { color: var(--accent-2); }
.rank-item:nth-child(3) .rank-num { color: var(--accent-3); }
.rank-title { font-weight: 700; font-size: 14px; line-height: 1.4; }
.rank-sub { font-size: 11px; color: var(--muted); margin-top: 3px; }
.rank-heat { font-size: 12px; color: var(--accent-2); font-weight: 700; white-space: nowrap; }
.side-panel { background: linear-gradient(160deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.side-panel h3 { margin: 0 0 18px; font-size: 18px; }
.side-list { display: grid; gap: 14px; }
.side-row { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--text-2); }
.side-row .dot-mark { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }

/* 时间轴 */
.timeline { position: relative; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(180deg, var(--accent), var(--accent-3), transparent); }
.timeline-item { position: relative; padding-bottom: 28px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before { content: ""; position: absolute; left: -27px; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 3px solid var(--accent); }
.timeline-date { font-size: 12px; color: var(--accent-2); font-weight: 700; }
.timeline-title { font-size: 16px; font-weight: 700; margin: 4px 0 6px; }
.timeline-desc { color: var(--muted); font-size: 13px; margin: 0; }

/* 推广横幅 */
.promo {
  position: relative; overflow: hidden; border-radius: 24px; padding: 48px;
  background: linear-gradient(120deg, rgba(255,59,92,.16), rgba(139,108,255,.14) 55%, rgba(255,138,61,.1));
  border: 1px solid rgba(255,59,92,.24); display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center;
}
.promo::after { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; background: var(--accent); filter: blur(130px); opacity: .12; right: -80px; top: -160px; }
.promo h2 { font-size: clamp(24px, 3vw, 36px); margin: 0 0 12px; line-height: 1.25; }
.promo p { color: var(--text-2); margin: 0 0 24px; max-width: 560px; }
.promo-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.promo-visual { width: 240px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line-strong); transform: rotate(3deg); box-shadow: var(--shadow); }
.promo-visual img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* 视频播放器 */
.player {
  position: relative; border-radius: 22px; overflow: hidden; background: #000; border: 1px solid var(--line-strong);
  aspect-ratio: 16/8.4; box-shadow: var(--shadow);
}
.player img { width: 100%; height: 100%; object-fit: cover; opacity: .78; }
.player::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.1), rgba(0,0,0,.78)); pointer-events: none; }
.player-center { position: absolute; z-index: 4; inset: 0; display: grid; place-items: center; }
.player-center button {
  width: 76px; height: 76px; border-radius: 50%; border: 2px solid rgba(255,255,255,.8);
  background: rgba(255,59,92,.9); color: #fff; display: grid; place-items: center; transition: transform .2s;
}
.player-center button:hover { transform: scale(1.08); }
.player-info { position: absolute; z-index: 4; left: 24px; right: 24px; bottom: 22px; }
.player-info h1 { font-size: clamp(20px, 2.6vw, 30px); margin: 0 0 8px; line-height: 1.3; }
.player-info .card-meta { color: rgba(255,255,255,.72); }
.player-controls { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
.progress { flex: 1; height: 5px; border-radius: 9px; background: var(--surface-3); overflow: hidden; cursor: pointer; }
.progress-bar { height: 100%; width: 12%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); border-radius: 9px; transition: width .15s linear; }
.time { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.player-tools { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.danmaku { position: absolute; z-index: 5; inset: 14% 0 auto 0; height: 120px; overflow: hidden; pointer-events: none; white-space: nowrap; font-size: 14px; font-weight: 700; color: #fff; text-shadow: 0 2px 6px #000; }
@keyframes danmaku { from { transform: translateX(100vw); } to { transform: translateX(-110%); } }
.chat-list { display: grid; gap: 14px; max-height: 340px; overflow-y: auto; padding-right: 6px; }
.chat-item { display: flex; gap: 12px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; flex: none; display: grid; place-items: center; font-weight: 800; font-size: 12px; background: linear-gradient(135deg, var(--accent), var(--accent-3)); }
.chat-item p { margin: 0; font-size: 13px; color: var(--text-2); }
.chat-item strong { color: var(--text); font-size: 12px; }

/* 表单与发布工具 */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label { font-size: 13px; font-weight: 700; color: var(--text-2); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 11px; border: 1px solid var(--line);
  background: var(--bg-soft); color: var(--text); outline: none; transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }
.field textarea { min-height: 110px; resize: vertical; }
.upload-zone {
  border: 2px dashed var(--line-strong); border-radius: 16px; padding: 38px 20px; text-align: center;
  background: rgba(255,255,255,.02); transition: border-color .2s, background .2s; cursor: pointer;
}
.upload-zone:hover, .upload-zone.dragover { border-color: var(--accent); background: rgba(255,59,92,.06); }
.upload-zone strong { display: block; margin: 12px 0 4px; }
.upload-zone span { font-size: 12px; color: var(--muted); }
.upload-preview { margin-top: 16px; display: none; gap: 12px; align-items: center; padding: 12px; border-radius: 12px; background: var(--surface-2); }
.upload-preview img { width: 76px; height: 60px; object-fit: cover; border-radius: 8px; }
.upload-preview p { margin: 0; font-size: 12px; color: var(--muted); word-break: break-all; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; }
.step-num { font-size: 12px; font-weight: 900; color: var(--accent); letter-spacing: .1em; }
.step h3 { margin: 10px 0 8px; font-size: 17px; }
.step p { margin: 0; color: var(--muted); font-size: 13px; }
.gen-progress { display: none; margin-top: 18px; }
.gen-progress .bar { height: 6px; border-radius: 9px; background: var(--surface-3); overflow: hidden; }
.gen-progress .bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: width .3s; }
.gen-result { display: none; margin-top: 20px; padding: 18px; border-radius: 14px; background: linear-gradient(135deg, rgba(139,108,255,.14), rgba(255,59,92,.1)); border: 1px solid rgba(139,108,255,.3); }
.gen-result img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 10px; margin-bottom: 12px; }
.gen-result h4 { margin: 0 0 6px; font-size: 16px; }

/* 下载页 */
.download-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.phone-mock {
  width: 280px; margin: 0 auto; padding: 12px; border-radius: 40px;
  background: linear-gradient(160deg, #353947, #12141c); border: 1px solid var(--line-strong);
  box-shadow: 0 30px 70px rgba(0,0,0,.6), 0 0 90px rgba(255,59,92,.12); position: relative;
}
.phone-mock::before { content: ""; position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 74px; height: 20px; border-radius: 999px; background: #05060a; z-index: 2; }
.phone-screen { border-radius: 30px; overflow: hidden; background: var(--bg); }
.phone-screen img { width: 100%; aspect-ratio: 9/17; object-fit: cover; }
.qr-box { background: #fff; padding: 12px; border-radius: 14px; display: inline-block; }
.qr-box img { width: 132px; height: 132px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.feature .feature-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,59,92,.12); color: var(--accent); margin-bottom: 16px; }
.feature h3 { margin: 0 0 8px; font-size: 16px; }
.feature p { margin: 0; color: var(--muted); font-size: 13px; }
.accordion { display: grid; gap: 10px; max-width: 820px; margin-inline: auto; }
.acc-item { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.acc-head { width: 100%; text-align: left; padding: 17px 20px; background: transparent; border: 0; color: var(--text); font-weight: 700; display: flex; justify-content: space-between; gap: 12px; }
.acc-head span:last-child { color: var(--accent); font-size: 18px; line-height: 1; }
.acc-body { display: none; padding: 0 20px 18px; color: var(--muted); font-size: 13px; }
.acc-item.open .acc-body { display: block; }
.acc-item.open .acc-head span:last-child { transform: rotate(45deg); }

/* 页脚 */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-soft); padding: 56px 0 28px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.footer-about p { color: var(--muted); font-size: 13px; margin: 16px 0 0; max-width: 320px; }
.footer-col h4 { font-size: 14px; margin: 0 0 16px; }
.footer-col a { display: block; color: var(--muted); font-size: 13px; margin-bottom: 10px; transition: color .2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; color: var(--muted); font-size: 12px; }
.keyword-links { display: flex; flex-wrap: wrap; gap: 12px; }
.keyword-links a { color: var(--muted); font-size: 12px; border-bottom: 1px dotted var(--line-strong); }
.keyword-links a:hover { color: var(--accent); }

/* 弹窗与提示 */
.modal { position: fixed; inset: 0; z-index: 120; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(4,5,9,.78); backdrop-filter: blur(8px); }
.modal.open { display: flex; }
.modal-card { width: min(100%, 460px); max-height: min(88vh, 780px); overflow-y: auto; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 20px; padding: 28px; box-shadow: var(--shadow); position: relative; }
.modal-card--wide { width: min(100%, 720px); }
.modal-close { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--line); background: var(--surface-2); color: var(--text); display: grid; place-items: center; }
.modal-tabs { display: flex; gap: 8px; margin-bottom: 22px; }
.modal-tabs button { flex: 1; padding: 10px; border-radius: 10px; border: 1px solid var(--line); background: transparent; color: var(--muted); font-weight: 700; }
.modal-tabs button.active { background: var(--surface-2); color: #fff; border-color: rgba(255,59,92,.45); }
.modal-article img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 14px; margin-bottom: 18px; }
.modal-article h2 { font-size: 24px; margin: 0 0 10px; }
.modal-article p { color: var(--text-2); font-size: 14px; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: var(--surface-3); color: #fff; border: 1px solid var(--line-strong); padding: 12px 20px; border-radius: 12px; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; z-index: 200; font-size: 14px; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.to-top { position: fixed; right: 22px; bottom: 22px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--surface-2); color: var(--text); display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 70; }
.to-top.show { opacity: 1; pointer-events: auto; }

/* 响应式 */
@media (max-width: 1100px) {
  .masonry { column-count: 3; }
  .main-nav a { padding: 8px 10px; font-size: 13px; }
  .search-box input { width: 150px; }
  .hero-grid { gap: 30px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .header-inner { gap: 12px; }
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; display: none; flex-direction: column; align-items: stretch;
    background: rgba(14,16,23,.98); border-bottom: 1px solid var(--line); padding: 12px 20px 20px; margin: 0;
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 14px; font-size: 15px; }
  .search-box { display: none; }
  .hero { padding-top: 44px; }
  .hero-grid, .hot-layout, .download-grid, .promo { grid-template-columns: 1fr; }
  .hero-visual { order: -1; padding: 0; }
  .hero-image { aspect-ratio: 16/10; }
  .float-card { top: 12px; bottom: auto; right: 12px; padding: 8px 12px; }
  .promo-visual { display: none; }
  .phone-wrap { order: -1; }
  .steps, .feature-grid { grid-template-columns: 1fr; }
  .section { padding: 62px 0; }
}
@media (max-width: 680px) {
  .container { width: min(100% - 28px, var(--max)); }
  .masonry, .masonry--3 { column-count: 2; column-gap: 12px; }
  .masonry > * { margin-bottom: 12px; }
  .card-body { padding: 12px 13px 14px; }
  .card-title { font-size: 13px; }
  .card-badges { top: 9px; left: 9px; right: 9px; }
  .badge { font-size: 10px; padding: 3px 7px; }
  .hero-stats { gap: 20px; }
  .stat-num { font-size: 22px; }
  .hero-title { font-size: 38px; }
  .hero-desc { font-size: 15px; }
  .section-head { align-items: start; flex-direction: column; gap: 12px; }
  .promo { padding: 30px 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .player { aspect-ratio: 16/11; }
  .player-center button { width: 60px; height: 60px; }
  .ticker-label { padding-right: 12px; margin-right: 12px; }
  .header-actions .btn-primary { display: none; }
}
@media (max-width: 420px) {
  .masonry, .masonry--3 { column-count: 1; }
  .brand-name { font-size: 16px; }
  .hero-stats { gap: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* 减少动画偏好 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
