/* ============================================================
   BOLÃO DO AÇAÍ DA THAI × COPA DO MUNDO 2026
   Design: Verde-amarelo Brasil + Roxo açaí + Gold FIFA
   ============================================================ */

/* ---- TOKENS ---- */
:root {
    --acai:        #6B21A8;   /* açaí roxo profundo */
    --acai-light:  #9333EA;
    --acai-glow:   #C084FC;
    --verde:       #15803D;   /* verde brasil */
    --verde-light: #22C55E;
    --amarelo:     #FACC15;   /* amarelo ouro */
    --amarelo-dark:#CA8A04;
    --bg-main:     #0A0A0F;   /* quase preto */
    --bg-card:     #13131A;
    --bg-surface:  #1C1C28;
    --border:      #2D2D40;
    --text:        #F5F0FF;
    --text-muted:  #9B8CB0;
    --success:     #16A34A;
    --error:       #DC2626;
    --r-sm:  8px;
    --r-md:  14px;
    --r-lg:  20px;
    --r-xl:  28px;
    --shadow-card: 0 4px 24px rgba(107,33,168,0.25);
    --shadow-glow: 0 0 40px rgba(107,33,168,0.4);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--bg-main);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden; /* impede scroll horizontal no mobile */
}

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

img { max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ============================================================
   HEADER
   ============================================================ */
.header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: rgba(10,10,15,0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 0.875rem 0;
}
.header-bg-pattern {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 40px,
        rgba(107,33,168,0.04) 40px,
        rgba(107,33,168,0.04) 41px
    );
    pointer-events: none;
}
.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.logo-section {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}
.logo-icon {
    height: 52px;
    width: auto;          /* largura livre — acompanha a logo */
    max-width: 200px;     /* limite para logos muito largas */
    border-radius: var(--r-md);
    overflow: hidden;
    background: transparent; /* sem fundo roxo por trás da logo */
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* sem logo cadastrada: mostrar ícone emoji no quadrado roxo */
.logo-icon:not(.has-logo) {
    width: 52px;
    background: linear-gradient(135deg, var(--acai), var(--acai-light));
}
.logo {
    height: 52px;
    width: auto;
    max-width: 200px;
    object-fit: contain;  /* não corta nem distorce */
    display: block;
}
.logo-fallback {
    font-size: 1.75rem;
    display: none;
    align-items: center;
    justify-content: center;
}
.brand-text h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.6rem;
    letter-spacing: 0.04em;
    color: var(--amarelo);
    line-height: 1;
}
.handle {
    font-size: 0.75rem;
    color: var(--acai-glow);
    font-weight: 500;
}
.header-nav {
    display: flex;
    gap: 0.625rem;
    align-items: center;
}
.nav-btn {
    padding: 0.5rem 1.125rem;
    border-radius: var(--r-sm);
    font-size: 0.875rem;
    font-weight: 600;
    background: var(--acai);
    color: #fff;
    transition: background 0.2s, transform 0.15s;
    white-space: nowrap;
}
.nav-btn:hover { background: var(--acai-light); transform: translateY(-1px); }
.nav-btn--outline {
    background: transparent;
    border: 1.5px solid var(--border);
    color: var(--text-muted);
}
.nav-btn--outline:hover { border-color: var(--acai-light); color: var(--text); background: rgba(107,33,168,0.1); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    background: linear-gradient(160deg, #1a0a2e 0%, #0a0a0f 55%, #0a1a0a 100%);
    overflow: hidden;
    padding: 4rem 0 2rem;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 20% 50%, rgba(107,33,168,0.3) 0%, transparent 60%),
        radial-gradient(ellipse 40% 60% at 80% 30%, rgba(21,128,61,0.2) 0%, transparent 60%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%239C92AC' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}
.hero > .container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
.hero-badge {
    display: inline-block;
    background: linear-gradient(90deg, var(--amarelo-dark), var(--amarelo));
    color: #000;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    padding: 0.3rem 0.875rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}
.hero-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    line-height: 0.9;
    margin-bottom: 1.25rem;
}
.title-line1 { display: block; color: var(--text); }
.title-line2 { display: block; color: var(--text); }
.highlight {
    color: var(--amarelo);
    text-shadow: 0 0 40px rgba(250,204,21,0.5);
}
.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 400px;
}
.hero-cta { display: flex; gap: 0.875rem; flex-wrap: wrap; }
.cta-btn {
    padding: 0.875rem 2rem;
    border-radius: var(--r-md);
    font-weight: 700;
    font-size: 1rem;
    background: linear-gradient(135deg, var(--acai), var(--acai-light));
    color: #fff;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(107,33,168,0.4);
}
.cta-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(107,33,168,0.5); }
.cta-btn--ghost {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.2);
    box-shadow: none;
    color: var(--text-muted);
}
.cta-btn--ghost:hover { border-color: var(--amarelo); color: var(--amarelo); box-shadow: none; }

    50%       { transform: translate3d(0, -8px, 0); }
}

