:root {
    --coral: #ff5a36;
    --pink: #ff3d7f;
    --ink: #1b1f3b;
    --ink-2: #2a2d55;
    --muted: #5b5f7a;
    --cream: #fff8f2;
    --card: #ffffff;
    --line: #f1e6dc;
    --mint: #14b8a6;
    --shadow: 0 18px 40px rgba(27, 31, 59, 0.08);
}
@media (prefers-color-scheme: dark) {
    :root {
        --ink: #f3f2fb;
        --muted: #a7a9c2;
        --cream: #12131f;
        --card: #1c1e2e;
        --line: #26283a;
        --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Nunito', system-ui, -apple-system, sans-serif;
    background: var(--cream);
    color: var(--ink);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Thanh trên cùng */
.nav { position: sticky; top: 0; z-index: 10; backdrop-filter: saturate(160%) blur(14px); background: color-mix(in srgb, var(--cream) 82%, transparent); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; text-decoration: none; font-size: 18px; white-space: nowrap; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.nav-links { display: flex; align-items: center; gap: 22px; font-weight: 700; font-size: 15px; }
.nav-links a { text-decoration: none; color: var(--muted); }
.nav-links a:hover { color: var(--ink); }
.nav-links a.btn-play { color: #fff; }
@media (max-width: 760px) { .nav-links .hide-sm { display: none; } }
@media (max-width: 420px) { .brand { font-size: 16px; gap: 8px; } .brand img { width: 30px; height: 30px; } }

.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 22px; border-radius: 999px;
    font-weight: 800; text-decoration: none; font-size: 16px;
    transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-ghost { background: var(--card); color: var(--ink); box-shadow: var(--shadow); }
.btn svg { width: 20px; height: 20px; }
.btn-play { background: #000; color: #fff; border: 1px solid #a6a6a6; border-radius: 12px; padding: 9px 20px 9px 16px; gap: 12px; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28); }
.btn-play svg { width: 28px; height: 28px; }
.btn-play .play-text { display: flex; flex-direction: column; line-height: 1.1; text-align: left; white-space: nowrap; }
.btn-play .play-text small { font-size: 10px; font-weight: 700; letter-spacing: .06em; }
.btn-play .play-text strong { font-size: 19px; font-weight: 800; }
.btn-play-sm { padding: 6px 14px 6px 11px; gap: 8px; border-radius: 10px; box-shadow: none; }
.btn-play-sm svg { width: 20px; height: 20px; }
.btn-play-sm .play-text small { font-size: 8px; }
.btn-play-sm .play-text strong { font-size: 14px; }
@media (max-width: 420px) { .btn-play-sm { padding: 7px 11px 7px 9px; gap: 6px; } .btn-play-sm .play-text small { display: none; } .btn-play-sm .play-text strong { font-size: 13px; } }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 56px 0 40px; }
.hero::before {
    content: ''; position: absolute; width: 760px; height: 760px; border-radius: 50%;
    right: -260px; top: -280px; background: radial-gradient(circle, rgba(255, 90, 54, 0.16), transparent 65%);
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
    background: rgba(255, 90, 54, 0.12); color: var(--coral); font-weight: 800; font-size: 13px; letter-spacing: .4px;
}
.hero h1 { font-size: clamp(38px, 5.4vw, 62px); line-height: 1.04; margin: 18px 0 16px; font-weight: 900; letter-spacing: -1.2px; }
.hero h1 .grad { background: linear-gradient(135deg, var(--coral), var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 19px; color: var(--muted); max-width: 540px; margin: 0 0 28px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.trust { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 26px; color: var(--muted); font-weight: 700; font-size: 14px; }
.trust span { display: inline-flex; align-items: center; gap: 6px; }
.trust svg { width: 18px; height: 18px; color: var(--mint); }

.phones { position: relative; height: 560px; }
.phone {
    position: absolute; width: 250px; border-radius: 40px; padding: 9px; background: #0e0f1a;
    box-shadow: 0 30px 60px rgba(27, 31, 59, 0.28), inset 0 0 0 2px rgba(255, 255, 255, 0.12);
}
.phone img { border-radius: 32px; width: 100%; height: auto; }
.phone.back { left: 6%; top: 52px; transform: rotate(-7deg); }
.phone.front { right: 6%; top: 0; transform: rotate(5deg); }
@media (max-width: 900px) {
    .hero .wrap { grid-template-columns: 1fr; }
    .phones { height: 480px; max-width: 460px; margin: 10px auto 0; width: 100%; }
    .phone { width: 210px; }
}

/* Số liệu luật */
.stats { padding: 10px 0 30px; }
.stats .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { background: var(--card); border-radius: 24px; padding: 22px; box-shadow: var(--shadow); }
.stat b { display: block; font-size: 34px; font-weight: 900; color: var(--coral); line-height: 1.1; }
.stat span { color: var(--muted); font-weight: 700; font-size: 14px; }
@media (max-width: 760px) { .stats .grid { grid-template-columns: repeat(2, 1fr); } }

section.block { padding: 72px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 42px; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 42px); line-height: 1.1; margin: 12px 0 12px; font-weight: 900; letter-spacing: -.6px; }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }

/* Các bước */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step { background: var(--card); border-radius: 26px; padding: 26px 22px; box-shadow: var(--shadow); }
.step::before {
    counter-increment: step; content: counter(step);
    display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%;
    background: linear-gradient(135deg, var(--coral), var(--pink)); color: #fff; font-weight: 900; font-size: 18px;
}
.step h3 { margin: 16px 0 6px; font-size: 19px; font-weight: 800; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Tính năng xen kẽ ảnh */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 34px 0; }
.feature.reverse .feature-media { order: 2; }
.feature-media { display: flex; justify-content: center; }
.feature-media .phone { position: static; transform: none; width: 280px; }
.feature h3 { font-size: clamp(26px, 3vw, 34px); margin: 12px 0 12px; font-weight: 900; line-height: 1.12; }
.feature p { color: var(--muted); font-size: 17px; margin: 0 0 18px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; font-weight: 700; }
.ticks svg { flex: 0 0 22px; width: 22px; height: 22px; color: var(--mint); margin-top: 1px; }
@media (max-width: 860px) {
    .feature { grid-template-columns: 1fr; gap: 28px; }
    .feature.reverse .feature-media { order: 0; }
    .feature-media .phone { width: 240px; }
}

/* Luật Pack */
.rules { background: linear-gradient(160deg, var(--ink-2), #12132a); color: #fff; border-radius: 36px; padding: 52px 44px; }
.rules .section-head p { color: rgba(255, 255, 255, 0.75); }
.rules-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rule { background: rgba(255, 255, 255, 0.07); border-radius: 22px; padding: 22px; }
.rule b { display: block; font-size: 17px; margin-bottom: 6px; }
.rule span { color: rgba(255, 255, 255, 0.75); font-size: 15px; }
@media (max-width: 860px) { .rules-grid { grid-template-columns: 1fr; } .rules { padding: 40px 22px; } }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--card); border-radius: 20px; padding: 18px 22px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; font-weight: 800; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--coral); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: var(--muted); margin: 12px 0 0; }

footer { padding: 46px 0 40px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; font-weight: 700; }
footer nav a { text-decoration: none; }
footer nav a:hover { color: var(--coral); }
.disclaimer { flex-basis: 100%; font-size: 13px; opacity: .8; }

/* ===== Multi-page additions ===== */
.nav .wrap { gap: 16px; }
.nav-links a.active { color: var(--ink); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--card); padding: 8px 14px; border-radius: 10px; z-index: 20; }
.skip:focus { left: 12px; }

/* Language switcher */
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 700; font-size: 14px; padding: 8px 10px; border-radius: 10px; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover { color: var(--ink); background: var(--card); }
.lang summary svg { width: 18px; height: 18px; }
.lang[open] summary { background: var(--card); color: var(--ink); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); background: var(--card); border-radius: 16px; box-shadow: var(--shadow); padding: 8px; display: grid; grid-template-columns: repeat(2, max-content); gap: 2px; z-index: 30; border: 1px solid var(--line); }
.lang-menu a { text-decoration: none; padding: 8px 12px; border-radius: 10px; font-size: 14px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.lang-menu a:hover, .lang-menu a[aria-current] { background: rgba(255, 90, 54, 0.1); color: var(--coral); }
@media (max-width: 520px) { .lang summary span { display: none; } .lang-menu { right: -60px; } }

/* Page hero (sub pages) */
.page-hero { padding: 36px 0 18px; text-align: center; }
.page-hero h1 { font-size: clamp(34px, 4.6vw, 54px); line-height: 1.08; margin: 0 auto 14px; font-weight: 900; letter-spacing: -1px; max-width: 860px; }
.page-hero p { color: var(--muted); font-size: 19px; max-width: 700px; margin: 0 auto; }
.crumbs { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--muted); font-weight: 700; margin-bottom: 12px; opacity: .85; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--coral); }

