:root {
    --black: #151515;
    --yellow: #ffc400;
    --yellow2: #f3b600;
    --white: #f7f7f7;
    --muted: #626262;
    --paper: #f1f0ed;
    --radius: 34px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    background: #f1f0ed;
    color: #111;
}

a {
    text-decoration: none;
    color: inherit;
}

.wrap {
    width: min(1360px, 86vw);
    margin: 0 auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    background: var(--yellow);
    color: #111;
    font-weight: 900;
    text-transform: uppercase;
    border: 0;
    border-radius: 28px;
    padding: 17px 27px;
    font-size: 20px;
    box-shadow: 0 8px 0 rgba(0, 0, 0, .12);
    cursor: pointer;
}

.btn.small {
    font-size: 14px;
    padding: 11px 16px;
    border-radius: 17px;
}

.btn.dark {
    background: #111;
    color: #fff;
}

.flash {
    padding: 13px 18px;
    border-radius: 16px;
    margin: 15px 0;
    font-weight: 800;
}

.flash.ok {
    background: #dff6e7;
    color: #0b6c2b;
}

.flash.err {
    background: #ffe2e2;
    color: #9a1111;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: 13px;
    color: #fff;
    font-weight: 700;
    font-size: 29px;
}

.brand .bolt {
    letter-spacing: 0;
    color: var(--yellow);
    font-size: 62px;
    line-height: .7;
}

.brand.dark {
    color: #111;
    justify-content: center;
}

.brand.dark .bolt {
    font-size: 55px;
}

.hero {
    min-height: 920px;
    background: #060606;
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 53% 56%, rgba(255, 196, 0, .17), transparent 18%),
                linear-gradient(90deg, #050505 0%, #070707 42%, rgba(0, 0, 0, .2) 65%, rgba(0, 0, 0, .15));
    z-index: 2;
}

.hero:after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 58%;
    background: url('../../imagens/hero-copa-direita.png') center right/cover no-repeat;
    opacity: .95;
}

.hero .wrap {
    position: relative;
    z-index: 3;
    padding-top: 140px;
}

.hero h1 {
    font-size: 91px;
    line-height: .98;
    margin: 64px 0 26px;
    color: #fff;
    letter-spacing: -5px;
    font-weight: 900;
}

.pill {
    display: inline-flex;
    background: var(--yellow);
    border-radius: 16px;
    padding: 2px 25px;
    color: #050505;
    font-size: 22px;
    font-weight: 500;
}

.pill strong {
    font-weight: 900;
}

.hero p {
    color: #fff;
    font-size: 30px;
    line-height: 1.2;
    max-width: 590px;
    margin: 64px 0 0;
}

.hero p strong {
    font-weight: 900;
}

.hero .call {
    font-size: 30px;
    line-height: 1.02;
    color: var(--yellow);
    font-weight: 900;
    margin-top: 42px;
}

.hero .win {
    font-size: 25px;
    font-weight: 800;
    margin-top: 35px;
    color: white;
}

.hero .btn {
    margin-top: 46px;
    font-size: 22px;
}

.logos-strip {
    height: auto;
    background: #080808 url('../../imagens/faixa-logos2.png') center/cover no-repeat;
}

.section-light {
    position: relative;
    overflow: hidden;
    background: #efeeea;
    background-image: url('../../imagens/fundo-cinza-copa.png');
    background-size: cover;
    background-attachment: fixed;
}

.section-light:before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(246, 245, 241, .82);
}

.section-light > .wrap,
.section-light > .wide {
    position: relative;
    z-index: 2;
}

.wide {
    width: min(1370px, 86vw);
    margin: 0 auto;
}

.games {
    padding: 38px 0 72px;
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 17px;
    margin: 0 0 56px;
    font-size: 38px;
    font-weight: 500;
}

.section-title .ball {
    font-size: 42px;
}

.tabs {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    border-bottom: 4px solid #111;
    margin: 0 0 44px;
    align-items: end;
}

.tab {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    padding: 0 0 30px;
    color: #222;
    position: relative;
    text-transform: uppercase;
}

.tab.active:after {
    content: "";
    height: 8px;
    background: var(--yellow);
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
}

.cards {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.game-card {
    display: grid;
    grid-template-columns: 160px 1fr 170px;
    align-items: center;
    background: #171717;
    color: #fff;
    border-radius: 0 31px 31px 0;
    min-height: 156px;
    overflow: hidden;
    position: relative;
}

.game-card:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 29px;
    background: var(--yellow);
    border-radius: 0 0 0 0;
}

.game-date {
    padding-left: 76px;
    text-align: left;
}

