/* ============================================================
   Bolão Coletivo — estilos premium
   ============================================================ */
:root {
    --bc-verde:        #198754;
    --bc-verde-claro:  #20a866;
    --bc-verde-escuro: #0f5132;
    --bc-amarelo:      #ffc107;
    --bc-amarelo-esc:  #e0a800;
    --bc-texto:        #1f2937;
    --bc-mute:         #6b7280;
    --bc-card:         #ffffff;
    --bc-bg:           #f5f7fa;
    --bc-borda:        #e5e7eb;
    --bc-radius:       14px;
    --bc-shadow:       0 4px 24px rgba(15, 81, 50, 0.08);
    --bc-shadow-hover: 0 12px 32px rgba(15, 81, 50, 0.18);
}
body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: var(--bc-bg);
    color: var(--bc-texto);
}

/* ====== Navbar ====== */
.bc-navbar {
    background: linear-gradient(135deg, var(--bc-verde-escuro) 0%, var(--bc-verde) 100%);
    border-bottom: 3px solid var(--bc-amarelo);
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
.bc-navbar .navbar-brand { font-size: 1.3rem; }
.bc-cart-badge {
    background: var(--bc-amarelo);
    color: #000;
    border-radius: 999px;
    padding: 2px 8px;
    font-size: .75rem;
    font-weight: 700;
    margin-left: 4px;
}

/* ====== Login ====== */
.bc-bg-login {
    background:
      radial-gradient(circle at top right, rgba(255,193,7,.25), transparent 50%),
      linear-gradient(135deg, var(--bc-verde-escuro) 0%, var(--bc-verde) 60%, var(--bc-amarelo) 100%);
}

/* ====== Hero ====== */
.bc-hero {
    background: linear-gradient(135deg, var(--bc-verde) 0%, var(--bc-verde-escuro) 100%);
    color: #fff;
    border-radius: var(--bc-radius);
    padding: 48px 40px;
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--bc-shadow);
}
.bc-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 80% 20%, rgba(255,193,7,.25), transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(255,255,255,.05), transparent 50%);
}
.bc-hero::after {
    content: "🏆";
    position: absolute;
    top: -10px; right: 30px;
    font-size: 120px;
    opacity: .08;
    pointer-events: none;
    transform: rotate(15deg);
}
.bc-hero > * { position: relative; z-index: 1; }
.bc-hero .hero-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,193,7,.2); color: var(--bc-amarelo);
    padding: 6px 14px; border-radius: 999px; font-weight: 600;
    font-size: .85rem; margin-bottom: 12px;
}
.bc-hero h1 { font-weight: 800; font-size: 2.5rem; margin-bottom: 8px; }
.bc-hero .hero-meta { opacity: .9; margin-bottom: 12px; }
.bc-hero .hero-premio {
    font-size: 3rem; font-weight: 900; color: var(--bc-amarelo);
    line-height: 1; letter-spacing: -1px;
    text-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.bc-hero .hero-premio-label { opacity: .85; font-size: .9rem; margin-top: 4px; }
.bc-hero .hero-cta {
    background: var(--bc-amarelo); color: #000;
    padding: 14px 28px; border-radius: 999px;
    font-weight: 800; font-size: 1.1rem;
    border: 0; box-shadow: 0 6px 20px rgba(255,193,7,.4);
    transition: transform .15s ease, box-shadow .15s ease;
    text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
}
.bc-hero .hero-cta:hover {
    background: var(--bc-amarelo-esc);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(255,193,7,.5);
    color: #000;
}

/* ====== Seção título ====== */
.bc-section-title {
    display: flex; align-items: center; justify-content: space-between;
    margin: 32px 0 16px;
}
.bc-section-title h2 {
    font-weight: 800; font-size: 1.6rem; margin: 0;
    display: flex; align-items: center; gap: 10px;
}
.bc-section-title h2 .ic {
    width: 36px; height: 36px; border-radius: 10px;
    background: linear-gradient(135deg, var(--bc-amarelo), #ffd54f);
    display: inline-flex; align-items: center; justify-content: center;
    color: #000; font-size: 1.1rem;
}

/* ====== Cards de bolão (vitrine) ====== */
.bc-card {
    background: var(--bc-card);
    border: 1px solid var(--bc-borda);
    border-radius: var(--bc-radius);
    padding: 0;
    transition: transform .2s ease, box-shadow .2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: var(--bc-shadow);
    position: relative;
}
.bc-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--bc-shadow-hover);
}
.bc-card-head {
    background: linear-gradient(135deg, var(--bc-verde) 0%, var(--bc-verde-escuro) 100%);
    color: #fff;
    padding: 16px 20px;
    display: flex; justify-content: space-between; align-items: center;
    position: relative;
}
.bc-card-head::after {
    content: "";
    position: absolute; right: -20px; top: -20px;
    width: 80px; height: 80px; border-radius: 50%;
    background: rgba(255,193,7,.15);
}
.bc-card-loteria {
    font-size: .85rem; font-weight: 700; letter-spacing: 1px;
    text-transform: uppercase; position: relative; z-index: 1;
}
.bc-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.bc-card-nome {
    font-size: 1.3rem; font-weight: 800; color: var(--bc-texto);
    margin: 0 0 4px 0; line-height: 1.2;
}
.bc-card-meta {
    color: var(--bc-mute); font-size: .85rem;
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
    margin-bottom: 12px;
}
.bc-card-meta strong { color: var(--bc-texto); font-weight: 600; }

