/* Ratio — nền đen ấm trên giấy kẻ ô mờ, vàng #f2c94c làm điểm nhấn, tiêu đề mục đánh số dạng phân số (ratio = tỉ lệ). */
@font-face { font-family: GSF; src: url(fonts/GoogleSansFlex.ttf); font-weight: 100 1000; font-display: swap; }
:root {
  --bg: #0c0c0b; --bg2: #151515; --card: #161616; --line: rgba(255,255,255,.09); --line2: rgba(255,255,255,.16);
  --tx: #f2f2f2; --tx2: #a3a3a3; --tx3: #6b6b6b; --gold: #f2c94c;
  --ease: cubic-bezier(.65,0,.35,1); --r: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--bg); color: var(--tx); font: 400 16px/1.6 GSF, system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.wrap { width: min(1180px, 100% - 48px); margin: 0 auto; }
.wrap.narrow { width: min(1180px, 100% - 48px); }
.center { text-align: center; }

/* hiện dần */
[data-rev] { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease) var(--d, 0s), transform .8s var(--ease) var(--d, 0s); }
[data-rev].in { opacity: 1; transform: none; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: 64px; display: flex; align-items: center; justify-content: space-between; padding: 0 max(24px, calc((100% - 1180px) / 2)); transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.solid { background: rgba(13,13,13,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.logo { display: flex; align-items: center; gap: 3px; font-weight: 300; font-size: 22px; letter-spacing: .14em; }
.logo svg { width: 19px; height: 17px; fill: none; stroke: var(--gold); stroke-width: 3.2; stroke-linejoin: round; margin: 0 3px 0 1px; }
.nav nav { display: flex; gap: 6px; }
.nav nav a { padding: 7px 14px; border-radius: 99px; font-size: 14.5px; color: var(--tx2); transition: color .2s, background .2s; }
.nav nav a:hover { color: var(--tx); background: rgba(255,255,255,.06); }
.nav nav a[href="#ung-ho"] { color: var(--tx); }

/* ---------- nút ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 48px; padding: 0 24px; border-radius: 99px; border: 1px solid transparent; font-weight: 600; font-size: 15.5px; cursor: pointer; transition: transform .2s, background .2s, border-color .2s, opacity .2s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn.light { background: #f2f2f2; color: #111; }
.btn.light:hover { background: #fff; }
.btn.gold { background: var(--gold); color: #141109; }
.btn.gold:hover { background: #f7d76e; }
.btn.dark { background: #1e1e1e; border-color: var(--line2); }
.btn.dark:hover { background: #262626; }
.btn.outline { background: transparent; border-color: var(--line2); color: var(--tx); }
.btn.outline:hover { border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.03); }
.btn.wide { width: 100%; }
.btn:disabled, .btn.busy { opacity: .55; pointer-events: none; }

/* nền giấy kẻ ô */
.paper { position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 48px 48px; -webkit-mask-image: radial-gradient(120% 70% at 70% 0%, #000 30%, transparent 85%); mask-image: radial-gradient(120% 70% at 70% 0%, #000 30%, transparent 85%); }

/* ---------- hero ---------- */
.hero { padding: 150px 0 110px; }
.hero-in { display: grid; grid-template-columns: 1.12fr 1fr; gap: 56px; align-items: center; }
.kicker { margin: 0 0 26px; display: flex; align-items: center; gap: 10px; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--tx2); }
.tri { width: 13px; height: 12px; background: var(--gold); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.hero h1 { margin: 0; font-weight: 600; font-size: clamp(40px, 5.3vw, 82px); line-height: 1.02; letter-spacing: -.035em; }
.ln { display: block; overflow: hidden; padding: .14em 0 .06em; margin: -.14em 0 -.06em; }
.ln > span { display: inline-block; white-space: nowrap; }
.ln[data-rev] { opacity: 1; transform: none; }
.ln[data-rev] > span { transform: translateY(110%) rotate(3deg); transform-origin: 0 100%; transition: transform 1.1s cubic-bezier(.2,.8,.2,1) var(--d, 0s); }
.ln[data-rev].in > span { transform: none; }
.slot { position: relative; display: inline-block; color: var(--gold); min-width: 1ch; }
.slot::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.04em; height: 3px; border-radius: 2px; background: var(--gold); opacity: .45; }
#topic { border-right: 3px solid var(--gold); padding-right: 4px; animation: caret 1s steps(1) infinite; }
.lede { margin: 26px 0 0; max-width: 520px; font-size: 18px; color: var(--tx2); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.plot { position: relative; margin: 0; aspect-ratio: 1.18; border-radius: 20px; border: 1px solid var(--line2); background:
  linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 24px 24px, linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 24px 24px, #0f0f0e; overflow: hidden; }
.plot canvas { position: absolute; inset: 0 0 46px; width: 100%; height: calc(100% - 46px); }
.plot figcaption { position: absolute; left: 0; right: 0; bottom: 0; height: 46px; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; border-top: 1px solid var(--line); background: rgba(12,12,11,.85); font-size: 15px; font-weight: 500; }
.plot figcaption i { font-style: normal; color: var(--tx3); font-size: 13px; font-variant-numeric: tabular-nums; letter-spacing: .06em; }

/* ---------- video ---------- */
.feat { display: grid; grid-template-columns: 1.55fr 1fr; gap: 40px; align-items: center; margin-bottom: 64px; }
.th { position: relative; aspect-ratio: 16/9; border-radius: 12px; overflow: hidden; background: var(--bg2); outline: 1px solid var(--line); outline-offset: -1px; transition: outline-color .3s; }
.th img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.feat:hover .th, .vid:hover .th { outline: 2px solid var(--gold); }
.feat:hover img, .vid:hover img { transform: scale(1.03); }
.play { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; background: rgba(12,12,11,.7); backdrop-filter: blur(6px); opacity: 0; transform: scale(.8); transition: opacity .3s, transform .3s var(--ease); }
.play::after { content: ""; position: absolute; left: 23px; top: 19px; width: 16px; height: 20px; background: var(--gold); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.feat:hover .play, .vid:hover .play { opacity: 1; transform: none; }
.len { position: absolute; right: 10px; bottom: 10px; padding: 2px 8px; border-radius: 6px; background: rgba(0,0,0,.78); font-size: 12.5px; font-weight: 600; }
.new { margin: 0 0 12px; display: flex; align-items: center; gap: 8px; color: var(--gold); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }
.new i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(242,201,76,.5); animation: ping 1.8s infinite; }
.feat h3 { margin: 0 0 12px; font-size: clamp(26px, 2.8vw, 36px); font-weight: 600; line-height: 1.15; letter-spacing: -.015em; }
.feat .d { margin: 0 0 16px; color: var(--tx2); font-size: 17px; }
.meta { margin: 0 0 20px; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--tx3); font-weight: 500; }
.btn.sm { height: 40px; padding: 0 18px; font-size: 14px; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 24px; }
.vid { display: block; }
.vid .meta { margin: 14px 0 4px; }
.vid h3 { margin: 0 0 6px; font-size: 16.5px; font-weight: 600; line-height: 1.35; }
.vid .d { margin: 0; color: var(--tx2); font-size: 14.5px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.more-yt { margin-top: 56px; display: flex; justify-content: center; }

/* ---------- mục ---------- */
.sec { padding: 112px 0; border-top: 1px solid var(--line); }
#video { border-top: 0; padding-top: 40px; }
.sec-h { display: flex; align-items: baseline; gap: 22px; flex-wrap: wrap; }
.idx { margin: 0; font-size: 20px; color: var(--tx3); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.idx b { color: var(--gold); font-weight: 600; font-size: 26px; }
.idx i { font-style: normal; margin: 0 2px; }
.count { margin: 0 0 0 auto; color: var(--tx3); font-size: 14px; }
#video .sec-h { margin-bottom: 44px; }
.sec h2 { margin: 0; font-size: clamp(32px, 4.4vw, 52px); font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.sub { margin: 18px 0 40px; max-width: 680px; color: var(--tx2); font-size: 17px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 22px; }

/* ---------- ủng hộ ---------- */
.give { border-top: 2px solid var(--gold); display: grid; grid-template-columns: 1fr 1.15fr; overflow: hidden; }
.pick { padding: 32px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; }
.pick.locked { opacity: .45; pointer-events: none; transition: opacity .3s; }
.lbl { margin: 0; font-size: 13.5px; color: var(--tx2); font-weight: 500; display: flex; justify-content: space-between; }
.lbl i { font-style: normal; color: var(--tx3); }
.amounts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.amounts button { text-align: left; padding: 13px 15px; border-radius: 12px; background: #1c1c1c; border: 1px solid var(--line); cursor: pointer; transition: border-color .2s, background .2s; }
.amounts button b { display: block; font-size: 17px; font-weight: 600; }
.amounts button span { font-size: 12.5px; color: var(--tx3); }
.amounts button:hover { border-color: var(--line2); }
.amounts button.on { border-color: var(--gold); background: rgba(242,201,76,.07); }
.amounts button.on b { color: var(--gold); }
.custom { display: flex; align-items: center; gap: 10px; padding: 0 16px; height: 50px; border-radius: 12px; background: #1c1c1c; border: 1px solid var(--line); }
.custom span { font-size: 13.5px; color: var(--tx3); white-space: nowrap; }
.custom input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; text-align: right; font-size: 17px; font-weight: 600; }
.custom em { font-style: normal; color: var(--tx2); }
.custom:focus-within, .field input:focus, .field textarea:focus { border-color: rgba(255,255,255,.35); }
.field { display: flex; flex-direction: column; gap: 7px; }
.field input, .field textarea { width: 100%; padding: 12px 15px; border-radius: 12px; background: #1c1c1c; border: 1px solid var(--line); outline: 0; resize: vertical; transition: border-color .2s; }
.hint { margin: -6px 0 0; font-size: 13px; color: var(--tx3); }
.hint b { color: var(--tx2); font-weight: 500; }
.form-err { margin: 0; color: #ff8a7a; font-size: 14px; min-height: 0; }
.form-err:empty { display: none; }
.live-only { display: none !important; }
body.live .live-only { display: revert !important; }
body.live label.live-only, body.live .btn.live-only { display: flex !important; }

.pay { padding: 28px 32px 32px; scroll-margin-top: 90px; }
.view { display: none; }
.view.on { display: block; animation: fadeUp .45s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } }
.tabs { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.tabs .pill { position: absolute; bottom: -1px; height: 2px; border-radius: 2px; background: var(--gold); transition: left .35s var(--ease), width .35s var(--ease); }
.tabs button { position: relative; display: flex; align-items: center; justify-content: center; gap: 9px; padding: 10px 6px 14px; border: 0; background: none; cursor: pointer; color: var(--tx3); transition: color .2s; }
.tabs button.on { color: var(--tx); }
.tabs svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.tabs span { display: flex; flex-direction: column; line-height: 1.2; text-align: left; }
.tabs b { font-size: 14px; font-weight: 600; }
.tabs i { font-style: normal; font-size: 11.5px; color: var(--tx3); }
.panel { display: none; }
.panel.on { display: grid; grid-template-columns: 190px 1fr; gap: 26px; align-items: start; animation: fadeUp .4s var(--ease); }
.panel[data-panel="intl"].on { display: flex; flex-direction: column; gap: 12px; }
.panel[data-panel="momo"] .btn { grid-column: 1 / -1; }
.qr { margin: 0; }
.qr img, .qr-ph { width: 190px; aspect-ratio: 1; border-radius: 14px; background: #fff; padding: 10px; object-fit: contain; }
.qr-ph { display: none; place-items: center; color: #999; font-weight: 600; }
.qr.empty img { display: none; }
.qr.empty .qr-ph { display: grid; }
.qr figcaption { margin-top: 10px; font-size: 12.5px; color: var(--tx3); text-align: center; }
dl { margin: 0; }
dl > div { display: flex; flex-direction: column; gap: 2px; padding: 11px 0; border-bottom: 1px solid var(--line); }
dl > div:first-child { padding-top: 0; }
dl > div:last-child { border-bottom: 0; }
dt { font-size: 12.5px; color: var(--tx3); }
dd { margin: 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-weight: 600; font-size: 15.5px; overflow-wrap: anywhere; }
.copy { flex: none; height: 30px; padding: 0 13px; border-radius: 99px; border: 1px solid var(--line2); background: transparent; font-size: 12.5px; font-weight: 600; cursor: pointer; transition: background .2s, color .2s; }
.copy:hover { background: rgba(255,255,255,.07); }
.copy.ok { background: #f2f2f2; color: #111; }
.missing { color: var(--tx3); font-weight: 400; font-style: italic; }
.note { margin: 0 0 4px; color: var(--tx2); }
.direct-note { margin: 20px 0 0; font-size: 12.5px; color: var(--tx3); }

.wait-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; flex-wrap: wrap; }
.back { border: 0; background: none; color: var(--tx2); cursor: pointer; padding: 0; font-size: 14px; }
.back:hover { color: var(--tx); }
.pulse { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--tx2); }
.pulse b { font-weight: 500; }
.pulse i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(242,201,76,.5); animation: ping 1.6s infinite; }
.pulse em { font-style: normal; font-variant-numeric: tabular-nums; color: var(--tx); }
.pulse.off i { background: var(--tx3); animation: none; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(242,201,76,0); } 100% { box-shadow: 0 0 0 0 rgba(242,201,76,0); } }
.code { color: var(--gold); letter-spacing: .03em; }
.wait-note { margin: 20px 0 0; padding: 14px 16px; border-radius: 12px; background: #1c1c1c; font-size: 13.5px; color: var(--tx2); }
.wait-note b { color: var(--tx); font-weight: 600; }

[data-view="paid"] { text-align: center; padding: 30px 0 10px; }
.tick { width: 96px; height: 96px; fill: none; stroke: #f2f2f2; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.tick circle, .tick path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.tick circle { stroke: rgba(255,255,255,.25); }
.tick.draw circle { animation: draw .7s var(--ease) forwards; }
.tick.draw path { stroke: var(--gold); animation: draw .5s var(--ease) .55s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
[data-view="paid"] h3 { margin: 18px 0 6px; font-size: 26px; font-weight: 600; }
.thanks { margin: 0 0 24px; color: var(--tx2); }
.thanks b { color: var(--tx); }
.thanks em { font-style: normal; color: var(--gold); font-weight: 600; }

/* gần đây */
.recent { margin-top: 28px; padding: 28px 32px; border-radius: 22px; border: 1px solid var(--line); }
.recent-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.recent h3 { margin: 0; font-size: 20px; font-weight: 600; }
.recent-stats { margin: 0; font-size: 13.5px; color: var(--tx3); }
.recent-stats b, .recent-stats em { color: var(--tx); font-style: normal; font-weight: 600; }
#r-list { list-style: none; margin: 0; padding: 0; }
#r-list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
#r-list li:last-child { border-bottom: 0; }
#r-list li.fresh { animation: fadeUp .6s var(--ease); }
#r-list li.empty { color: var(--tx3); font-size: 14.5px; }
.av { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #222; font-weight: 600; font-size: 15px; box-shadow: inset 0 0 0 var(--ring, 1px) rgba(255,255,255,.22); }
.rb { flex: 1; min-width: 0; }
.rt { display: flex; justify-content: space-between; gap: 10px; }
.rt b { font-weight: 600; }
.rt em { font-style: normal; font-weight: 600; color: var(--tx2); white-space: nowrap; }
.rb p { margin: 3px 0 0; color: var(--tx2); font-size: 14.5px; overflow-wrap: anywhere; }
.rb time { font-size: 12.5px; color: var(--tx3); }
.more { margin-top: 10px; border: 0; background: none; color: var(--tx2); cursor: pointer; padding: 6px 0; font-size: 14px; }
.more:hover { color: var(--tx); }

/* ---------- hội viên ---------- */
.tiers { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; margin-bottom: 28px; }
.tier { display: grid; grid-template-columns: 200px 1fr; gap: 20px; padding: 24px 28px; border-bottom: 1px solid var(--line); align-items: center; }
.tier:last-child { border-bottom: 0; }
.tier-h { display: flex; flex-direction: column; gap: 4px; }
.stars { display: flex; gap: 4px; }
.stars i { width: 9px; height: 9px; transform: rotate(45deg); border-radius: 2px; background: #555; }
.t3 .stars i { background: var(--gold); }
.t2 .stars i { background: #bdbdbd; }
.tier-h b { font-size: 16px; font-weight: 600; }
.tier-h em { font-style: normal; font-size: 13px; color: var(--tx3); }
.tier ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.tier li { font-size: 18px; font-weight: 500; }
.t3 li { font-size: 26px; font-weight: 600; letter-spacing: -.01em; }
.t2 li { font-size: 21px; }
.tier li.open, .tier li.open a { font-size: 15px; font-weight: 400; color: var(--tx3); }
.tier li.open a:hover { color: var(--tx); }
.t3 { background: linear-gradient(90deg, rgba(242,201,76,.06), transparent 60%); }

/* ---------- gợi ý ---------- */
.ask { margin-top: 36px; }
.ask-line { font-size: clamp(24px, 3.4vw, 38px); font-weight: 500; letter-spacing: -.015em; color: var(--tx2); min-height: 1.3em; }
#ask-q { color: var(--gold); border-right: 2px solid var(--gold); padding-right: 3px; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { border-color: transparent; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; }
.chips button { height: 36px; padding: 0 16px; border-radius: 99px; border: 1px solid var(--line2); background: transparent; cursor: pointer; font-size: 14.5px; color: var(--tx2); transition: all .2s; }
.chips button:hover { color: var(--tx); border-color: rgba(255,255,255,.35); }
.chips button.on { color: var(--gold); border-color: var(--gold); }
#ask-form { display: flex; gap: 10px; }
#ask-form input { flex: 1; min-width: 0; height: 48px; padding: 0 20px; border-radius: 99px; background: #1c1c1c; border: 1px solid var(--line); outline: 0; transition: border-color .2s; }
#ask-form input:focus { border-color: rgba(255,255,255,.35); }
.board { margin-top: 36px; padding: 24px 28px; border-radius: 22px; border: 1px solid var(--line); }
.board-h { margin: 0 0 12px; display: flex; justify-content: space-between; font-weight: 600; }
.board-h i { font-style: normal; font-weight: 400; color: var(--tx3); font-size: 14px; }
#board-list { list-style: none; margin: 0; padding: 0; }
#board-list button { position: relative; width: 100%; display: flex; align-items: center; gap: 14px; padding: 11px 12px; border: 0; background: none; cursor: pointer; text-align: left; border-radius: 10px; overflow: hidden; }
#board-list button::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: rgba(255,255,255,.045); border-radius: 10px; }
#board-list button:hover::before { background: rgba(255,255,255,.08); }
#board-list button > * { position: relative; }
.rk { color: var(--tx3); font-weight: 500; font-size: 13px; font-variant-numeric: tabular-nums; }
.tp { flex: 1; font-weight: 500; }
.vt { font-style: normal; color: var(--tx2); font-variant-numeric: tabular-nums; }
.up { font-size: 12px; color: var(--tx3); width: 26px; text-align: right; }
li.me .up { color: var(--gold); }
li.new { animation: fadeUp .6s var(--ease); }
.board-f { margin: 12px 0 0; font-size: 13px; color: var(--tx3); }

/* ---------- footer ---------- */
.foot { position: relative; border-top: 1px solid var(--line); padding: 80px 0 48px; overflow: hidden; }
.foot-top { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center; margin-bottom: 72px; }
.phi svg { width: 100%; display: block; overflow: visible; }
.phi .sq rect { fill: none; stroke: rgba(255,255,255,.12); stroke-width: 1.4; }
.phi .sp { fill: none; stroke: var(--gold); stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 6px rgba(242,201,76,.45)); }
.phi-v { margin: 0 0 14px; font-size: clamp(28px, 3.4vw, 44px); font-weight: 600; letter-spacing: -.01em; color: var(--gold); font-variant-numeric: tabular-nums; }
.say { margin: 0; color: var(--tx2); font-size: 17px; max-width: 420px; }
.say b { color: var(--tx); }
.fr { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.logo.sm { font-size: 18px; }
.cols { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 32px; align-items: start; }
.fh { margin: 0 0 14px; font-size: 13.5px; color: var(--tx3); }
.social { display: flex; gap: 10px; }
.social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line2); transition: background .2s; }
.social a:hover { background: rgba(255,255,255,.07); }
.social svg { width: 18px; height: 18px; fill: currentColor; }
#mail { font-weight: 500; }
#mail:hover { text-decoration: underline; text-underline-offset: 4px; }
.copy-r { margin: 0; text-align: right; color: var(--tx3); font-size: 14px; }

/* ---------- flash + toast ---------- */
#flash { position: fixed; inset: 0; z-index: 90; pointer-events: none; background: #fff; opacity: 0; }
#flash.go { animation: flash .5s ease-out; }
@keyframes flash { 0% { opacity: .1; } 100% { opacity: 0; } }
#toast { position: fixed; left: 50%; bottom: 28px; z-index: 95; transform: translate(-50%, 20px); opacity: 0; padding: 12px 20px; border-radius: 99px; background: #f2f2f2; color: #111; font-weight: 500; font-size: 14.5px; transition: opacity .3s, transform .3s var(--ease); pointer-events: none; max-width: calc(100% - 32px); text-align: center; }
#toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- màn nhỏ ---------- */
@media (max-width: 960px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .hero-in, .feat, .foot-top { grid-template-columns: 1fr; }
  .hero { padding-top: 120px; }
  .give { grid-template-columns: 1fr; }
  .pick { border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .wrap, .wrap.narrow { width: calc(100% - 36px); }
  .nav { padding: 0 18px; }
  .nav nav a:not([href="#ung-ho"]) { display: none; }
  .nav nav a[href="#ung-ho"] { background: #f2f2f2; color: #111; font-weight: 600; }
  .hero { padding: 108px 0 64px; }
  .hero-in { gap: 36px; }
  .feat { gap: 18px; }
  .fr { align-items: flex-start; }
  .count { margin-left: 0; width: 100%; }
  .lede { font-size: 16.5px; }
  .cta .btn { flex: 1; padding: 0 16px; }
  .grid { grid-template-columns: 1fr; gap: 34px; }
  .sec { padding: 80px 0; }
  .pick, .pay { padding: 22px 18px; }
  .panel.on { grid-template-columns: 1fr; justify-items: center; }
  .panel.on dl { width: 100%; }
  .tabs i { display: none; }
  .tabs svg { display: none; }
  .recent, .board { padding: 22px 18px; }
  .tier { grid-template-columns: 1fr; gap: 10px; padding: 20px 18px; }
  .t3 li { font-size: 23px; }
  #ask-form { flex-direction: column; }
  .cols { grid-template-columns: 1fr; gap: 26px; }
  .copy-r { text-align: left; }
}
/* chống tràn ngang trên màn hẹp */
.give > *, .panel dl, dd > span { min-width: 0; }
@media (max-width: 960px) { .give { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .panel.on { grid-template-columns: minmax(0, 1fr); }
  #ask-form input { flex: none; }
}


/* =========================================================
   TRÌNH DIỄN (fx.js)
   ========================================================= */
html.smooth { scroll-behavior: auto; }

/* màn mở đầu */
#pre { position: fixed; inset: 0; z-index: 200; background: #0c0c0b; display: none; color: var(--tx); }
html.pre #pre { display: block; }
html.pre body { overflow: hidden; }
.pre-logo { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 6px; font-weight: 300; font-size: clamp(40px, 7vw, 92px); letter-spacing: .16em; }
.pre-logo span { opacity: 0; transform: translateY(30%); transition: opacity .6s, transform .9s cubic-bezier(.2,.8,.2,1); }
.pre-logo span:last-child { transition-delay: .12s; }
.pre-logo svg { width: .82em; height: .74em; fill: none; stroke: var(--gold); stroke-width: 3; stroke-linejoin: round; margin: 0 .1em; filter: drop-shadow(0 0 10px rgba(242,201,76,.5)); }
.pre-logo path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.2s cubic-bezier(.65,0,.35,1); }
#pre.go .pre-logo span { opacity: 1; transform: none; }
#pre.go .pre-logo path { stroke-dashoffset: 0; }
.pre-n { position: absolute; left: max(24px, calc((100% - 1180px) / 2)); bottom: 28px; margin: 0; font-weight: 600; line-height: .8; font-variant-numeric: tabular-nums; letter-spacing: -.04em; }
.pre-n b { font-size: clamp(80px, 16vw, 220px); color: var(--tx); }
.pre-n i { font-style: normal; font-size: clamp(18px, 2vw, 28px); color: var(--tx3); margin-left: 8px; }
.pre-q { position: absolute; right: max(24px, calc((100% - 1180px) / 2)); bottom: 36px; margin: 0; text-align: right; color: var(--tx2); font-size: 15px; line-height: 1.4; }
#pre.out { transform: translateY(-100%); transition: transform 1.05s cubic-bezier(.76,0,.24,1); }
#pre.out .pre-logo { transform: translate(-50%, -30%); opacity: 0; transition: all .7s; }

/* thanh tiến độ cuộn */
#bar { position: fixed; left: 0; right: 0; top: 0; height: 2px; z-index: 60; background: var(--gold); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }
.nav nav a.cur { color: var(--tx); }
.nav nav a { position: relative; }
.nav nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 1.5px; background: var(--gold); transform: scaleX(0); transform-origin: 0 50%; transition: transform .45s var(--ease); }
.nav nav a.cur::after { transform: scaleX(1); }
.btn, .social a, .nav nav a, .logo { transition: transform .35s cubic-bezier(.2,.8,.2,1), background .2s, border-color .2s, color .2s; }

/* chữ trồi từng từ */
.split[data-rev] { opacity: 1; transform: none; }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .14em .02em .08em; margin: -.14em -.02em -.08em; }
.split .w > span { display: inline-block; transform: translateY(110%); transition: transform 1s cubic-bezier(.2,.8,.2,1) calc(var(--i) * .06s + var(--d, 0s)); }
.split.in .w > span { transform: none; }

/* ảnh video mở từ dưới lên khi cuộn tới */
.vid[data-rev] .th, #feat .feat[data-rev] .th { clip-path: inset(100% 0 0 0 round 12px); transition: clip-path 1.1s cubic-bezier(.76,0,.24,1) var(--d, 0s), outline-color .3s; }
.vid[data-rev].in .th, #feat .feat[data-rev].in .th { clip-path: inset(0 0 0 0 round 12px); }
.feat .th img { transform: scale(1.05); will-change: transform; }

/* dải chữ chạy */
.marquee { overflow: hidden; padding: 26px 0 30px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 40px; }
.mq { display: flex; width: max-content; will-change: transform; }
.mq-g { display: flex; align-items: center; flex: none; }
.mq span { font-size: clamp(56px, 9vw, 140px); font-weight: 700; letter-spacing: -.04em; line-height: 1; white-space: nowrap; padding: 0 .28em; color: var(--tx); }
.mq span.o { color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.4); }
.mq i { flex: none; width: .5em; height: .45em; font-size: clamp(56px, 9vw, 140px); background: var(--gold); clip-path: polygon(50% 0, 100% 100%, 0 100%); }

/* đồ thị nghiêng */
.plot { transition: transform .5s cubic-bezier(.2,.8,.2,1), opacity .8s var(--ease); transform-style: preserve-3d; }

/* con trỏ riêng */
#cur { display: none; }
html.has-cur #cur { display: block; }
html.has-cur, html.has-cur a, html.has-cur button, html.has-cur label, html.has-cur .plot { cursor: none; }
html.has-cur input, html.has-cur textarea { cursor: text; }
#cur i, #cur b { position: fixed; left: 0; top: 0; z-index: 300; pointer-events: none; border-radius: 50%; opacity: 0; transition: opacity .3s; }
#cur.on i, #cur.on b { opacity: 1; }
#cur i { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--gold); }
#cur b { width: 38px; height: 38px; margin: -19px 0 0 -19px; display: grid; place-items: center; }
#cur b::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(242,201,76,.55); transition: transform .45s cubic-bezier(.2,.8,.2,1), background .3s, border-color .3s; }
#cur b span { position: relative; font-size: 13px; font-weight: 600; color: #141109; opacity: 0; transform: scale(.6); transition: opacity .25s, transform .4s cubic-bezier(.2,.8,.2,1); }
#cur.hot b::before { transform: scale(1.7); background: rgba(242,201,76,.08); }
#cur.media b::before { transform: scale(2.3); background: var(--gold); border-color: var(--gold); }
#cur.media b span { opacity: 1; transform: scale(1); }
#cur.media i, #cur.text i, #cur.text b { opacity: 0; }
#cur.down b::before { transform: scale(.8); }
#cur.media.down b::before { transform: scale(2); }

@media (max-width: 640px) {
  .marquee { padding: 18px 0 20px; }
  .pre-q { display: none; }
}