.hero-wave { position: relative; margin-top: 3rem; line-height: 0; }
.hero-wave svg { display: block; width: 100%; }

/* ============================================================
   SECTIONS
   ============================================================ */
.main { padding: 3rem 0 4rem; }
.section { margin-bottom: 4rem; }
.section-header { margin-bottom: 2rem; }
.section-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: var(--acai-glow);
    background: rgba(107,33,168,0.15);
    border: 1px solid rgba(107,33,168,0.3);
    padding: 0.2rem 0.75rem;
    border-radius: 999px;
    margin-bottom: 0.625rem;
}
.section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    letter-spacing: 0.03em;
    color: var(--text);
    line-height: 1;
    margin-bottom: 0.375rem;
}
.section-desc { color: var(--text-muted); font-size: 0.95rem; }

/* ============================================================
   SKELETON / LOADING
   ============================================================ */
.skeleton-card {
    height: 200px;
    border-radius: var(--r-lg);
    background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-surface) 50%, var(--bg-card) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}
@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
.loading-state {
    text-align: center;
    padding: 3rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ============================================================
   GAME CARDS
   ============================================================ */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}
.game-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 1.375rem;
    cursor: pointer;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
}
.game-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--acai), var(--amarelo));
    opacity: 0;
    transition: opacity 0.2s;
}
.game-card:hover {
    border-color: var(--acai-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}
.game-card:hover::before { opacity: 1; }

.game-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}
.game-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}
.status-pill {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 0.2rem 0.625rem;
    border-radius: 999px;
    background: rgba(107,33,168,0.2);
    color: var(--acai-glow);
    border: 1px solid rgba(107,33,168,0.3);
}
.status-pill.live {
    background: rgba(220,38,38,0.15);
    color: #F87171;
    border-color: rgba(220,38,38,0.3);
    animation: pulse-live 1.5s infinite;
}
.status-pill.finished {
    background: rgba(22,163,74,0.15);
    color: #4ADE80;
    border-color: rgba(22,163,74,0.3);
}
@keyframes pulse-live {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.game-matchup {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 0.75rem 0;
}
.team-block { text-align: center; flex: 1; }
.team-flag {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.25rem;
}
.team-flag img {
    width: 40px;
    height: 28px;
    border-radius: 3px;
    object-fit: cover;
}
.team-name {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
}
.score-block {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.25rem;
    color: var(--amarelo);
    letter-spacing: 0.05em;
    min-width: 70px;
    text-align: center;
}
.game-location {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 0.5rem;
}
.game-bets {
    margin-top: 1rem;
    padding-top: 0.875rem;
    border-top: 1px solid var(--border);
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
}
.game-bets.open  { color: var(--verde-light); }
.game-bets.closed { color: var(--error); }

/* ============================================================
   GUESS FORM
   ============================================================ */
.form-wrapper {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 1.5rem;
    align-items: start;
}
.form-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 2rem;
}
.guess-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-field { display: flex; flex-direction: column; gap: 0.375rem; }
.form-field label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
}
.required { color: var(--amarelo); }
.optional { font-weight: 400; color: var(--text-muted); }
.form-field input,
.form-field select {
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: var(--r-sm);
    background: var(--bg-surface);
    color: var(--text);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s, background 0.2s;
    appearance: none;
    -webkit-appearance: none;
}
.form-field select {
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 7L11 1' stroke='%239B8CB0' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}
.form-field input:focus,
.form-field select:focus {
    outline: none;
    border-color: var(--acai-light);
    background: rgba(107,33,168,0.08);
}
.form-field input::placeholder { color: var(--text-muted); }

.placar-section {
    background: var(--bg-surface);
    border-radius: var(--r-md);
    padding: 1.25rem;
    border: 1px solid var(--border);
}
.placar-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 500;
}
.placar-inputs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
}
.placar-time { text-align: center; }
.time-flag { font-size: 2rem; margin-bottom: 0.25rem; }
.time-nome { font-size: 0.7rem; font-weight: 700; color: var(--text-muted); margin-bottom: 0.625rem; text-transform: uppercase; letter-spacing: 0.08em; }
.score-input {
    width: 72px;
    height: 72px;
    font-size: 2rem;
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 700;
    text-align: center;
    border: 2px solid var(--border);
    border-radius: var(--r-md);
    background: var(--bg-main);
    color: var(--amarelo);
    transition: border-color 0.2s;
    -moz-appearance: textfield;
}
.score-input::-webkit-outer-spin-button,
.score-input::-webkit-inner-spin-button { -webkit-appearance: none; }
.score-input:focus { outline: none; border-color: var(--amarelo); }
.placar-x {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    color: var(--text-muted);
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: var(--r-md);
    font-size: 1.05rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    background: linear-gradient(135deg, var(--acai), var(--acai-light));
    color: #fff;
    transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
    box-shadow: 0 4px 20px rgba(107,33,168,0.4);
}
.submit-btn:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(107,33,168,0.5); }
.submit-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* PROMO CARDS */
.form-promo { display: flex; flex-direction: column; gap: 1rem; }
.promo-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 1.5rem;
    min-width: 0; /* impede que o card empurre o conteúdo para fora em telas estreitas */
    box-sizing: border-box;
}
.promo-card--gold { border-color: rgba(250,204,21,0.3); background: rgba(250,204,21,0.04); }
.promo-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.promo-card h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 0.05em;
    color: var(--text);
    margin-bottom: 0.75rem;
}
.promo-text {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.7;
    white-space: pre-wrap;     /* preserva quebras de linha e espaços digitados no admin */
    overflow-wrap: break-word; /* evita corte de texto/links longos no mobile */
    word-break: break-word;
}
.promo-text * { max-width: 100%; }

