:root {
  --bg: #0b1410;
  --bg-soft: #102019;
  --felt: #13392a;
  --felt-deep: #0d2a1f;
  --text: #ecf2ee;
  --muted: #a7b8ae;
  --gold: #e3b85c;
  --gold-deep: #b98a2e;
  --red: #d8454f;
  --line: rgba(236, 242, 238, 0.12);
  --card: #fbfaf6;
  --card-ink: #1b1b1b;
  --radius: 14px;
  --maxw: 1080px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 var(--font);
}
img, svg { max-width: 100%; }
a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: #f3cf80; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }

/* Chinese pages: CJK has no Fraunces glyphs, so headings use the bold sans stack. */
:lang(zh) { --display: var(--font); }
:lang(zh) body { line-height: 1.8; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(11, 20, 16, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; letter-spacing: 0.02em; }
.brand:hover { color: var(--text); }
.brand-mark { width: 30px; height: 30px; }
.nav { margin-left: auto; display: flex; gap: 4px; flex-wrap: wrap; }
.nav a {
  color: var(--muted); text-decoration: none; font-size: 15px;
  padding: 6px 10px; border-radius: 8px;
}
.nav a.lang { border: 1px solid var(--line); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: rgba(255,255,255,0.06); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font-weight: 700; text-decoration: none;
  background: linear-gradient(180deg, var(--gold), var(--gold-deep)); color: #1c1407;
  box-shadow: 0 6px 20px rgba(227, 184, 92, 0.25);
}
.btn:hover { color: #1c1407; filter: brightness(1.06); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); box-shadow: none; }
.btn-ghost:hover { color: var(--text); background: rgba(255,255,255,0.06); }

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(227,184,92,0.14), transparent 60%),
    radial-gradient(ellipse 120% 90% at 50% 120%, var(--felt), var(--felt-deep) 55%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.eyebrow { color: var(--gold); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; font-size: 13px; margin: 0 0 12px; }
.hero h1 { font-family: var(--display); font-size: clamp(38px, 6vw, 64px); line-height: 1.05; margin: 0 0 18px; font-weight: 700; }
.hero h1 em { color: var(--gold); font-style: normal; }
.hero p.lead { font-size: 19px; color: var(--muted); margin: 0 0 28px; max-width: 34em; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.fineprint { color: var(--muted); font-size: 13px; margin-top: 18px; }

.fan { position: relative; height: 300px; }
.pcard {
  position: absolute; width: 132px; height: 186px; border-radius: 12px;
  background: var(--card); color: var(--card-ink);
  box-shadow: 0 14px 34px rgba(0,0,0,0.45);
  display: flex; flex-direction: column; justify-content: space-between; padding: 10px 12px;
  font-family: var(--display); font-weight: 700;
}
.pcard .rk { font-size: 30px; line-height: 1; }
.pcard .st { font-size: 54px; line-height: 1; align-self: center; }
.pcard .rk.b { align-self: flex-end; transform: rotate(180deg); }
.pcard.red { color: #c3242f; }
.fan .c1 { left: 8%;  top: 50px; transform: rotate(-14deg); }
.fan .c2 { left: 32%; top: 22px; transform: rotate(-2deg); }
.fan .c3 { left: 56%; top: 48px; transform: rotate(12deg); }
.trump-tag {
  position: absolute; right: 2%; bottom: 6px;
  background: var(--red); color: #fff; font-weight: 800; font-size: 13px; letter-spacing: 0.12em;
  padding: 6px 12px; border-radius: 999px; text-transform: uppercase;
}

/* ---------- sections ---------- */
section { padding: 64px 0; }
section + section { border-top: 1px solid var(--line); }
h2 { font-family: var(--display); font-size: clamp(28px, 4vw, 38px); line-height: 1.15; margin: 0 0 14px; }
h3 { font-size: 19px; margin: 0 0 8px; }
.section-lead { color: var(--muted); max-width: 44em; margin: 0 0 32px; font-size: 17px; }

.grid { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.tile {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px;
}
.tile p { margin: 0; color: var(--muted); }
.tile .num { color: var(--gold); font-family: var(--display); font-size: 28px; font-weight: 700; display: block; margin-bottom: 6px; }

.streets { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; counter-reset: st; }
.street {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 14px; text-align: center;
}
.street b { display: block; font-size: 16px; }
.street span { color: var(--muted); font-size: 14px; }
.street .dots { display: flex; justify-content: center; gap: 4px; margin: 10px 0 8px; min-height: 26px; }
.street .dots i { width: 18px; height: 26px; border-radius: 4px; background: var(--card); display: block; }
.street .dots i.new { background: var(--gold); }
.street.trump { border-color: rgba(216,69,79,0.6); }
.street.trump .dots i.new { background: var(--red); }

.banner {
  background: linear-gradient(135deg, var(--felt), var(--felt-deep));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; display: flex; align-items: center; gap: 20px; justify-content: space-between; flex-wrap: wrap;
}
.banner h2 { margin: 0 0 6px; }
.banner p { margin: 0; color: var(--muted); }

/* ---------- long-form pages ---------- */
.page-head { padding: 56px 0 24px; border-bottom: 1px solid var(--line); background: radial-gradient(ellipse 90% 100% at 50% 0%, rgba(19,57,42,0.7), transparent 70%); }
.page-head h1 { font-family: var(--display); font-size: clamp(32px, 5vw, 48px); margin: 0 0 8px; line-height: 1.1; }
.page-head p { color: var(--muted); margin: 0; }

.doc { padding: 40px 0 72px; }
.doc .wrap { max-width: 780px; }
.doc h2 { font-size: 26px; margin: 40px 0 12px; scroll-margin-top: 80px; }
.doc h3 { margin: 24px 0 8px; scroll-margin-top: 80px; }
.doc p, .doc li { color: #d6e0da; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin: 4px 0; }
.toc { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 8px; }
.toc b { display: block; margin-bottom: 6px; }
.toc ol { margin: 0; }
.note {
  border-left: 3px solid var(--gold); background: rgba(227,184,92,0.08);
  padding: 12px 16px; border-radius: 0 10px 10px 0; margin: 18px 0;
}
.note p { margin: 0; }
.placeholder { background: rgba(216,69,79,0.18); color: #ffd7da; padding: 0 4px; border-radius: 4px; font-weight: 600; }

.table-scroll { overflow-x: auto; margin: 16px 0; border: 1px solid var(--line); border-radius: 12px; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--bg-soft); color: var(--text); font-weight: 700; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td.rank { color: var(--gold); font-weight: 700; width: 3em; }
.cards { font-family: var(--display); white-space: nowrap; }
.cards .r { color: #ff7a82; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 40px; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; gap: 24px; justify-content: space-between; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 48px; }
  .fan { height: 240px; max-width: 380px; }
  .pcard { width: 108px; height: 152px; }
  .pcard .st { font-size: 44px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .streets { grid-template-columns: repeat(2, 1fr); }
  .streets .street.trump { grid-column: span 2; }
}
@media (max-width: 520px) {
  .nav { margin-left: 0; width: 100%; }
  .site-header .wrap { padding-top: 8px; padding-bottom: 8px; }
}
