:root {
    --bg: #050505;
    --gold-1: #ffe9a0;
    --gold-2: #f0d060;
    --gold-3: #d4af37;
    --gold-4: #a67c1a;
    --gold-5: #6b4f10;
    --silver: #e8e8e8;
    --text: #f5f5f5;
    --muted: #9a9a9a;
    --danger: #ff6b6b;
    --ok: #4ade80;
    --font-display: "Cinzel", serif;
    --font-body: "Manrope", sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html { scroll-behavior: smooth; }

body {
    min-height: 100vh;
    font-family: var(--font-body);
    color: var(--text);
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(166, 124, 26, 0.18), transparent 55%),
        linear-gradient(180deg, #0a0a0a 0%, #050505 40%, #080808 100%);
    background-attachment: fixed;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.page {
    width: min(920px, 100%);
    margin: 0 auto;
    padding: 18px 16px 40px;
}

.page-wide {
    width: min(1100px, 100%);
}

/* Header */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-logo-img {
    max-height: 44px;
    width: auto;
    max-width: 170px;
    display: block;
    object-fit: contain;
}

.logo-clover { width: 28px; height: 28px; display: grid; place-items: center; }
.logo-clover svg { width: 100%; height: 100%; }

.logo-text {
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-family: var(--font-display);
    font-weight: 700;
}

.logo-num {
    font-size: 1.35rem;
    background: linear-gradient(180deg, var(--gold-1), var(--gold-3) 45%, var(--gold-5));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.logo-mid {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    color: var(--silver);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px 14px;
    flex-wrap: wrap;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.78);
}

.nav-links a:hover { color: var(--gold-2); }
.nav-sep { opacity: 0.35; }

.how-icon {
    width: 18px;
    height: 18px;
    border: 1.5px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    font-size: 0.7rem;
    font-style: italic;
    font-family: Georgia, serif;
    margin-right: 4px;
}

/* Cards / panels */
.panel {
    background: linear-gradient(180deg, rgba(30, 30, 30, 0.95), rgba(10, 10, 10, 0.98));
    border: 1.5px solid rgba(212, 175, 55, 0.55);
    border-radius: 18px;
    padding: 28px 22px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
}

.panel-title {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 4vw, 1.7rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 22px;
    background: linear-gradient(180deg, var(--gold-1), var(--gold-3));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-card { position: relative; text-align: center; padding-top: 42px; }

.crown {
    position: absolute;
    top: -28px;
    left: 50%;
    transform: translateX(-50%);
    width: 78px;
    filter: drop-shadow(0 6px 10px rgba(212, 175, 55, 0.35));
    animation: crownFloat 3.2s ease-in-out infinite;
}
.crown svg { width: 100%; height: auto; }

.brand-title {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: baseline;
    gap: 10px 14px;
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 0.95;
    margin-bottom: 12px;
}

.brand-2, .brand-500 {
    font-size: clamp(3.4rem, 14vw, 5.6rem);
    background: linear-gradient(180deg, #fff6c8 0%, #f0d060 28%, #d4af37 55%, #8b6914 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 8px 16px rgba(212, 175, 55, 0.22));
}

.brand-para {
    font-size: clamp(1.1rem, 4.5vw, 1.65rem);
    letter-spacing: 0.28em;
    background: linear-gradient(180deg, #f5f5f5, #b8b8b8 60%, #7a7a7a);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    align-self: center;
    padding-bottom: 0.35em;
}

.hero-tagline {
    font-size: clamp(0.78rem, 2.8vw, 0.95rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--gold-3);
    margin-bottom: 22px;
}

.hero-boxes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.info-box {
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
    background: linear-gradient(180deg, #161616, #0d0d0d);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 12px;
    padding: 14px 12px;
}

.info-icon { flex-shrink: 0; font-size: 1.4rem; width: 36px; text-align: center; }
.info-label { display: block; font-size: 0.68rem; font-weight: 700; color: rgba(255,255,255,.72); }
.info-value {
    display: block;
    font-size: clamp(1.05rem, 3.5vw, 1.35rem);
    font-weight: 800;
    background: linear-gradient(180deg, var(--gold-1), var(--gold-3));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.info-sub { display: block; font-size: 0.62rem; font-weight: 700; color: var(--gold-3); }

.slogan { text-align: center; padding: 34px 8px 8px; }
.slogan h2 {
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 4.2vw, 1.7rem);
    font-style: italic;
    color: #fff;
}
.slogan em {
    font-style: italic;
    background: linear-gradient(180deg, var(--gold-1), var(--gold-3));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 28px 4px 8px;
}
.feature { text-align: center; }
.feature-icon {
    width: 58px; height: 58px; margin: 0 auto 12px;
    border: 1.5px solid rgba(212, 175, 55, 0.55);
    border-radius: 50%;
    display: grid; place-items: center;
    background: #0f0f0f;
    font-size: 1.4rem;
}
.feature h3 { font-size: 0.72rem; font-weight: 800; color: var(--gold-2); margin-bottom: 4px; }
.feature p { font-size: 0.68rem; color: rgba(255,255,255,.65); line-height: 1.35; }

/* Forms */
.form { display: flex; flex-direction: column; gap: 14px; max-width: 420px; margin: 0 auto; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.82rem; font-weight: 700; color: var(--gold-2); }
.form-group input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 10px;
    border: 1.5px solid rgba(212, 175, 55, 0.45);
    background: #0d0d0d;
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: border-color .2s;
}
.form-group input:focus { border-color: var(--gold-2); }
.form-group input::placeholder { color: #666; }

.checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: rgba(255,255,255,.75);
}
.checkbox input { width: 18px; height: 18px; accent-color: var(--gold-3); }

.form-links {
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,.65);
    margin-top: 8px;
}
.form-links a { color: var(--gold-2); font-weight: 700; }
.form-links a:hover { text-decoration: underline; }

/* Buttons */
.actions { display: flex; flex-direction: column; gap: 12px; padding: 28px 0 24px; }

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 12px 20px;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    border: none;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s, background .2s;
    text-align: center;
}

.btn-primary {
    color: #1a1408;
    background: linear-gradient(180deg, #ffe9a0 0%, #e8c04a 35%, #c9a227 70%, #a67c1a 100%);
    border: 1px solid #f5e6a8;
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(212,175,55,.4); }

.btn-outline {
    color: var(--gold-2);
    background: transparent;
    border: 1.5px solid rgba(212, 175, 55, 0.7);
}
.btn-outline:hover { transform: translateY(-2px); background: rgba(212,175,55,.08); }

.btn-sm { min-height: 40px; font-size: 0.8rem; padding: 8px 14px; }

.qty-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 18px 0;
}
.qty-btn {
    width: 48px; height: 48px;
    border-radius: 10px;
    border: 1.5px solid rgba(212,175,55,.7);
    background: transparent;
    color: var(--gold-2);
    font-size: 1.4rem;
    font-weight: 800;
    cursor: pointer;
}
.qty-value {
    font-size: 2rem;
    font-weight: 800;
    min-width: 60px;
    text-align: center;
    color: var(--gold-1);
}

.quick-qty {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 20px;
}
.quick-qty button {
    min-width: 56px;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid rgba(212,175,55,.5);
    background: #121212;
    color: var(--gold-2);
    font-weight: 700;
    cursor: pointer;
}
.quick-qty button.active,
.quick-qty button:hover {
    background: rgba(212,175,55,.15);
    border-color: var(--gold-2);
}

.resumo {
    background: #0d0d0d;
    border: 1px solid rgba(212,175,55,.35);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 18px;
}
.resumo h3 {
    font-size: 0.9rem;
    color: var(--gold-2);
    margin-bottom: 10px;
    letter-spacing: .06em;
}
.resumo-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    padding: 6px 0;
    color: rgba(255,255,255,.75);
}
.resumo-total {
    border-top: 1px solid rgba(212,175,55,.3);
    margin-top: 8px;
    padding-top: 10px;
    font-weight: 800;
    color: var(--gold-1);
    font-size: 1.1rem;
}

/* Alerts */
.alert {
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 16px;
    font-size: 0.9rem;
    line-height: 1.45;
}
.alert-erro {
    background: rgba(255, 107, 107, 0.12);
    border: 1px solid rgba(255, 107, 107, 0.45);
    color: #ffb4b4;
}
.alert-ok {
    background: rgba(74, 222, 128, 0.12);
    border: 1px solid rgba(74, 222, 128, 0.45);
    color: #86efac;
}
.alert-info {
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.45);
    color: var(--gold-1);
}

/* Tables */
.table-wrap { overflow-x: auto; }
table.data {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}
table.data th,
table.data td {
    padding: 12px 10px;
    text-align: left;
    border-bottom: 1px solid rgba(212,175,55,.2);
}
table.data th { color: var(--gold-2); font-weight: 700; }
table.data tr:hover td { background: rgba(255,255,255,.02); }

.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: .04em;
}
.badge-pago { background: rgba(74,222,128,.15); color: #4ade80; }
.badge-reservado { background: rgba(250,204,21,.15); color: #facc15; }
.badge-disponivel { background: rgba(148,163,184,.15); color: #94a3b8; }

.ticket-card {
    background: #0d0d0d;
    border: 1px solid rgba(212,175,55,.4);
    border-radius: 14px;
    padding: 18px;
    margin-bottom: 14px;
}
.ticket-card h3 {
    font-family: var(--font-display);
    color: var(--gold-2);
    margin-bottom: 8px;
}
.milhares {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0;
}
.milhar-chip {
    background: linear-gradient(180deg, rgba(255,233,160,.15), rgba(166,124,26,.1));
    border: 1px solid rgba(212,175,55,.5);
    border-radius: 8px;
    padding: 8px 12px;
    font-weight: 800;
    letter-spacing: .08em;
    color: var(--gold-1);
}

.welcome { text-align: center; margin-bottom: 24px; }
.welcome h1 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    margin-bottom: 6px;
    color: #fff;
}
.welcome p { color: rgba(255,255,255,.65); }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}
.stat-card {
    background: #0d0d0d;
    border: 1px solid rgba(212,175,55,.35);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
}
.stat-card strong {
    display: block;
    font-size: 1.4rem;
    color: var(--gold-1);
    margin-bottom: 4px;
}
.stat-card span { font-size: 0.75rem; color: rgba(255,255,255,.55); }

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid rgba(212,175,55,.45);
    border-radius: 12px;
    background: linear-gradient(180deg, #141414, #0a0a0a);
    overflow: hidden;
}
.stat {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 12px;
    border-right: 1px solid rgba(212,175,55,.28);
}
.stat:last-child { border-right: none; }
.stat strong { display: block; font-size: 0.68rem; color: var(--gold-2); }
.stat span { display: block; font-size: 0.62rem; color: rgba(255,255,255,.55); margin-top: 2px; }

.footer { padding-top: 36px; text-align: center; }
.footer-divider {
    position: relative;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212,175,55,.55), transparent);
    margin-bottom: 18px;
}
.footer-clover {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 34px;
    height: 34px;
    background: var(--bg);
    display: grid;
    place-items: center;
}
.copyright { font-size: 0.72rem; color: var(--muted); }

