/* ============================================================
   MCW · PAGES — thành phần theo trang
   ============================================================ */

/* ================= HERO ================= */
.hero { position: relative; padding: 46px 0 54px; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute; right: -120px; top: -140px;
  width: 420px; height: 420px; border-radius: 50%;
  border: 2px dashed rgba(27, 22, 48, .22);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute; left: -90px; bottom: -120px;
  width: 260px; height: 260px; border-radius: 50%;
  background: repeating-linear-gradient(45deg, rgba(233, 161, 26, .2) 0 10px, transparent 10px 20px);
  pointer-events: none;
}
.hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: center;
}
.hero__title {
  font-size: clamp(34px, 5.2vw, 58px);
  font-weight: 800; line-height: 1.07; letter-spacing: -.03em;
  margin: 4px 0 0;
}
.hero__title em {
  font-style: normal; color: var(--coral-dark);
  background: linear-gradient(180deg, transparent 66%, var(--coral-soft) 66%);
  padding: 0 .05em;
}
.hero__title .tile {
  display: inline-block;
  padding: 0 .14em;
  border: 2.5px solid var(--ink); border-radius: 10px;
  background: var(--gold); box-shadow: 4px 4px 0 var(--ink);
  transform: rotate(-2deg);
}
.hero__lead { margin-top: 18px; font-size: 15px; line-height: 1.85; color: var(--ink-2); max-width: 56ch; }
.hero__lead b { color: var(--ink); }
.hero .btn-row { margin-top: 24px; }
.hero__stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
  margin-top: 28px; max-width: 470px;
}
.stat {
  border: 2px solid var(--ink); border-radius: var(--r-sm);
  background: var(--paper-2); box-shadow: var(--shadow-xs);
  padding: 9px 10px;
}
.stat b { display: block; font: 800 19px/1.1 var(--sans); letter-spacing: -.02em; }
.stat span { display: block; margin-top: 2px; font: 600 9px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* ---- Entry pass (hero right) ---- */
.pass {
  position: relative;
  border: 2.5px solid var(--ink); border-radius: var(--r-lg);
  background: var(--paper-2);
  box-shadow: 8px 8px 0 var(--ink);
  transform: rotate(1.2deg);
  max-width: 400px; margin-left: auto;
}
.pass__tape {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 9px 16px;
  background: var(--coral); color: #fff;
  border-bottom: 2.5px dashed var(--ink);
  font: 700 9.5px var(--mono); letter-spacing: .12em; text-transform: uppercase;
}
.pass__body { padding: 18px 20px 16px; }
.pass__brand { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pass__brand strong { font: 800 40px/1 var(--sans); letter-spacing: -.04em; }
.pass__brand small { font: 700 9px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pass__stamp {
  width: 64px; height: 64px;
  display: grid; place-items: center; text-align: center;
  border: 2px dashed var(--coral-dark); border-radius: 50%;
  color: var(--coral-dark);
  font: 800 9px/1.25 var(--mono); letter-spacing: .06em; text-transform: uppercase;
  transform: rotate(9deg);
}
.pass__rows { margin-top: 16px; border-top: 1.5px dashed rgba(27, 22, 48, .3); }
.pass__row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding: 8px 0;
  border-bottom: 1.5px dashed rgba(27, 22, 48, .22);
  font-size: 12.5px;
}
.pass__row span { color: var(--muted); font: 600 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.pass__row b { font-weight: 700; text-align: right; }
.pass__corners { display: flex; gap: 6px; margin-top: 14px; }
.pass__corners i {
  flex: 1; height: 8px; border: 1.5px solid var(--ink); border-radius: 3px;
}
.pass__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 20px 16px;
}
.pass__barcode {
  height: 30px; flex: 1;
  background: repeating-linear-gradient(90deg, var(--ink) 0 3px, transparent 3px 6px, var(--ink) 6px 7px, transparent 7px 12px, var(--ink) 12px 16px, transparent 16px 19px);
  opacity: .85;
}
.pass__no { font: 700 9.5px var(--mono); letter-spacing: .1em; color: var(--muted); }
.pass__note {
  position: absolute; right: -16px; bottom: -18px;
  padding: 8px 12px;
  border: 2px solid var(--ink); border-radius: var(--r-xs);
  background: var(--gold); color: var(--ink);
  font: 800 9.5px var(--mono); letter-spacing: .06em; text-transform: uppercase;
  box-shadow: var(--shadow-xs);
  transform: rotate(-3deg);
}

/* ================= CORNERS ================= */
.corners {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px;
}
.corner {
  --c: var(--coral);
  display: flex; flex-direction: column;
  border: 2px solid var(--ink); border-radius: var(--r-md);
  background: var(--paper-2);
  box-shadow: var(--shadow-sm);
  transition: transform .16s, box-shadow .16s;
  overflow: hidden;
}
.corner:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); color: var(--ink); }
.corner__top {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 8px 11px;
  background: var(--c);
  border-bottom: 2px solid var(--ink);
}
.corner__no { font: 800 10px var(--mono); letter-spacing: .08em; color: var(--ink); }
.corner__icon {
  width: 56px; height: 56px; margin: 14px 14px 0;
  display: grid; place-items: center;
  border: 2px solid var(--ink); border-radius: var(--r-sm);
  background: var(--paper); box-shadow: var(--shadow-xs);
}
.corner__icon img { width: 38px; height: 38px; }
.corner__body { padding: 12px 14px 0; flex: 1; }
.corner h3 { font-size: 16.5px; font-weight: 800; letter-spacing: -.01em; }
.corner__body p { margin-top: 6px; font-size: 12px; line-height: 1.65; color: var(--ink-2); }
.corner__meta { display: flex; flex-wrap: wrap; gap: 5px; padding: 11px 14px 13px; }
.corner__meta span {
  padding: 2px 6px; border-radius: 4px;
  background: var(--paper-3);
  font: 600 9px var(--mono); color: var(--ink-2);
}
.corner__foot {
  padding: 9px 14px;
  border-top: 1.5px dashed rgba(27, 22, 48, .28);
  font: 700 10px var(--mono); letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-2);
}
.corner:hover .corner__foot { color: var(--coral-dark); }

