/* Lên Sân · trang web tĩnh. Màu và chữ lấy đúng theo giao diện v3 của app
   (apps/mobile/src/components/ui/theme.ts): nền tối, thẻ xanh than, nút chuyển sắc xanh chanh → xanh lá,
   mỗi mục một cặp màu (Tìm kèo đỏ/cam, CLB tím/xanh ngọc, Giải đấu vàng cam, Tìm partner hồng),
   chữ Anton in hoa cho tiêu đề lớn, Archivo chỉ dùng 3 độ đậm 400 / 500 / 600. */
:root {
  --bg: #0b0d10;
  --surface: #18212e;
  --elevated: #243041;
  --border: #28333f;
  --card-border: #2c3848;
  --text: #f4f5f2;
  --muted: #a3a8b0;
  --accent: #c9f24a;
  --on-primary: #1c2600;
  --glow: #1f4a27;
  --ink: 255, 255, 255;
  --btn: linear-gradient(90deg, #a3e635, #6bd647, #2fc75b);
  --logo: linear-gradient(180deg, #a3e635, #6bd647, #2fc75b);
}
/* Bản sáng (theo máy), giống bảng màu sáng của app */
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f4f5f2;
    --surface: #ffffff;
    --elevated: #edefea;
    --border: #e3e5e1;
    --card-border: #d9dce5;
    --text: #101113;
    --muted: #5c6066;
    --accent: #4d7c0f;
    --glow: #d7f0b8;
    --ink: 16, 17, 19;
  }
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}
body {
  font-family:
    "Archivo",
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  background-image:
    radial-gradient(ellipse 90% 380px at 50% -60px, var(--glow), transparent 70%),
    linear-gradient(rgba(var(--ink), 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--ink), 0.035) 1px, transparent 1px);
  background-size:
    100% 100%,
    24px 24px,
    24px 24px;
  background-repeat: no-repeat, repeat, repeat;
}
a {
  color: inherit;
}
.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 24px 16px 48px;
}
.wrap.narrow {
  max-width: 560px;
}
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0 24px;
}
.logo {
  font-family: "Anton", Impact, sans-serif;
  font-size: 22px;
  line-height: 1.45;
  letter-spacing: 0.03em;
  background: var(--logo);
  color: var(--on-primary);
  padding: 2px 14px;
  border-radius: 14px;
  text-decoration: none;
}
.hero {
  padding: 24px 0 32px;
}
.kicker {
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.08em;
  font-size: 13px;
  margin: 0 0 8px;
}
/* Anton cần dòng cao ~1.45× để dấu tiếng Việt (Ồ, Ấ…) không chạm dòng trên */
h1,
h2 {
  font-family: "Anton", Impact, sans-serif;
  font-weight: 400;
  letter-spacing: 0.01em;
  margin: 0;
}
h1 {
  font-size: clamp(42px, 10vw, 84px);
  line-height: 1.45;
}
h2 {
  font-size: 22px;
  line-height: 1.45;
}
.lead {
  color: var(--muted);
  font-size: 18px;
  max-width: 34em;
  margin: 12px 0 0;
}
.badge {
  display: inline-block;
  margin-top: 20px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--accent);
  font-weight: 500;
  font-size: 14px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  padding: 20px;
  min-height: 160px;
  color: #ffffff;
}
.card p {
  margin: 6px 0 0;
  font-size: 15px;
  opacity: 0.92;
}
/* Cặp màu theo từng mục của app */
.red {
  background: linear-gradient(160deg, #d9481f, #a82c19);
}
.violet {
  background: linear-gradient(160deg, #7b5cf0, #3a2490);
}
.amber {
  background: linear-gradient(160deg, #ffd166, #f59e2b);
  color: #2a1700;
}
.magenta {
  background: linear-gradient(160deg, #e0508a, #7a1f4c);
}
.tagline {
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(24px, 6vw, 34px);
  line-height: 1.45;
  letter-spacing: 0.05em;
  margin: 0 0 4px;
  background: var(--btn);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.tagline span {
  color: var(--muted);
  -webkit-text-fill-color: var(--muted);
}
.lsr {
  margin-top: 40px;
  padding: 28px 20px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--card-border);
}
h2.big {
  font-size: clamp(26px, 5.5vw, 40px);
  line-height: 1.45;
}
h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 0;
  line-height: 1.4;
}
h3.sub {
  margin-top: 32px;
}
.muted {
  color: var(--muted);
}
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 24px;
}
.pillar {
  padding: 16px;
  border-radius: 16px;
  background: var(--elevated);
}
.pillar p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 15px;
}
.roots {
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--muted);
}
.roots li {
  margin: 6px 0;
}
.roots b {
  color: var(--text);
  font-weight: 600;
}
.bars {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}
.bar {
  display: grid;
  grid-template-columns: 96px 1fr 60px;
  align-items: center;
  gap: 10px;
  font-size: 15px;
}
.bar .name {
  color: var(--muted);
}
.bar .track {
  height: 14px;
  border-radius: 999px;
  background: var(--elevated);
  overflow: hidden;
}
.bar .track i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--muted);
  opacity: 0.55;
}
.bar b {
  font-weight: 600;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.bar.win .name,
.bar.win b {
  color: var(--accent);
}
.bar.win .track i {
  background: var(--btn);
  opacity: 1;
}
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin-top: 20px;
}
.fact {
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
}
.fact b {
  display: block;
  font-weight: 600;
  color: var(--accent);
  font-size: 18px;
}
.fact span {
  color: var(--muted);
  font-size: 14px;
}
.fine {
  color: var(--muted);
  font-size: 13px;
  margin: 20px 0 0;
}
.trust {
  margin-top: 32px;
  padding: 24px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--card-border);
}
.trust h2 {
  color: var(--text);
}
.trust p {
  color: var(--muted);
  margin: 8px 0 0;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  padding: 14px 28px;
  min-height: 52px;
  border-radius: 16px;
  background: var(--btn);
  color: var(--on-primary);
  font-weight: 500;
  text-decoration: none;
  font-size: 17px;
}
.btn:active {
  opacity: 0.85;
}
.note {
  display: none;
  color: var(--muted);
  margin-top: 16px;
  font-size: 15px;
}
.note.show {
  display: block;
}
.foot {
  margin-top: 40px;
  color: var(--muted);
  font-size: 14px;
}

