/* ============================================================================
 * MU FPT SEASON 2 — CLEAN HUMAN-DEV DARK FANTASY PORTAL (mu-fpt.buzz)
 * Restrained architectural hairline framing · Crisp beveled metallic buttons
 * Unified Vietnamese Typography: Alegreya (Display) + Be Vietnam Pro (UI/Body)
 * ZERO fake 9-slice rivet borders · ZERO clip-path polygons · ZERO Emoji
 * ============================================================================ */

:root {
  --bg: #0b0908;
  --bg-alt: #100d0c;
  --surface: #151110;
  --surface-hi: #1c1614;

  --line: rgba(214, 178, 118, 0.16);
  --line-strong: rgba(214, 178, 118, 0.34);
  --line-crimson: rgba(196, 52, 46, 0.42);

  --text: #ece5d8;
  --text-muted: #a99d8d;
  --text-dim: #796e60;

  --gold-hi: #f5dfb0;
  --gold: #d4a857;
  --gold-lo: #8d6628;

  --crimson: #a81c20;
  --crimson-hi: #d6453a;
  --crimson-soft: rgba(168, 28, 32, 0.14);

  --f-serif: 'Alegreya', Georgia, serif;
  --f-sans: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 68px; overflow-x: clip; }

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  font: 14.5px/1.65 var(--f-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

a { color: inherit; text-decoration: none; }
button { cursor: pointer; font: inherit; color: inherit; background: none; border: 0; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ul, dl, dd { margin: 0; }
p { color: var(--text-muted); }
[hidden] { display: none !important; }

code {
  padding: 2px 6px;
  background: #1d1714;
  border: 1px solid var(--line-strong);
  color: var(--gold-hi);
  font-size: 0.88em;
  border-radius: 2px;
}

svg.ic {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ============================================================================
 * CLEAN SHARP HUMAN-DEV GAME BUTTONS (NO clip-path, NO blurry border-image)
 * ============================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 46px;
  padding: 0 24px;
  border-radius: 2px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.16s ease, border-color 0.16s ease, filter 0.16s ease, transform 0.1s ease;
}

.btn:active { transform: translateY(1px); }

/* Primary Crimson-Gold MU Action Button (Webzen / Diablo IV style) */
.btn-primary {
  background: linear-gradient(180deg, #a61e22 0%, #781215 100%);
  border: 1px solid #d4a14c;
  box-shadow:
    inset 0 1px 0 rgba(255, 224, 168, 0.35),
    inset 0 -1px 0 rgba(0, 0, 0, 0.45),
    0 6px 20px rgba(0, 0, 0, 0.55);
  color: #fff6e5;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.75);
}

.btn-primary:hover {
  background: linear-gradient(180deg, #bc2428 0%, #8a161a 100%);
  border-color: #f0ca7d;
}

/* Burnished Gold Accent Button */
.btn-gold {
  background: linear-gradient(180deg, #cfa048 0%, #9b6c20 100%);
  border: 1px solid #f0d08a;
  box-shadow:
    inset 0 1px 0 rgba(255, 245, 212, 0.50),
    0 6px 20px rgba(0, 0, 0, 0.55);
  color: #160c03;
}

.btn-gold:hover {
  filter: brightness(1.08);
}

/* Restrained Dark Forged Steel Secondary Button */
.btn-steel {
  background: linear-gradient(180deg, #211b18 0%, #151110 100%);
  border: 1px solid rgba(212, 168, 87, 0.38);
  box-shadow: inset 0 1px 0 rgba(255, 232, 185, 0.10);
  color: var(--gold-hi);
}

.btn-steel:hover {
  background: linear-gradient(180deg, #2b221e 0%, #1b1513 100%);
  border-color: var(--gold);
}

.btn-lg { height: 52px; padding: 0 30px; font-size: 14px; letter-spacing: 0.9px; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 12.5px; letter-spacing: 0.5px; }
.btn-full { width: 100%; }

/* ============================================================================
 * TOP NAVIGATION BAR (SOBER, CLEAN, AUTHORITATIVE)
 * ============================================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 9, 8, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-in {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand img { height: 42px; width: auto; }
.brand-txt strong {
  display: block;
  font-family: var(--f-serif);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: var(--gold-hi);
  line-height: 1.1;
}
.brand-txt span {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.9px;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-top: 2px;
}

.main-nav { display: flex; align-items: center; gap: 2px; flex-shrink: 0; }
.main-nav a {
  padding: 8px 11px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.35px;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--text-muted);
  transition: color 0.15s ease;
}
.main-nav a:hover, .main-nav a.is-active { color: var(--gold-hi); }

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

.mob-btn {
  display: none;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  color: var(--gold-hi);
}

.mob-nav {
  display: flex;
  flex-direction: column;
  padding: 8px 24px 16px;
  background: #0e0b0a;
  border-top: 1px solid var(--line);
}
.mob-nav a {
  padding: 11px 0;
  font-size: 14px;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.mob-nav a:last-child { border-bottom: 0; color: var(--gold-hi); }

/* ============================================================================
 * SECTION 1: CINEMATIC FULL-BLEED HERO (CLEAN & UNCLUTTERED)
 * ============================================================================ */
.hero {
  position: relative;
  min-height: clamp(680px, calc(100vh - 64px), 860px);
  padding: 36px 0 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background: var(--bg);
}

.hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 9, 8, 0.32) 0%, rgba(11, 9, 8, 0.12) 38%, rgba(11, 9, 8, 0.78) 76%, var(--bg) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-main {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px 0 36px;
}

.hero-logo {
  width: min(420px, 82vw);
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.90));
}

.hero-title {
  margin-top: 8px;
  font-family: var(--f-serif);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  letter-spacing: 0.3px;
  color: var(--gold-hi);
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.95);
}

.hero-desc {
  margin-top: 10px;
  max-width: 660px;
  font-size: 15px;
  color: #dfd6c7;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95);
}
.hero-desc strong { color: #ffffff; font-weight: 700; }

.hero-actions {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-sublinks {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 13px;
  color: var(--text-muted);
}
.hero-sublinks a { border-bottom: 1px solid rgba(212, 168, 87, 0.35); padding-bottom: 1px; transition: color 0.15s ease; }
.hero-sublinks a:hover { color: var(--gold-hi); border-bottom-color: var(--gold-hi); }

/* CLEAN ARCHITECTURAL LAUNCH SCHEDULE BAR ANCHORED AT HERO BASE */
.launch-strip-wrap {
  position: relative;
  z-index: 3;
  background: rgba(14, 11, 10, 0.94);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
}

.launch-strip {
  display: grid;
  grid-template-columns: 1fr 1fr 1.15fr;
}

.launch-col {
  padding: 20px 24px;
  border-right: 1px solid var(--line);
}
.launch-col:first-child { padding-left: 0; }
.launch-col:last-child { border-right: 0; padding-right: 0; }

.launch-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
}
.launch-meta .st { color: var(--text-dim); font-weight: 600; }

.launch-val {
  margin-top: 6px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  font-variant-numeric: tabular-nums;
}
.launch-val strong { font-size: 24px; font-weight: 800; color: #ffffff; line-height: 1.1; }
.launch-val span { font-size: 15px; font-weight: 600; color: var(--gold-hi); }
.launch-col.is-beta .launch-meta { color: var(--crimson-hi); }

.launch-note { margin-top: 4px; font-size: 12.5px; color: var(--text-dim); }

/* Clean Tabular Countdown (NO clunky little nested boxes) */
.cd-row {
  margin-top: 6px;
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-variant-numeric: tabular-nums;
}
.cd-part strong { font-size: 26px; font-weight: 800; color: var(--gold-hi); line-height: 1; }
.cd-part small { margin-left: 4px; font-size: 11.5px; font-weight: 600; color: var(--text-dim); text-transform: uppercase; }

/* ============================================================================
 * EDITORIAL SECTION SYSTEM (CLEAN RHYTHM, ZERO AI BOX SPAM)
 * ============================================================================ */
.band {
  padding: 72px 0;
  border-bottom: 1px solid var(--line);
}
.band.is-alt { background: var(--bg-alt); }

.band-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.band-eyebrow {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.band-head h2 {
  font-family: var(--f-serif);
  font-size: clamp(26px, 2.8vw, 36px);
  font-weight: 800;
  line-height: 1.18;
  color: var(--gold-hi);
}

.band-head p {
  max-width: 460px;
  font-size: 14px;
  color: var(--text-muted);
}

/* SECTION 2: 4 BIG EDITORIAL METRIC COLUMNS + CLEAN CLASSIC MU SPEC LEDGER */
.pillars-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
  margin-bottom: 42px;
}

.pillar-col {
  padding: 26px 22px;
  border-right: 1px solid var(--line);
}
.pillar-col:first-child { padding-left: 0; }
.pillar-col:last-child { border-right: 0; padding-right: 0; }

.pillar-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--text-dim);
}

.pillar-col strong {
  display: block;
  margin-top: 8px;
  font-family: var(--f-serif);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
}
.pillar-col.is-crimson strong { color: #f5816e; }

.pillar-col p {
  margin-top: 6px;
  font-size: 13.5px;
  color: var(--text-muted);
}

/* Clean 2-Column Classic MU Server Info Ledger (NO tiny icon spam, NO nested boxes) */
.spec-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  gap: 44px;
  align-items: start;
}

.manifesto-copy h3 {
  font-family: var(--f-serif);
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
}

.manifesto-copy p {
  margin-top: 12px;
  font-size: 14.5px;
  line-height: 1.72;
}
.manifesto-copy p b { color: var(--text); }

.manifesto-note {
  margin-top: 20px;
  padding: 16px 18px;
  background: var(--crimson-soft);
  border-left: 2px solid var(--crimson-hi);
  font-size: 13.5px;
  color: #ebd6d0;
}
.manifesto-note strong { display: block; color: #ffaba0; font-size: 12px; letter-spacing: 0.9px; text-transform: uppercase; margin-bottom: 4px; }

.ledger-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--line-strong);
}

.ledger-table tr { border-bottom: 1px solid var(--line); }
.ledger-table th, .ledger-table td {
  padding: 13px 10px;
  font-size: 14px;
  text-align: left;
  vertical-align: middle;
}
.ledger-table th {
  font-weight: 500;
  color: var(--text-muted);
  width: 44%;
}
.ledger-table td {
  font-weight: 700;
  color: var(--text);
  text-align: right;
}
.ledger-table tr.is-key td { color: var(--gold-hi); }
.ledger-table tr.is-red td { color: #ff9c8a; }

/* SECTION 3: 5 ĐẤU TRƯỜNG ĐUA TOP (CLEAN UNDERLINE TABS + REWARD STRIP) */
.top-header-strip {
  position: relative;
  overflow: hidden;
  padding: 28px 32px;
  margin-bottom: 28px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.top-header-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  opacity: 0.24;
  pointer-events: none;
}

.top-header-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16, 13, 12, 0.96) 0%, rgba(16, 13, 12, 0.80) 58%, rgba(16, 13, 12, 0.40) 100%);
}