/* ============================================================
   RANKING
   ============================================================ */
.ranking-list { display: flex; flex-direction: column; gap: 0.625rem; }
.ranking-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 0.875rem 1.25rem;
    transition: border-color 0.2s;
}
.ranking-item:hover { border-color: var(--acai-light); }
.rank-pos {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.4rem;
    color: var(--text-muted);
    width: 32px;
    text-align: center;
    flex-shrink: 0;
}
.rank-pos.gold { color: var(--amarelo); }
.rank-pos.silver { color: #C0C0C0; }
.rank-pos.bronze { color: #CD7F32; }
.rank-score {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    color: var(--text);
    letter-spacing: 0.05em;
    flex: 1;
}
.rank-count {
    font-size: 0.8rem;
    color: var(--text-muted);
    background: var(--bg-surface);
    padding: 0.2rem 0.75rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    white-space: nowrap;
}
.rank-bar {
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--acai), var(--acai-glow));
    margin-top: 0.375rem;
    transition: width 0.6s ease;
}

/* ============================================================
   RECENT GUESSES
   ============================================================ */
.guesses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
    max-height: 480px;
    overflow-y: auto;
    padding-right: 4px;
}
.guesses-grid::-webkit-scrollbar { width: 4px; }
.guesses-grid::-webkit-scrollbar-track { background: var(--bg-card); border-radius: 4px; }
.guesses-grid::-webkit-scrollbar-thumb { background: var(--acai); border-radius: 4px; }

