:root { --c: #DB2777; --c2: #22D3EE; --bg: #1F1030; --ink: #14203d; --mut: #5d6a8a; --sat: env(safe-area-inset-top, 0px); }
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; overflow: hidden; background: var(--bg); font-family: "Be Vietnam Pro", system-ui, sans-serif; color: var(--ink); overscroll-behavior: none; }
canvas#c { position: fixed; inset: 0; touch-action: none; display: block; }
#menu { position: fixed; inset: 0; z-index: 20; display: none; overflow-y: auto; -webkit-overflow-scrolling: touch; }
#menu.on { display: block; }
button { font: inherit; cursor: pointer; color: inherit; }
.home { min-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: calc(var(--sat) + 76px) 16px 32px; max-width: 520px; margin: 0 auto; }
.logo { text-align: center; color: #fff; text-shadow: 0 4px 18px rgba(0,0,0,.3); }
.logo .mark { width: 76px; height: 76px; margin: 0 auto 6px; border-radius: 24px; display: grid; place-items: center; font-size: 42px; background: linear-gradient(135deg, var(--c2), var(--c)); box-shadow: 0 10px 30px rgba(0,0,0,.3); transform: rotate(-8deg); }
.logo h1 { margin: 0; font-size: clamp(40px, 11vw, 60px); font-weight: 900; letter-spacing: -1px; line-height: 1; }
.logo p { margin: 4px 0 0; font-weight: 800; font-size: 18px; }
.story { color: #fff; text-align: center; font-weight: 600; margin: 0; opacity: .92; }
.btn { display: block; width: 100%; min-height: 52px; border: 0; border-radius: 18px; background: #fff; font-weight: 800; font-size: 17px; margin: 8px 0; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.btn.main { background: linear-gradient(180deg, var(--c2), var(--c)); color: #fff; }
.btn.big { min-height: 72px; font-size: 24px; font-weight: 900; }
.btn.big small { display: block; font-size: 14px; font-weight: 700; opacity: .9; }
.link { border: 0; background: rgba(255,255,255,.88); border-radius: 14px; padding: 12px 16px; font-weight: 800; width: 100%; }
.panel { background: #fff; border-radius: 22px; padding: 20px; max-width: 480px; margin: calc(var(--sat) + 70px) auto 24px; width: calc(100% - 32px); }
.panel h2 { margin: 0 0 8px; }
.panel p, .panel li { color: var(--mut); font-weight: 600; line-height: 1.5; }
.foot { color: #fff; font-size: 13px; text-align: center; opacity: .85; }
.foot a { color: #fff; }
/* ---- Ý Muốn ---- */
img.mark { display: block; padding: 0; background: none; width: 88px; height: 88px; border-radius: 26px; transform: rotate(-6deg); box-shadow: 0 12px 30px rgba(60,0,60,.4); }
.home { gap: 12px; }
.logo p { color: #fde68a; }
.chip { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.chip span { background: rgba(40,6,50,.55); color: #fff; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 6px 12px; font-weight: 700; font-size: 14px; }
.chip b { color: #fde68a; }
.cngay { display: block; width: 100%; text-align: left; border: 0; border-radius: 22px; padding: 14px 16px; background: #fff; color: var(--ink); box-shadow: 0 10px 28px rgba(60,0,60,.3); }
.cngay small { display: inline-block; font-weight: 900; font-size: 12px; letter-spacing: .5px; text-transform: uppercase; color: #fff; background: var(--c); border-radius: 999px; padding: 3px 10px; }
.cngay > b { display: block; font-size: 19px; font-weight: 900; margin: 8px 0; line-height: 1.3; color: #2a0b2b; }
.cngay-ds { display: grid; gap: 6px; }
.cngay-ds > span { position: relative; display: flex; justify-content: space-between; align-items: center; border-radius: 12px; padding: 8px 10px; background: #fdf2f8; font-weight: 700; font-size: 15px; overflow: hidden; border: 2px solid transparent; }
.cngay-ds > span.on { border-color: var(--c); }
.cngay-ds > span.co::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--p); background: linear-gradient(90deg, #fbcfe8, #f472b6); opacity: .7; }
.cngay-ds .t, .cngay-ds i { position: relative; font-style: normal; font-weight: 900; }
.cngay em { display: block; margin-top: 8px; font-style: normal; font-weight: 700; font-size: 13px; color: #9d174d; }
.btn.main { background: linear-gradient(180deg, #fb7185, #be185d); color: #fff; }
.modes { width: 100%; display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.mbtn { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; width: 100%; min-height: 78px; border: 1px solid rgba(255,255,255,.2); border-radius: 18px; padding: 12px 14px; text-align: left; color: #fff; background: rgba(40,6,50,.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.mbtn b { font-size: 16px; font-weight: 900; line-height: 1.2; }
.mbtn span { font-size: 13px; font-weight: 700; opacity: .88; line-height: 1.35; }
.mbtn.ngay b { color: #fde68a; } .mbtn.cd b { color: #a5f3fc; } .mbtn.ban b { color: #fbcfe8; } .mbtn.cho b { color: #ddd6fe; }
.row { display: flex; gap: 8px; width: 100%; }
.row .link { flex: 1; }
.link { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.2); min-height: 48px; padding: 10px 8px; font-size: 15px; }
.pn { background: rgba(36,8,48,.95); color: #fff; border: 1px solid rgba(255,255,255,.14); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-radius: 22px; padding: 18px; max-width: 520px; margin: calc(var(--sat) + 66px) auto 24px; width: calc(100% - 24px); box-shadow: 0 20px 50px rgba(0,0,0,.45); }
.pn h2 { margin: 0 0 6px; font-size: 24px; font-weight: 900; color: #fde68a; }
.pn h3 { margin: 16px 0 6px; font-size: 17px; font-weight: 900; }
.pn ul { padding-left: 18px; } .pn li { margin: 8px 0; line-height: 1.5; font-weight: 600; opacity: .94; }
.pn label { display: block; margin: 14px 0 6px; font-weight: 800; font-size: 14px; color: #fbcfe8; }
.pn .btn { color: var(--ink); } .pn .btn.main { color: #fff; }
.mut { color: rgba(255,255,255,.75); font-weight: 600; font-size: 14px; line-height: 1.5; margin: 6px 0; }
.bao { color: #fca5a5; font-weight: 800; }
.tx { width: 100%; min-height: 48px; border-radius: 12px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.1); color: #fff; font: 600 16px "Be Vietnam Pro", system-ui, sans-serif; padding: 10px 12px; }
.tx::placeholder { color: rgba(255,255,255,.45); }
.cdg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 0; }
.cdo { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-height: 104px; text-align: left; border: 0; border-radius: 18px; padding: 12px; color: #fff; background: linear-gradient(150deg, var(--m), color-mix(in srgb, var(--m) 55%, #000)); box-shadow: 0 6px 16px rgba(0,0,0,.25); }
.cdo .bt { font-size: 30px; }
.cdo b { font-size: 16px; font-weight: 900; line-height: 1.2; }
.cdo small { font-size: 12px; font-weight: 700; opacity: .9; }
.cdo em { position: absolute; top: 8px; right: 8px; font-style: normal; font-size: 11px; font-weight: 900; background: rgba(255,255,255,.9); color: #333; border-radius: 999px; padding: 2px 8px; }
.cdo.khoa { background: rgba(255,255,255,.08); color: rgba(255,255,255,.6); box-shadow: none; }
.phieu { border-radius: 16px; padding: 12px; margin: 8px 0; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); animation: lat .5s ease both; }
.phieu b { display: block; font-size: 15px; } .phieu span { display: block; font-size: 13px; opacity: .85; margin-top: 4px; font-weight: 600; }
.phieu i { display: inline-block; margin-top: 6px; font-style: normal; font-weight: 900; border-radius: 999px; padding: 3px 10px; }
.phieu.dung i { background: #16a34a; } .phieu.sai i { background: #6b7280; } .phieu.dung { border-color: #4ade80; }
@keyframes lat { from { transform: rotateX(80deg); opacity: 0; } to { transform: none; opacity: 1; } }
.thanh { height: 10px; border-radius: 99px; background: rgba(255,255,255,.18); overflow: hidden; margin-top: 8px; }
.thanh i { display: block; height: 100%; background: linear-gradient(90deg, #f9a8d4, #db2777); border-radius: 99px; }
.thanh.lon { height: 16px; margin: 12px 0; }
img.the { width: 100%; border-radius: 18px; display: block; margin: 8px 0; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.nets { display: grid; gap: 6px; margin: 10px 0; }
.nets span { display: grid; grid-template-columns: 92px 1fr 30px; align-items: center; gap: 8px; font-size: 14px; }
.nets i { height: 12px; border-radius: 99px; background: var(--m); display: block; min-width: 4px; }
.nets em { font-style: normal; font-weight: 800; text-align: right; opacity: .8; }
.tabs { display: flex; gap: 6px; overflow-x: auto; padding: 4px 0 10px; -webkit-overflow-scrolling: touch; }
.tab { flex: none; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08); color: #fff; border-radius: 999px; padding: 10px 12px; font-weight: 800; font-size: 13px; min-height: 44px; }
.tab.on { background: #fff; color: #9d174d; }
.mn { border-radius: 16px; padding: 12px; margin: 8px 0; background: rgba(255,255,255,.07); }
.mn > b { display: block; margin-bottom: 6px; }
.mn small { display: block; margin-top: 6px; opacity: .75; font-weight: 700; }
.bar { position: relative; display: flex; justify-content: space-between; border-radius: 10px; padding: 8px 10px; margin: 4px 0; background: rgba(255,255,255,.08); overflow: hidden; font-weight: 700; font-size: 14px; }
.bar::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--p); background: rgba(244,114,182,.45); }
.bar.top::before { background: rgba(253,224,71,.55); }
.bar span, .bar em { position: relative; font-style: normal; } .bar em { font-weight: 900; } .bar i { font-style: normal; color: #fbcfe8; }
.huy { display: flex; gap: 12px; align-items: center; padding: 10px; margin: 6px 0; border-radius: 14px; background: rgba(255,255,255,.06); opacity: .6; }
.huy.co { opacity: 1; background: rgba(253,224,71,.12); border: 1px solid rgba(253,224,71,.4); }
.huy span { font-size: 30px; } .huy b { display: block; } .huy small { font-weight: 600; opacity: .8; }
