/* ====================================================
   BOLÃO DA PIXPET — CSS v7
   Desktop: coluna esquerda transparente e compacta
            (só logo + prêmio + datas) → cachorro visível
   Mobile:  card escuro + Placar.webp + form
   ==================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --azul:      #002776;
    --azul-dark: #001240;
    --verde:     #009C3B;
    --amarelo:   #FFD000;
    --branco:    #ffffff;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Poppins', sans-serif;
    background: #001a0a;
    color: var(--branco);
    overflow-x: hidden;
}

img { display: block; max-width: 100%; }

/* ================================================
   COUNTDOWN BAR
================================================ */
#countdown-bar {
    background: rgba(0, 10, 30, 0.96);
    border-bottom: 1px solid rgba(255, 208, 0, 0.2);
    padding: 0.5rem 1.5rem;
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.4rem;
    flex-wrap: wrap;
}

.cd-label {
    font-size: 0.56rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    white-space: nowrap;
}

.cd-grid {
    display: flex;
    align-items: center;
    gap: 0.15rem;
}

.cd-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 38px;
}

.cd-item strong {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.6rem;
    line-height: 1;
    color: var(--amarelo);
    letter-spacing: 1px;
    font-weight: 400;
}

.cd-item span {
    font-size: 0.42rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.25);
    text-transform: uppercase;
    line-height: 1.2;
}

.cd-sep {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    color: rgba(255, 208, 0, 0.4);
    margin-bottom: 10px;
    padding: 0 2px;
    line-height: 1;
}

/* ================================================
   HERO
================================================ */
#hero {
    min-height: calc(100dvh - 48px);
    background: url('../img/bgmobile.webp') center top / cover no-repeat;
    display: flex;
    align-items: center;
    padding: 2.5rem 1.25rem 3rem;
}

@media (min-width: 860px) {
    #hero {
        background-image: url('../img/bgdesktop.webp');
        background-position: left center;
        background-size: cover;
        /* Conteúdo sobe pro topo — cachorro aparece abaixo */
        align-items: flex-start;
        padding: 3rem 3.5rem;
    }
}

/* ================================================
   GRID
================================================ */
.hero-grid {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

@media (min-width: 860px) {
    .hero-grid {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        gap: 2rem;
    }
}

/* ================================================
   COLUNA ESQUERDA — compacta, transparente no desktop
   Cachorro fica exposto abaixo do conteúdo
================================================ */
.hero-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.9rem;
    /* Mobile: card escuro */
    background: rgba(0, 8, 30, 0.78);
    border-radius: 14px;
    padding: 1.5rem 1.25rem;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

@media (min-width: 860px) {
    .hero-left {
        /* Desktop: transparente, sem card */
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border: none;
        border-radius: 0;
        padding: 0;
        width: 36%;
        max-width: 420px;
        gap: 1.1rem;
        /* Alinha ao topo para cachorro ficar visível abaixo */
        align-self: flex-start;
    }
}

/* Logo */
.hero-logo {
    width: min(210px, 68vw);
    filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.75));
}

@media (min-width: 860px) {
    .hero-logo {
        width: min(200px, 28vw);
    }
}

/* Bloco do prêmio — destaque */
.premio-chamada {
    background: rgba(0, 5, 25, 0.82);
    border: 1px solid rgba(255, 208, 0, 0.4);
    border-radius: 10px;
    padding: 0.8rem 1.6rem;
    text-align: center;
    width: 100%;
    max-width: 270px;
}

@media (min-width: 860px) {
    .premio-chamada {
        background: rgba(0, 5, 20, 0.85);
        border-color: rgba(255, 208, 0, 0.5);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
    }
}

.premio-topo {
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
}

.premio-numero {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.6rem, 7vw, 3.4rem);
    color: var(--amarelo);
    line-height: 1.05;
    letter-spacing: 2px;
}

.premio-centavos {
    font-size: 0.5em;
    vertical-align: super;
    color: rgba(255, 208, 0, 0.6);
}

.premio-detalhe {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 0.1rem;
}

/* Datas */
.info-datas {
    display: flex;
    flex-direction: column;
    gap: 0.38rem;
    width: 100%;
    max-width: 270px;
    text-align: left;
    background: rgba(0, 5, 20, 0.72);
    border-radius: 8px;
    padding: 0.7rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.07);
}

@media (min-width: 860px) {
    .info-datas {
        background: rgba(0, 5, 20, 0.85);
        border-color: rgba(255, 255, 255, 0.08);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
    }
}

.info-linha {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--amarelo);
    flex-shrink: 0;
}

.dot.verde { background: #00e676; }

.info-linha p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.35;
}

.info-linha p strong {
    color: var(--branco);
    font-weight: 700;
}