.guess-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-left: 3px solid var(--acai-light);
    border-radius: var(--r-md);
    padding: 1rem;
}
.guess-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.625rem;
}
.guess-player { font-weight: 600; font-size: 0.9rem; color: var(--text); }
.guess-time-label { font-size: 0.7rem; color: var(--text-muted); }
.guess-result {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.75rem;
    color: var(--amarelo);
    letter-spacing: 0.05em;
}
.guess-game { font-size: 0.72rem; color: var(--text-muted); margin-top: 0.25rem; }

/* ============================================================
   WINNERS
   ============================================================ */
.winners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.25rem;
}
.winner-card {
    background: linear-gradient(135deg, rgba(21,128,61,0.15), rgba(107,33,168,0.15));
    border: 1px solid rgba(21,128,61,0.35);
    border-radius: var(--r-lg);
    padding: 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.winner-card::before {
    content: '🏆';
    position: absolute;
    top: -8px;
    right: -8px;
    font-size: 4rem;
    opacity: 0.1;
}
.winner-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.4rem;
    color: var(--amarelo);
    margin-bottom: 0.25rem;
    letter-spacing: 0.03em;
}
.winner-score {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    color: var(--text);
    margin-bottom: 0.75rem;
}
.winner-prize {
    display: inline-block;
    background: linear-gradient(135deg, var(--verde), var(--verde-light));
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.35rem 1rem;
    border-radius: 999px;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-section { text-align: center; }
.contact-card {
    background: linear-gradient(135deg, rgba(107,33,168,0.15), rgba(21,128,61,0.1));
    border: 1px solid rgba(107,33,168,0.3);
    border-radius: var(--r-xl);
    padding: 3rem 2rem;
}
.contact-emoji { font-size: 3.5rem; margin-bottom: 1rem; }
.contact-card h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    letter-spacing: 0.04em;
    color: var(--text);
    margin-bottom: 0.75rem;
}
.contact-card p {
    color: var(--text-muted);
    max-width: 480px;
    margin: 0 auto 2rem;
}
.contact-btns {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border-radius: var(--r-md);
    font-weight: 700;
    font-size: 0.95rem;
    transition: transform 0.2s, box-shadow 0.2s;
}
.contact-btn:hover { transform: translateY(-2px); }
.contact-btn--whatsapp { background: #25D366; color: #fff; box-shadow: 0 4px 16px rgba(37,211,102,0.3); }
.contact-btn--whatsapp:hover { box-shadow: 0 8px 24px rgba(37,211,102,0.4); }
.contact-btn--instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #fff;
    box-shadow: 0 4px 16px rgba(220,39,67,0.3);
}
.contact-btn--instagram:hover { box-shadow: 0 8px 24px rgba(220,39,67,0.4); }
.contact-btn--menu { background: var(--amarelo); color: #000; font-weight: 800; }
.contact-btn--menu:hover { box-shadow: 0 8px 24px rgba(250,204,21,0.4); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 1.75rem 0;
}
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.footer-logo { font-size: 1.75rem; }
.footer-brand strong { display: block; font-weight: 700; color: var(--text); }
.footer-brand p { font-size: 0.75rem; color: var(--text-muted); }
.footer-copy { font-size: 0.75rem; color: var(--text-muted); }

/* ============================================================
   MODAL
   ============================================================ */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 500;
    align-items: center;
    justify-content: center;
}
.modal.open { display: flex; }
.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(4px);
}
.modal-box {
    position: relative;
    z-index: 1;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 2rem;
    width: 90%;
    max-width: 520px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: var(--shadow-glow);
}
.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    color: var(--text-muted);
    font-size: 0.875rem;
    padding: 0.3rem 0.6rem;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
}
.modal-close:hover { color: var(--text); border-color: var(--text-muted); }
.modal-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.75rem;
    letter-spacing: 0.04em;
    margin-bottom: 1.25rem;
    color: var(--amarelo);
}
.modal-score-hero {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-surface);
    border-radius: var(--r-md);
    margin-bottom: 1.25rem;
}
.modal-vs { font-family: 'Bebas Neue', sans-serif; font-size: 3rem; color: var(--amarelo); }
.modal-teams { font-size: 0.875rem; color: var(--text-muted); margin-top: 0.25rem; }
.modal-ranking-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: var(--bg-surface);
    border-radius: var(--r-sm);
    margin-bottom: 0.5rem;
}
.modal-ranking-score { font-family: 'Bebas Neue', sans-serif; font-size: 1.3rem; color: var(--text); }
.modal-ranking-count {
    font-size: 0.75rem;
    color: var(--acai-glow);
    background: rgba(107,33,168,0.15);
    padding: 0.2rem 0.625rem;
    border-radius: 999px;
}
.modal-section-title {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin: 1.25rem 0 0.625rem;
}

