/* 榜一模拟器厂商站样式：舞台黑夜、品红标、中英日同一套版面 */
:root {
  --bg: #07060c;
  --ink: #f6f1ea;
  --muted: #b3a8bc;
  --line: rgba(246, 241, 234, 0.14);
  --pink: #ff3db5;
  --pink-2: #ffd0ea;
  --wide: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.65 "Segoe UI", "PingFang SC", "Hiragino Sans", "Yu Gothic UI", "Microsoft YaHei", "Noto Sans JP", sans-serif;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input { font: inherit; }
::selection { background: var(--pink); color: #1a0410; }

.nav {
  position: fixed;
  z-index: 20;
  inset: 0 0 auto 0;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 18px 5vw;
  background: rgba(7, 6, 12, 0.88);
  backdrop-filter: blur(10px);
}
.brand {
  font-weight: 750;
  letter-spacing: 0.16em;
  text-decoration: none;
  font-size: 13px;
}
.nav-links { display: flex; gap: 18px; }
.nav-links a {
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.nav-links a:hover { color: var(--ink); }
.spacer { flex: 1; }
.lang { display: flex; gap: 4px; }
.lang button {
  background: transparent;
  color: var(--muted);
  border: 0;
  padding: 4px 8px;
  cursor: pointer;
  letter-spacing: 0.08em;
}
.lang button[aria-pressed="true"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--pink); }

.hero {
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 120px 5vw 72px;
  background:
    linear-gradient(90deg, rgba(7, 6, 12, 0.88) 0%, rgba(7, 6, 12, 0.55) 42%, rgba(7, 6, 12, 0.12) 70%),
    linear-gradient(180deg, rgba(7, 6, 12, 0.15) 0%, #07060c 96%),
    url("img/hero.jpg") center 28% / cover no-repeat;
}
.hero-copy { max-width: 640px; }
.kicker {
  margin: 0 0 12px;
  letter-spacing: 0.22em;
  font-size: 12px;
  color: var(--pink-2);
}
.logo { width: min(380px, 72vw); height: auto; margin: 0 0 18px; }
.lead { margin: 0; white-space: pre-line; color: #efe8f2; font-size: 17px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  background: var(--pink);
  color: #1a0410;
  font-weight: 750;
  letter-spacing: 0.06em;
  padding: 12px 20px;
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
}
.btn.ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(246, 241, 234, 0.45);
}

.wrap { width: min(var(--wide), calc(100% - 10vw)); margin: 0 auto; }
section { padding: 84px 0; }
.idx {
  margin: 0;
  font-family: Bahnschrift, "Segoe UI", sans-serif;
  letter-spacing: 0.18em;
  color: var(--pink);
  font-size: 13px;
}
h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.15; margin: 8px 0 12px; font-weight: 750; }
.deck { margin: 0; color: var(--muted); max-width: 46em; white-space: pre-line; }

.play { border-top: 1px solid var(--line); }
.blocks { margin-top: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.blocks article {
  padding: 22px 22px 8px;
  background: #100e16;
  border: 1px solid var(--line);
}
.blocks h3 { margin: 0 0 8px; font-size: 22px; }
.blocks p { margin: 0 0 16px; color: #ddd4e4; white-space: pre-line; }

.stats {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.stats li { padding: 18px 12px 0 0; }
.stats b { display: block; font-size: 28px; font-weight: 750; }
.stats span { color: var(--muted); font-size: 14px; }

.forwho { margin: 28px 0 0; padding: 0; list-style: none; color: var(--muted); }
.forwho li { padding: 4px 0; }
.closer { margin: 18px 0 0; font-size: 20px; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0; }
.filters button {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 6px 12px;
  cursor: pointer;
}
.filters button[aria-pressed="true"] { color: #1a0410; background: var(--pink); border-color: var(--pink); }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 22px 14px;
}
.card {
  appearance: none;
  background: transparent;
  border: 0;
  color: inherit;
  text-align: left;
  padding: 0;
  cursor: pointer;
}
.card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  background: #16131e;
}
.card:hover img { outline: 2px solid var(--pink); outline-offset: 4px; }
.card strong { display: block; margin-top: 10px; }
.card em { display: block; font-style: normal; color: var(--muted); font-size: 13px; }

.promo-row { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.out {
  display: block;
  text-decoration: none;
  padding: 22px;
  background: #100e16;
  border: 1px solid var(--line);
}
.out:hover { border-color: var(--pink); }
.out small { letter-spacing: 0.14em; color: var(--pink-2); }
.out b { display: block; margin-top: 8px; font-size: 22px; }
.videos { margin-top: 22px; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.videos video { width: 100%; background: #000; }
.videos figcaption { color: var(--muted); font-size: 14px; margin-top: 6px; }
.empty { color: var(--muted); }

.about p { white-space: pre-line; color: #ddd4e4; max-width: 46em; }

footer {
  border-top: 1px solid var(--line);
  padding: 28px 5vw 48px;
  color: var(--muted);
  font-size: 13px;
}
footer p { margin: 0 0 8px; max-width: 70em; }

dialog {
  width: min(920px, calc(100vw - 24px));
  padding: 0;
  border: 1px solid rgba(255, 61, 181, 0.45);
  background: #100e16;
  color: var(--ink);
}
dialog::backdrop { background: rgba(0, 0, 0, 0.72); }
.sheet { display: grid; grid-template-columns: minmax(220px, 320px) 1fr; }
.sheet img { width: 100%; height: 72vh; object-fit: cover; object-position: center 12%; background: #07060c; }
.sheet-body { padding: 28px 28px 32px; position: relative; }
.sheet-body .x {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent;
  color: var(--ink);
  border: 0;
  font-size: 22px;
  cursor: pointer;
}
.meta { color: var(--muted); margin: 0 0 12px; }
.quote { color: var(--pink-2); }

@media (max-width: 800px) {
  .nav-links { display: none; }
  .blocks, .stats, .promo-row, .sheet { grid-template-columns: 1fr; }
  .sheet img { max-height: 46vh; }
  section { padding: 64px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