.top-header-strip > :not(.top-header-art) { position: relative; z-index: 2; }

.top-pool-stat { text-align: right; }
.top-pool-stat span { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--gold); }
.top-pool-stat strong { display: block; font-family: var(--f-serif); font-size: 30px; font-weight: 800; color: var(--gold-hi); line-height: 1.1; margin-top: 2px; }

.underline-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  border-bottom: 1px solid var(--line-strong);
  margin-bottom: 28px;
}

.u-tab {
  padding: 12px 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.u-tab:hover { color: var(--text); }
.u-tab.is-active { color: var(--gold-hi); border-bottom-color: var(--gold); font-weight: 700; }

.race-meta-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.race-meta-row h3 {
  font-family: var(--f-serif);
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
}
.race-meta-row p { margin-top: 5px; max-width: 680px; font-size: 14px; }
.race-total { font-size: 13px; font-weight: 700; color: var(--gold-hi); white-space: nowrap; }

.reward-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line-strong);
  background: var(--surface);
  margin-bottom: 24px;
}

.reward-cell {
  padding: 22px 24px;
  border-right: 1px solid var(--line);
}
.reward-cell:last-child { border-right: 0; }
.reward-cell.is-first {
  background: linear-gradient(180deg, rgba(212, 168, 87, 0.10) 0%, rgba(21, 17, 16, 0.96) 100%);
}

