/* Mẫu 05 — Kết hợp · khung 01 · nội dung 02 · màu 03 · BadmintonLover */
:root {
  /* màu 03: đêm navy, chữ sáng; nhấn thương hiệu */
  --night: #0B1230;
  --night2: #101C46;
  --text: #F4F7FF;
  --muted: #C3CCE6;
  --cold-acc: #3E58C6;
  --cold-l: #A9BCFF;
  --ink: #0B3D2C;
  --act: #059669;
  --act-d: #047857;
  --act-dd: #065F46;
  --bright: #3CCB8A;
  --mint: #9BF0C8;
  --pink: #E2457E;
  --gold: #F4B740;
  --nav-h: 68px;
  --col-x: clamp(24px, 7vw, 120px);
  --feat-l: max(var(--col-x), 140px); /* chừa máng trái cho đường hành trình */
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Be Vietnam Pro', system-ui, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--night);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
a { color: inherit; }
:focus-visible { outline: 3px solid #FFD166; outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; transition: top .2s; }
.skip:focus { top: 12px; }
.ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- nền + canvas ---------- */
.bg { position: fixed; inset: 0; z-index: -2; pointer-events: none; }
.bg-layer { position: absolute; inset: 0; }
.bg-night { background: linear-gradient(180deg, #0B1230 0%, #101C46 100%); }
/* quầng sáng ấm / mint / hồng mờ như các khối giữa của 03 */
.bg-glow {
  background:
    radial-gradient(38vw 40vh at 8% 14%, rgba(255, 190, 120, .11) 0%, rgba(255, 190, 120, 0) 70%),
    radial-gradient(42vw 46vh at 92% 86%, rgba(60, 203, 138, .13) 0%, rgba(60, 203, 138, 0) 70%),
    radial-gradient(30vw 30vh at 64% 8%, rgba(226, 69, 126, .08) 0%, rgba(226, 69, 126, 0) 70%),
    radial-gradient(5vw 5vw at 18% 78%, rgba(255, 206, 130, .16) 0%, rgba(255, 206, 130, 0) 70%),
    radial-gradient(4vw 4vw at 46% 92%, rgba(255, 206, 130, .12) 0%, rgba(255, 206, 130, 0) 70%),
    radial-gradient(6vw 6vw at 84% 24%, rgba(60, 203, 138, .12) 0%, rgba(60, 203, 138, 0) 70%);
}
/* "rối": lam lạnh trên nền tối */
.bg-cold {
  opacity: 0;
  background:
    radial-gradient(48vw 56vh at 64% 52%, rgba(62, 88, 198, .5) 0%, rgba(62, 88, 198, 0) 70%),
    radial-gradient(40vw 44vh at 6% 92%, rgba(62, 88, 198, .26) 0%, rgba(62, 88, 198, 0) 70%),
    radial-gradient(30vw 30vh at 96% 6%, rgba(130, 150, 255, .18) 0%, rgba(130, 150, 255, 0) 70%),
    linear-gradient(180deg, #0C1438 0%, #121E52 100%);
}
/* mở màn: trời hoàng hôn tím–cam chuyển navy (03) */
.bg-dusk {
  background:
    radial-gradient(60vw 46vh at 74% 104%, rgba(255, 168, 98, .55) 0%, rgba(255, 168, 98, 0) 70%),
    radial-gradient(40vw 30vh at 30% 100%, rgba(226, 69, 126, .22) 0%, rgba(226, 69, 126, 0) 70%),
    linear-gradient(180deg, #0B1230 0%, #1E2156 35%, #3B2D66 60%, #6E3F70 80%, #B25A6C 92%, #D9825F 100%);
}
.bg-stars {
  position: absolute; left: 0; right: 0; top: 0; height: 58%;
  background-image:
    radial-gradient(1.6px 1.6px at 6% 12%, #fff 50%, transparent 52%), radial-gradient(1.2px 1.2px at 14% 30%, rgba(255,255,255,.8) 50%, transparent 52%),
    radial-gradient(1.4px 1.4px at 23% 8%, rgba(255,255,255,.9) 50%, transparent 52%), radial-gradient(1px 1px at 31% 22%, rgba(255,255,255,.7) 50%, transparent 52%),
    radial-gradient(1.8px 1.8px at 39% 14%, #fff 50%, transparent 52%), radial-gradient(1.1px 1.1px at 46% 36%, rgba(255,255,255,.6) 50%, transparent 52%),
    radial-gradient(1.3px 1.3px at 53% 6%, rgba(255,255,255,.85) 50%, transparent 52%), radial-gradient(1px 1px at 59% 26%, rgba(255,255,255,.7) 50%, transparent 52%),
    radial-gradient(1.6px 1.6px at 66% 16%, #fff 50%, transparent 52%), radial-gradient(1.2px 1.2px at 72% 34%, rgba(255,255,255,.7) 50%, transparent 52%),
    radial-gradient(1.4px 1.4px at 79% 9%, rgba(255,255,255,.9) 50%, transparent 52%), radial-gradient(1px 1px at 85% 24%, rgba(255,255,255,.65) 50%, transparent 52%),
    radial-gradient(1.7px 1.7px at 91% 13%, #fff 50%, transparent 52%), radial-gradient(1.1px 1.1px at 96% 31%, rgba(255,255,255,.7) 50%, transparent 52%),
    radial-gradient(1.2px 1.2px at 10% 46%, rgba(255,255,255,.55) 50%, transparent 52%), radial-gradient(1px 1px at 35% 44%, rgba(255,255,255,.5) 50%, transparent 52%),
    radial-gradient(1.3px 1.3px at 62% 42%, rgba(255,255,255,.55) 50%, transparent 52%), radial-gradient(1px 1px at 88% 46%, rgba(255,255,255,.5) 50%, transparent 52%);
}
/* phố tan tầm (ảnh B1) mờ xa phía sau, chỉ máy tính có 3D — không lấn điện thoại + bong bóng */
.bg-city { position: absolute; display: none; }
.bg-deep {
  opacity: 0;
  background:
    radial-gradient(70vw 56vh at 50% 22%, #169A63 0%, rgba(14, 107, 69, 0) 72%),
    radial-gradient(40vw 40vh at 85% 90%, rgba(226, 69, 126, .2) 0%, rgba(226, 69, 126, 0) 70%),
    linear-gradient(180deg, #0E6B45 0%, #0B3D2C 100%);
}
#stage { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; display: none; }
html.has3d #stage { display: block; }

.cover {
  position: fixed; inset: 0; z-index: 150; display: grid; place-content: center; justify-items: center; gap: 18px;
  background: radial-gradient(800px 500px at 50% 60%, #2b2f72, #0B1230); transition: opacity .6s ease, visibility .6s;
}
.cover-logo { width: 96px; height: 96px; border-radius: 26px; overflow: hidden; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .6); animation: pulse 1.4s ease-in-out infinite; }
.cover-logo img { width: 100%; height: 100%; transform: scale(1.32); display: block; }
.cover-text { font-weight: 600; color: #E8ECFF; font-size: 15px; }
html.ready .cover, html.shot .cover, html:not(.has3d) .cover { opacity: 0; visibility: hidden; }
@keyframes pulse { 50% { transform: scale(.94); } }

/* ---------- nút ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  background: linear-gradient(180deg, #05895f, var(--act-d)); color: #fff; font-weight: 800; font-size: 16px; line-height: 1.2;
  text-decoration: none; white-space: nowrap;
  box-shadow: 0 10px 26px rgba(4, 120, 87, .45), inset 0 1px 0 rgba(255, 255, 255, .25);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.btn:hover { background: linear-gradient(180deg, var(--act-d), var(--act-dd)); transform: translateY(-1px); box-shadow: 0 14px 32px rgba(4, 120, 87, .55); }
.btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; border-radius: 999px; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 14.5px; }
.btn-lg { min-height: 58px; padding: 0 30px; font-size: 17px; }
.btn-xl { min-height: 64px; padding: 0 40px; font-size: 18.5px; }
.btn-bright { background: var(--bright); color: #062A1D; box-shadow: 0 18px 40px -16px rgba(60, 203, 138, .8); }
.btn-bright:hover { background: #63DCA5; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.fine { font-size: 13.5px; color: var(--muted); line-height: 1.5; margin: 14px 0 0; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: var(--nav-h);
  display: flex; align-items: center; gap: 28px; padding: 0 clamp(16px, 3.4vw, 56px);
  transition: background-color .3s ease, box-shadow .3s ease;
}
.nav.solid { background: rgba(10, 16, 40, .88); box-shadow: 0 1px 0 rgba(255, 255, 255, .07); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.brand-mark { width: 40px; height: 40px; border-radius: 12px; overflow: hidden; flex: none; box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .7); }
.brand-mark img { width: 100%; height: 100%; display: block; transform: scale(1.32); }
.brand-name { font-weight: 800; font-size: 18px; letter-spacing: -.01em; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: 15px; color: #D9DFF5; padding: 10px 12px; border-radius: 10px; }
.nav-links a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.nav .btn { margin-left: 8px; }
.show-m { display: none; }
@media (max-width: 1080px) { .nav-links { display: none; } .nav .btn { margin-left: auto; } }

/* ---------- chữ chung ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0; font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--bright); line-height: 1.5; }
.tag { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 6px 14px 6px 11px; border-radius: 999px; font-weight: 700; font-size: 14px; line-height: 1.45; color: var(--mint); background: rgba(60, 203, 138, .12); border: 1px solid rgba(60, 203, 138, .32); }
.tag-cold { color: #C9D5FF; background: rgba(62, 88, 198, .22); border-color: rgba(169, 188, 255, .32); }
.kicker { display: inline-flex; align-items: center; gap: 11px; margin: 0; font-weight: 700; font-size: 15px; line-height: 1.4; color: var(--mint); }
/* huy hiệu nhỏ kiểu 02: đồng xu xanh, viền trắng, vành hồng */
.kc { width: 38px; height: 38px; border-radius: 50%; flex: none; display: grid; place-items: center; background: radial-gradient(circle at 34% 26%, #5FE0AE 0, #1BAF78 30%, #0E6B45 78%); border: 3px solid #fff; box-shadow: inset 0 0 0 2.5px var(--pink), 0 6px 16px rgba(0, 0, 0, .35); }
.kc svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.kicker-soon { color: #FFD98A; }
.kicker-soon .kc { background: radial-gradient(circle at 34% 26%, #FFE29A 0, #F4B740 34%, #B97A0E 80%); box-shadow: inset 0 0 0 2.5px #fff6, 0 6px 16px rgba(0, 0, 0, .35); }
.body { margin: 0; color: var(--muted); font-size: clamp(16px, 1.2vw, 18px); line-height: 1.65; }
.lead { font-size: clamp(16.5px, 1.3vw, 19.5px); line-height: 1.6; margin: 0; color: var(--muted); }
b { color: #fff; font-weight: 700; }

/* ================= MỞ MÀN + NỖI KHỔ + GỌN LẠI (cảnh ghim) ================= */
.gom { position: relative; height: 440vh; }
.mk { position: absolute; left: 0; top: 0; width: 1px; height: 1px; pointer-events: none; }
.gom-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.gom-slot { position: absolute; pointer-events: none; display: none; }
.copy { will-change: opacity, transform; }
.copy-hero h1 { margin: .38em 0 .12em; font-weight: 800; letter-spacing: -.035em; line-height: 1.12; color: #fff; font-size: clamp(44px, 5vw, 78px); text-shadow: 0 2px 18px rgba(6, 8, 30, .45); }
.h1-sub { margin: 0 0 .7em; font-weight: 800; font-size: clamp(22px, 2vw, 32px); line-height: 1.3; color: var(--mint); letter-spacing: -.015em; }
.copy-hero .lead { max-width: 30em; }
.copy-hero .cta-row { margin-top: 26px; }
.copy-roi { opacity: 0; }
.copy-roi h2, .copy-gon h2 { margin: .45em 0 .4em; font-weight: 800; letter-spacing: -.03em; line-height: 1.14; font-size: clamp(34px, 3.6vw, 56px); color: #fff; }
.chips { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 7px 14px; border-radius: 999px; font-weight: 700; font-size: 14px; line-height: 1.4; color: #DCE4FF; background: rgba(62, 88, 198, .24); border: 1px solid rgba(169, 188, 255, .35); }
.copy-gon { opacity: 0; }
.grad { background: linear-gradient(95deg, #3CCB8A 10%, #9BF0C8 60%, #3CCB8A); -webkit-background-clip: text; background-clip: text; color: transparent; }
.copy-gon .cta-row { margin-top: 26px; }
.scroll-hint { position: absolute; left: var(--col-x); bottom: 26px; margin: 0; display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: #D7DDF2; }
.scroll-hint span { width: 22px; height: 34px; border: 2px solid currentColor; border-radius: 12px; position: relative; }
.scroll-hint span::after { content: ""; position: absolute; left: 50%; top: 6px; width: 4px; height: 7px; margin-left: -2px; border-radius: 2px; background: currentColor; animation: wheel 1.6s ease-in-out infinite; }
@keyframes wheel { 60% { transform: translateY(9px); opacity: 0; } }

/* sân khấu 2D (điện thoại dọc / không WebGL) */
.gom-stage { position: relative; }
.m-phone {
  position: relative; aspect-ratio: 615 / 1354; height: 100%; max-height: 100%;
  border-radius: 13% / 6%; background: linear-gradient(160deg, #136B4B, #0A3324); padding: 1.3%;
  box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .7), 0 0 0 1.5px rgba(155, 240, 200, .35) inset, 0 0 0 3px rgba(60, 203, 138, .25), 0 0 60px rgba(60, 203, 138, .18);
}
.m-phone .scr, .m-phone .lock-2d { position: absolute; left: 1.3%; top: .6%; width: 97.4%; height: 98.8%; display: block; opacity: 0; transition: opacity .45s ease; }
.m-phone .scr.on { opacity: 1; }
.m-phone-gom .lock-2d { opacity: 1; transition: none; }
.m-phone-gom .scr-home { transition: none; }
.cbs { position: absolute; inset: 0; pointer-events: none; }
.cb {
  position: absolute; display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 12px 7px 7px; border-radius: 18px 18px 18px 6px; background: #EEF3FD; color: #2A3A4E;
  font-weight: 600; font-size: 13px; line-height: 1.35; white-space: nowrap; opacity: 0;
  box-shadow: 0 10px 22px -8px rgba(5, 10, 40, .6), 0 0 0 1px rgba(62, 88, 198, .18);
  will-change: transform, opacity;
}
.cb i { width: 20px; height: 20px; border-radius: 50%; flex: none; display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: 10.5px; color: #fff; }
.cb.key { font-weight: 700; box-shadow: 0 10px 22px -8px rgba(5, 10, 40, .6), 0 0 0 2px var(--cold-acc); }

/* ================= CỘT MỐC (điện thoại ghim) ================= */
.feat { position: relative; --n: 1; height: calc(100vh + (var(--n) - 1) * 56vh); }
.feat[style*="--n:1"] { height: 125vh; }
.feat-sticky { position: sticky; top: 0; height: 100vh; }
.feat h2 { margin: .5em 0 .55em; font-weight: 800; letter-spacing: -.028em; line-height: 1.18; font-size: clamp(30px, 3.1vw, 50px); color: #fff; }
.feat-body p { margin: 0 0 .75em; font-size: clamp(16px, 1.2vw, 18px); line-height: 1.65; color: var(--muted); }
.steps { list-style: none; margin: 0; padding: 0; }
.steps p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--muted); }
.steps li.on p { color: var(--text); }

/* ================= ĐƯỜNG HÀNH TRÌNH ================= */
.hj { position: fixed; z-index: 30; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .45s ease, visibility .45s; }
.hj.on { opacity: 1; visibility: visible; }
.hj-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hj-road { fill: none; stroke: rgba(195, 204, 230, .13); stroke-width: 12; stroke-linecap: round; }
.hj-mid { fill: none; stroke: rgba(195, 204, 230, .38); stroke-width: 1.4; stroke-dasharray: 2 8; stroke-linecap: round; }
.hj-done { fill: none; stroke: var(--bright); stroke-width: 4; stroke-linecap: round; }
.hj-soon { stroke-dasharray: 5 7; }
.hj-coin {
  position: absolute; left: 0; top: 0; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%;
  display: grid; place-items: center; background: #17224F; border: 2px solid rgba(195, 204, 230, .4); color: #B9C3E2;
  text-decoration: none; transition: transform .35s ease, background .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.hj-coin::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; }
.hj-coin svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.hj-coin.qua { background: radial-gradient(circle at 34% 26%, #5FE0AE 0, #1BAF78 30%, #0E6B45 78%); border-color: #fff; color: #fff; }
.hj-coin.dang { transform: scale(1.34); background: radial-gradient(circle at 34% 26%, #5FE0AE 0, #1BAF78 30%, #0E6B45 78%); border: 3px solid #fff; color: #fff;
  box-shadow: inset 0 0 0 2.5px var(--pink), 0 0 0 6px rgba(60, 203, 138, .22), 0 0 26px rgba(60, 203, 138, .6); }
.hj-coin.sap { border-style: dashed; color: #FFD98A; }
.hj-coin.sap.dang { background: radial-gradient(circle at 34% 26%, #FFE29A 0, #F4B740 34%, #B97A0E 80%); border-style: solid; box-shadow: 0 0 0 6px rgba(244, 183, 64, .2), 0 0 26px rgba(244, 183, 64, .55); }
.hj-coin:focus-visible { outline: 3px solid #FFD166; outline-offset: 3px; }

/* ================= BẮT ĐẦU ================= */
.start {
  position: relative; z-index: 2; min-height: 100vh; display: flex; align-items: center;
  padding: 120px 0 110px; border-radius: 44px 44px 0 0; background: linear-gradient(180deg, #0B3D2C 0%, #0D5539 100%);
  box-shadow: 0 -40px 80px -40px rgba(0, 0, 0, .55);
}
.wrap { width: min(1180px, 100% - 48px); margin: 0 auto; }
.start-in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 40px; align-items: center; }
.start h2 { margin: .45em 0 .7em; font-weight: 800; letter-spacing: -.03em; line-height: 1.15; font-size: clamp(34px, 4vw, 58px); color: #fff; }
.start-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.start-list li { display: flex; align-items: center; gap: 18px; padding: 18px 22px; border-radius: 22px; background: rgba(237, 253, 242, .07); border: 1px solid rgba(60, 203, 138, .32); font-weight: 700; font-size: 18.5px; line-height: 1.45; color: #fff; }
.start-list .num { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--bright); color: var(--ink); font-size: 22px; font-weight: 800; }
.start-list a { color: var(--mint); text-underline-offset: 4px; }
.start .fine { color: #CFE9DC; }
.start .cta-row { margin-top: 26px; }
.start-fig { margin: 0; position: relative; display: flex; justify-content: center; align-items: flex-end; }
.start-fig::before { content: ""; position: absolute; left: 50%; top: 46%; width: min(120%, 100vw - 40px); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(155, 240, 200, .28), rgba(155, 240, 200, 0)); }
.start-fig::after { content: ""; position: absolute; left: 20%; right: 20%; bottom: -10px; height: 26px; border-radius: 50%; background: radial-gradient(closest-side, rgba(2, 20, 12, .55), rgba(2, 20, 12, 0)); }
.start-fig img { position: relative; z-index: 1; display: block; height: min(58vh, 520px); width: auto; }
.rv { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.rv:nth-child(2) { transition-delay: .08s; }
.rv:nth-child(3) { transition-delay: .16s; }
.rv.in, html.shot .rv, html:not(.js) .rv { opacity: 1; transform: none; }

/* ================= KẾT ================= */
.ket {
  position: relative; min-height: 100vh; color: #fff; text-align: center;
  background: radial-gradient(70vw 56vh at 50% 22%, #169A63 0%, rgba(14, 107, 69, 0) 72%), linear-gradient(180deg, #0E6B45 0%, #0B3D2C 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: calc(var(--nav-h) + 3vh) 24px 9vh;
}
html.has3d .ket { background: transparent; }
.ket-logo-slot { width: min(24vh, 210px); aspect-ratio: 1; margin: 0 auto 6vh; position: relative; }
.ket-logo-2d { width: 100%; height: 100%; display: block; border-radius: 24%; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .12); }
html.has3d .ket-logo-2d { visibility: hidden; }
.ket h2 { margin: 0 0 .7em; font-weight: 800; letter-spacing: -.03em; line-height: 1.2; font-size: clamp(30px, 4vw, 60px); }
.ket h2 span { color: var(--mint); }
.cta-center { justify-content: center; }
.fine-light { color: #CFEFDF; }
.invite { margin: 26px 0 0; font-weight: 700; font-size: 18px; color: #fff; }
.ket [data-cho-duyet] { margin-top: 8px; font-size: 12.5px; }

/* ================= CHÂN TRANG ================= */
.foot { position: relative; z-index: 2; background: #062A1E; color: #CFE9DC; padding: 46px var(--col-x) 26px; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; }
.foot-brand { display: flex; align-items: center; gap: 12px; }
.foot-brand strong { display: block; color: #fff; font-size: 17px; }
.foot-brand span:not(.brand-mark) { display: block; font-size: 13.5px; color: #A9CDBB; }
.foot-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; font-size: 14.5px; }
.foot-links a { display: inline-flex; align-items: center; gap: 8px; color: #CFE9DC; text-underline-offset: 4px; padding: 10px 0; }
.foot-links .social { color: #A9CDBB; }
.copy-r { margin: 26px 0 0; font-size: 13px; color: #8FB9A6; border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 18px; }

/* =========================================================
   MÁY TÍNH (≥ 769 px)
   ========================================================= */
@media (min-width: 769px) {
  .feat-sticky { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 4vw; padding: var(--nav-h) var(--col-x) 0 var(--feat-l); }
  .feat-text { max-width: min(480px, 100%); }
  .steps { display: grid; gap: 6px; margin-top: 4px; }
  .steps li { position: relative; padding: 12px 20px 13px 26px; border-radius: 18px; border: 1px solid transparent; transition: background-color .35s ease, border-color .35s ease; }
  .steps li::before { content: ""; position: absolute; left: 0; top: 15px; bottom: 15px; width: 4px; border-radius: 4px; background: #34437A; transition: background-color .3s ease; }
  .steps li.on { background: rgba(255, 255, 255, .06); border-color: rgba(60, 203, 138, .32); }
  .steps li.on::before { background: var(--bright); }
  .feat-phone { display: flex; justify-content: flex-start; align-items: center; height: min(80vh, 780px); padding-left: 1vw; }
  .feat-phone .m-phone { height: 100%; }

  /* không 3D: chữ trái, điện thoại 2D phải */
  html:not(.has3d) .gom-sticky { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; padding: var(--nav-h) var(--col-x) 0; gap: 4vw; }
  html:not(.has3d) .gom-text { position: relative; height: 76vh; }
  html:not(.has3d) .copy { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); }
  html:not(.has3d) .gom-stage { height: 78vh; display: flex; justify-content: center; }
  html:not(.has3d) .scroll-hint { display: none; }

  /* có 3D: chữ nằm trên canvas ở cột trái, chừa chỗ cho điện thoại */
  html.has3d .gom-stage { display: none; }
  html.has3d .gom-slot { display: block; }
  .slot-a { left: 52vw; width: 22vw; top: calc(var(--nav-h) + 8vh); bottom: 9vh; }
  .slot-b { left: 54vw; width: 20vw; top: calc(var(--nav-h) + 10vh); bottom: 12vh; }
  html.has3d .gom-text { position: absolute; inset: 0; pointer-events: none; }
  html.has3d .copy { pointer-events: auto; position: absolute; left: var(--col-x); top: 50%; width: min(610px, 43vw); transform: translateY(-48%); }
  /* thẻ "nỗi khổ" nổi trên mớ bong bóng (nền đặc bán trong suốt, không backdrop-filter) */
  html.has3d .copy-roi { width: min(560px, 40vw); padding: 30px 34px 32px; border-radius: 28px; background: rgba(12, 19, 52, .97); border: 1px solid rgba(169, 188, 255, .22); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .8); }
  html.has3d .feat-phone .m-phone { display: none; }
  .bg-city {
    right: -6vw; bottom: -8vh; width: 74vw; aspect-ratio: 1920 / 1072; opacity: .5;
    -webkit-mask-image: radial-gradient(closest-side, #000 52%, transparent 100%); mask-image: radial-gradient(closest-side, #000 52%, transparent 100%);
  }
  html.has3d .bg-city { display: block; background: url(../img/boi-canh/B1-pho-tan-tam.webp) center / cover no-repeat; }

  /* đường hành trình: máng trái, dọc */
  .hj { left: 34px; top: calc(var(--nav-h) + 6vh); bottom: 9vh; width: 64px; }
  .hj.on .hj-coin { pointer-events: auto; }
}

/* =========================================================
   ĐIỆN THOẠI DỌC (≤ 768 px) — bản nhẹ, không WebGL
   ========================================================= */
@media (max-width: 768px) {
  :root { --nav-h: 60px; }
  .hide-m { display: none; }
  .show-m { display: inline; }
  .nav { gap: 12px; }
  .brand-name { font-size: 16px; }
  .brand-mark { width: 36px; height: 36px; border-radius: 11px; }
  .btn-sm { min-height: 44px; }
  .btn { min-height: 50px; }
  .btn-lg, .btn-xl { min-height: 54px; padding: 0 28px; font-size: 16.5px; }

  .gom { height: 320vh; }
  .gom-sticky { height: 100vh; height: 100svh; display: flex; flex-direction: column; padding-top: var(--nav-h); }
  .gom-text { position: relative; flex: 0 0 auto; height: 398px; padding: 0 20px; }
  .copy { position: absolute; left: 20px; right: 20px; top: 12px; }
  .eyebrow { font-size: 12.5px; }
  .copy-hero h1 { font-size: 38px; margin: .3em 0 .1em; line-height: 1.14; }
  .h1-sub { font-size: 20px; margin-bottom: .5em; }
  .lead { font-size: 15.5px; }
  .copy-hero .cta-row { margin-top: 16px; }
  .copy-hero .fine { font-size: 12.5px; margin-top: 10px; }
  .copy-roi h2, .copy-gon h2 { font-size: 30px; margin: .45em 0 .35em; }
  .copy .body { font-size: 15.5px; }
  .chips { margin-top: 14px; gap: 6px; }
  .chips li { font-size: 13px; padding: 6px 11px; }
  .copy-gon .cta-row { margin-top: 16px; }
  .tag { font-size: 13px; }
  .gom-stage { flex: 1 1 auto; min-height: 0; display: flex; justify-content: flex-end; padding: 4px 20px 84px 0; position: relative; z-index: 1; }
  .scroll-hint { display: none; }

  /* cột mốc: dải đường hành trình ngang dưới thanh trên cùng */
  .feat { height: calc(100vh + (var(--n) - 1) * 62vh); height: calc(100svh + (var(--n) - 1) * 62svh); }
  .feat[style*="--n:1"] { height: 118vh; height: 118svh; }
  .feat-sticky { height: 100vh; height: 100svh; display: flex; flex-direction: column; padding: calc(var(--nav-h) + 58px) 20px 84px; gap: 12px; }
  .feat-text { flex: 0 0 auto; }
  .kicker { font-size: 13.5px; gap: 9px; }
  .kc { width: 30px; height: 30px; border-width: 2px; }
  .kc svg { width: 15px; height: 15px; }
  .feat h2 { font-size: 25px; margin: .45em 0 .45em; line-height: 1.24; }
  .feat-body p { font-size: 14.5px; line-height: 1.55; margin-bottom: .5em; }
  .steps { position: relative; height: var(--sh, 72px); }
  .steps li { position: absolute; left: 0; right: 0; top: 0; opacity: 0; transform: translateY(10px); transition: opacity .35s ease, transform .35s ease; padding-left: 14px; border-left: 3px solid var(--bright); }
  .steps li.on { opacity: 1; transform: none; }
  .steps p { font-size: 15px; }
  .feat-phone { flex: 1 1 auto; min-height: 0; display: flex; justify-content: flex-end; padding-right: 6px; }

  .hj { left: 0; right: 0; top: var(--nav-h); height: 50px; background: rgba(10, 16, 40, .9); border-bottom: 1px solid rgba(255, 255, 255, .07); }
  .hj-coin { width: 26px; height: 26px; margin: -13px 0 0 -13px; border-width: 1.5px; }
  .hj-coin svg { width: 13px; height: 13px; }
  .hj-coin.dang { transform: scale(1.22); border-width: 2px; }
  .hj-road { stroke-width: 9; }

  .start { padding: 84px 0 80px; border-radius: 30px 30px 0 0; min-height: 0; }
  .start-in { grid-template-columns: 1fr; gap: 26px; }
  .start-list li { padding: 14px 16px; font-size: 16.5px; gap: 14px; }
  .start-list .num { width: 40px; height: 40px; font-size: 19px; }
  .start .btn { width: 100%; }
  .start-fig img { height: 230px; }

  .ket { padding: calc(var(--nav-h) + 30px) 20px 96px; overflow-x: clip; }
  .feat-sticky, .start { overflow-x: clip; }
  .ket-logo-slot { width: 104px; margin-bottom: 26px; }
  .ket .btn { width: 100%; max-width: 360px; }
  .foot { padding-bottom: 96px; }
  .foot-in { flex-direction: column; align-items: flex-start; }
  .foot-links { flex-direction: column; align-items: flex-start; gap: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .rv { transform: none; transition: opacity .3s ease; }
  .scroll-hint span::after, .cover-logo { animation: none; }
  .m-phone .scr, .steps li, .steps p, .hj-coin, .hj { transition: none; }
}

/* bong bóng CSS nổi nhẹ (tách khỏi transform do JS điều khiển) */
.cb { animation: cbfloat 3.2s ease-in-out infinite; }
@keyframes cbfloat { 50% { translate: 0 -5px; } }
html.shot .cb, html.shot .scroll-hint span::after { animation: none; }
@media (prefers-reduced-motion: reduce) { .cb { animation: none; } }

/* =========================================================
   NHÂN VẬT GEMINI (ảnh đã tách nền) — trên nền tối: quầng sáng mềm phía sau + bóng dưới chân
   Máy tính có 3D: khung .gom-fig/.feat-fig/.ket-fig chỉ là ô đo vị trí, ảnh vẽ trong canvas (img ẩn).
   Điện thoại dọc / không WebGL / giảm chuyển động: hiện <img>.
   ========================================================= */
.gom-fig, .feat-fig, .ket-fig, .start-fig { pointer-events: none; }
.gom-fig, .feat-fig { position: absolute; }
.gom-fig img, .feat-fig img, .ket-fig img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; }
.gom-fig img, .feat-fig img { position: absolute; left: 50%; bottom: 0; translate: -50% 0; }
.feat-fig img { opacity: 0; transition: opacity .45s ease; }
.feat-fig img.on { opacity: 1; }
.gom-fig-roi, .gom-fig-gon { opacity: 0; }
/* quầng + bóng cho bản 2D */
.gom-fig::before, .feat-fig::before, .ket-fig::before { content: ""; position: absolute; left: 50%; top: 52%; width: 100%; aspect-ratio: 1; max-height: 120%; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 200, 140, .26), rgba(255, 200, 140, 0)); }
.gom-fig::after, .feat-fig::after, .ket-fig::after { content: ""; position: absolute; left: 18%; right: 18%; bottom: -8px; height: 18px; border-radius: 50%; background: radial-gradient(closest-side, rgba(2, 4, 18, .6), rgba(2, 4, 18, 0)); }
.gom-fig-roi::before { background: radial-gradient(closest-side, rgba(110, 140, 255, .3), rgba(110, 140, 255, 0)); }
.gom-fig-gon::before, .feat-fig-obj::before { background: radial-gradient(closest-side, rgba(60, 203, 138, .28), rgba(60, 203, 138, 0)); }
html.has3d .gom-fig::before, html.has3d .gom-fig::after, html.has3d .feat-fig::before, html.has3d .feat-fig::after, html.has3d .ket-fig::before, html.has3d .ket-fig::after { display: none; }
/* điện thoại đồ chơi: lời nhắc vẽ trên màn hình trắng (khớp ô màn hình trong ảnh 464×697) */
.dt { position: absolute; left: 50%; bottom: 0; height: 100%; aspect-ratio: 464 / 697; max-width: 100%; translate: -50% 0; }
.dt img { position: absolute; inset: 0; width: 100%; height: 100%; translate: none; left: 0; }
.dt-scr { position: absolute; left: 20.9%; top: 14.6%; width: 58%; height: 72.2%; border-radius: 9% / 6%; display: flex; flex-direction: column; align-items: center; padding-top: 12%; gap: 2px; background: linear-gradient(180deg, #136B4B, #0B3D2C); color: #fff; font-size: 7px; line-height: 1.3; text-align: center; container-type: inline-size; }
.dt-scr small { font-size: 9cqw; font-weight: 600; opacity: .9; }
.dt-scr strong { font-size: 26cqw; font-weight: 800; line-height: 1.05; }
.dt-scr em { margin-top: 10cqw; width: 88%; padding: 6cqw 5cqw; border-radius: 8cqw; background: #fff; color: #1F2937; font-style: normal; font-size: 9cqw; display: grid; gap: 1px; }
.dt-scr em b { color: var(--act-d); font-size: 10cqw; }
html.has3d .dt-scr { display: none; }

@media (min-width: 769px) {
  .gom-fig-a1 { left: 71vw; right: 2.5vw; bottom: 9vh; height: 50vh; }
  .gom-fig-roi { left: 78vw; right: 2vw; bottom: 8.5vh; height: 46vh; }
  /* ô bên phải điện thoại ghim (cùng chỗ cho A3 ở cảnh "gọn lại" và nhân vật các cột mốc) */
  .gom-fig-gon, .feat-fig { left: calc(var(--feat-l) + (100vw - var(--feat-l) - var(--col-x) - 4vw) / 2 + 5vw + min(80vh, 780px) * .474 + 1.8vw); right: max(20px, 1.6vw); bottom: 9.5vh; height: min(52vh, 500px); }
  .feat-fig-obj { height: min(34vh, 320px); bottom: 11vh; }
  .feat-fig-xe { height: min(44vh, 420px); }
  /* ảnh nằm ngang (nhóm 5 người, cúp) đặt dưới cột chữ; chữ dồn lên trên */
  .feat-wide .feat-text { align-self: start; margin-top: 8vh; }
  .feat-wide .feat-fig { left: var(--feat-l); right: auto; width: min(500px, 38vw); bottom: 5vh; height: 34vh; }
  .ket-figs { position: absolute; inset: 0; pointer-events: none; }
  .ket-fig { position: absolute; bottom: 8vh; width: 19vw; height: 30vh; }
  .ket-fig-l { left: 4vw; }
  .ket-fig-r { right: 4vw; }
  .ket-fig img { position: absolute; left: 50%; bottom: 0; translate: -50% 0; }
  html.has3d .gom-fig img, html.has3d .feat-fig img, html.has3d .ket-fig img { display: none; }
  /* 2D dự phòng trên máy tính */
  html:not(.has3d) .gom-fig { left: auto; right: 2vw; width: 15vw; height: 44vh; bottom: 4vh; }
  html:not(.has3d) .gom-fig-a1 { width: 20vw; }
}

@media (max-width: 768px) {
  /* mở màn: điện thoại sang phải, nhân vật đứng góc trái dưới */
  .gom-fig { left: 12px; bottom: 92px; width: 46%; height: calc(100% - var(--nav-h) - 398px - 100px); max-height: 300px; }
  .gom-fig-a1 { width: 52%; }
  .gom-fig-roi.nhun img { animation: nhun .9s ease-in-out infinite; transform-origin: 50% 100%; }
  /* cột mốc: điện thoại sang phải, nhân vật góc trái dưới (trên thanh điều hướng đáy) */
  .feat-fig { left: 16px; bottom: 92px; width: 32%; height: 40%; }
  .feat-fig-obj { height: 24%; width: 36%; }
  .feat-fig-xe { width: 35%; height: 28%; }
  .feat-wide .feat-phone { justify-content: center; padding: 0 0 132px; }
  .feat-wide .feat-fig { left: 16px; right: 16px; width: auto; height: 124px; }
  .ket-figs { display: flex; justify-content: center; align-items: flex-end; gap: 6px; margin: -4px auto 18px; }
  .ket-fig { position: relative; width: 38vw; max-width: 170px; }
  .ket-fig-r { width: 46vw; max-width: 200px; }
  .ket-fig img { width: 100%; }
}
/* màn rộng nhưng thấp ở bản 2D (điện thoại xoay ngang, cửa sổ thấp, thu phóng): chữ bắt đầu ngay dưới thanh đầu, cỡ chữ theo chiều cao */
@media (min-width: 769px) and (max-height: 500px) {
  html:not(.has3d) .gom-sticky { align-items: start; padding-top: calc(var(--nav-h) + 12px); }
  html:not(.has3d) .gom-text { height: calc(100vh - var(--nav-h) - 24px); }
  html:not(.has3d) .copy { top: 0; transform: none; }
  html:not(.has3d) .gom-stage { height: calc(100vh - var(--nav-h) - 24px); }
  .copy-hero h1 { font-size: clamp(28px, 9vh, 44px); margin-top: .2em; }
  .h1-sub { font-size: clamp(17px, 5vh, 22px); }
  .copy-roi h2, .copy-gon h2, .feat h2 { font-size: clamp(24px, 7.5vh, 34px); }
  .copy-hero .fine, .copy-hero .eyebrow { display: none; }
  .feat-phone { height: calc(100vh - var(--nav-h) - 40px); }
}
/* điện thoại xoay ngang / thu phóng lớn (khổ hẹp mà thấp): không đủ chỗ cho nhân vật cạnh chữ → ẩn nhân vật trang trí, giữ chữ + ảnh app */
@media (max-height: 500px) {
  html:not(.has3d) .gom-fig, html:not(.has3d) .feat-fig { display: none; }
}
/* bản điện thoại: phần chừa cho thanh điều hướng đáy nằm trong chân trang (cùng màu), không lộ dải nền body */
@media (max-width: 768px) {
  :root.co-dh body { padding-bottom: 0; } /* thắng quy tắc của dieu-huong.css (tệp đó nạp sau) */
  html.co-dh .foot { padding-bottom: calc(26px + 68px + env(safe-area-inset-bottom, 0px)); }
}
@keyframes nhun { 0%, 100% { transform: rotate(-2deg) translateY(0); } 50% { transform: rotate(2deg) translateY(-4px); } }
html.shot .gom-fig-roi.nhun img { animation: none; }
@media (prefers-reduced-motion: reduce) { .gom-fig-roi.nhun img { animation: none; } .feat-fig img { transition: none; } }