/* ================= SESSION MATCHER ================= */
.matcher {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 0;
  border: 2.5px solid var(--ink); border-radius: var(--r-lg);
  background: var(--paper-2); box-shadow: 7px 7px 0 var(--ink);
  overflow: hidden;
}
.matcher__controls { padding: 24px; border-right: 2.5px dashed rgba(27, 22, 48, .3); }
.matcher__controls h3 { font-size: 17px; font-weight: 800; }
.matcher__controls > p { margin-top: 4px; font-size: 12.5px; color: var(--muted); }
.pick { margin-top: 18px; }
.pick__label {
  display: flex; align-items: center; gap: 8px;
  font: 700 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2);
  margin-bottom: 8px;
}
.pick__label b {
  display: inline-grid; place-items: center;
  width: 19px; height: 19px; border-radius: 4px;
  background: var(--ink); color: var(--paper-2); font: 700 9.5px var(--mono);
}
.pick__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.matcher__go { margin-top: 22px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.matcher__hint { font: 600 10.5px var(--mono); color: var(--muted); }

.matcher__result { padding: 24px; background: var(--gold-soft); position: relative; }
.matcher__result::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0; width: 10px;
  background: repeating-linear-gradient(180deg, var(--ink) 0 6px, transparent 6px 12px);
  opacity: .18;
}
.result__kicker { font: 700 9.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.result__name { font-size: clamp(24px, 3vw, 33px); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; margin-top: 6px; }
.result__corner { margin-top: 6px; font-size: 12px; color: var(--ink-2); }
.result__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.result__phases {
  margin-top: 16px; display: grid; gap: 6px;
  border-top: 1.5px dashed rgba(27, 22, 48, .3); padding-top: 12px;
}
.result__phase { display: flex; gap: 10px; align-items: baseline; font-size: 12px; }
.result__phase b {
  min-width: 74px;
  font: 700 9.5px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2);
}
.result__phase span { color: var(--ink); }
.result__stop {
  margin-top: 14px; padding: 10px 12px;
  border: 2px solid var(--ink); border-radius: var(--r-xs);
  background: var(--paper-2);
  font-size: 12px; line-height: 1.6;
}
.result__stop b { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; display: block; color: var(--coral-dark); margin-bottom: 2px; }
.result__actions { margin-top: 16px; display: flex; gap: 8px; flex-wrap: wrap; }
.result__empty { font-size: 13.5px; line-height: 1.8; color: var(--ink-2); }
.result__empty b { display: block; font-size: 18px; letter-spacing: -.01em; color: var(--ink); margin-bottom: 4px; }

