/* ===========================
   RESET & BASE
=========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    background: #061428;
    color: #ffffff;
}

img {
    max-width: 100%;
    display: block;
}

/* ===========================
   HEADER
=========================== */
.topbar {
    width: 100%;
    background: #000;
    padding: 12px 0;
    border-bottom: 3px solid #14d857;
    position: sticky;
    top: 0;
    z-index: 999;
}

.header-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 42px;
}

.menu-icon {
    font-size: 26px;
    background: #0d192d;
    padding: 8px 12px;
    border-radius: 10px;
    cursor: pointer;
}

/* ===========================
   CARD CENTRAL
=========================== */
.card {
    max-width: 900px;
    margin: 16px auto 110px;
    background: #0d1b33;
    border-radius: 8px;
    overflow: hidden;
}

/* ===========================
   BANNER
=========================== */
.banner {
    position: relative;
}

.banner-img {
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.banner-img.show {
    opacity: 1;
}

.banner-count {
    position: absolute;
    right: 14px;
    top: 14px;
    background: #00000090;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 13px;
}

.banner-btn {
    position: absolute;
    top: 45%;
    background: #0000007a;
    color: #fff;
    border: none;
    padding: 8px 12px;
    font-size: 22px;
    border-radius: 8px;
    cursor: pointer;
}

.banner-btn.left { left: 12px; }
.banner-btn.right { right: 12px; }

/* ===========================
   INFO DA RIFA
=========================== */
.rifa-info {
    padding: 18px 18px 4px 18px;
}

.rifa-title {
    font-size: 22px;
    font-weight: 700;
}

.rifa-sub {
    font-size: 13px;
    opacity: 0.75;
    margin-top: 4px;
}

/* ===========================
   MEUS TÍTULOS
=========================== */
.meus-titulos-box {
    margin-top: 12px;
    background: #0d192d;
    border-top: 3px solid #14d857;
    padding: 12px 16px 14px;
    border-radius: 0 0 10px 10px;
}

.meus-titulos-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.cart-icon {
    width: 18px;
}

.meus-titulos-title {
    font-size: 15px;
    font-weight: 600;
}

.progress-container { width: 100%; }

.progress-bar-green {
    position: relative;
    width: 100%;
    height: 20px;
    background: #061812;
    border: 1px solid #0f732e;
    border-radius: 8px;
    overflow: hidden;
}

.progress-green {
    height: 100%;
    background: #14d857;
}

.percent-inside {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: bold;
}

/* ===========================
   PREÇO
=========================== */
.price-box {
    margin-top: 14px;
    font-size: 16px;
}

.price {
    background: #14d857;
    color: #000;
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: 600;
}

/* ===========================
   PROMOÇÕES
=========================== */
.promo-section {
    margin-top: 12px;
    padding: 10px 18px 4px;
}

.promo-title {
    font-size: 18px;
    margin-bottom: 10px;
}

.promo-title span {
    font-size: 14px;
    opacity: 0.8;
}

.promo-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.promo-btn {
    background: #0e2130;
    border: 1px solid #14d85799;
    color: #ffffff;
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 13px;
    cursor: pointer;
}

.promo-btn span {
    background: #14d857;
    color: #000;
    padding: 1px 6px;
    border-radius: 5px;
    margin-left: 4px;
}

.promo-tip {
    margin-top: 8px;
    margin-bottom: 22px; /* 🔥 AQUI ESTÁ O ESPAÇAMENTO QUE VOCÊ PEDIU */
    font-size: 12px;
    text-align: center;
    opacity: 0.8;
}

/* ===========================
   RASPADINHAS
=========================== */
.rasp-section {
    padding: 10px 18px 0;
    margin-top: 4px;
}

.rasp-title {
    font-size: 20px;
    margin-bottom: 10px;
}

.rasp-title span {
    font-size: 13px;
    opacity: 0.7;
}

.rasp-combo {
    display: flex;
    justify-content: space-between;
    background: #14d857;
    color: #000;
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 10px;
}

.rasp-left { max-width: 65%; }

.rasp-mini { font-size: 11px; }

.rasp-titulos {
    display: block;
    font-size: 18px;
    font-weight: 700;
}

.rasp-preco { font-size: 14px; }

.rasp-chances {
    font-size: 11px;
    opacity: 0.8;
}

.rasp-right {
    text-align: right;
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: 700;
}

/* ===========================
   GANHADORES
=========================== */
.winners-section {
    padding: 18px;
    margin-top: 6px;
}

.winners-title {
    font-size: 20px;
    font-weight: 700;
}

.winners-subtitle {
    font-size: 13px;
    opacity: 0.7;
    margin-bottom: 12px;
}

.winners-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.winner-card {
    background: #292d33;
    border-radius: 10px;
    padding: 10px;
    display: flex;
    align-items: center;
    position: relative;
    gap: 8px;
}

.winner-img {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    object-fit: cover;
    border: 2px solid #3b414a;
}

.winner-info { flex: 1; }

.winner-name {
    display: block;
    font-size: 14px;
    font-weight: 600;
}

.winner-text {
    font-size: 12px;
    opacity: 0.85;
}

.winner-cota {
    position: absolute;
    right: 10px;
    top: 8px;
    font-size: 11px;
    font-weight: 700;
    color: #14d857;
}

@media (min-width: 900px) {
    .winners-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ===========================
   BOTÃO FIXO
=========================== */
.btn-fixo-participar {
    position: fixed;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    width: 90%;
    max-width: 520px;
    background: #14d857;
    color: #000;
    padding: 14px;
    border-radius: 999px;
    text-align: center;
    font-weight: 700;
    font-size: 17px;
    box-shadow: 0 6px 18px #00000085;
    text-decoration: none;
    z-index: 999;
}

.btn-fixo-participar small {
    display: block;
    font-size: 11px;
    opacity: 0.8;
}

/* ===========================
   CONTROLE DE QUANTIDADE
=========================== */
.fast-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 20px 0;
}

.fast-minus,
.fast-plus {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    border: none;
    background: #0d192d;
    color: #ffffff;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .15s;
}

.fast-minus:hover,
.fast-plus:hover {
    background: #182a44;
}

#fastQty {
    width: 60px;
    height: 46px;
    background: #0d192d;
    border-radius: 10px;
    border: 1px solid #1a2f46;
    color: #fff;
    text-align: center;
    font-size: 22px;
    font-weight: bold;
}