/* Placar — APENAS mobile */
.placar-mobile {
    width: 100%;
    max-width: 280px;
    border-radius: 8px;
    filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.5));
}

@media (min-width: 860px) {
    .placar-mobile { display: none; }
}

/* CTA mobile */
.btn-cta {
    display: block;
    width: 100%;
    max-width: 270px;
    background: var(--verde);
    color: var(--branco);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.25rem;
    letter-spacing: 3px;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    transition: opacity 0.18s, transform 0.15s;
    border: 2px solid rgba(255, 255, 255, 0.15);
}

.btn-cta:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

@media (min-width: 860px) {
    .btn-cta { display: none; }
}

/* ================================================
   COLUNA DIREITA — card do formulário
================================================ */
.hero-right {
    background: var(--branco);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 56px rgba(0, 0, 0, 0.55);
    color: #1a1a1a;
}

@media (min-width: 860px) {
    .hero-right {
        width: 40%;
        max-width: 460px;
        flex-shrink: 0;
    }
}

/* Placar como banner no topo do card (desktop) */
.placar-form-banner {
    width: 100%;
    display: block;
}

/* Separador amarelo abaixo do banner */
.form-header {
    border-bottom: 4px solid var(--amarelo);
    background: var(--azul);
    line-height: 0;
}

.form-body {
    padding: 1.25rem 1.5rem 1.6rem;
}

/* Grupos */
.fg { margin-bottom: 0.8rem; }

.fg > label {
    display: block;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #5a5a5a;
    margin-bottom: 0.28rem;
}

.fg input[type="text"],
.fg input[type="number"] {
    width: 100%;
    background: #f5f6fa;
    border: 1.5px solid #dde1ef;
    border-radius: 7px;
    color: #111;
    font-family: 'Poppins', sans-serif;
    font-size: 0.88rem;
    padding: 0.6rem 0.85rem;
    transition: border-color 0.2s, background 0.2s;
    -webkit-appearance: none;
}

.fg input[type="number"]                            { -moz-appearance: textfield; }
.fg input[type="number"]::-webkit-inner-spin-button,
.fg input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; }

.fg input:focus {
    outline: none;
    border-color: var(--azul);
    background: #eef2ff;
}

.fg input::placeholder { color: #c0c5d8; }

/* Palpite do placar */
.placar-row {
    display: grid;
    grid-template-columns: 1fr 28px 1fr;
    align-items: end;
    gap: 0.5rem;
}

.placar-col {
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
}

.placar-time-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.placar-time-label img {
    border-radius: 50%;
    object-fit: cover;
    width: 20px;
    height: 20px;
}

.placar-time-label span {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #555;
}

.placar-col input {
    text-align: center !important;
    font-size: 1.4rem !important;
    font-weight: 800 !important;
    padding: 0.5rem 0.4rem !important;
    color: var(--azul) !important;
}

.placar-x {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.4rem;
    color: #c8c8c8;
    text-align: center;
    padding-bottom: 0.5rem;
    line-height: 1;
}

/* LGPD */
.lgpd-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
}

.lgpd-label input[type="checkbox"] {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    accent-color: var(--verde);
    margin-top: 3px;
    cursor: pointer;
}

.lgpd-label span {
    font-size: 0.66rem;
    color: #999;
    line-height: 1.5;
}

/* Botão submit */
.btn-submit {
    width: 100%;
    background: var(--azul);
    color: var(--branco);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 3px;
    padding: 0.85rem;
    border: none;
    border-radius: 7px;
    cursor: pointer;
    margin-top: 0.65rem;
    transition: background 0.18s, transform 0.15s;
}

.btn-submit:hover:not(:disabled) {
    background: #003399;
    transform: translateY(-1px);
}

.btn-submit:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

/* Feedback */
.form-feedback {
    margin-top: 0.65rem;
    padding: 0.6rem 0.85rem;
    border-radius: 7px;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    display: none;
}

.form-feedback.sucesso {
    background: #f0fff4;
    border: 1px solid var(--verde);
    color: #166534;
    display: block;
}

.form-feedback.erro {
    background: #fff0f0;
    border: 1px solid #dc3545;
    color: #991b1b;
    display: block;
}

/* ================================================
   REGRAS
================================================ */
#regras {
    background: #001a0a;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem 1.5rem;
}

.regras-lista {
    list-style: none;
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.regras-lista li {
    font-size: 0.66rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.2);
    padding: 0.4rem 1rem;
    position: relative;
    white-space: nowrap;
}

.regras-lista li + li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 10px;
    background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 480px) {
    .regras-lista { flex-direction: column; align-items: center; }
    .regras-lista li + li::before { display: none; }
}

/* ================================================
   FOOTER
================================================ */
footer {
    background: #000;
    text-align: center;
    padding: 1rem;
    font-size: 0.62rem;
    color: rgba(255, 255, 255, 0.13);
}