/* ================= CLOCK ================= */
.clock { display: grid; grid-template-columns: .9fr 1.1fr; gap: 0; }
.clock__face {
  padding: 26px;
  background: var(--ink); color: var(--paper-2);
  border-right: 2.5px solid var(--ink);
  position: relative;
}
.clock__face::after {
  content: "";
  position: absolute; right: 16px; top: 16px;
  width: 46px; height: 46px;
  border: 2px dashed rgba(255, 253, 246, .35); border-radius: 50%;
}
.clock__label { font: 700 9.5px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.clock__digits {
  margin-top: 10px;
  font: 800 clamp(46px, 7vw, 68px)/1 var(--mono);
  letter-spacing: .01em;
  font-variant-numeric: tabular-nums;
  color: var(--paper-2);
}
.clock__digits.is-low { color: var(--gold); }
.clock__digits.is-done { color: var(--coral); }
.clock__bar {
  margin-top: 16px; height: 12px;
  border: 2px solid var(--paper-2); border-radius: 4px;
  background: rgba(255, 253, 246, .12);
  overflow: hidden;
}
.clock__bar i { display: block; height: 100%; width: 0; background: var(--gold); transition: width .5s linear; }
.clock__state { margin-top: 10px; font: 600 10.5px var(--mono); letter-spacing: .06em; color: #b8aed0; }
.clock__body { padding: 24px; background: var(--paper-2); }
.clock__body h3 { font-size: 18px; font-weight: 800; }
.clock__body > p { margin-top: 6px; font-size: 12.5px; line-height: 1.7; color: var(--ink-2); }
.clock__presets { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.clock__presets .chip { font-family: var(--mono); font-size: 11px; }
.clock__actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.clock__tip {
  margin-top: 18px; padding: 11px 12px;
  border-left: 4px solid var(--mint);
  background: var(--mint-soft);
  font-size: 11.5px; line-height: 1.65; color: var(--ink-2);
}
.clock__tip b { color: var(--ink); }

/* ================= VOUCHERS ================= */
.vouchers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.voucher {
  --accent: var(--coral);
  position: relative;
  border: 2px solid var(--ink); border-radius: var(--r-md);
  background: var(--paper-2);
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  overflow: hidden;
}
.voucher__head {
  padding: 16px 18px 14px;
  border-bottom: 2px dashed rgba(27, 22, 48, .32);
  background: linear-gradient(180deg, var(--paper-2), var(--paper));
  position: relative;
}
.voucher__head::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0; width: 7px; background: var(--accent);
  border-right: 2px solid var(--ink);
}
.voucher__id { display: flex; justify-content: space-between; gap: 10px; font: 700 9.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.voucher__value { margin-top: 8px; font: 800 32px/1 var(--sans); letter-spacing: -.03em; color: var(--ink); }
.voucher__value small { font: 700 11px var(--mono); letter-spacing: .04em; color: var(--ink-2); margin-left: 4px; }
.voucher h3 { margin-top: 6px; font-size: 15px; font-weight: 800; }
.voucher__body { padding: 14px 18px; flex: 1; }
.voucher__body p { font-size: 12.5px; line-height: 1.7; color: var(--ink-2); }
.voucher__list { list-style: none; margin-top: 10px; display: grid; gap: 5px; }
.voucher__list li { position: relative; padding-left: 15px; font-size: 11.5px; line-height: 1.55; color: var(--ink-2); }
.voucher__list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 6px; height: 6px; background: var(--accent); border: 1px solid var(--ink); border-radius: 1px; }
.voucher__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 11px 18px;
  border-top: 2px dashed rgba(27, 22, 48, .32);
  background: var(--paper);
}
.voucher__code { font: 700 11.5px var(--mono); letter-spacing: .06em; }
.voucher__cut {
  position: absolute; width: 18px; height: 18px; border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--ink);
  bottom: 47px;
}
.voucher__cut--l { left: -11px; }
.voucher__cut--r { right: -11px; }
.copy {
  padding: 6px 11px;
  border: 2px solid var(--ink); border-radius: var(--r-xs);
  background: var(--accent); color: var(--ink);
  font: 800 9.5px var(--mono); letter-spacing: .08em; text-transform: uppercase;
  box-shadow: 2px 2px 0 var(--ink);
  transition: transform .12s, box-shadow .12s;
}
.copy:hover { transform: translate(1px, 1px); box-shadow: 1px 1px 0 var(--ink); }

/* ================= SCHEDULE ================= */
.sched__legend { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; font: 600 10.5px var(--mono); color: var(--ink-2); }
.sched__legend span { display: inline-flex; align-items: center; gap: 6px; }
.sched__legend i { width: 10px; height: 10px; border: 1.5px solid var(--ink); border-radius: 2px; }
.sched tr.is-today td { background: var(--gold-soft); }
.sched tr.is-today td:first-child { box-shadow: inset 4px 0 0 var(--coral); }
.sched tr.is-today td strong { color: var(--coral-dark); }
.sched__note { margin-top: 12px; font-size: 11.5px; color: var(--muted); line-height: 1.7; }

/* ================= FAQ ================= */
.faq { display: grid; gap: 10px; max-width: 860px; margin: 0 auto; }
.faq__item {
  border: 2px solid var(--ink); border-radius: var(--r-sm);
  background: var(--paper-2); box-shadow: var(--shadow-xs);
  overflow: hidden;
}
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 15px 16px;
  border: 0; background: transparent; text-align: left;
  font: 700 14px/1.5 var(--sans); color: var(--ink);
}
.faq__q:hover { background: var(--paper); }
.faq__sign {
  position: relative; flex: 0 0 auto;
  width: 22px; height: 22px;
  border: 2px solid var(--ink); border-radius: 4px;
  background: var(--gold);
  transition: background .18s, transform .18s;
}
.faq__sign::before, .faq__sign::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 10px; height: 2px; background: var(--ink);
  transform: translate(-50%, -50%);
}
.faq__sign::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .18s; }
.faq__item.is-open .faq__sign { background: var(--coral); transform: rotate(180deg); }
.faq__item.is-open .faq__sign::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__a { display: none; padding: 0 16px 16px; font-size: 13px; line-height: 1.8; color: var(--ink-2); }
.faq__item.is-open .faq__a { display: block; animation: faq-in .22s ease; }
@keyframes faq-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ================= STICKER BADGES ================= */
.stickers { display: flex; flex-wrap: wrap; gap: 10px; }
.sticker {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px;
  border: 2px solid var(--ink); border-radius: var(--r-xs);
  background: var(--paper-2);
  box-shadow: var(--shadow-xs);
  font: 700 10.5px var(--mono); letter-spacing: .05em; text-transform: uppercase;
}
.sticker i { width: 9px; height: 9px; border-radius: 2px; background: var(--gold); border: 1px solid var(--ink); }
.sticker--mint i { background: var(--mint); }
.sticker--sky i { background: var(--sky); }
.sticker--coral i { background: var(--coral); }
.sticker--plum i { background: var(--plum); }

