:root {
    --bg: #07111d;
    --bg-2: #0a1829;
    --navy: #0d2240;
    --navy-2: #123056;
    --line: rgba(127, 228, 255, .14);
    --cyan: #3ecbff;
    --cyan-2: #1bb4e8;
    --cyan-d: #0e7eab;
    --text: #f4f8fc;
    --muted: #8aa4c4;
    --gold: #f5c542;
    --green: #25d366;
    --danger: #ff5d6c;
    --card: #0c1f38;
    --shadow: 0 10px 30px rgba(0, 0, 0, .35);
    --radius: 16px;
    --max: 480px;
    --top: 58px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--text); }
body {
    font-family: "Plus Jakarta Sans", system-ui, sans-serif;
    min-height: 100vh;
    padding-bottom: 92px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font-family: inherit; }

.topbar {
    position: sticky;
    top: 0;
    z-index: 40;
    height: var(--top);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px;
    background: rgba(7, 17, 29, .92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    max-width: var(--max);
    margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { border-radius: 50%; box-shadow: 0 0 0 2px rgba(62, 203, 255, .25); }
.brand strong { display: block; font-size: 14px; letter-spacing: .2px; }
.brand small { display: block; color: var(--muted); font-size: 11px; margin-top: -1px; }
.icon-btn {
    width: 40px; height: 40px; border: 0; border-radius: 10px;
    background: var(--navy); color: var(--text); display: grid; place-items: center; cursor: pointer;
}

.drawer-bg {
    position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 50;
    opacity: 0; pointer-events: none; transition: .2s;
}
.drawer-bg.is-open { opacity: 1; pointer-events: auto; }
.drawer {
    position: fixed; top: 0; right: 0; width: min(320px, 86vw); height: 100%;
    background: #0b1c32; z-index: 60; transform: translateX(100%);
    transition: .25s ease; padding: 16px; border-left: 1px solid var(--line);
}
.drawer.is-open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.drawer-nav { display: grid; gap: 6px; }
.drawer-nav a {
    padding: 12px 14px; border-radius: 12px; color: var(--muted); font-weight: 600;
}
.drawer-nav a.is-active, .drawer-nav a:hover { background: var(--navy); color: var(--text); }
.drawer-slogan { margin-top: 24px; color: var(--muted); font-size: 13px; line-height: 1.5; }

.wrap { width: min(var(--max), 100%); margin: 0 auto; padding: 0 0 24px; }

.hero { position: relative; overflow: hidden; background: #071526; width: 100%; }
.hero-track {
    display: flex;
    width: 100%;
    transition: transform .35s ease;
}
.hero-slide {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}
.poster {
    min-height: 280px;
    padding: 22px 20px 72px;
    background:
        radial-gradient(120% 80% at 80% 10%, rgba(62,203,255,.28), transparent 42%),
        radial-gradient(90% 60% at 10% 90%, rgba(14,126,171,.35), transparent 50%),
        linear-gradient(160deg, #082445 0%, #07111d 58%, #0a2544 100%);
    position: relative;
    box-sizing: border-box;
}
.poster--phone {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    overflow: hidden;
    padding: 22px 12px 72px 20px;
}
.poster-copy {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 58%;
}
.poster-phone {
    display: block;
    width: 120px;
    max-width: 34%;
    height: 160px;
    flex: 0 0 auto;
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(0 8px 16px rgba(0,0,0,.4));
}
.poster-phone--sm {
    width: 96px;
    max-width: 28%;
    height: 130px;
}
.poster-kicker {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    color: var(--cyan);
}
.poster h1 {
    font-size: 24px; line-height: 1.15; margin: 10px 0 8px; max-width: 14ch;
}
.poster .or {
    color: var(--gold); font-weight: 800; font-size: 15px;
}
.poster .tag {
    margin-top: 14px; color: var(--muted); font-size: 13px;
    max-width: 22ch;
}
.hero-cta {
    position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
    z-index: 2;
    background: linear-gradient(180deg, var(--cyan), var(--cyan-2));
    color: #062033; font-weight: 800; border: 0; border-radius: 999px;
    padding: 10px 22px; cursor: pointer; box-shadow: var(--shadow); white-space: nowrap;
}
.dots { display: flex; justify-content: center; gap: 6px; padding: 10px 0 0; position: relative; z-index: 2; }
.dots button {
    width: 7px; height: 7px; border-radius: 50%; border: 0; background: #33506f; cursor: pointer;
}
.dots button.is-on { background: var(--cyan); width: 18px; border-radius: 8px; }

.prize-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 12px 16px 0;
    padding: 14px 10px 14px 16px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    overflow: hidden;
    background: linear-gradient(160deg, #0a1f3a, #07111d);
}
.prize-info {
    flex: 1 1 auto;
    min-width: 0;
}
.prize-phone {
    display: block;
    width: 100px;
    max-width: 34%;
    height: 120px;
    flex: 0 0 auto;
    object-fit: contain;
}
.prize-title {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.25;
    max-width: 18ch;
    text-shadow: 0 2px 12px rgba(0,0,0,.5);
}
.price-chip {
    margin-top: 10px; display: inline-flex; align-items: center; gap: 8px;
    background: rgba(62,203,255,.14); color: var(--cyan); font-weight: 700;
    padding: 6px 10px; border-radius: 999px; font-size: 13px;
    position: relative; z-index: 1;
    backdrop-filter: blur(6px);
}

.progress-card {
    margin: 14px 16px; background: var(--card); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 14px;
}
.progress-top { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.bar { height: 10px; background: #16304f; border-radius: 99px; overflow: hidden; }
.bar > span {
    display: block; height: 100%; width: 0;
    background: linear-gradient(90deg, var(--cyan-d), var(--cyan));
    box-shadow: 0 0 12px rgba(62,203,255,.6);
    transition: width 1s ease;
}
.progress-foot { display: flex; justify-content: space-between; margin-top: 8px; font-size: 12px; color: var(--muted); }

.note {
    margin: 0 16px 12px; background: #10263f; border: 1px solid var(--line);
    border-radius: 12px; padding: 12px; color: var(--muted); font-size: 12px; line-height: 1.55;
}
.note strong { color: var(--text); }

.section-h {
    padding: 8px 16px 10px; display: flex; align-items: baseline; justify-content: space-between;
}
.section-h h2 { font-size: 18px; }
.section-h p { color: var(--muted); font-size: 12px; }

.promo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 16px 8px; }
.promo {
    background: linear-gradient(165deg, #0e243f 0%, var(--card) 100%);
    border: 1px solid var(--line); border-radius: 14px;
    padding: 16px 12px; text-align: center; cursor: pointer; color: var(--text);
    transition: border-color .2s ease, transform .15s ease;
}
.promo:hover, .promo.is-on {
    border-color: rgba(62,203,255,.55);
    transform: translateY(-1px);
}
.promo b { display: block; font-size: 15px; }
.promo span { color: var(--gold); font-weight: 800; font-size: 14px; margin-top: 4px; display: block; }

.live {
    margin: 8px 16px 10px; display: flex; justify-content: space-between; gap: 10px;
    background: linear-gradient(135deg, #0e243d, #0a1c32); border: 1px solid var(--line);
    border-radius: 12px; padding: 12px 14px; font-size: 13px;
}
.live small { color: var(--muted); display: block; margin-bottom: 2px; }
.live-end { text-align: right; }
#countdown { font-variant-numeric: tabular-nums; font-weight: 800; color: var(--gold); }

.qty-box { padding: 4px 16px 12px; }
.qty-box label { display: block; color: var(--muted); font-size: 12px; margin-bottom: 8px; }
.qty-row { display: flex; gap: 8px; }
.qty-row input {
    flex: 1; height: 48px; border-radius: 12px; border: 1px solid var(--line);
    background: #081525; color: var(--text); padding: 0 14px; font-size: 16px; font-weight: 700;
}
.qty-row .ghost {
    height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line);
    background: var(--navy); color: var(--text); font-weight: 700; cursor: pointer;
}

.adds { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 16px 12px; }
.add {
    position: relative; height: 54px; border-radius: 12px; border: 1px solid var(--line);
    background: var(--card); color: var(--text); font-weight: 800; cursor: pointer;
    transition: border-color .15s ease;
}
.add:hover { border-color: rgba(62,203,255,.4); }
.add.popular { border-color: rgba(245,197,66,.55); background: linear-gradient(180deg, #152844, var(--card)); }
.add .badge {
    position: absolute; top: -8px; right: 8px; background: var(--gold); color: #3a2a00;
    font-size: 10px; font-weight: 800; padding: 2px 6px; border-radius: 99px;
}

.pay {
    width: calc(100% - 32px); margin: 4px 16px 16px; height: 52px; border: 0; border-radius: 14px;
    background: linear-gradient(180deg, var(--cyan), var(--cyan-2));
    color: #052033; font-size: 16px; font-weight: 800; cursor: pointer;
    box-shadow: 0 8px 20px rgba(27,180,232,.22);
}

.tickets {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 16px 16px;
}
.ticket {
    background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px;
    min-height: 108px;
}
.ticket .val { color: var(--gold); font-weight: 800; }
.ticket .num { font-size: 18px; font-weight: 800; letter-spacing: 1px; margin: 6px 0; }
.ticket .st { font-size: 12px; color: var(--cyan); font-weight: 700; }
.ticket.is-won { opacity: .72; }
.ticket.is-won .st { color: var(--gold); }

.steps { padding: 8px 16px 28px; display: grid; gap: 10px; }
.step {
    display: grid; grid-template-columns: 36px 1fr; gap: 10px; align-items: start;
    background: linear-gradient(145deg, #0e243f, var(--card));
    border: 1px solid var(--line); border-radius: 14px; padding: 14px;
}
.step i {
    width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
    background: rgba(62,203,255,.12); color: var(--cyan); font-style: normal; font-weight: 800;
}
.step h3 { font-size: 13px; letter-spacing: .02em; }
.step p { color: var(--muted); font-size: 12px; margin-top: 4px; line-height: 1.45; }

.page { padding: 18px 16px 8px; }
.page h1 { font-size: 22px; margin-bottom: 8px; }
.page p.lead { color: var(--muted); font-size: 14px; line-height: 1.55; margin-bottom: 16px; }
.card {
    background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px; margin-bottom: 10px;
}
.card h3 { font-size: 15px; }
.card p, .prose { color: var(--muted); font-size: 13px; line-height: 1.6; }
.prose h2 { color: var(--text); font-size: 16px; margin: 18px 0 8px; }
.prose ul { padding-left: 18px; margin: 8px 0 12px; color: var(--muted); font-size: 13px; }
.search { display: flex; gap: 8px; margin-bottom: 14px; }
.search input {
    flex: 1; height: 46px; border-radius: 12px; border: 1px solid var(--line);
    background: #081525; color: var(--text); padding: 0 12px;
}
.search button {
    height: 46px; padding: 0 14px; border: 0; border-radius: 12px; background: var(--cyan);
    color: #052033; font-weight: 800; cursor: pointer;
}
.nums { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.nums span {
    background: #132c4a; border-radius: 8px; padding: 6px 8px; font-size: 12px; font-weight: 700;
}

.site-foot {
    position: relative;
    width: min(var(--max), 100%);
    margin: 8px auto 0;
    padding: 28px 18px 110px;
    overflow: hidden;
    border-top: 1px solid var(--line);
    background:
        radial-gradient(90% 80% at 50% 0%, rgba(62,203,255,.10), transparent 55%),
        linear-gradient(180deg, #081525 0%, #07111d 100%);
}
.foot-glow {
    position: absolute;
    inset: auto 20% -40% 20%;
    height: 120px;
    background: radial-gradient(circle, rgba(62,203,255,.18), transparent 70%);
    pointer-events: none;
}
.foot-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}
.foot-brand img {
    border-radius: 14px;
    box-shadow: 0 0 0 1px rgba(62,203,255,.25), 0 8px 20px rgba(0,0,0,.35);
}
.foot-brand strong {
    display: block;
    color: var(--text);
    font-size: 16px;
    letter-spacing: .2px;
}
.foot-brand span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.4;
    margin-top: 2px;
    max-width: 28ch;
}
.foot-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}
.foot-nav a {
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(12,31,56,.55);
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.foot-nav a:hover {
    color: var(--text);
    border-color: rgba(62,203,255,.4);
    background: rgba(62,203,255,.08);
}
.foot-meta {
    border-top: 1px solid var(--line);
    padding-top: 14px;
}
.foot-meta > p:first-child {
    color: #a9c2de;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
}
.site-foot .legal {
    font-size: 11px;
    line-height: 1.55;
    color: #6f88a6;
}
.foot-copy {
    margin-top: 16px;
    font-size: 11px;
    color: #5d7694;
    letter-spacing: .04em;
}

.wa-fab {
    position: fixed; right: calc(50% - var(--max)/2 + 14px); bottom: 78px; z-index: 30;
    background: var(--green); color: #fff; display: flex; align-items: center; gap: 8px;
    padding: 10px 14px; border-radius: 999px; font-weight: 800; font-size: 13px;
    box-shadow: var(--shadow);
}
@media (max-width: 520px) { .wa-fab { right: 14px; } }

.sticky {
    position: fixed; left: 50%; bottom: 0; transform: translateX(-50%);
    width: min(var(--max), 100%); z-index: 35;
    background: rgba(8, 18, 32, .96); border-top: 1px solid var(--line);
    display: flex; gap: 10px; align-items: center; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
}
.sticky .sum small { color: var(--muted); display: block; font-size: 11px; }
.sticky .sum b { font-size: 16px; }
.sticky button {
    margin-left: auto; height: 44px; padding: 0 18px; border: 0; border-radius: 12px;
    background: linear-gradient(180deg, var(--cyan), var(--cyan-2)); color: #052033; font-weight: 800; cursor: pointer;
}

.modal-bg {
    position: fixed; inset: 0; background: rgba(0,0,0,.62); z-index: 70;
    display: none; align-items: flex-end; justify-content: center;
}
.modal-bg.is-open { display: flex; }
.modal {
    width: min(var(--max), 100%); max-height: 92vh; overflow: auto;
    background: #0b1c32; border-radius: 20px 20px 0 0; padding: 16px 16px 24px;
    border-top: 1px solid var(--line);
}
.modal h3 { margin-bottom: 4px; font-size: 20px; }
.modal-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}
.modal-sub {
    color: var(--gold);
    font-size: 13px;
    font-weight: 700;
    margin-top: 4px;
}
.chk-form .field { margin-bottom: 12px; }
.field label {
    display: block;
    font-size: 12px;
    color: #a9c2de;
    font-weight: 600;
    margin-bottom: 6px;
}
.field input {
    width: 100%;
    height: 48px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: #081525;
    color: var(--text);
    padding: 0 14px;
    font-size: 15px;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.field input::placeholder { color: #5d7694; }
.field input:focus {
    outline: none;
    border-color: rgba(62,203,255,.55);
    box-shadow: 0 0 0 3px rgba(62,203,255,.12);
}
.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
@media (max-width: 380px) {
    .field-row { grid-template-columns: 1fr; }
}
.check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 12px;
    line-height: 1.45;
    color: var(--muted);
    margin: 4px 0 16px;
    padding: 12px;
    border-radius: 12px;
    background: rgba(8,21,37,.7);
    border: 1px solid var(--line);
}
.check input {
    width: 18px;
    height: 18px;
    margin-top: 1px;
    accent-color: var(--cyan);
    flex: 0 0 auto;
}
.check a { color: var(--cyan); text-decoration: underline; }
.modal-actions { display: grid; gap: 8px; }
.btn-main, .btn-ghost {
    height: 50px; border-radius: 12px; font-weight: 800; cursor: pointer; border: 0; font-size: 15px;
}
.btn-main { background: linear-gradient(180deg, var(--cyan), var(--cyan-2)); color: #052033; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }

.pix-box { text-align: center; padding: 8px 0 12px; }
.pix-box img { width: 210px; height: 210px; margin: 8px auto 12px; background: #fff; border-radius: 12px; padding: 8px; }
.pix-code {
    word-break: break-all; font-size: 11px; background: #081525; border: 1px dashed var(--line);
    border-radius: 10px; padding: 10px; color: var(--muted); text-align: left;
}
.ticket-list { max-height: 180px; overflow: auto; display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.ticket-list span { background: #132c4a; border-radius: 8px; padding: 6px 8px; font-size: 12px; font-weight: 700; }
.win-alert {
    background: rgba(245, 197, 66, .12); border: 1px solid rgba(245, 197, 66, .4);
    color: var(--gold); border-radius: 12px; padding: 10px; margin: 8px 0; font-size: 13px;
}

.toast {
    position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%);
    background: #12324f; color: var(--text); padding: 10px 14px; border-radius: 10px;
    z-index: 90; font-size: 13px; box-shadow: var(--shadow); width: max-content; max-width: 90%;
}

.empty { text-align: center; color: var(--muted); padding: 24px 8px; }
.hidden { display: none !important; }