.game-date .day {
    font-size: 62px;
    font-weight: 900;
    line-height: .8;
}

.game-date .mon {
    font-size: 24px;
    line-height: 1.1;
}

.game-date .hour {
    font-size: 25px;
    color: var(--yellow);
    line-height: 1.1;
}

.game-mid {
    text-align: center;
}

.teams-line {
    font-size: 36px;
    line-height: 1.1;
    font-weight: 400;
}

.flag {
    font-size: 31px;
    vertical-align: middle;
    margin: 0 10px;
}

.venue {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    font-size: 16px;
    margin-top: 12px;
}

.tag {
    display: inline-flex;
    margin-top: 12px;
    background: var(--yellow);
    color: #111;
    border-radius: 12px;
    padding: 3px 13px;
    font-size: 12px;
    font-weight: 800;
}

.game-group {
    text-align: center;
    color: #fff;
    padding-right: 30px;
}

.game-group .ico {
    font-size: 36px;
    color: var(--yellow);
    display: block;
    margin-bottom: 13px;
}

.game-group span {
    display: block;
    font-size: 20px;
    text-transform: uppercase;
}

.benefits {
    background: var(--yellow);
    padding: 28px 0 27px;
}

.benefit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    text-align: center;
    align-items: center;
}

.benefit .icon {
    font-size: 70px;
    line-height: .9;
}

.benefit .mini {
    font-size: 16px;
    text-transform: uppercase;
}

.benefit h3 {
    font-size: 28px;
    margin: 7px 0 0;
}

.signup-section {
    padding: 60px 0 35px;
}

.signup-box {
    background: #0b0b0b;
    color: #fff;
    border-radius: 31px;
    padding: 65px 78px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
}

.signup-box h2 {
    font-size: 42px;
    margin: 0 0 55px;
}

.signup-box h2 .bolt {
    color: var(--yellow);
    font-size: 52px;
    vertical-align: middle;
}

.signup-box p {
    font-size: 28px;
    line-height: 1.23;
    margin: 0 0 56px;
}

.form-line {
    display: block;
    width: 100%;
    background: transparent;
    color: #fff;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .75);
    padding: 20px 0 18px;
    margin: 0 0 16px;
    font-size: 16px;
    outline: 0;
}

.form-line::placeholder {
    color: #fff;
}

.footer-note {
    padding: 0 0 42px;
    text-align: center;
}

.footer-note p {
    font-size: 18px;
    line-height: 1.35;
    margin: 18px 0;
    color: #111;
}

.topbar {
    background: #0a0a0a;
    color: #fff;
    padding: 18px 0;
}

.topbar .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav {
    display: flex;
    align-items: center;
    gap: 22px;
    font-weight: 800;
}

.nav a {
    color: #fff;
}

.page {
    padding: 55px 0;
}

.panel {
    background: #fff;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, .08);
}

.grid2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 13px;
    border-bottom: 1px solid #ddd;
    text-align: left;
}

.table th {
    font-size: 13px;
    text-transform: uppercase;
    color: #555;
}