.bc-card-premio-box {
    background: linear-gradient(135deg, rgba(255,193,7,.12), rgba(255,193,7,.04));
    border-left: 4px solid var(--bc-amarelo);
    padding: 12px 16px; border-radius: 8px;
    margin-bottom: 14px;
}
.bc-card-premio-label {
    font-size: .7rem; color: var(--bc-mute); text-transform: uppercase;
    font-weight: 600; letter-spacing: .5px;
}
.bc-card-premio-valor {
    font-size: 1.8rem; font-weight: 900; color: var(--bc-verde-escuro);
    line-height: 1;
}

.bc-meta-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    margin-bottom: 14px;
}
.bc-meta-tile {
    background: #f8fafb; border-radius: 8px; padding: 10px 12px;
    text-align: center;
}
.bc-meta-tile .lbl {
    font-size: .7rem; color: var(--bc-mute); text-transform: uppercase;
    font-weight: 600; letter-spacing: .5px; display: block;
}
.bc-meta-tile .val {
    font-size: 1rem; font-weight: 700; color: var(--bc-texto);
}

.bc-chances {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: .85rem; color: var(--bc-mute);
}
.bc-bars { display: inline-flex; gap: 2px; }
.bc-bars span {
    width: 5px; height: 14px; background: #d1d5db; border-radius: 2px;
}
.bc-bars span.active { background: var(--bc-verde); }

.bc-cotas-restantes { font-size: .8rem; color: var(--bc-mute); margin-bottom: 6px; }
.bc-cotas-restantes strong { color: var(--bc-verde-escuro); }
.bc-progress {
    height: 8px; background: #eef2f7; border-radius: 999px; overflow: hidden;
}
.bc-progress > div {
    height: 100%;
    background: linear-gradient(90deg, var(--bc-amarelo), var(--bc-verde));
    transition: width .3s ease;
}

.bc-card-footer {
    border-top: 1px solid #f3f4f6;
    padding: 14px 20px;
    display: flex; justify-content: space-between; align-items: center;
    background: #fafbfc;
}
.bc-card-preco-mini {
    font-size: 1.2rem; font-weight: 800; color: var(--bc-texto);
}
.bc-card-preco-mini small {
    font-size: .7rem; color: var(--bc-mute); font-weight: 500;
    display: block; line-height: 1;
}

.bc-buy-btn {
    background: var(--bc-verde); color: #fff; border: none;
    border-radius: 999px; padding: 10px 20px; font-weight: 700;
    font-size: .9rem;
    transition: background .15s ease, transform .15s ease;
    text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
}
.bc-buy-btn:hover {
    background: var(--bc-verde-escuro);
    color: #fff; transform: translateX(2px);
}