/* Cards grid */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--card); border-radius: 26px; padding: 28px 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card h3 { margin: 12px 0 8px; font-size: 21px; font-weight: 900; }
.card p { color: var(--muted); margin: 0 0 16px; font-size: 15px; }
.card .ticks { margin-top: auto; font-size: 15px; }
.card .tag { align-self: flex-start; font-size: 12px; font-weight: 900; letter-spacing: .5px; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: rgba(20, 184, 166, 0.12); color: var(--mint); }
.card .tag.paid { background: rgba(255, 90, 54, 0.12); color: var(--coral); }
.card .price { font-size: 30px; font-weight: 900; margin: 4px 0 6px; line-height: 1.1; }
.card .price small { font-size: 15px; color: var(--muted); font-weight: 700; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }

/* Pricing */
.plan.popular { outline: 2px solid var(--coral); position: relative; }
.plan .badge { position: absolute; top: -13px; right: 22px; background: linear-gradient(135deg, var(--coral), var(--pink)); color: #fff; font-size: 12px; font-weight: 900; padding: 5px 12px; border-radius: 999px; letter-spacing: .4px; }
.plan .btn { margin-top: 22px; justify-content: center; }
.btn-main { background: linear-gradient(135deg, var(--coral), var(--pink)); color: #fff; box-shadow: 0 12px 28px rgba(255, 79, 109, 0.3); }
.table-wrap { overflow-x: auto; background: var(--card); border-radius: 24px; box-shadow: var(--shadow); }
table.grid-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
.grid-table th, .grid-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.grid-table th { font-size: 13px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); }
.grid-table tr:last-child td { border-bottom: 0; }
.grid-table td b { font-weight: 900; }
.note { color: var(--muted); font-size: 14px; text-align: center; margin: 14px auto 0; max-width: 720px; }

/* Guarantee / info panel */
.panel { background: var(--card); border-radius: 30px; padding: 40px; box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.panel h2 { font-size: clamp(28px, 3.2vw, 38px); line-height: 1.1; margin: 12px 0; font-weight: 900; }
.panel p { color: var(--muted); font-size: 17px; margin: 0; }
@media (max-width: 860px) { .panel { grid-template-columns: 1fr; padding: 28px 22px; } }

/* Timeline */
.timeline { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.tl { display: grid; grid-template-columns: 150px 1fr; gap: 20px; background: var(--card); border-radius: 22px; padding: 22px 24px; box-shadow: var(--shadow); }
.tl .when { font-weight: 900; color: var(--coral); }
.tl h3 { margin: 0 0 4px; font-size: 18px; font-weight: 900; }
.tl p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 600px) { .tl { grid-template-columns: 1fr; gap: 6px; } }

/* FAQ groups */
.faq-group { max-width: 780px; margin: 0 auto 36px; }
.faq-group h2 { font-size: 24px; font-weight: 900; margin: 0 0 14px; }

/* Guides */
.guide-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.guide-card { text-decoration: none; }
.guide-card:hover { transform: translateY(-2px); }
.guide-card .more { margin-top: auto; color: var(--coral); font-weight: 900; display: inline-flex; gap: 6px; align-items: center; }
.guide-card .more svg { width: 18px; height: 18px; }
@media (max-width: 760px) { .guide-list { grid-template-columns: 1fr; } }
.article { max-width: 760px; margin: 0 auto; font-size: 18px; }
.article .summary { background: var(--card); border-radius: 22px; padding: 22px 24px; box-shadow: var(--shadow); color: var(--muted); margin: 0 0 30px; border-left: 4px solid var(--coral); }
.article h2 { font-size: 28px; font-weight: 900; line-height: 1.15; margin: 38px 0 12px; }
.article p { margin: 0 0 16px; }
.article ul, .article ol { padding-left: 22px; margin: 0 0 18px; }
.article li { margin-bottom: 8px; }
.article a { color: var(--coral); }
.article .meta { color: var(--muted); font-size: 14px; font-weight: 700; text-align: center; }
.related { max-width: 760px; margin: 40px auto 0; }
.related h2 { font-size: 22px; font-weight: 900; }
.related ul { padding-left: 20px; }
.related a { color: var(--coral); font-weight: 700; }

/* CTA band */
.band { background: linear-gradient(160deg, var(--ink-2), #12132a); color: #fff; border-radius: 36px; padding: 52px 32px; text-align: center; }
.band h2 { font-size: clamp(28px, 3.4vw, 40px); margin: 0 0 10px; font-weight: 900; line-height: 1.1; }
.band p { color: rgba(255, 255, 255, 0.75); font-size: 18px; margin: 0 auto 24px; max-width: 600px; }
.band .btn-play { border-color: rgba(255, 255, 255, 0.4); }

/* Footer columns */
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; width: 100%; }
.foot-grid h4 { margin: 0 0 12px; font-size: 13px; text-transform: uppercase; letter-spacing: .6px; color: var(--ink); }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-grid a { text-decoration: none; font-weight: 700; }
.foot-grid a:hover { color: var(--coral); }
.foot-langs { display: flex; flex-wrap: wrap; gap: 6px 14px; flex-basis: 100%; font-size: 13px; }
.foot-langs a { text-decoration: none; }
.foot-langs a:hover { color: var(--coral); }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > div:first-child { grid-column: 1 / -1; } }

/* Mobile menu */
.mnav { display: none; position: relative; }
.mnav summary { list-style: none; cursor: pointer; display: inline-flex; padding: 8px; border-radius: 10px; color: var(--ink); }
.mnav summary::-webkit-details-marker { display: none; }
.mnav summary svg { width: 22px; height: 22px; }
.mnav[open] summary { background: var(--card); }
.mnav-menu { position: absolute; right: 0; top: calc(100% + 8px); background: var(--card); border-radius: 16px; box-shadow: var(--shadow); border: 1px solid var(--line); padding: 8px; display: grid; min-width: 200px; z-index: 30; }
.mnav-menu a { text-decoration: none; padding: 10px 14px; border-radius: 10px; font-weight: 800; color: var(--ink); }
.mnav-menu a:hover, .mnav-menu a[aria-current] { background: rgba(255, 90, 54, 0.1); color: var(--coral); }
@media (max-width: 760px) {
    .mnav { display: block; }
    .nav-links { gap: 6px; }
}
@media (max-width: 520px) {
    .nav-links .btn-play-sm { display: none; }
    .lang-menu { right: -50px; }
}
.cards.two, .rules-grid.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .cards.two, .rules-grid.two { grid-template-columns: 1fr; } }