.login-page {
    min-height: 100vh;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.login-card {
    width: min(520px, 94vw);
    background: #fff;
    border-radius: 30px;
    padding: 38px;
}

.login-card h1 {
    margin-top: 0;
}

.allgroups {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.group-block-title {
    background: #111;
    color: var(--yellow);
    border-radius: 7px;
    padding: 8px 19px;
    font-size: 18px;
}

.group-list {
    background: rgba(40, 40, 40, .34);
    border-left: 29px solid var(--yellow);
    border-radius: 0 28px 28px 0;
    padding: 22px 35px;
    font-size: 22px;
    line-height: 1.8;
    color: #151515;
}

.admin-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.admin-menu a {
    background: #111;
    color: #fff;
    padding: 10px 14px;
    border-radius: 12px;
    font-weight: 800;
}

.source {
    font-size: 12px;
    color: #555;
    margin-top: 16px;
}

.mobile-only {
    display: none;
}

/* ===== RESPONSIVO ===== */
@media (max-width: 900px) {
    .wrap,
    .wide {
        width: min(94vw, 720px);
    }

    .hero {
        min-height: 720px;
    }

    .hero:after {
        opacity: .36;
        width: 100%;
        background-position: center right;
    }

    .hero .wrap {
        padding-top: 55px;
    }

    .brand {
        font-size: 20px;
        letter-spacing: 8px;
    }

    .brand .bolt {
        font-size: 45px;
    }

    .hero h1 {
        font-size: 57px;
        letter-spacing: -3px;
        margin-top: 55px;
    }

    .hero p,
    .hero .call {
        font-size: 24px;
    }

    .logos-strip {
        height: 120px;
        background-size: cover;
    }

    .section-title {
        font-size: 29px;
    }

    .tabs {
        grid-template-columns: 1fr;
    }

    .tab {
        padding: 14px 0;
    }

    .game-card {
        grid-template-columns: 110px 1fr;
        min-height: 130px;
        border-radius: 0 24px 24px 0;
    }

    .game-group {
        display: none;
    }

    .game-date {
        padding-left: 45px;
    }

    .game-date .day {
        font-size: 46px;
    }

    .teams-line {
        font-size: 25px;
    }

    .signup-box {
        grid-template-columns: 1fr;
        padding: 36px 28px;
        gap: 20px;
    }

    .signup-box p {
        font-size: 22px;
    }

    .benefit-grid {
        grid-template-columns: 1fr;
    }

    .topbar .wrap {
        flex-direction: column;
        gap: 16px;
    }

    .nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .grid2 {
        grid-template-columns: 1fr;
    }

    .group-list {
        font-size: 18px;
        padding: 16px 22px;
    }
}

/* ===== V4 Admin estruturado ===== */
.page-lead {
    font-size: 18px;
    color: #333;
    margin-top: -10px;
    margin-bottom: 24px;
}

.muted {
    color: #666;
    font-size: 14px;
}

.admin-topbar {
    background: #090909;
    color: #fff;
    padding: 18px 0;
    border-bottom: 4px solid var(--yellow);
}

.admin-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.admin-topbar .brand {
    font-size: 23px;
    letter-spacing: 9px;
}

.admin-topbar .brand .bolt {
    font-size: 48px;
}

.admin-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.admin-nav a {
    color: #fff;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: .4px;
    padding: 10px 12px;
    border-radius: 13px;
    background: rgba(255, 255, 255, .06);
}

.admin-nav a.active,
.admin-nav a:hover {
    background: var(--yellow);
    color: #111;
}

.admin-page {
    min-height: calc(100vh - 90px);
    padding: 40px 0 70px;
}

.admin-hero-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    background: #101010;
    color: #fff;
    border-radius: 30px;
    padding: 34px 38px;
    margin-bottom: 24px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, .18);
    position: relative;
    overflow: hidden;
}

.admin-hero-panel:before {
    content: "";
    position: absolute;
    right: -80px;
    top: -80px;
    width: 270px;
    height: 270px;
    border-radius: 50%;
    background: rgba(255, 196, 0, .18);
}

.admin-hero-panel > * {
    position: relative;
    z-index: 1;
}

.eyebrow {
    margin: 0 0 8px;
    color: var(--yellow);
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: 1px;
    font-size: 13px;
}

.admin-hero-panel h1,
.admin-title-row h1 {
    margin: 0;
    font-size: 38px;
    letter-spacing: -1px;
}

.admin-hero-panel p:last-child {
    font-size: 18px;
    color: #ddd;
    margin: 10px 0 0;
}

.admin-kpis {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 22px 0;
}

.admin-kpi {
    background: #fff;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
    border-left: 9px solid var(--yellow);
}

.admin-kpi span {
    display: block;
    color: #555;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .6px;
}

.admin-kpi strong {
    display: block;
    font-size: 46px;
    line-height: 1;
    margin-top: 8px;
}