/* Trang văn bản: chính sách, điều khoản, xóa tài khoản */
.doc h1.doc-title {
  font-size: clamp(30px, 7vw, 44px);
  line-height: 1.45;
}
.doc h2 {
  font-family: "Archivo", system-ui, sans-serif;
  font-weight: 600;
  font-size: 19px;
  line-height: 1.4;
  margin: 28px 0 8px;
  letter-spacing: 0;
}
.doc p,
.doc li {
  color: var(--text);
}
.doc ul,
.doc ol {
  padding-left: 22px;
}
.doc li {
  margin: 6px 0;
}
.doc a {
  color: var(--accent);
}
.doc b {
  font-weight: 600;
}
.meta {
  color: var(--muted);
  font-size: 14px;
  margin: 4px 0 16px;
}
.note-box {
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--card-border);
  color: var(--muted);
  font-size: 15px;
}
.table-wrap {
  overflow-x: auto;
  margin: 8px 0;
  border-radius: 14px;
  border: 1px solid var(--card-border);
}
.doc table {
  border-collapse: collapse;
  width: 100%;
  min-width: 560px;
  font-size: 14px;
}
.doc th,
.doc td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
}
.doc th {
  background: var(--surface);
  font-weight: 600;
}
.doc tr:last-child td {
  border-bottom: 0;
}
.doc-foot a {
  color: var(--muted);
}
.links {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}
.links a {
  color: var(--muted);
}

/* Trang chủ bản nội dung 2026-11-20 */
.top-cta {
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
  font-size: 15px;
}
.ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.ctas .btn {
  margin-top: 0;
}
.btn.ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.badge-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 0;
}
.badge-line .badge {
  margin-top: 0;
}
.band {
  margin-top: 32px;
  padding: 24px 20px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--card-border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}
.band-text {
  flex: 1 1 320px;
  margin: 0;
  font-size: 18px;
}
.band .btn {
  margin-top: 0;
}
.sub-title {
  color: var(--accent);
  font-weight: 600;
  font-size: 18px;
  margin: 8px 0 0;
}
.pillars.three {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.final {
  margin-top: 40px;
  text-align: center;
  padding: 32px 20px;
}
.final .lead {
  margin-left: auto;
  margin-right: auto;
}
.final .ctas {
  justify-content: center;
}