/* ================= FILTERBAR (games) ================= */
.filterbar {
  border: 2px solid var(--ink); border-radius: var(--r-md);
  background: var(--paper-2); box-shadow: var(--shadow-sm);
  padding: 16px;
  margin-bottom: 24px;
}
.filterbar__row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.filterbar__row + .filterbar__row { margin-top: 12px; padding-top: 12px; border-top: 1.5px dashed rgba(27, 22, 48, .25); }
.filterbar__label { font: 700 9.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); min-width: 70px; }
.filterbar__chips { display: flex; flex-wrap: wrap; gap: 7px; flex: 1; }
.filterbar__search { position: relative; margin-left: auto; }
.filterbar__search input {
  width: 240px; height: 36px;
  padding: 6px 12px 6px 33px;
  border: 2px solid var(--ink); border-radius: var(--r-xs);
  background: var(--paper); font-size: 12.5px;
}
.filterbar__search input:focus { outline: none; background: #fff; box-shadow: var(--shadow-xs); }
.filterbar__search svg { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.filterbar__count { font: 700 10px var(--mono); color: var(--muted); letter-spacing: .04em; }
.filterbar__reset {
  border: 0; background: none; padding: 4px 2px;
  font: 700 10px var(--mono); letter-spacing: .04em; text-transform: uppercase;
  color: var(--coral-dark); border-bottom: 1.5px solid currentColor;
}

/* ================= GAME CARDS ================= */
.games { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.game-card {
  --c: var(--coral);
  display: flex; flex-direction: column;
  border: 2px solid var(--ink); border-radius: var(--r-md);
  background: var(--paper-2); box-shadow: var(--shadow-xs);
  transition: transform .16s, box-shadow .16s;
  scroll-margin-top: 110px;
  overflow: hidden;
}
.game-card:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.game-card__band {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 6px 10px;
  background: var(--c); border-bottom: 2px solid var(--ink);
  font: 700 9px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink);
}
.game-card__body { padding: 12px 13px 0; flex: 1; }
.game-card h3 { font-size: 15px; font-weight: 800; letter-spacing: -.01em; }
.game-card__body p { margin-top: 5px; font-size: 11.5px; line-height: 1.6; color: var(--ink-2); }
.game-card__meta { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 9px; }
.game-card__meta span {
  padding: 2px 5px; border-radius: 3px;
  background: var(--paper-3);
  font: 600 8.5px var(--mono); color: var(--ink-2);
}
.game-card details { margin: 10px 0 0; border-top: 1.5px dashed rgba(27, 22, 48, .25); }
.game-card summary {
  padding: 8px 0; cursor: pointer; list-style: none;
  font: 700 9.5px var(--mono); letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-2);
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.game-card summary::-webkit-details-marker { display: none; }
.game-card summary::after { content: "+"; font-size: 14px; line-height: 1; color: var(--coral-dark); }
.game-card details[open] summary::after { content: "–"; }
.game-card details ul { list-style: none; padding: 0 0 10px; display: grid; gap: 4px; }
.game-card details li { font-size: 10.5px; line-height: 1.55; color: var(--ink-2); padding-left: 11px; position: relative; }
.game-card details li::before { content: ""; position: absolute; left: 0; top: 6px; width: 4px; height: 4px; background: var(--c); border: 1px solid var(--ink); }
.game-card__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 9px 13px;
  border-top: 1.5px solid rgba(27, 22, 48, .14);
  font: 700 9.5px var(--mono); color: var(--ink-2);
}
.game-card__foot a { color: var(--coral-dark); }
.game-card__foot a:hover { color: var(--ink); }

/* ================= NEWS / POSTS ================= */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.post-card {
  display: flex; flex-direction: column;
  border: 2px solid var(--ink); border-radius: var(--r-md);
  background: var(--paper-2); box-shadow: var(--shadow-xs);
  overflow: hidden;
  transition: transform .16s, box-shadow .16s;
}
.post-card:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.post-card__top {
  padding: 10px 14px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  border-bottom: 2px solid var(--ink);
  background: var(--paper);
  font: 700 9px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2);
}
.post-card__top span:last-child { color: var(--muted); }
.post-card__body { padding: 14px 15px; flex: 1; }
.post-card h3 { font-size: 16px; line-height: 1.4; font-weight: 800; letter-spacing: -.01em; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a:hover { color: var(--coral-dark); }
.post-card p { margin-top: 8px; font-size: 12px; line-height: 1.7; color: var(--ink-2); }
.post-card__foot {
  padding: 10px 15px;
  border-top: 1.5px dashed rgba(27, 22, 48, .3);
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  font: 600 9.5px var(--mono); color: var(--muted);
}
.post-card__foot a { font-weight: 700; color: var(--coral-dark); }

.featured {
  display: grid; grid-template-columns: 1.1fr .9fr;
  border: 2.5px solid var(--ink); border-radius: var(--r-lg);
  background: var(--paper-2); box-shadow: 7px 7px 0 var(--ink);
  overflow: hidden; margin-bottom: 26px;
}
.featured__body { padding: 28px; }
.featured__body h2 { margin-top: 10px; font-size: clamp(23px, 3.2vw, 33px); line-height: 1.2; letter-spacing: -.02em; font-weight: 800; }
.featured__body h2 a { color: var(--ink); }
.featured__body h2 a:hover { color: var(--coral-dark); }
.featured__body p { margin-top: 10px; font-size: 13.5px; line-height: 1.8; color: var(--ink-2); }
.featured__art {
  position: relative;
  display: grid; place-items: center;
  background: var(--gold);
  border-left: 2.5px dashed var(--ink);
  padding: 24px;
  overflow: hidden;
}
.featured__art::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(27, 22, 48, .22) 1.5px, transparent 1.5px);
  background-size: 16px 16px;
}
.featured__art b {
  position: relative;
  font: 800 clamp(46px, 7vw, 74px)/.9 var(--sans); letter-spacing: -.05em;
  color: var(--paper-2);
  -webkit-text-stroke: 2.5px var(--ink);
  transform: rotate(-4deg);
  text-align: center;
}
.featured__stamp {
  position: absolute; right: 16px; top: 16px;
  padding: 5px 9px;
  border: 2px solid var(--ink); border-radius: var(--r-xs);
  background: var(--paper-2);
  font: 700 9px var(--mono); letter-spacing: .08em; text-transform: uppercase;
  transform: rotate(3deg);
}