/* ===========================
   SELEÇÃO RÁPIDA
=========================== */
.fast-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.fast-box {
    background: #000;
    border-radius: 10px;
    padding: 12px;
    text-align: center;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.fast-number {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

.fast-text {
    font-size: 11px;
    opacity: 0.8;
}

/* Caixa Popular corrigida */
.fast-box.popular {
    background: #C9FFD8;
    color: #000;
    position: relative;
}

/* TAG “MAIS POPULAR” AJUSTADA */
.popular-tag {
    background: #159b4f;
    font-size: 9px;
    padding: 3px 8px;
    border-radius: 12px;
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 2px 6px #00000040;
    pointer-events: none;
    z-index: 5;
}

/* BOTÃO “QUERO PARTICIPAR” AJUSTADO */
.fast-participar {
    margin-top:  4px;
    background: #14d857;
    color: #000;
    border-radius: 12px;
    border: none;
    padding: 16px;
    text-align: center;
    font-weight: 700;
    font-size: 17px;
    cursor: pointer;
    width: 100%;
    display: block;
}
/* ===========================
   REGULAMENTO / DESCRIÇÃO (NOVO)
=========================== */

.accordion {
    background: #0d192d;
    padding: 14px 18px;
    border-radius: 10px;
    margin: 0px auto 10px; /* espaço para aproximar do bloco de cima */
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    max-width: 900px;
}

.accordion span {
    display: flex;
    align-items: center;
    gap: 6px;
}

#reg-seta {
    font-size: 18px;
    font-weight: bold;
    transition: .3s;
}

.regulamento-content {
    background: #0b1529;
    padding: 14px 18px;
    border-radius: 0 0 10px 10px;
    max-width: 900px;
    margin: 0 auto 18px;
    display: none; /* permanece oculto até clicar */
    font-size: 14px;
    line-height: 1.5;
}
/* ============================
   RASPADINHAS — GANHADORES
============================ */

.rasp-ganhador {
    background: #14d857;
    color: #000;
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    font-weight: 600;
}

.ganhador-premio { color: #000; }
.ganhador-nome   { color: #000; }
/* ============================
   RASPADINHAS COMBOS (ESTILO DO PRINT)
============================ */
.rasp-combo {
    background: #14d857;
    color: #000;
    border-radius: 18px;
    padding: 18px 20px;
    margin-bottom: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rasp-left {
    font-weight: 600;
}

.rasp-mini {
    font-size: 12px;
    opacity: 0.8;
}

.rasp-titulos {
    font-size: 22px;
    font-weight: 700;
    display: block;
}

.rasp-preco {
    font-size: 14px;
}

.rasp-chances {
    font-size: 12px;
    opacity: 0.8;
}

.rasp-right {
    text-align: right;
    font-size: 20px;
    font-weight: 700;
}

.rasp-recebe {
    font-size: 18px;
    font-weight: 700;
}

/* ============================
   GANHADORES RASPADINHAS
============================ */
.rasp-ganhador {
    background: #14d857;
    color: #000;
    border-radius: 12px;
    padding: 10px 14px;
    margin-bottom: 10px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ganhador-premio {
    background: #ffffff;
    padding: 4px 14px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    color: #000;
}

.ganhador-nome {
    font-size: 16px;
    font-weight: 700;
}
/* ===========================
        RODAPÉ PROFISSIONAL
=========================== */
/* ============================
   RODAPÉ PROFISSIONAL
============================ */
.footer {
    margin-top: 40px;
    padding: 40px 20px;
    background: #000; /* preto premium */
    border-top: 3px solid #14d857; /* verde neon da sua identidade */
    text-align: center;
    color: #ccc;
}

.footer-container {
    max-width: 850px;
    margin: auto;
}

.footer-desc {
    font-size: 15px;
    color: #e5e5e5;
    margin-bottom: 20px;
}

/* Links */
.footer-links {
    display: flex;
    justify-content: center;
    gap: 22px;
    flex-wrap: wrap;
    margin: 15px 0 25px;
}

.footer-links a {
    color: #14d857;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: 0.2s;
}

.footer-links a:hover {
    opacity: 0.7;
}

/* Contato */
.footer-contact {
    margin-bottom: 25px;
    font-size: 14px;
}

.footer-contact p {
    margin: 4px 0;
    color: #e5e5e5;
}

/* Redes sociais com ícones */
.footer-social {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    gap: 18px;
}

.footer-social img {
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 0 4px #14d857aa);
    transition: 0.3s;
}

.footer-social img:hover {
    transform: scale(1.15);
    filter: drop-shadow(0 0 6px #14d857);
}

/* Copyright */
.footer-copy {
    margin-top: 30px;
    color: #888;
    font-size: 13px;
}
/* FAIXA VERDE DIVISÓRIA */
.green-divider {
    width: 100%;
    height: 14px;
    background: #14d857;
    margin: 25px 0 10px 0;
    border-radius: 0 0 8px 8px;
}
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: none;               /* só aparece quando abre */
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.modal-box {
    background: #0d1b33;
    width: 90%;
    max-width: 420px;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 0 20px #00000090;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.modal-title {
    font-size: 18px;
    font-weight: 600;
}

.modal-close {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
}

.modal-content p.modal-info {
    font-size: 14px;
    margin-bottom: 12px;
}

.form-group {
    margin-bottom: 10px;
}

.form-group input {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #1a2f46;
    background: #020818;
    color: #fff;
    font-size: 14px;
}

.alert-info {
    font-size: 12px;
    margin: 8px 0 12px;
    opacity: 0.8;
}

.btn-confirmar {
    width: 100%;
    padding: 12px;
    border-radius: 999px;
    border: none;
    background: #14d857;
    color: #000;
    font-weight: 700;
    cursor: pointer;
}

/* ===========================
   TEXTO DOS TERMOS - 3X MENOR
=========================== */
.modal-termos {
    font-size: 8px;           /* 3x menor */
    text-align: center;
    opacity: 0.55;
    line-height: 1.4;
    margin: 6px 0 14px;
    padding: 0 10px;
}

.modal-termos .termos-link {
    color: #14d857;
    font-weight: 600;
    text-decoration: none;
}

.modal-termos .termos-link:hover {
    text-decoration: underline;
}

/* Área do usuário no checkout */
.checkout-user {
    display: flex;
    align-items: center;
    border-top: 1px solid #1f2a40;
    border-bottom: 1px solid #1f2a40;
    padding: 14px 0;
    margin-bottom: 16px;
}

/* QUADRADO COM O BONECO (icone padrão) */
.checkout-avatar {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    background: #e5e7eb;      /* fundo clarinho */
    margin-right: 14px;
    position: relative;
    overflow: hidden;
}

/* CABEÇA */
.checkout-avatar::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #9ca3af;
}

/* OMBROS / CORPO */
.checkout-avatar::after {
    content: "";
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 16px;
    border-radius: 999px 999px 0 0;
    background: #9ca3af;
}