/* Ticket art */
.ticket-art {
    max-width: 420px;
    margin: 0 auto;
    background:
        radial-gradient(ellipse at 50% 20%, rgba(212,175,55,.2), transparent 55%),
        linear-gradient(180deg, #1a1508, #0a0a0a 40%, #111);
    border: 2px solid var(--gold-3);
    border-radius: 20px;
    padding: 28px 20px;
    text-align: center;
    box-shadow: 0 0 40px rgba(212,175,55,.2);
}
.ticket-art .ticket-brand {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(180deg, var(--gold-1), var(--gold-3));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 4px;
}
.ticket-art .ticket-num {
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: .12em;
    color: #fff;
    margin: 16px 0;
}
.ticket-art .ticket-code {
    font-size: 0.7rem;
    color: var(--muted);
    letter-spacing: .1em;
    margin-top: 16px;
}
.ticket-milhar-list {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}
.ticket-milhar-item {
    border: 1px solid rgba(212,175,55,.45);
    border-radius: 10px;
    padding: 12px;
    background: rgba(0,0,0,.35);
}
.ticket-milhar-item small {
    display: block;
    font-size: 0.65rem;
    letter-spacing: .12em;
    color: var(--gold-3);
    margin-bottom: 4px;
}
.ticket-milhar-item strong {
    font-size: 1.6rem;
    letter-spacing: .16em;
    color: var(--gold-1);
}

@keyframes crownFloat {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-4px); }
}

