/* Trang giới thiệu CleanTV tĩnh cho cleantv.alexvgs.tech (27/10/2026) — dựng lại từ vgs.zone/cleantv
   (vgs-contest/app/cleantv/NoiDung.tsx + cleantv.module.css + app/app/gioiThieu.module.css), giao diện tối, tím–hồng VGS. */
:root {
  color-scheme: dark;
  --den: #0b0a1a;
  --trang: #100e24;
  --xam: #0d0c1f;
  --ink: #f1f0ff;
  --ink-3: #cfcde6;
  --muted: #aeabcb;
  --accent: #c4b5fd;
  --kinh: rgba(255, 255, 255, 0.05);
  --kinh-vien: rgba(255, 255, 255, 0.1);
  --ct-tim: #a78bfa;
  --ct-hong: #ec4899;
  --ct-grad: linear-gradient(135deg, #6366f1, #8b5cf6 55%, #ec4899);
  --ct-nen-moi: linear-gradient(135deg, rgba(139, 92, 246, 0.16), rgba(236, 72, 153, 0.12));
  --ct-the: rgba(99, 102, 241, 0.1);
  --ct-the-vien: rgba(129, 140, 248, 0.24);
  --ct-xam: rgba(150, 150, 175, 0.08);
  --ct-xam-vien: rgba(150, 150, 175, 0.2);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--den);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
.ic { display: inline-block; flex: none; vertical-align: middle; }

/* ── Thanh trên cùng (thay header web chính + thanh mục dính) ── */
.thanhMuc { position: sticky; top: 0; z-index: 30; padding: 10px 16px; background: linear-gradient(var(--den) 40%, transparent); }
.thanhMucTrong {
  max-width: 1124px; margin: 0 auto; display: flex; align-items: center; gap: 4px; padding: 6px 6px 6px 10px; border-radius: 999px;
  background: rgba(30, 27, 60, 0.62); border: 1px solid var(--kinh-vien);
  backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%);
}
.thanhMucTen { margin-right: auto; display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; white-space: nowrap; text-decoration: none; }
.thanhMucTen img { width: 28px; height: 28px; border-radius: 8px; }
.thanhMucMuc, .thanhMucTai { padding: 8px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.thanhMucMuc { color: var(--ink-3); }
.thanhMucMuc:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.thanhMucTai { color: #fff; font-weight: 700; background: linear-gradient(135deg, #6366f1, #ec4899); }
@media (max-width: 860px) { .thanhMucMuc { display: none; } }

/* ── Khối ── */
.khoi { padding: 110px 22px; overflow: hidden; }
.toi {
  background: radial-gradient(70% 50% at 20% 0%, rgba(99, 102, 241, 0.22), transparent 70%), radial-gradient(60% 50% at 90% 30%, rgba(236, 72, 153, 0.14), transparent 70%), var(--den);
}
.sang { background: radial-gradient(60% 50% at 0% 0%, rgba(129, 140, 248, 0.14), transparent 70%), radial-gradient(60% 50% at 100% 100%, rgba(244, 114, 182, 0.1), transparent 70%), var(--trang); }
.xam { background: radial-gradient(60% 50% at 100% 0%, rgba(129, 140, 248, 0.12), transparent 70%), var(--xam); }

.nhanNho { font-size: 19px; font-weight: 600; color: var(--accent); margin: 0 0 10px; text-align: center; }
.nhanMau {
  font-size: 17px; font-weight: 600; margin: 0 0 8px; width: fit-content;
  background: linear-gradient(90deg, #818cf8, #c084fc 55%, #f472b6);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.tieuDeLon { font-size: clamp(44px, 8vw, 96px); line-height: 1.04; font-weight: 700; letter-spacing: -0.03em; margin: 0 0 18px; text-align: center; }
.chuChuyen { background: linear-gradient(90deg, #a5b4fc, #c084fc 45%, #f472b6 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tieuDe { font-size: clamp(34px, 5.6vw, 64px); line-height: 1.08; font-weight: 700; letter-spacing: -0.025em; margin: 0 0 18px; overflow-wrap: break-word; }
.phuLon { font-size: clamp(18px, 2.2vw, 24px); line-height: 1.45; color: var(--muted); max-width: 760px; margin: 0 auto 28px; text-align: center; }
.phu { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.5; color: var(--muted); margin: 0 0 22px; }
.phuGiua { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.5; color: var(--muted); max-width: 680px; margin: 0 auto; }
.phu a, .phuGiua a, .ds a { color: var(--accent); }
.ds { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; font-size: 17px; font-weight: 500; }
.ds li { padding-left: 28px; position: relative; }
.ds li::before {
  content: ""; position: absolute; left: 0; top: 0.32em; width: 16px; height: 16px; border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #ec4899);
  -webkit-mask: radial-gradient(circle, #000 30%, transparent 32%), linear-gradient(#000 0 0);
  mask: radial-gradient(circle, #000 30%, transparent 32%), linear-gradient(#000 0 0);
}

/* ── Nút ── */
.nutHang { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.nut {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; border-radius: 980px; border: 0;
  font: inherit; font-size: 17px; font-weight: 600; text-decoration: none; cursor: pointer;
  background: var(--ct-grad); color: #fff; box-shadow: 0 10px 28px rgba(99, 102, 241, 0.3);
  transition: filter 0.2s, transform 0.2s;
}
.nut:hover { filter: brightness(1.08); transform: translateY(-1px); }
.nut:disabled { opacity: 0.6; cursor: default; transform: none; }
.nutVien { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(241, 240, 255, 0.45); }
.nutVien:hover { background: rgba(255, 255, 255, 0.08); filter: none; }

/* ── Khung điện thoại ── */
.may {
  position: relative; width: 300px; max-width: 100%; aspect-ratio: 660 / 1434; border-radius: 52px; padding: 10px;
  background: linear-gradient(145deg, #3a3a3c, #121214 40%, #2c2c2e);
  box-shadow: 0 0 0 1.5px #4a4a4e inset, 0 40px 80px -20px rgba(0, 0, 0, 0.45), 0 20px 40px -24px rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
}
.may img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 43px; background: #1a1a22; }

/* ── Khung tivi ── */
.tivi { position: relative; border-radius: 14px; padding: 8px; background: linear-gradient(145deg, #2c2c30, #0e0e10); box-shadow: 0 0 0 1px #3a3a3e inset, 0 40px 80px -30px rgba(0, 0, 0, 0.6); }
.tivi img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; background: #000; }

/* ── Hero ── */
.hero {
  padding-top: 70px; padding-bottom: 0; text-align: center;
  background: radial-gradient(60% 40% at 50% 100%, rgba(143, 123, 255, 0.35), transparent 70%), radial-gradient(40% 30% at 20% 85%, rgba(236, 72, 153, 0.22), transparent 70%), var(--den);
}
.nhanMoi {
  display: inline-flex; gap: 8px; align-items: center; margin: 0 auto 18px; padding: 7px 16px 7px 8px; border-radius: 999px;
  font-size: 14px; font-weight: 600; text-decoration: none; text-align: left;
  background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}
.nhanMoi b { flex: none; padding: 2px 10px; border-radius: 999px; background: var(--ct-grad); color: #fff; font-size: 12px; }
.nho { font-size: 14px; line-height: 1.6; color: var(--muted); margin: 14px 0 0; text-align: center; }
.nho .ic { margin: -3px 4px 0 0; }
.nho b { color: var(--ink); }
.nhoTrai { text-align: left; }
.heroCanh { position: relative; max-width: 1040px; margin: 56px auto 0; padding: 0 20px 80px; }
.heroCanh .mayHero { position: absolute; right: 2%; bottom: 10px; width: 200px; margin: 0; }
@media (max-width: 720px) {
  .heroCanh { padding: 0 0 70px; }
  .heroCanh .mayHero { width: 110px; right: 2%; bottom: 14px; border-radius: 24px; padding: 5px; }
  .heroCanh .mayHero img { border-radius: 20px; }
}

/* Số người đã dùng app (chữ số cuộn dọc) */
.soNguoi { margin: 22px 0 4px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.soNguoi[hidden] { display: none; }
.soDem { display: inline-flex; font-size: clamp(40px, 7vw, 64px); font-weight: 800; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.soO { display: inline-block; height: 1em; overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent); }
.soCot { display: flex; flex-direction: column; transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1); }
.soCot span { height: 1em; display: block; text-align: center; }
.soPhay { display: inline-block; height: 1em; }
.soNhan { font-size: 15px; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .soCot { transition: none; } }

/* ── Bố cục ── */
.giua { max-width: 900px; margin: 0 auto 60px; text-align: center; }
.giua .nhanMau { margin-left: auto; margin-right: auto; }
.hai { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; align-items: center; }
.daoChieu .chu { order: 2; }
.daoChieu .cap { order: 1; }
.cap { display: flex; justify-content: center; align-items: flex-start; gap: 24px; }
.mayLech { margin-top: 70px; width: 260px; }
.chuThich { text-align: center; color: var(--muted); font-size: 13px; margin: 40px auto 0; max-width: 760px; }
.oIcon { color: #a5b4fc; display: inline-flex; }

/* Trước & sau */
.soSanh { --x: 50%; position: relative; max-width: 1080px; margin: 40px auto 0; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #000; box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.5); user-select: none; -webkit-user-select: none; }
.soSanh img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.soSanh .sau { clip-path: inset(0 0 0 var(--x)); }
.vach { position: absolute; top: 0; bottom: 0; left: var(--x); width: 3px; background: #fff; transform: translateX(-50%); pointer-events: none; }
.vach::after { content: "⇆"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; border-radius: 50%; background: #fff; color: #111; display: grid; place-items: center; font-weight: 800; }
.nhan { position: absolute; top: 14px; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; color: #fff; background: rgba(0, 0, 0, 0.6); pointer-events: none; }
.nhanTruoc { left: 14px; }
.nhanSau { right: 14px; background: var(--ct-grad); }
.soSanh input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }

/* Tivi kèm điện thoại (Kênh, Khoá trẻ em) */
.khoaCanh { position: relative; padding-bottom: 40px; }
.mayKhoa { position: absolute; right: -4%; bottom: -10px; width: 170px; }
@media (max-width: 720px) { .mayKhoa { width: 108px; right: 2%; bottom: 0; border-radius: 22px; padding: 5px; } .mayKhoa img { border-radius: 18px; } }

/* Tính năng theo nhóm */
.nhomTn { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 1100px; margin: 40px auto 0; text-align: left; }
.theTn { border-radius: 22px; padding: 22px 20px; background: var(--kinh); box-shadow: inset 0 0 0 1px var(--ct-the-vien); display: flex; flex-direction: column; gap: 10px; }
.theTn h3 { margin: 4px 0 0; font-size: 18px; }
.theTn ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; font-size: 14.5px; line-height: 1.5; color: var(--ink-3); }
@media (max-width: 900px) { .nhomTn { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .nhomTn { grid-template-columns: 1fr; } }

/* Lưới theme */
.luoiTheme { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; max-width: 1180px; margin: 44px auto 0; }
.theme { margin: 0; }
.theme figcaption, .baMay figcaption { display: flex; flex-direction: column; gap: 2px; margin-top: 12px; text-align: left; }
.theme figcaption b, .baMay figcaption b { font-size: 17px; }
.theme figcaption span, .baMay figcaption span { font-size: 14px; color: var(--muted); }
@media (max-width: 900px) { .luoiTheme { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .luoiTheme { grid-template-columns: 1fr; gap: 22px; } }

/* Ba màn app */
.baMay { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; max-width: 980px; margin: 44px auto 0; }
.baMay figure { margin: 0; display: flex; flex-direction: column; align-items: center; }
.baMay figcaption { text-align: center; margin-top: 14px; }
@media (max-width: 760px) { .baMay { grid-template-columns: 1fr; max-width: 260px; gap: 32px; } }

/* Các bước */
.buoc { list-style: none; counter-reset: b; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; max-width: 1080px; margin: 40px auto 0; padding: 0; text-align: left; }
.buoc li { counter-increment: b; border-radius: 22px; padding: 24px; background: var(--ct-the); box-shadow: inset 0 0 0 1px var(--ct-the-vien); display: flex; flex-direction: column; gap: 8px; }
.buoc li::before { content: counter(b); font-weight: 800; font-size: 26px; background: var(--ct-grad); -webkit-background-clip: text; background-clip: text; color: transparent; width: fit-content; }
.buoc b { font-size: 17px; }
.buoc span { font-size: 15px; color: var(--ink-3); line-height: 1.5; }
.buoc a { color: var(--ct-tim); }
@media (max-width: 900px) { .buoc { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .buoc { grid-template-columns: 1fr; } }

/* Cài thẳng lên tivi */
.nhanThu { display: inline-block; vertical-align: middle; font-size: 13px; font-weight: 700; letter-spacing: 0.02em; color: #fff; background: var(--ct-grad); border-radius: 999px; padding: 3px 10px; margin-left: 8px; }
.trenTivi { list-style: none; margin: 40px auto 0; padding: 0; max-width: 1120px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; counter-reset: b; text-align: left; }
.trenTivi > li { counter-increment: b; display: flex; flex-direction: column; gap: 10px; }
.trenTivi > li > b { font-size: 17px; margin-top: 6px; }
.trenTivi > li > b::before { content: counter(b); display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; margin-right: 10px; border-radius: 50%; font-size: 13px; color: #fff; background: var(--ct-grad); }
.trenTivi > li > span { font-size: 15px; line-height: 1.6; color: var(--ink-3); }
.trenTivi a { color: var(--ct-tim); }
.trenTivi code, .hoiDap code { font-size: 14px; padding: 1px 6px; border-radius: 6px; background: var(--ct-the); overflow-wrap: anywhere; }
@media (max-width: 900px) { .trenTivi { grid-template-columns: 1fr; max-width: 560px; } }

/* Hướng dẫn bật chế độ nhà phát triển */
.huongDan { list-style: none; padding: 0; margin: 40px auto 0; max-width: 1080px; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; text-align: left; }
.huongDan li { border-radius: 20px; overflow: hidden; background: var(--ct-the); box-shadow: inset 0 0 0 1px var(--ct-the-vien); display: flex; flex-direction: column; }
.huongDan img { display: block; width: 100%; height: 190px; object-fit: cover; object-position: top; background: #111; }
.huongDan div { padding: 14px 16px 18px; }
.huongDan b { display: flex; align-items: center; gap: 8px; font-size: 16px; }
.huongDan b span { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; color: #fff; background: var(--ct-grad); }
.huongDan p { margin: 8px 0 0; font-size: 14px; line-height: 1.5; color: var(--ink-3); }

/* Danh sách tivi đã thử */
.dsTivi { max-width: 860px; margin: 28px auto 0; text-align: left; }
.dsLoc { display: flex; flex-direction: column; gap: 10px; }
.dsTim { width: 100%; font: inherit; font-size: 16px; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--ct-xam-vien); background: var(--ct-xam); color: inherit; }
.dsTim:focus { outline: 2px solid var(--ct-tim); outline-offset: 1px; }
.dsChip { display: flex; gap: 8px; flex-wrap: wrap; }
.dsChip button { font: inherit; font-size: 13.5px; font-weight: 600; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--ct-xam-vien); background: transparent; color: var(--ink-3); cursor: pointer; }
.dsChip button[aria-pressed="true"] { background: var(--ct-grad); color: #fff; border-color: transparent; }
.dsDem { font-size: 13px; color: var(--muted); margin: 14px 2px 8px; }
.dsCuon { max-height: 560px; overflow-y: auto; border-radius: 18px; border: 1px solid var(--ct-xam-vien); padding: 6px 18px 12px; background: #13122a; }
.dsHang h3 { position: sticky; top: 0; margin: 0; padding: 12px 0 8px; font-size: 15px; background: #13122a; }
.dsHang h3 span { font-size: 12px; font-weight: 600; color: var(--muted); margin-left: 4px; }
.dsHang ul { list-style: none; margin: 0 0 6px; padding: 0; }
.dsHang li { padding: 8px 0; border-top: 1px solid var(--ct-xam-vien); }
.dsTen { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; font-size: 14.5px; }
.dsTen b { overflow-wrap: anywhere; }
.dsTen em { font-style: normal; font-size: 11px; font-weight: 700; padding: 1px 8px; border-radius: 999px; background: var(--ct-the); color: var(--ct-tim); }
.dsTen span { font-size: 12.5px; color: var(--muted); margin-left: auto; }
.dsHang small { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; line-height: 1.45; overflow-wrap: anywhere; }
.dsTrong { font-size: 14px; color: var(--ink-3); padding: 14px 0; line-height: 1.55; }
@media (max-width: 640px) { .dsCuon { max-height: 480px; padding: 4px 12px 10px; } .dsTen span { margin-left: 0; width: 100%; } }

/* Hỏi đáp */
.hoiDap { max-width: 760px; margin: 36px auto 0; text-align: left; display: grid; gap: 12px; }
.hoiDap details { border-radius: 18px; padding: 18px 22px; background: var(--ct-the); box-shadow: inset 0 0 0 1px var(--ct-the-vien); }
.hoiDap summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.hoiDap summary::-webkit-details-marker { display: none; }
.hoiDap summary::after { content: "+"; color: var(--ct-tim); font-size: 22px; line-height: 1; }
.hoiDap details[open] summary::after { content: "–"; }
.hoiDap p { margin: 12px 0 0; color: var(--ink-3); line-height: 1.6; }
.hoiDap a { color: var(--ct-tim); }

/* Nhật ký cập nhật */
.nhatKy { list-style: none; margin: 32px auto 0; padding: 0; max-width: 760px; display: flex; flex-direction: column; gap: 14px; text-align: left; }
.nhatKy > li { background: var(--ct-xam); border: 1px solid var(--ct-xam-vien); border-radius: 18px; padding: 18px 22px; }
.nhatKy > li.nkMoi { background: var(--ct-nen-moi); border-color: var(--ct-the-vien); }
.nkDau { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.nkDau b { font-size: 17px; }
.nkDau span:last-child { margin-left: auto; font-size: 13px; color: var(--muted); }
.nkNhan { font-size: 11.5px; font-weight: 700; color: #fff; background: var(--ct-grad); border-radius: 999px; padding: 2px 9px; }
.nkDangDung { font-size: 11.5px; font-weight: 700; color: var(--ct-tim); border: 1px solid var(--ct-the-vien); border-radius: 999px; padding: 1px 8px; }
.nhatKy ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 5px; font-size: 15px; line-height: 1.55; color: var(--ink-3); }
.nkCu { max-width: 760px; margin: 16px auto 0; }
.nkCu summary { cursor: pointer; text-align: center; font-weight: 600; color: var(--muted); padding: 8px; list-style: none; }
.nkCu summary::-webkit-details-marker { display: none; }
.nkCu .nhatKy { margin-top: 12px; }
@media (max-width: 640px) { .nhatKy > li { padding: 14px 16px; } .nkDau span:last-child { margin-left: 0; width: 100%; } }

/* Góp ý */
.gopY { max-width: 620px; margin: 0 auto; display: grid; gap: 14px; text-align: left; }
.gopY label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink-3); }
.gopY input, .gopY textarea {
  width: 100%; font: inherit; font-size: 16px; padding: 12px 16px; border-radius: 14px;
  border: 1px solid var(--ct-xam-vien); background: #13122a; color: inherit;
}
.gopY textarea { min-height: 140px; resize: vertical; }
.gopY input:focus, .gopY textarea:focus { outline: 2px solid var(--ct-tim); outline-offset: 1px; }
.loaiGopY { display: flex; gap: 8px; flex-wrap: wrap; border: 0; padding: 0; margin: 0; }
.loaiGopY legend { padding: 0; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: var(--ink-3); }
.loaiGopY label { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--ct-xam-vien); cursor: pointer; font-weight: 600; }
.loaiGopY label:has(input:checked) { background: var(--ct-grad); border-color: transparent; color: #fff; }
.loaiGopY input { width: auto; accent-color: #8b5cf6; margin: 0; }
.gopYBao { margin: 0; font-size: 14.5px; line-height: 1.5; min-height: 1.5em; }
.gopYBao.loi { color: #fda4af; }
.gopYBao.xong { color: #86efac; }
.gopYNut { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.gopYPhu { font-size: 13.5px; color: var(--muted); margin: 0; }
.gopYPhu a { color: var(--accent); }

/* Khối cuối */
.cuoi { text-align: center; background: radial-gradient(50% 50% at 50% 0%, rgba(236, 72, 153, 0.22), transparent 70%), var(--den); }
.icon { width: 96px; height: 96px; display: block; margin: 0 auto 24px; border-radius: 22px; }

/* Chân trang */
.chan { padding: 36px 22px 48px; border-top: 1px solid var(--kinh-vien); text-align: center; font-size: 14px; color: var(--muted); }
.chan nav { display: flex; gap: 8px 18px; justify-content: center; flex-wrap: wrap; margin-bottom: 12px; }
.chan a { color: var(--ink-3); text-decoration: none; }
.chan a:hover { color: #fff; text-decoration: underline; }
.chan p { margin: 0; }

/* Mời vào cộng đồng VGS sau khi bấm tải */
.moiThe {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 90;
  width: min(360px, calc(100vw - 32px)); display: grid; gap: 8px; padding: 16px 18px; border-radius: 20px;
  background: #15151d; color: var(--ink); border: 1px solid rgba(255, 255, 255, 0.16); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); animation: moiLen 0.35s ease-out;
}
.moiThe[hidden] { display: none; }
.moiThe p { margin: 0; font-size: 14px; line-height: 1.5; color: #9a9aad; }
.moiThe p b { color: var(--ink-3); }
.moiDong { position: absolute; top: 8px; right: 10px; border: 0; background: none; color: #9a9aad; font-size: 22px; line-height: 1; cursor: pointer; }
.moiNut { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.moiNut a { text-decoration: none; font-weight: 700; font-size: 14px; padding: 9px 16px; border-radius: 999px; }
.moiChinh { background: var(--ct-grad); color: #fff; }
.moiPhu { box-shadow: inset 0 0 0 1px rgba(165, 180, 252, 0.6); color: #c7d2fe; }
@keyframes moiLen { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .moiThe { animation: none; } }

/* Hiện dần khi cuộn (trình duyệt hỗ trợ scroll-driven animation) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .hien { animation: hienLen linear both; animation-timeline: view(); animation-range: entry 0% cover 30%; }
  }
}
@keyframes hienLen { from { opacity: 0; transform: translateY(60px) scale(0.98); } to { opacity: 1; transform: none; } }

/* ── Màn hẹp ── */
@media (max-width: 900px) {
  .hai { grid-template-columns: minmax(0, 1fr); gap: 50px; }
  .daoChieu .chu, .daoChieu .cap { order: 0; }
}
@media (max-width: 640px) {
  .khoi { padding: 76px 16px; }
  .hero { padding-top: 48px; }
  .giua { margin-bottom: 40px; }
  .may { border-radius: 40px; padding: 8px; }
  .may img { border-radius: 33px; }
  .cap { gap: 12px; }
  .cap .may { width: 46%; }
  .mayLech { margin-top: 40px; }
  .ds { font-size: 16px; }
  .thanhMuc { padding: 8px 12px; }
}
