/* =====================================================
   BOLÃO LOTERIA — Frontend Styles
   ===================================================== */

.bolao-wrap {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    background: #f2f2f2;
    padding: 24px 16px;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* ---- CABEÇALHO ---- */
.bolao-header {
    background: #ffffff;
    border-radius: 14px;
    padding: 24px 28px;
    margin-bottom: 24px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.bolao-main-title {
    color: #1565c0;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 6px;
    line-height: 1.2;
}

.bolao-subtitle {
    color: #666;
    font-size: 15px;
    margin: 0 0 16px;
}

/* ---- CRONÔMETRO ---- */
.bolao-countdown-box {
    display: inline-block;
    background: #111;
    border: 1px solid #000;
    border-radius: 14px;
    padding: 16px 32px;
    margin: 8px 0 16px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}

.bolao-countdown-label {
    font-size: 13px;
    color: #bbb;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.bolao-countdown-display {
    display: block;
    font-size: 46px;
    font-weight: 700;
    font-family: 'Courier New', Courier, monospace;
    color: #fff;
    letter-spacing: 3px;
    line-height: 1;
}

.bolao-countdown-display.countdown-ended {
    color: #4caf50;
    font-size: 22px;
    letter-spacing: 0;
}

/* ---- RESULTADO SORTEADO ---- */
.bolao-resultado-header {
    border-top: 1px solid #eee;
    margin-top: 16px;
    padding-top: 16px;
}

.bolao-resultado-label {
    font-size: 14px;
    font-weight: 600;
    color: #555;
    margin-bottom: 10px;
}

.bolao-resultado-balls {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}

/* ---- BOLINHAS ---- */
.bball {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #333;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    flex-shrink: 0;
}

.bball-hit {
    background: #FFD700;
    color: #333;
}

/* Bolinhas do cabeçalho "Números Sorteados" — sempre roxas, distintas dos acertos amarelos de cada jogo */
.bball-resultado {
    background: #6a1b9a;
    color: #fff;
}

/* ---- RESGATE DE PREMIAÇÃO ---- */
.bolao-premio-box {
    background: #4caf50;
    border-radius: 18px;
    padding: 24px 22px;
    margin-bottom: 24px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}

.bolao-premio-title {
    text-align: center;
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 18px;
}

.bolao-premio-info {
    background: #eef7ee;
    border-radius: 10px;
    padding: 14px 18px;
    text-align: center;
    color: #222;
    font-weight: 700;
    margin-bottom: 14px;
}

.bolao-premio-desconto {
    background: #000;
    border-radius: 10px;
    padding: 20px 18px;
    text-align: center;
    color: #fff;
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 20px;
}

.bolao-premio-desconto .old-value {
    color: #ff5252;
    text-decoration: line-through;
}

.bolao-premio-desconto .new-value {
    color: #ffd54f;
}

.bolao-premio-btn {
    display: block;
    box-sizing: border-box;
    max-width: 100%;
    width: max-content;
    margin: 0 auto;
    background: #1b5e20;
    color: #fff;
    font-weight: 800;
    font-size: 14px;
    font-family: inherit;
    padding: 12px 24px;
    border: none;
    border-radius: 30px;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 3px 8px rgba(0,0,0,0.3);
    animation: bolao-premio-pulse 1.3s infinite;
}

@keyframes bolao-premio-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(27, 94, 32, 0.8); }
    70%  { box-shadow: 0 0 0 9px rgba(27, 94, 32, 0); }
    100% { box-shadow: 0 0 0 0 rgba(27, 94, 32, 0); }
}

/* ---- GRADE DE JOGOS ---- */
.bolao-games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

@media (max-width: 900px) {
    .bolao-games-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .bolao-games-grid {
        grid-template-columns: 1fr;
    }

    .bolao-main-title {
        font-size: 22px;
    }

    .bolao-countdown-display {
        font-size: 36px;
    }
}

/* ---- CARD DE JOGO ---- */
.bolao-game-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 14px 16px;
    border: 1px solid #e8e8e8;
    box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}

.bolao-game-title {
    color: #1565c0;
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 12px;
}

.bolao-game-balls {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 12px;
    min-height: 42px;
}

.bolao-game-footer {
    font-size: 13px;
    color: #555;
    border-top: 1px solid #f0f0f0;
    padding-top: 8px;
    margin-top: 4px;
}

/* ---- RODAPÉ ---- */
.bolao-footer-info {
    text-align: center;
    color: #888;
    font-size: 13px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #e0e0e0;
}