/* ========== Auth screens ========== */
.auth-header {
    display: flex;
    align-items: center;
    min-height: 48px;
    margin-bottom: 8px;
}

.auth-back {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: var(--gold-2);
    border-radius: 50%;
}

.auth-back:hover {
    background: rgba(212, 175, 55, 0.1);
}

.auth-screen {
    max-width: 420px;
    margin: 0 auto;
    padding: 8px 4px 32px;
}

.auth-hero {
    text-align: center;
    margin: 18px 0 28px;
}

.auth-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 7vw, 2.4rem);
    font-weight: 800;
    background: linear-gradient(180deg, var(--gold-1), var(--gold-3));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 8px;
}

.auth-hero p {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.92rem;
}

.auth-form {
    max-width: 100%;
    gap: 16px;
}

.auth-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.auth-forgot {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--gold-2);
}

.input-password {
    position: relative;
}

.input-password input {
    width: 100%;
    padding-right: 48px;
}

.toggle-pass {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    opacity: 0.7;
    padding: 6px;
}

.btn-block {
    width: 100%;
    margin-top: 8px;
}

.auth-switch {
    text-align: center;
    margin-top: 28px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.55);
}

.auth-switch a {
    color: var(--gold-2);
    font-weight: 800;
    margin-left: 4px;
}

