:root { --c: #7B5CFF; --c2: #FFD45C; --bg: #0E0B2A; --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; }
/* ---- Luỹ Tiến ---- */
body { background: radial-gradient(120% 80% at 50% 10%, #2A1A6A 0%, #140C3A 55%, #0B0824 100%); }
img.mark { display: block; width: 92px; height: 92px; border-radius: 26px; margin: 0 auto 8px; box-shadow: 0 10px 34px rgba(123,92,255,.55); }
.home { gap: 12px; }
.logo p { color: #FFE27A; }
.story { color: #EDE7FF; }
.so-lon { text-align: center; color: #fff; background: rgba(20,12,58,.6); border: 1px solid rgba(182,156,255,.25); border-radius: 20px; padding: 10px 18px; width: 100%; }
.so-lon b { display: block; font-size: 40px; font-weight: 900; letter-spacing: -.5px; }
.so-lon span { font-size: 14px; font-weight: 700; color: #FFE27A; } .so-lon i { font-style: normal; }
.btn.main { background: linear-gradient(180deg, #A58BFF, #5B3FD0); color: #fff; }
.modes { width: 100%; display: grid; gap: 10px; }
.mbtn { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; width: 100%; min-height: 66px; border: 1px solid rgba(182,156,255,.25); border-radius: 18px; padding: 12px 16px; text-align: left; color: #EDE7FF; background: rgba(20,12,58,.75); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.mbtn b { font-size: 19px; font-weight: 900; } .mbtn span { font-size: 14px; font-weight: 700; opacity: .88; }
.mbtn.ngay { border-color: #FFE27A; } .mbtn.ngay b { color: #FFE27A; }
.mbtn.bp { border-color: #8BE9FF; } .mbtn.bp b { color: #8BE9FF; }
.row { display: flex; gap: 8px; width: 100%; } .row .link { flex: 1; }
.link { background: rgba(182,156,255,.12); color: #EDE7FF; border: 1px solid rgba(182,156,255,.22); min-height: 48px; padding: 10px 8px; }
.note { color: rgba(237,231,255,.72); font-size: 13px; font-weight: 600; text-align: center; line-height: 1.5; margin: 4px 0; }
.note.dark { text-align: left; background: rgba(255,226,122,.08); border-radius: 12px; padding: 10px 12px; }
.pn { background: rgba(18,10,48,.97); color: #EDE7FF; border: 1px solid rgba(182,156,255,.22); border-radius: 22px; padding: 18px; max-width: 480px; margin: calc(var(--sat) + 66px) auto 24px; width: calc(100% - 24px); box-shadow: 0 20px 50px rgba(0,0,0,.5); }
.pn h2 { margin: 0 0 6px; font-size: 24px; font-weight: 900; color: #FFE27A; }
.pn ul { padding-left: 18px; } .pn li { margin: 8px 0; line-height: 1.5; font-weight: 600; opacity: .94; }
.pn .big { font-size: 38px; font-weight: 900; text-align: center; color: #fff; margin: 10px 0 4px; text-shadow: 0 0 24px rgba(255,226,122,.6); }
.mut { color: rgba(237,231,255,.75); font-weight: 600; font-size: 14px; line-height: 1.5; margin: 6px 0; } .mut.c { text-align: center; } .mut b { color: #FFE27A; }
.chip { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin: 10px 0; }
.chip span { background: rgba(182,156,255,.14); border-radius: 999px; padding: 6px 12px; font-weight: 700; font-size: 14px; } .chip b { color: #FFE27A; }
.mc { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid rgba(182,156,255,.12); }
.mc i { flex: 0 0 64px; font-style: normal; font-weight: 900; font-size: 20px; color: #FFE27A; text-align: right; }
.mc b { display: block; font-size: 16px; } .mc span { display: block; font-size: 13.5px; line-height: 1.5; opacity: .8; font-weight: 600; }
.mc.an i { color: rgba(237,231,255,.35); } .mc.an b { color: rgba(237,231,255,.55); } .mc.an span { opacity: .45; }
.kh { display: flex; gap: 10px; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid rgba(182,156,255,.12); }
.kh b { display: block; font-size: 16px; } .kh span { display: block; font-size: 13px; opacity: .78; font-weight: 600; line-height: 1.45; }
.kh em { font-style: normal; color: #7CFFB8; font-weight: 900; padding: 0 10px; }
.kb { flex: 0 0 112px; min-height: 52px; border: 0; border-radius: 14px; background: linear-gradient(180deg, #A58BFF, #5B3FD0); color: #fff; font-weight: 900; font-size: 16px; }
.kb small { display: block; font-size: 11.5px; font-weight: 700; opacity: .9; }
.kb:disabled { background: rgba(255,255,255,.08); color: rgba(255,255,255,.45); }