/* ============================================================
   TOAST
   ============================================================ */
.toast-container {
    position: fixed;
    top: 1.25rem;
    right: 1.25rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    pointer-events: none;
}
.toast {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 0.875rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 500;
    max-width: 340px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    animation: toastIn 0.3s ease;
    pointer-events: all;
}
.toast.success { border-left: 3px solid var(--verde-light); }
.toast.error   { border-left: 3px solid var(--error); }
.toast.info    { border-left: 3px solid var(--acai-light); }
@keyframes toastIn {
    from { transform: translateX(120%); opacity: 0; }
    to   { transform: translateX(0);    opacity: 1; }
}
@keyframes toastOut {
    from { transform: translateX(0);    opacity: 1; }
    to   { transform: translateX(120%); opacity: 0; }
}
.toast.removing { animation: toastOut 0.3s ease forwards; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
    .form-wrapper { grid-template-columns: 1fr; }
    .form-promo { flex-direction: row; }
    .promo-card { flex: 1; }
}
@media (max-width: 700px) {
    .hero > .container { flex-direction: column; text-align: center; }
    .hero-subtitle { margin: 0 auto 2rem; }
    .hero-cta { justify-content: center; }
        .header-content { gap: 0.75rem; }
    .games-grid { grid-template-columns: 1fr; }
    .form-promo { flex-direction: column; }
    .footer-inner { justify-content: center; text-align: center; }
}
@media (max-width: 480px) {
    .header-nav .nav-btn:not(.nav-btn--outline) { display: none; }
    .placar-inputs { gap: 0.75rem; }
    .score-input { width: 60px; height: 60px; font-size: 1.5rem; }
    .contact-btns { flex-direction: column; align-items: center; }
    .contact-btn { width: 100%; justify-content: center; }
}

/* ============================================================
   ADMIN STYLES (shared)
   ============================================================ */
.admin-login body { background: var(--bg-main); }

/* ============================================================
   WINNERS — TEMPO REAL
   ============================================================ */
.winners-game-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1.5rem 0 0.75rem;
    padding-bottom: 0.625rem;
    border-bottom: 1px solid var(--border);
}
.winners-game-header:first-child { margin-top: 0; }

.winners-game-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 0.04em;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.winners-score {
    color: var(--amarelo);
    font-size: 1.4rem;
    margin: 0 0.25rem;
}
.winners-status {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 0.2rem 0.75rem;
    border-radius: 999px;
    white-space: nowrap;
}
.winners-status.live {
    background: rgba(220,38,38,0.15);
    color: #F87171;
    border: 1px solid rgba(220,38,38,0.3);
    animation: pulse-live 1.5s infinite;
}
.winners-status.finished {
    background: rgba(22,163,74,0.15);
    color: #4ADE80;
    border: 1px solid rgba(22,163,74,0.3);
}
.winners-status.pre {
    background: rgba(107,33,168,0.15);
    color: var(--acai-glow);
    border: 1px solid rgba(107,33,168,0.3);
}