/* ================= ARTICLE / PROSE ================= */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 34px; align-items: start; }
.layout__main { min-width: 0; }
.side { position: sticky; top: calc(var(--mast-h) + 18px); display: grid; gap: 16px; }
.side-card {
  border: 2px solid var(--ink); border-radius: var(--r-md);
  background: var(--paper-2); box-shadow: var(--shadow-xs);
  padding: 16px;
}
.side-card h2, .side-card h3 {
  font: 700 10px var(--mono); letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-2); margin-bottom: 10px;
}
.side-card ul { list-style: none; display: grid; gap: 2px; }
.side-card a {
  display: block; padding: 6px 8px;
  border-left: 3px solid transparent;
  border-radius: 0 4px 4px 0;
  font-size: 12.5px; line-height: 1.5; color: var(--ink-2);
}
.side-card a:hover { background: var(--paper); color: var(--ink); }
.side-card a.is-active { background: var(--gold-soft); border-left-color: var(--coral); color: var(--ink); font-weight: 700; }
.side-card--cta { background: var(--ink); color: var(--paper-2); box-shadow: var(--shadow-sm); }
.side-card--cta h2 { color: var(--gold); }
.side-card--cta p { font-size: 12px; line-height: 1.7; color: #cfc6e2; }
.side-card--cta .btn { margin-top: 12px; }
.side-card__meta { display: flex; flex-wrap: wrap; gap: 8px; font: 600 9.5px var(--mono); color: var(--muted); }

.article-head { margin-bottom: 24px; }
.article-head h1 {
  font-size: clamp(28px, 4.2vw, 44px);
  line-height: 1.16; letter-spacing: -.025em; font-weight: 800;
  margin-top: 8px; max-width: 26ch;
}
.article-head__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin-top: 14px;
}
.article-head__meta span {
  padding: 3px 8px; border: 1.5px solid rgba(27, 22, 48, .3); border-radius: 999px;
  font: 600 10px var(--mono); color: var(--ink-2); background: var(--paper-2);
}

.prose { font-size: 15px; line-height: 1.85; color: var(--ink-2); }
.prose > * + * { margin-top: 16px; }
.prose h2 {
  margin-top: 34px;
  font-size: clamp(21px, 2.6vw, 27px);
  line-height: 1.3; font-weight: 800; letter-spacing: -.015em; color: var(--ink);
  padding-top: 8px;
  border-top: 2px dashed rgba(27, 22, 48, .28);
}
.prose h2:first-child { margin-top: 0; border-top: 0; padding-top: 0; }
.prose h3 { margin-top: 24px; font-size: 17.5px; font-weight: 800; color: var(--ink); }
.prose p { color: var(--ink-2); }
.prose strong { color: var(--ink); }
.prose a { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 2px; }
.prose ul, .prose ol { padding-left: 0; list-style: none; display: grid; gap: 8px; }
.prose ul li { position: relative; padding-left: 20px; }
.prose ul li::before {
  content: ""; position: absolute; left: 2px; top: 10px;
  width: 7px; height: 7px; background: var(--gold);
  border: 1.5px solid var(--ink); border-radius: 2px;
}
.prose ol { counter-reset: step; }
.prose ol li { position: relative; padding-left: 30px; counter-increment: step; }
.prose ol li::before {
  content: counter(step);
  position: absolute; left: 0; top: 3px;
  width: 20px; height: 20px; display: grid; place-items: center;
  border: 1.5px solid var(--ink); border-radius: 4px;
  background: var(--paper-2);
  font: 700 10px var(--mono); color: var(--ink);
}
.prose blockquote {
  margin: 22px 0; padding: 16px 18px;
  border: 2px solid var(--ink); border-left: 8px solid var(--coral);
  border-radius: var(--r-sm); background: var(--gold-soft);
  font-size: 14.5px; line-height: 1.75; color: var(--ink);
  box-shadow: var(--shadow-xs);
}
.prose blockquote p { color: var(--ink); }
.prose blockquote cite { display: block; margin-top: 8px; font: 600 10.5px var(--mono); color: var(--ink-2); font-style: normal; }
.prose .table-wrap { margin: 20px 0; }
.note {
  padding: 14px 16px;
  border: 2px dashed var(--ink); border-radius: var(--r-sm);
  background: var(--paper-2);
  font-size: 13px; line-height: 1.75; color: var(--ink-2);
}
.note b { color: var(--ink); }