/* ====== Badges sorteio ====== */
.badge-sorteio-warning,
.badge-sorteio-amanha,
.badge-sorteio-hoje {
    background: var(--bc-amarelo); color: #000;
    padding: 4px 10px; border-radius: 999px; font-weight: 700;
    animation: pulse 2s infinite;
}
.badge-sorteio-info {
    background: #e0f2fe; color: #0369a1;
    padding: 4px 10px; border-radius: 999px; font-weight: 600;
}
.badge-sorteio-secondary {
    background: #f3f4f6; color: #6b7280;
    padding: 4px 10px; border-radius: 999px; font-weight: 600;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,193,7,.6); }
    50%      { box-shadow: 0 0 0 6px rgba(255,193,7,0); }
}

/* ====== Status badges ====== */
.badge-status-aberto    { background:#0dcaf0; color:#000; }
.badge-status-fechado   { background:#6c757d; }
.badge-status-conferido { background:#198754; }
.badge-status-encerrado { background:#212529; }

/* ====== Como funciona (3 passos) ====== */
.bc-passos { margin: 40px 0; }
.bc-passo {
    background: #fff; border-radius: var(--bc-radius);
    padding: 24px; height: 100%;
    box-shadow: var(--bc-shadow);
    border-top: 4px solid var(--bc-amarelo);
    transition: transform .2s ease;
}
.bc-passo:hover { transform: translateY(-2px); }
.bc-passo-num {
    width: 48px; height: 48px; border-radius: 50%;
    background: linear-gradient(135deg, var(--bc-verde), var(--bc-verde-escuro));
    color: #fff; display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.4rem; font-weight: 800;
    margin-bottom: 14px;
}
.bc-passo h5 { font-weight: 800; margin-bottom: 8px; }
.bc-passo p { color: var(--bc-mute); margin: 0; font-size: .92rem; }

/* ====== Trust badges ====== */
.bc-trust { background: #fff; border-radius: var(--bc-radius); padding: 24px; box-shadow: var(--bc-shadow); margin: 40px 0; }
.bc-trust-item {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 0;
}
.bc-trust-item i {
    font-size: 1.8rem; color: var(--bc-verde);
    flex: 0 0 36px;
}
.bc-trust-item strong { display: block; font-size: .95rem; }
.bc-trust-item small  { color: var(--bc-mute); }

/* ====== Detalhe do bolão ====== */
.bc-detail-hero {
    background: linear-gradient(135deg, var(--bc-verde) 0%, var(--bc-verde-escuro) 100%);
    color: #fff;
    border-radius: var(--bc-radius);
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: var(--bc-shadow);
}
.bc-detail-hero h1 { font-weight: 800; }

/* ====== Dezenas ====== */
.dezena {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--bc-verde);
    color: var(--bc-verde);
    font-weight: 700;
    font-size: 0.95rem;
    margin: 2px;
}
.dezena.acertou {
    background: var(--bc-verde);
    color: #fff;
    box-shadow: 0 0 0 3px rgba(25,135,84,.25);
}
.dezena.sorteada {
    background: var(--bc-amarelo);
    color: #000;
    border-color: var(--bc-amarelo);
}

/* ====== Carrinho lateral ====== */
.bc-cart-item {
    border: 1px solid var(--bc-borda); border-radius: 10px;
    padding: 12px; margin-bottom: 10px;
}

/* ====== Checkout / Pagamento ====== */
.bc-pix-box {
    border: 2px dashed var(--bc-verde); border-radius: 12px;
    padding: 20px; text-align: center; background: #fff;
}
.bc-pix-box img { max-width: 260px; }
.bc-pix-copy {
    background: #f8f9fa; border: 1px solid var(--bc-borda);
    padding: 10px; border-radius: 6px;
    font-family: monospace; font-size: .78rem;
    word-break: break-all;
    user-select: all;
}
.bc-timer {
    font-family: ui-monospace, "SF Mono", Consolas, monospace;
    font-weight: 700; color: var(--bc-verde-escuro);
}

/* ====== Mobile ====== */
@media (max-width: 768px) {
    .bc-hero { padding: 28px 22px; }
    .bc-hero h1 { font-size: 1.7rem; }
    .bc-hero .hero-premio { font-size: 2rem; }
    .bc-card-premio-valor { font-size: 1.4rem; }
}

/* ====== Imprimir ====== */
@media print {
    nav, footer, .no-print, .btn { display: none !important; }
    .card { border: 1px solid #ddd !important; }
}