.admin-grid-main {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

.admin-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.admin-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.admin-table th {
    background: #111;
    color: #fff;
    border-color: #111;
}

.admin-table td {
    vertical-align: middle;
}

.admin-table small {
    color: #666;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.status-pill.agendado {
    background: #fff3bf;
    color: #8a6200;
}

.status-pill.ao_vivo {
    background: #ffe0e0;
    color: #a40000;
}

.status-pill.finalizado {
    background: #dff6e7;
    color: #0c6b2b;
}

.admin-filters {
    margin-bottom: 18px;
}

.admin-filter-form {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr auto;
    gap: 12px;
    align-items: end;
}

.admin-filter-form input,
.admin-filter-form select,
.admin-form-grid input,
.admin-form-grid select,
.admin-form-grid textarea {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 13px;
    padding: 13px 14px;
    background: #fff;
    color: #111;
    font: inherit;
}

.admin-form-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.admin-form-grid label {
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 900;
    color: #444;
    letter-spacing: .4px;
}

.admin-form-grid .check {
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: none;
    font-size: 15px;
    letter-spacing: 0;
}

.admin-form-grid .check input {
    width: auto;
}

.admin-form-grid .span2 {
    grid-column: span 2;
}

.score-inline,
.palpite-form {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.score-inline input,
.palpite-form input {
    width: 58px;
    border: 1px solid #ccc;
    border-radius: 12px;
    padding: 10px;
    text-align: center;
    font-weight: 900;
}

.score-inline select {
    border: 1px solid #ccc;
    border-radius: 12px;
    padding: 10px;
    background: #fff;
}

.admin-summary-line {
    margin-bottom: 12px;
    color: #444;
}

.admin-ranking-podium {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 15px 0 22px;
}

.podium-card {
    background: #111;
    color: #fff;
    border-radius: 28px;
    padding: 26px;
    text-align: center;
    box-shadow: 0 12px 35px rgba(0, 0, 0, .16);
}

.podium-card.first {
    background: var(--yellow);
    color: #111;
    transform: scale(1.03);
}

.podium-card span {
    display: block;
    font-size: 38px;
    font-weight: 900;
}

.podium-card strong {
    display: block;
    font-size: 20px;
    margin-top: 8px;
}

.podium-card em {
    display: block;
    font-style: normal;
    margin-top: 8px;
    font-size: 24px;
    font-weight: 900;
}

.points-big {
    font-size: 28px;
    color: #111;
}

.install-card {
    max-width: 650px;
}

.user-kpis {
    grid-template-columns: repeat(4, 1fr);
}

/* ===== RESPONSIVO ADMIN ===== */
@media (max-width: 1050px) {
    .admin-topbar-inner,
    .admin-hero-panel,
    .admin-title-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-nav {
        justify-content: flex-start;
    }

    .admin-kpis,
    .admin-grid-main,
    .admin-ranking-podium {
        grid-template-columns: 1fr;
    }

    .admin-filter-form,
    .admin-form-grid {
        grid-template-columns: 1fr;
    }

    .admin-form-grid .span2 {
        grid-column: auto;
    }

    .table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .user-kpis {
        grid-template-columns: 1fr 1fr;
    }

    .admin-hero-panel h1,
    .admin-title-row h1 {
        font-size: 31px;
    }
}

@media (max-width: 620px) {
    .user-kpis {
        grid-template-columns: 1fr;
    }

    .admin-kpi strong {
        font-size: 36px;
    }

    .admin-topbar .brand {
        font-size: 19px;
    }

    .admin-page {
        padding-top: 22px;
    }

    .score-inline,
    .palpite-form {
        display: grid;
        grid-template-columns: 58px auto 58px;
        gap: 6px;
    }

    .score-inline .btn,
    .palpite-form .btn {
        grid-column: 1/-1;
    }

    .score-inline select {
        grid-column: 1/-1;
    }
}

/* ===== V7 Cadastro: botão como submit e placeholder forte ===== */
#cadastroForm input,
#cadastroForm textarea,
#cadastroForm select {
    -webkit-text-fill-color: #fff;
}

#cadastroForm .form-line::placeholder {
    color: #fff;
    opacity: 1;
    font-weight: 900;
    letter-spacing: .65px;
    text-transform: uppercase;
}

#cadastroForm .form-line::-webkit-input-placeholder {
    color: #fff;
    opacity: 1;
    font-weight: 900;
    letter-spacing: .65px;
    text-transform: uppercase;
}

#cadastroForm .form-line::-moz-placeholder {
    color: #fff;
    opacity: 1;
    font-weight: 900;
    letter-spacing: .65px;
    text-transform: uppercase;
}

#cadastroForm .form-line:-ms-input-placeholder {
    color: #fff;
    opacity: 1;
    font-weight: 900;
    letter-spacing: .65px;
    text-transform: uppercase;
}

#entrarBolaoSubmit {
    appearance: none;
    -webkit-appearance: none;
}

/* ===== V8 Home cadastro inline + ícones exatos ===== */
.exact-benefits {
    align-items: start;
}

.exact-item {
    gap: 0;
}

.exact-item .mini {
    margin-top: 6px;
    letter-spacing: 0;
    font-size: 22px;
    font-weight: 500;
}

.exact-item h3 {
    margin-top: 6px;
    font-size: 28px;
    line-height: 1.05;
    font-weight: 900;
}

.benefit-icon-img {
    display: block;
    width: 150px;
    max-width: 100%;
    height: auto;
    margin: 0 auto 4px;
}

.signup-flash {
    max-width: 440px;
    margin: 0 0 18px;
}

#cadastroForm .form-line {
    background: transparent;
}

#cadastroForm .form-line:not(:placeholder-shown) {
    color: #fff;
}

/* ===== RESPONSIVO V8 ===== */
@media (max-width: 900px) {
    .benefit-icon-img {
        width: 120px;
    }

    .exact-item .mini {
        font-size: 18px;
    }

    .exact-item h3 {
        font-size: 24px;
    }
}