.article-foot {
  margin-top: 30px; padding-top: 20px;
  border-top: 2px dashed rgba(27, 22, 48, .3);
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
}
.article-foot__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.article-foot__back { font: 700 11px var(--mono); text-transform: uppercase; letter-spacing: .04em; }

.next-read { margin-top: 34px; }
.next-read h2 { font-size: 20px; font-weight: 800; margin-bottom: 14px; }

/* ================= STEPS (guide) ================= */
.steps { display: grid; gap: 14px; counter-reset: step; }
.step {
  position: relative;
  display: grid; grid-template-columns: 74px 1fr; gap: 18px;
  border: 2px solid var(--ink); border-radius: var(--r-md);
  background: var(--paper-2); box-shadow: var(--shadow-xs);
  padding: 18px;
}
.step__no {
  display: grid; place-items: center;
  width: 64px; height: 64px;
  border: 2px solid var(--ink); border-radius: var(--r-sm);
  background: var(--gold); box-shadow: var(--shadow-xs);
  font: 800 24px/1 var(--mono); color: var(--ink);
  align-self: start;
}
.step:nth-child(2) .step__no { background: var(--coral-soft); }
.step:nth-child(3) .step__no { background: var(--mint-soft); }
.step:nth-child(4) .step__no { background: var(--sky-soft); }
.step:nth-child(5) .step__no { background: var(--plum-soft); }
.step h3 { font-size: 17px; font-weight: 800; letter-spacing: -.01em; }
.step p { margin-top: 5px; font-size: 13px; line-height: 1.75; color: var(--ink-2); }
.step__tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 9px; }

/* ================= BADGES ================= */
.badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.badge-card {
  --c: var(--gold);
  border: 2px solid var(--ink); border-radius: var(--r-sm);
  background: var(--paper-2); box-shadow: var(--shadow-xs);
  padding: 14px;
  display: flex; align-items: flex-start; gap: 12px;
}
.badge-card__mark {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 2px solid var(--ink); border-radius: 50%;
  background: var(--c); color: var(--ink);
  font: 800 13px var(--mono);
  box-shadow: 2px 2px 0 var(--ink);
}
.badge-card h3 { font-size: 13.5px; font-weight: 800; }
.badge-card p { margin-top: 3px; font-size: 11px; line-height: 1.6; color: var(--ink-2); }
.badge-card small { display: block; margin-top: 5px; font: 600 9px var(--mono); color: var(--muted); }

/* ================= CHECKLIST ================= */
.checklist { border: 2px solid var(--ink); border-radius: var(--r-md); background: var(--paper-2); box-shadow: var(--shadow-sm); padding: 20px; }
.checklist__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.checklist__head h2 { font-size: 19px; font-weight: 800; }
.checklist__bar {
  margin: 14px 0 16px; height: 12px;
  border: 2px solid var(--ink); border-radius: 4px;
  background: var(--paper); overflow: hidden;
}
.checklist__bar i { display: block; height: 100%; width: 0; background: var(--mint); transition: width .25s; }
.checklist__items { display: grid; gap: 8px; }
.checklist__item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 9px 10px;
  border: 1.5px dashed rgba(27, 22, 48, .3); border-radius: var(--r-xs);
  background: var(--paper);
  font-size: 12.5px; line-height: 1.55; cursor: pointer;
}
.checklist__item:hover { background: var(--gold-soft); }
.checklist__item input { width: 17px; height: 17px; margin: 1px 0 0; accent-color: var(--mint); }
.checklist__item:has(input:checked) { background: var(--mint-soft); border-style: solid; }
.checklist__item:has(input:checked) span { text-decoration: line-through; text-decoration-thickness: 1.5px; color: var(--muted); }
.checklist__count { font: 700 10px var(--mono); letter-spacing: .06em; color: var(--muted); }
.checklist__reset { border: 0; background: none; padding: 0; font: 700 10px var(--mono); text-transform: uppercase; color: var(--coral-dark); border-bottom: 1.5px solid currentColor; }