.reward-rank {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--gold);
}
.reward-cell.is-first .reward-rank { color: var(--gold-hi); }

.reward-val {
  margin-top: 10px;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.1;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}
.reward-cell.is-first .reward-val { color: var(--gold-hi); }
.reward-val small { font-size: 13px; font-weight: 600; color: var(--gold); }

.reward-title { margin-top: 4px; font-size: 13px; color: var(--text-dim); }
.reward-bonus {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--text-muted);
}

.race-foot {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 28px;
  align-items: start;
}

.rules-clean h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.rules-clean ul {
  padding-left: 18px;
  display: grid;
  gap: 6px;
  font-size: 13.5px;
  color: var(--text-muted);
}

.lb-panel {
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.lb-panel strong { display: block; font-size: 12.5px; letter-spacing: 0.9px; text-transform: uppercase; color: var(--gold-hi); }
.lb-panel p { margin-top: 6px; font-size: 13px; }

/* SECTION 4: SIÊU BOSS CUỐI TUẦN + LỊCH SỰ KIỆN 24/7 */
.weekend-raids {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 34px;
}

.raid-card {
  padding: 24px 26px;
  background: linear-gradient(180deg, rgba(110, 18, 20, 0.22) 0%, var(--surface) 100%);
  border: 1px solid var(--line-crimson);
}

.raid-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.raid-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #f08978;
}