.page-auth {
    padding-bottom: 24px;
}

.footer-auth {
    margin-top: 24px;
}

/* ========== Bottom navigation (mobile app) ========== */
.bottom-nav {
    display: none;
}

@media (max-width: 760px) {
    .page {
        padding: 12px 14px 88px;
    }

    .app-header {
        flex-wrap: nowrap;
        margin-bottom: 14px;
        padding: 4px 0;
    }

    .nav-desktop {
        display: none !important;
    }

    .logo-num {
        font-size: 1.15rem;
    }

    .logo-mid {
        font-size: 0.62rem;
    }

    .logo-clover {
        width: 24px;
        height: 24px;
    }

    .hero-card {
        padding: 36px 14px 20px;
        border-radius: 16px;
    }

    .crown {
        width: 64px;
        top: -22px;
    }

    .brand-title {
        gap: 6px 10px;
        margin-bottom: 8px;
    }

    .hero-tagline {
        font-size: 0.72rem;
        margin-bottom: 14px;
    }

    .hero-boxes {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .info-box {
        padding: 10px 8px;
        flex-direction: column;
        text-align: center;
        gap: 4px;
    }

    .info-icon {
        width: auto;
    }

    .info-label {
        font-size: 0.58rem;
    }

    .info-value {
        font-size: 0.95rem;
    }

    .info-sub {
        display: none;
    }

    .slogan {
        padding: 24px 4px 4px;
    }

    .slogan h2 {
        font-size: 1.15rem;
    }

    .features {
        grid-template-columns: 1fr 1fr;
        gap: 18px 10px;
        padding: 20px 0 4px;
    }

    .actions {
        padding: 20px 0 16px;
        gap: 10px;
    }

    .btn {
        min-height: 50px;
        border-radius: 14px;
        font-size: 0.88rem;
    }

    .stats {
        display: none;
    }

    .footer {
        padding-top: 20px;
        padding-bottom: 8px;
    }

    .panel {
        border-radius: 16px;
        padding: 22px 16px;
    }

    /* Bottom nav */
    .bottom-nav {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 100;
        background: rgba(8, 8, 8, 0.96);
        border-top: 1px solid rgba(212, 175, 55, 0.35);
        backdrop-filter: blur(12px);
        padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
    }

    .bottom-nav a {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3px;
        padding: 6px 2px;
        color: rgba(255, 255, 255, 0.45);
        font-size: 0.62rem;
        font-weight: 700;
        letter-spacing: 0.01em;
    }

    .bottom-nav a.active,
    .bottom-nav a:hover {
        color: var(--gold-2);
    }

    .bn-icon {
        width: 22px;
        height: 22px;
        display: grid;
        place-items: center;
    }

    .bn-icon svg {
        width: 20px;
        height: 20px;
    }

    .auth-body .page {
        padding-bottom: 24px;
    }
}

@media (max-width: 520px) {
    .hero-boxes {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 761px) {
    .bottom-nav {
        display: none !important;
    }

    .page {
        padding-bottom: 40px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ========== Home app ========== */
.home-welcome {
    text-align: center;
    margin: 4px 0 18px;
}

.home-welcome h1 {
    font-size: clamp(1.6rem, 6vw, 2rem);
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #fff;
}

.home-welcome p {
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.92rem;
}

.home-carousel {
    position: relative;
}

.home-track {
    position: relative;
}

.home-card {
    display: none;
    padding-top: 28px !important;
}

.home-card.is-active {
    display: block;
    animation: homeFade 0.35s ease;
}

@keyframes homeFade {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: none; }
}

.home-card-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-bottom: 8px;
}

.home-card-brand .logo-clover {
    width: 36px;
    height: 36px;
}

.brand-title-sm .brand-2,
.brand-title-sm .brand-500 {
    font-size: clamp(2.4rem, 12vw, 3.4rem);
}

.brand-title-sm .brand-para {
    font-size: clamp(0.9rem, 3.5vw, 1.2rem);
}

.home-card-logo {
    max-height: 88px;
    width: auto;
    max-width: min(280px, 80%);
    margin: 0 auto 14px;
    object-fit: contain;
}

.home-card-name {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.78rem;
    margin: -8px 0 14px;
}

.btn-buy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin-top: 18px;
    min-height: 54px;
    padding: 14px 18px;
    border: none;
    border-radius: 14px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #1a1008;
    cursor: pointer;
    text-decoration: none;
    background: linear-gradient(180deg, #ffb457 0%, #f28c28 45%, #e07010 100%);
    box-shadow: 0 8px 22px rgba(242, 140, 40, 0.35);
}

.btn-buy:hover {
    filter: brightness(1.05);
}

.btn-buy-arrow {
    margin-left: auto;
    font-size: 1.2rem;
    font-weight: 700;
}

.home-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 14px 0 8px;
}

.home-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: rgba(255, 255, 255, 0.25);
    cursor: pointer;
}