/* ================= CONTACT ================= */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; align-items: start; }
.info-list { display: grid; gap: 10px; }
.info-card {
  display: flex; gap: 12px; align-items: flex-start;
  border: 2px solid var(--ink); border-radius: var(--r-sm);
  background: var(--paper-2); box-shadow: var(--shadow-xs);
  padding: 13px 14px;
}
.info-card__mark {
  flex: 0 0 auto;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border: 2px solid var(--ink); border-radius: var(--r-xs);
  background: var(--gold);
  font: 800 11px var(--mono);
}
.info-card h3 { font-size: 12.5px; font-weight: 800; }
.info-card p { margin-top: 2px; font-size: 12px; line-height: 1.65; color: var(--ink-2); }
.info-card a { font-weight: 600; }
.contact-form { padding: 22px; }
.contact-form h2 { font-size: 20px; font-weight: 800; }
.contact-form__lead { margin: 4px 0 18px; font-size: 12.5px; line-height: 1.7; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .field--full { grid-column: 1 / -1; }
.form-status {
  display: none; margin-top: 14px; padding: 12px 14px;
  border: 2px solid var(--mint); border-radius: var(--r-xs);
  background: var(--mint-soft);
  font-size: 13px; color: var(--ink); font-weight: 600;
}
.form-status.is-visible { display: block; }
.form-status--err { border-color: var(--coral); background: var(--coral-soft); }

/* ================= 404 ================= */
.err {
  min-height: calc(100vh - var(--mast-h) - 32px);
  display: grid; place-items: center;
  padding: 60px 0;
}
.err__box { max-width: 640px; margin: 0 auto; text-align: center; }
.err__digits { display: flex; justify-content: center; gap: 10px; margin-bottom: 22px; }
.err__digits b {
  width: clamp(64px, 14vw, 104px); height: clamp(64px, 14vw, 104px);
  display: grid; place-items: center;
  border: 3px solid var(--ink); border-radius: var(--r-md);
  box-shadow: 6px 6px 0 var(--ink);
  font: 800 clamp(34px, 7vw, 52px)/1 var(--sans);
}
.err__digits b:nth-child(1) { background: var(--coral); color: #fff; transform: rotate(-3deg); }
.err__digits b:nth-child(2) { background: var(--gold); color: var(--ink); transform: rotate(2deg); }
.err__digits b:nth-child(3) { background: var(--mint); color: var(--ink); transform: rotate(-2deg); }
.err h1 { font-size: clamp(26px, 4vw, 40px); font-weight: 800; letter-spacing: -.02em; }
.err h1 em {
  font-style: normal; color: var(--coral-dark);
  background: linear-gradient(180deg, transparent 68%, var(--coral-soft) 68%);
  padding: 0 .06em;
}
.err p { margin: 10px auto 0; font-size: 14px; line-height: 1.8; color: var(--ink-2); max-width: 46ch; }
.err .btn-row { justify-content: center; margin-top: 22px; }
.err__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 24px; }
.err__code { margin-top: 28px; font: 700 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* ================= PROMO EXTRAS ================= */
.promo-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.promo-step {
  border: 2px solid var(--ink); border-radius: var(--r-sm);
  background: var(--paper-2); box-shadow: var(--shadow-xs);
  padding: 15px;
}
.promo-step b {
  display: inline-grid; place-items: center;
  width: 24px; height: 24px; margin-bottom: 8px;
  border: 2px solid var(--ink); border-radius: 5px;
  background: var(--gold); font: 800 11px var(--mono);
}
.promo-step h3 { font-size: 13.5px; font-weight: 800; }
.promo-step p { margin-top: 4px; font-size: 11.5px; line-height: 1.65; color: var(--ink-2); }

/* ================= MINI TOC / GUIDE NAV ================= */
.toc-inline {
  display: flex; flex-wrap: wrap; gap: 7px;
  padding: 12px;
  border: 2px dashed var(--ink); border-radius: var(--r-sm);
  background: var(--paper-2);
  margin-bottom: 24px;
}
.toc-inline a {
  padding: 5px 9px;
  border: 1.5px solid var(--ink); border-radius: 4px;
  background: var(--paper);
  font: 600 10.5px var(--mono); color: var(--ink-2);
}
.toc-inline a:hover { background: var(--gold); color: var(--ink); }

/* ================= ABOUT / LEGAL ================= */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.fact {
  border: 2px solid var(--ink); border-radius: var(--r-sm);
  background: var(--paper-2); box-shadow: var(--shadow-xs);
  padding: 14px;
}
.fact b { display: block; font: 800 22px/1.1 var(--sans); letter-spacing: -.02em; }
.fact span { display: block; margin-top: 4px; font: 600 9px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.about-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 26px; align-items: start; }
.about-card {
  display: grid; gap: 14px;
  border: 2px solid var(--ink); border-radius: var(--r-md);
  background: var(--paper-2); box-shadow: var(--shadow-sm);
  padding: 20px;
}
.about-card h2 { font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
.about-card > p { font-size: 12.5px; line-height: 1.7; color: var(--ink-2); }
.about-card .facts { grid-template-columns: 1fr 1fr; }
.timeline { list-style: none; display: grid; gap: 0; margin-left: 6px; padding-left: 0; border-left: 3px solid var(--ink); }
.timeline li { position: relative; padding: 0 0 20px 22px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: -8px; top: 4px;
  width: 13px; height: 13px;
  background: var(--gold); border: 2px solid var(--ink); border-radius: 3px;
}
.timeline time { font: 700 10px var(--mono); letter-spacing: .08em; color: var(--coral-dark); }
.timeline h3 { margin-top: 2px; font-size: 14.5px; font-weight: 800; }
.timeline p { margin-top: 3px; font-size: 12.5px; line-height: 1.7; color: var(--ink-2); }

/* ---- Article refinements ---- */
.article-head h1 em {
  font-style: normal; color: var(--coral-dark);
  background: linear-gradient(180deg, transparent 68%, var(--coral-soft) 68%);
  padding: 0 .06em;
}
.prose h2, .prose h3 { scroll-margin-top: calc(var(--mast-h) + 22px); }
.next-read .posts { grid-template-columns: repeat(2, 1fr); }

/* ================= RESPONSIVE PAGES ================= */
@media (max-width: 1080px) {
  .corners { grid-template-columns: repeat(3, 1fr); }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .about-split { grid-template-columns: 1fr; }
  .games { grid-template-columns: repeat(3, 1fr); }
  .badges { grid-template-columns: repeat(2, 1fr); }
  .layout { grid-template-columns: minmax(0, 1fr) 270px; gap: 26px; }
}
@media (max-width: 960px) {
  .hero { padding: 36px 0 44px; }
  .hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .pass { margin: 0 auto; transform: none; }
  .matcher { grid-template-columns: 1fr; }
  .matcher__controls { border-right: 0; border-bottom: 2.5px dashed rgba(27, 22, 48, .3); }
  .clock { grid-template-columns: 1fr; }
  .clock__face { border-right: 0; }
  .layout { grid-template-columns: 1fr; }
  .side { position: static; }
  .featured { grid-template-columns: 1fr; }
  .featured__art { min-height: 180px; border-left: 0; border-top: 2.5px dashed var(--ink); }
  .posts { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .promo-steps { grid-template-columns: 1fr; }
  .vouchers { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .hero__stats { grid-template-columns: repeat(2, 1fr); max-width: 320px; }
  .corners { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .corner__icon { width: 46px; height: 46px; margin: 12px 12px 0; }
  .corner__icon img { width: 30px; height: 30px; }
  .corner h3 { font-size: 14.5px; }
  .corner__body p { font-size: 11px; }
  .games { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .posts { grid-template-columns: 1fr; }
  .next-read .posts { grid-template-columns: 1fr; }
  .badges { grid-template-columns: 1fr; }
  .filterbar__search { width: 100%; margin-left: 0; }
  .filterbar__search input { width: 100%; }
  .filterbar__label { min-width: 100%; }
  .form-grid { grid-template-columns: 1fr; }
  .step { grid-template-columns: 52px 1fr; gap: 12px; padding: 14px; }
  .step__no { width: 46px; height: 46px; font-size: 18px; }
  .featured__body { padding: 20px; }
  .prose { font-size: 14.5px; }
  .err { min-height: auto; padding: 44px 0; }
}
@media (max-width: 420px) {
  .corners { grid-template-columns: 1fr; }
  .games { grid-template-columns: 1fr; }
  .pass__stamp { width: 54px; height: 54px; font-size: 8px; }
  .pass__brand strong { font-size: 34px; }
  .result__phase { display: grid; gap: 1px; }
  .result__phase b { min-width: 0; }
}

/* ---------- Hiệu ứng nút khối hero trang chủ ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero .btn-row .btn {
    position: relative;
    animation: mcw-in .48s cubic-bezier(.3, .8, .3, 1) backwards;
  }
  .hero .btn-row .btn:nth-child(2) { animation-delay: .16s; }

  @keyframes mcw-in {
    from { opacity: 0; transform: translateY(9px) rotate(-.7deg); }
    to { opacity: 1; transform: none; }
  }

  /* vân chéo chạy như mặt giấy dệt + nhịp nâng bóng */
  .hero .btn-row .btn--coral {
    background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, .16) 0 7px, transparent 7px 16px);
    animation: mcw-in .48s .05s cubic-bezier(.3, .8, .3, 1) backwards, mcw-drift 3.4s linear infinite, mcw-lift 2.6s 1s ease-in-out infinite;
  }

  @keyframes mcw-drift {
    from { background-position: 0 0; }
    to { background-position: 226.27px 0; }
  }

  @keyframes mcw-lift {
    0%, 100% { box-shadow: 3px 3px 0 var(--ink); }
    50% { box-shadow: 6px 6px 0 var(--ink); }
  }

  /* chấm vàng nhấp nháy ở góc như tem chưa bóc */
  .hero .btn-row .btn--coral::before {
    content: "";
    position: absolute;
    top: 7px;
    right: 8px;
    width: 6px;
    height: 6px;
    background: var(--gold);
    border: 1px solid var(--ink);
    animation: mcw-dot 2.2s 1.2s ease-in-out infinite;
    pointer-events: none;
  }

  @keyframes mcw-dot {
    0%, 100% { opacity: .25; scale: .6; }
    50% { opacity: 1; scale: 1; }
  }

  /* giữ vân khi rê chuột, nền đổi màu do luật gốc đảm nhiệm */
  .hero .btn-row .btn--coral:hover {
    background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, .16) 0 7px, transparent 7px 16px);
  }

  /* gạch chân vẽ dần ở nút phụ */
  .hero .btn-row .btn--ghost::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 8px;
    height: 2px;
    background: var(--coral);
    transform: scaleX(0);
    transform-origin: left;
    animation: mcw-rule 4.2s 1s ease-in-out infinite;
    pointer-events: none;
  }

  @keyframes mcw-rule {
    0%, 12% { transform: scaleX(0); }
    46%, 62% { transform: scaleX(1); }
    92%, 100% { transform: scaleX(0); }
  }

  .hero .btn-row .btn--ghost:hover::after {
    animation: none;
    transform: scaleX(1);
  }
}
