/* chữ thường: Be Vietnam Pro (rõ, dễ đọc tiếng Việt) · tiêu đề: Baloo (tròn, vui) */
@font-face { font-family: BVP; font-weight: 500; font-display: swap; src: url("/play/fonts/bvp-500-vi.woff2") format("woff2"); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: BVP; font-weight: 500; font-display: swap; src: url("/play/fonts/bvp-500-lat.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: BVP; font-weight: 700; font-display: swap; src: url("/play/fonts/bvp-700-vi.woff2") format("woff2"); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: BVP; font-weight: 700; font-display: swap; src: url("/play/fonts/bvp-700-lat.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Baloo 2"; src: url("/play/fonts/Baloo2-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
:root {
  --bg: #fbf3e4;
  --card: #ffffff;
  --ink: #3a2c21;
  --soft: #6f5d4c;
  --red: #d9544d;
  --red-dark: #b23d33;
  --green: #3e8e41;
  --yellow: #f6c445;
  --line: #efe2cb;
  --shadow: 0 6px 20px rgba(90, 60, 30, 0.1);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #1f1a16; --card: #2a231d; --ink: #f4e9d8; --soft: #cbb9a2; --line: #3d3228; --shadow: 0 6px 20px rgba(0, 0, 0, 0.35); }
}
:root[data-theme="dark"] { --bg: #1f1a16; --card: #2a231d; --ink: #f4e9d8; --soft: #cbb9a2; --line: #3d3228; --shadow: 0 6px 20px rgba(0, 0, 0, 0.35); }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 500 18px/1.65 BVP, "Segoe UI", system-ui, sans-serif; }
a { color: inherit; }
img { max-width: 100%; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
h1, h2, h3 { font-family: "Baloo 2", BVP, sans-serif; line-height: 1.15; margin: 0; }

/* đầu trang + menu: logo trái, thanh chọn trang (các ô bằng nhau) phải; điện thoại: thanh chọn trải hết chiều ngang */
.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 12px; padding: 12px 0; margin: 0 -16px; padding-left: 16px; padding-right: 16px;
  background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.top .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.top img { width: 40px; height: 40px; border-radius: 11px; }
.top b { font: 700 21px "Baloo 2", sans-serif; color: var(--red); white-space: nowrap; }
nav { margin-left: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; background: var(--card); border-radius: 16px; box-shadow: var(--shadow); }
nav a { text-decoration: none; text-align: center; white-space: nowrap; font-weight: 700; font-size: 15px; line-height: 1.2; padding: 9px 16px; border-radius: 12px; color: var(--soft); transition: background .15s, color .15s; }
nav a:hover { color: var(--red); background: var(--bg); }
nav a[aria-current] { background: var(--red); color: #fff; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 58px; padding: 12px 30px; border-radius: 18px;
       background: var(--green); color: #fff; text-decoration: none; font: 700 22px "Baloo 2", sans-serif; box-shadow: 0 6px 0 #2c6a2f; }
.btn:active { transform: translateY(3px); box-shadow: 0 3px 0 #2c6a2f; }
.btn.sm { min-height: 48px; font-size: 19px; padding: 8px 22px; box-shadow: 0 4px 0 #2c6a2f; }
.btn.ghost { background: var(--card); color: var(--red); box-shadow: 0 4px 0 var(--line); }
.btn svg { width: 22px; height: 22px; flex: none; }
.note { font-size: 15px; color: var(--soft); margin-top: 12px; }

main { padding-bottom: 20px; }
section { margin: 44px 0; }
h1.page { font-size: clamp(34px, 5.5vw, 50px); color: var(--red); text-align: center; margin: 26px 0 6px; }
p.lead { text-align: center; color: var(--soft); max-width: 640px; margin: 0 auto 26px; }
section > h2 { font-size: clamp(26px, 4vw, 34px); margin-bottom: 16px; text-align: center; }

.card { background: var(--card); border-radius: 20px; padding: 22px; box-shadow: var(--shadow); }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: #fde6de; color: var(--red-dark); }
.ico svg { width: 26px; height: 26px; }
.card h3 { font-size: 23px; margin: 12px 0 6px; }
.card p { margin: 0; color: var(--soft); font-size: 17px; }
.card ol { margin: 10px 0 0; padding-left: 22px; }
.card li { margin: 6px 0; }
.card b { color: var(--red-dark); }
a.card { text-decoration: none; display: block; transition: transform .15s; }
a.card:hover { transform: translateY(-3px); }
.more { display: inline-block; margin-top: 12px; font-weight: 700; color: var(--red); }

footer { margin-top: 30px; padding: 26px 0 44px; color: var(--soft); font-size: 15px; text-align: center; border-top: 2px dashed var(--line); }
footer a { margin: 0 10px; }

@media (max-width: 760px) {
  body { font-size: 17px; }
  .top { flex-wrap: wrap; justify-content: center; gap: 8px; padding-top: 10px; padding-bottom: 10px; }
  .top img { width: 32px; height: 32px; border-radius: 9px; }
  .top b { font-size: 19px; }
  nav { margin: 0; width: 100%; display: flex; gap: 2px; padding: 4px; border-radius: 14px; }
  nav a { flex: 1 1 auto; font-size: 14px; padding: 9px 6px; border-radius: 10px; }
  .btn { width: 100%; }
}

/* dải tình trạng phát hành (mọi trang): đang thử nghiệm → chờ cấp phép → phát hành */
/* dải tình trạng phát hành: một hàng gọn — [✓ Thử nghiệm] → [Chờ cấp phép] → [Phát hành sau khi được cấp phép] */
.status { margin: 4px 0 12px; padding: 6px 10px; background: var(--card); border: 1.5px solid var(--yellow); border-radius: 999px; }
.timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 6px; font-size: 13px; line-height: 1.3; }
.timeline li { display: inline-flex; align-items: center; gap: 6px; color: var(--soft); font-weight: 600; }
.timeline li + li::before { content: "→"; color: var(--line); font-weight: 700; }
.timeline li.done { color: var(--green); }
.timeline li.done::after { content: " ✓"; }
.timeline li.now { color: var(--red); font-weight: 800; }
@media (max-width: 760px) {
}
footer .contact { margin-top: 10px; }
footer .contact a { margin: 0; font-weight: 700; color: var(--red-dark); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) footer .contact a { color: var(--yellow); } }
:root[data-theme="dark"] footer .contact a { color: var(--yellow); }

@media (max-width: 420px) { .status { padding: 5px 8px; } .timeline { font-size: 12px; gap: 2px 4px; } .timeline li { gap: 4px; } }