.home-dot.active {
    background: var(--gold-3);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.25);
}

.how-card {
    margin-top: 18px;
    background: linear-gradient(180deg, rgba(28, 28, 28, 0.95), rgba(12, 12, 12, 0.98));
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 16px;
    padding: 16px 14px;
}

.how-card-inner {
    display: flex;
    align-items: center;
    gap: 10px;
}

.how-card h2 {
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
    color: #fff;
}

.how-list {
    list-style: none;
    display: grid;
    gap: 8px;
}

.how-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.35;
}

.how-li-icon {
    flex-shrink: 0;
}

.how-card-go {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--gold-2);
    font-size: 1.6rem;
    font-weight: 700;
    border: 1px solid rgba(212, 175, 55, 0.45);
}

/* Header icons / drawer */
.app-header {
    display: grid;
    grid-template-columns: 40px 1fr 40px;
    align-items: center;
    gap: 8px;
}

.app-header .logo {
    justify-self: center;
}

.app-header .nav-desktop {
    display: none;
}

.header-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    color: var(--gold-2);
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.header-drawer {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 58px;
    z-index: 40;
}

.header-drawer[hidden] {
    display: none !important;
}

.header-drawer-panel {
    background: #141414;
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.header-drawer-panel a {
    display: block;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-weight: 600;
    font-size: 0.9rem;
}

.header-drawer-panel a:last-child {
    border-bottom: none;
}

.page {
    position: relative;
}

@media (min-width: 761px) {
    .app-header {
        display: flex;
        justify-content: space-between;
    }

    .app-header .logo {
        justify-self: start;
    }

    .header-menu-btn,
    .header-bell {
        display: none;
    }

    .app-header .nav-desktop {
        display: flex !important;
    }

    .header-drawer {
        display: none !important;
    }
}

/* Modais compra */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0, 0, 0, 0.72);
    display: grid;
    place-items: center;
    padding: 16px;
}

.modal-overlay[hidden] {
    display: none !important;
}

.modal-card {
    width: min(420px, 100%);
    max-height: min(90vh, 720px);
    overflow: auto;
    background: linear-gradient(180deg, #1a1a1a, #0e0e0e);
    border: 1.5px solid rgba(212, 175, 55, 0.5);
    border-radius: 18px;
    padding: 22px 18px;
    position: relative;
}

.modal-card h2 {
    text-align: center;
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.modal-hint {
    text-align: center;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.88rem;
    margin-bottom: 16px;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.6rem;
    cursor: pointer;
}

.modal-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 14px;
}

.modal-tab {
    min-height: 42px;
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.35);
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 700;
    cursor: pointer;
}

.modal-tab.active {
    background: rgba(242, 140, 40, 0.2);
    color: #ffb457;
    border-color: rgba(242, 140, 40, 0.6);
}

.modal-sucesso {
    text-align: center;
}

.modal-check {
    width: 64px;
    height: 64px;
    margin: 4px auto 14px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 2rem;
    font-weight: 800;
    color: #1a1008;
    background: linear-gradient(180deg, #ffb457, #f28c28);
}

.modal-tickets {
    display: grid;
    gap: 12px;
}

.mini-ticket {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 12px;
    padding: 12px;
}

.mini-ticket header {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.55);
}

.mini-milhares {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 10px;
}

.mini-milhares span {
    background: linear-gradient(180deg, #ffb457, #f28c28);
    color: #1a1008;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 1.05rem;
}

.mini-ticket a {
    display: block;
    text-align: center;
    color: var(--gold-2);
    font-size: 0.82rem;
    font-weight: 700;
}