.raid-card h3 {
  margin-top: 4px;
  font-family: var(--f-serif);
  font-size: 25px;
  font-weight: 800;
  color: #ffffff;
}

.raid-time { text-align: right; flex-shrink: 0; font-variant-numeric: tabular-nums; }
.raid-time strong { display: block; font-size: 24px; font-weight: 800; color: var(--gold-hi); line-height: 1; }
.raid-time span { display: block; margin-top: 3px; font-size: 11px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; color: #f08978; }

.raid-card p { margin-top: 10px; font-size: 13.5px; }

.raid-facts {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(196, 52, 46, 0.24);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 13px;
  color: var(--text);
}
.raid-facts span b { color: var(--gold-hi); font-weight: 700; }

.schedule-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.schedule-bar h3 { font-family: var(--f-serif); font-size: 21px; font-weight: 800; color: var(--gold-hi); }

.filter-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.f-tab {
  padding: 6px 13px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
  border: 1px solid var(--line);
  border-radius: 2px;
}
.f-tab:hover { color: var(--text); border-color: var(--line-strong); }
.f-tab.is-active { background: var(--surface-hi); border-color: var(--gold); color: var(--gold-hi); }

.table-wrap { max-width: 100%; overflow-x: auto; border-top: 1px solid var(--line-strong); }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th, .data-table td {
  padding: 13px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
}
.data-table th {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  color: var(--text-dim);
  background: var(--surface);
}
.data-table tbody tr:hover td { background: rgba(255, 255, 255, 0.018); }
.col-time { font-weight: 700; color: var(--gold-hi); white-space: nowrap; font-variant-numeric: tabular-nums; }
.col-name { font-weight: 700; color: #ffffff; }
.col-map { font-size: 12.5px; font-weight: 600; color: var(--gold); white-space: nowrap; }

/* SECTION 5: 3 CHỦNG TỘC EDITORIAL GALLERY (BLIZZARD / DIABLO STYLE) */
.class-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.class-tile {
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.class-tile:hover { border-color: var(--line-strong); }

.class-img {
  position: relative;
  height: 230px;
  overflow: hidden;
  background: #0a0808;
}
.class-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.class-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, var(--surface) 100%);
}

.class-body { padding: 14px 20px 22px; }
.class-role { font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--gold); }
.class-body h3 { margin-top: 4px; font-family: var(--f-serif); font-size: 22px; font-weight: 800; color: #ffffff; }
.class-body p { margin-top: 8px; font-size: 13.5px; }

/* SECTION 6: TẢI GAME & HỖ TRỢ (CLEAN 2-COLUMN SPLIT) */
.dl-split {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 40px;
  align-items: start;
}

.dl-box {
  padding: 28px 30px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
}
.dl-box h3 { font-family: var(--f-serif); font-size: 25px; font-weight: 800; color: #ffffff; }
.dl-box > p { margin-top: 8px; font-size: 14px; }

.dl-specs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0 22px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.dl-specs dt { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.8px; color: var(--text-dim); }
.dl-specs dd { margin-top: 3px; font-size: 13.5px; font-weight: 700; color: var(--text); }

.dl-btns { display: flex; flex-wrap: wrap; gap: 10px; }

.install-inline {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  font-size: 13px;
}
.install-inline b { display: block; color: var(--gold-hi); margin-bottom: 3px; }

.link-subtle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
}
.link-subtle:hover { color: var(--gold-hi); text-decoration: underline; }

/* RIGHT: ZALO & FAQ */
.zalo-strip {
  padding: 22px 24px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  margin-bottom: 22px;
}
.zalo-strip h3 { font-family: var(--f-serif); font-size: 21px; font-weight: 800; color: #ffffff; }
.zalo-strip p { margin: 6px 0 16px; font-size: 13.5px; }

.faq-list { border-top: 1px solid var(--line-strong); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 2px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary svg.ic { color: var(--gold); transition: transform 0.16s ease; }
.faq-list details[open] summary { color: var(--gold-hi); }
.faq-list details[open] summary svg.ic { transform: rotate(90deg); }
.faq-list details p { padding: 0 2px 16px; font-size: 13.5px; color: var(--text-muted); }

/* DOWNLOAD SUBPAGE */
.sub-head {
  padding: 44px 0 32px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
}
.crumb { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text-dim); margin-bottom: 12px; }
.crumb a:hover { color: var(--gold-hi); }
.sub-head h1 { font-family: var(--f-serif); font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; color: var(--gold-hi); }
.sub-head p { margin-top: 8px; max-width: 680px; }
.sub-dates { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 20px; font-size: 13.5px; color: var(--text-muted); }
.sub-dates strong { color: var(--gold-hi); }

.dl-page-grid { display: grid; grid-template-columns: 1.45fr 0.95fr; gap: 36px; align-items: start; }
.dl-stack { display: grid; gap: 24px; }

/* FOOTER */
.site-footer {
  background: #080606;
  padding: 36px 0 28px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { height: 48px; width: auto; }
.footer-brand strong { display: block; font-family: var(--f-serif); font-size: 16px; color: var(--gold-hi); }
.footer-brand p { margin-top: 2px; font-size: 13px; }

.footer-nav { display: flex; flex-wrap: wrap; gap: 18px; font-size: 13px; font-weight: 600; color: var(--text-muted); }
.footer-nav a:hover { color: var(--gold-hi); }

.footer-bot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 16px;
  font-size: 12.5px;
  color: var(--text-dim);
}

.mob-bar { display: none; }

/* ============================================================================
 * RESPONSIVE (ZERO OVERFLOW ON 390PX MOBILE)
 * ============================================================================ */
@media (max-width: 1024px) {
  .main-nav, .header-cta { display: none; }
  .mob-btn { display: inline-flex; }
  .launch-strip { grid-template-columns: 1fr; }
  .launch-col { padding: 14px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .launch-col:last-child { border-bottom: 0; }
  .pillars-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillar-col { padding: 20px 16px; border-bottom: 1px solid var(--line); }
  .pillar-col:nth-child(odd) { padding-left: 0; }
  .pillar-col:nth-child(even) { border-right: 0; padding-right: 0; }
  .spec-layout, .race-foot, .dl-split, .dl-page-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 780px) {
  .wrap { width: calc(100% - 28px); }
  .band { padding: 52px 0; }
  .reward-grid, .weekend-raids, .class-gallery, .install-inline { grid-template-columns: 1fr; }
  .reward-cell { border-right: 0; border-bottom: 1px solid var(--line); }
  .reward-cell:last-child { border-bottom: 0; }
  .dl-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .mob-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 95;
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--line-strong);
    background: #0c0908;
  }
  .mob-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 13px 10px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
  }
  .mob-bar .m-dl { background: #8f161a; color: #fff6e5; }
  .mob-bar .m-zl { background: #191412; color: var(--gold-hi); border-left: 1px solid var(--line-strong); }
  body { padding-bottom: 48px; }
}

@media (max-width: 520px) {
  .header-in { gap: 10px; }
  .brand { min-width: 0; }
  .brand img { height: 36px; }
  .brand-txt strong { font-size: 14px; }
  .brand-txt span { font-size: 9px; letter-spacing: 0.4px; }
  .mob-btn { flex-shrink: 0; }
  .hero { min-height: auto; padding-top: 20px; }
  .hero-actions { width: 100%; }
  .hero-actions .btn, .dl-btns .btn { width: 100%; }
  .btn { white-space: normal; text-align: center; height: auto; min-height: 46px; padding: 10px 18px; }
  .pillars-row { grid-template-columns: 1fr; }
  .pillar-col { padding: 18px 0 !important; border-right: 0; }
  .ledger-table th, .ledger-table td { display: block; width: 100%; text-align: left; padding: 4px 0; }
  .ledger-table tr { display: block; padding: 10px 0; }
  .dl-box { padding: 20px 16px; }
  .col-time { white-space: normal; }
  .cd-row { gap: 10px; justify-content: space-between; }
  .cd-part strong { font-size: 22px; }
}
