/* version=7.2 */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Elms+Sans:ital,wght@0,100..900;1,100..900&display=swap');

html {
    overflow: hidden;
}

:root {
    --first-color: #ffffff;
    --second-color: #01325b;
    --third-color: #021c33;
    /* Azul escuro */
    --fourth-color: #03294a;
    /* Azul médio */
    --fifth-color: #011522;
    /* Azul muito escuro */
    --sixth-color: #021b2e;
    /* Azul escuro 2 */
    --seventh-color: #355b73;
    /* Azul acinzentado */
    --eighth-color: #0055aa;
    /* Azul vivo */
    --ninth-color: #0077cc;
    /* Azul claro/ciano */
    --tenth-color: #010d1a;
    /* Azul escuro profundo */
    --eleventh-color: #1e5ceb;
    /* Azul claro queimado */
    --twelfth-color: #217aeb;
    /* Azul intenso */
    --thirteenth-color: #00294a;
    /* Azul escuro */
    --fourteenth-color: #041d33;
    /* Azul marinho */
    --fifteenth-color: #b5d9ff;
    /* Azul claro / azul bebê */
    --sixteenth-color: #ffff00;
    /* Amarelo */
    --seventeenth-color: #0044aa;
    /* Azul vibrante */
    --eighteenth-color: #333333;
    /* Cinza escuro */
    --nineteenth-color: #555555;
    /* Cinza médio */
    --twentieth-color: #666666;
    /* Cinza claro */
    --twenty-first-color: #222222;
    /* Quase preto */
    --green: #0077cc;
}

body {
    background: radial-gradient(circle, var(--first-color), var(--second-color));
    background-position: top;
    background-size: cover;
    overflow: auto;
    padding-bottom: 1vw;
    font-weight: 600;
    padding-top: 10px;
}

body,
.main-menu,
.main,
.modal-dialog .bilhete-melhores-cartelas,
.login-page {
    background: var(--second-color) !important;
    background-image: none;
}
.header .row{
    flex-wrap: nowrap;
}
.main.hideHeader{
    padding-top: 0px!important;   
}
.proximos .acumulado {
    overflow: visible!important;
    animation: balancar-2 3s infinite ease-in-out;
}
.proximos .acumulado::before{
    display: none;
}

/* Definindo o delay para cada item (intervalo entre animações) */
.proximos .linha .premio:nth-child(1),
.proximos .linha .premio:nth-child(1)::before {
    animation-delay: 0s;
}

.proximos .linha .premio:nth-child(2),
.proximos .linha .premio:nth-child(2)::before {
    animation-delay: 1s;
}
 
.proximos .linha .premio:nth-child(3),
.proximos .linha .premio:nth-child(3)::before {
    animation-delay: 2s;
}

.proximos .linha .premio:nth-child(4),
.proximos .linha .premio:nth-child(4)::before {
    animation-delay: 3s;
}

.proximos .linha .premio:nth-child(5),
.proximos .linha .premio:nth-child(5)::before {
    animation-delay: 4s;
}
.three-prizes .premio{
    overflow: hidden;
}
.three-prizes .premio::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 200%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
    transform: translateY(-50%);
    animation: shine 9s infinite;
}

@keyframes balancar {
  0% {
    transform: scaleX(0.9) rotate(-3deg); /* diminui e inclina */
  }
  1% {
    transform: scaleX(1.1) rotate(3deg); /* diminui e inclina */
  }
  2% {
    transform: scaleX(1.1) rotate(-3deg); /* aumenta e inclina pro outro lado */
  }
  3% {
    transform: scaleX(1.1) rotate(3deg); /* volta ao normal */
  }
  4% {
    transform: scaleX(1.1) rotate(-3deg); /* diminui e inclina */
  }
  
  5% {
    transform: scaleX(1) rotate(0deg); /* parado por 3s */
  }
  100% {
    transform: scaleX(1) rotate(0deg); /* parado por 3s */
  }
}

@keyframes balancar-2 {
  0% {
    transform: scaleX(0.9) rotate(-3deg); /* diminui e inclina */
  }
  3% {
    transform: scaleX(1.1) rotate(3deg); /* diminui e inclina */
  }
  6% {
    transform: scaleX(1.1) rotate(-3deg); /* aumenta e inclina pro outro lado */
  }
  9% {
    transform: scaleX(1.1) rotate(3deg); /* volta ao normal */
  }
  12% {
    transform: scaleX(1.1) rotate(-3deg); /* diminui e inclina */
  }
  
  15% {
    transform: scaleX(1) rotate(0deg); /* parado por 3s */
  }
  100% {
    transform: scaleX(1) rotate(0deg); /* parado por 3s */
  }
}
@keyframes pulse-ball {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes shine {
    0% {
        opacity: 0;
        left: -200%;
    }
    5% {
        opacity: 1;
        left: -100%;
    }
    10% {
        opacity: 1;
        left: 100%;
    }
    15% {
        left: 200%;
        opacity: 0;
    }
    100% {
        left: 200%;
        opacity: 0;
    }
}

#comprar .qtd-bt {
    background: var(--seventeenth-color);
    color: var(--first-color);
    border: none;
}

#comprar .bt-comprar,
#comprar .bt-menos-mais {
    background: var(--third-color);
    color: white;
}

.cartela {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.cartela .numero {
    width: 19%;
    position: relative;
}

/* Cabeçalho BINGO – desktop */
.cartela .numero:nth-child(2),
.cartela .numero:nth-child(3),
.cartela .numero:nth-child(4),
.cartela .numero:nth-child(5),
.cartela .numero:nth-child(6) {
    margin-top: 2.3vw !important;
    position: relative;
}

.cartela .numero:nth-child(2)::before,
.cartela .numero:nth-child(3)::before,
.cartela .numero:nth-child(4)::before,
.cartela .numero:nth-child(5)::before,
.cartela .numero:nth-child(6)::before {
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--first-color);
    background: var(--eighth-color);
    border-radius: 0.5vw;
    top: -2.4vw;
}

.coluna-direita .bilhete-melhores-cartelas.zoom-cartela-1 .numero:nth-child(2)::before,
.coluna-direita .bilhete-melhores-cartelas.zoom-cartela-1 .numero:nth-child(3)::before,
.coluna-direita .bilhete-melhores-cartelas.zoom-cartela-1 .numero:nth-child(4)::before,
.coluna-direita .bilhete-melhores-cartelas.zoom-cartela-1 .numero:nth-child(5)::before,
.coluna-direita .bilhete-melhores-cartelas.zoom-cartela-1 .numero:nth-child(6)::before {
    top: -2.5vw !important;
}

.zoom-cartela-1 .cartela .numero:nth-child(2),
.zoom-cartela-1 .cartela .numero:nth-child(3),
.zoom-cartela-1 .cartela .numero:nth-child(4),
.zoom-cartela-1 .cartela .numero:nth-child(5),
.zoom-cartela-1 .cartela .numero:nth-child(6) {
    margin-top: 2.5vw !important;
}

.coluna-direita .bilhete-melhores-cartelas.zoom-cartela-2 .numero {
    width: 17.9% !important;
}

.coluna-direita .bilhete-melhores-cartelas.zoom-cartela-2 .numero:nth-child(2)::before,
.coluna-direita .bilhete-melhores-cartelas.zoom-cartela-2 .numero:nth-child(3)::before,
.coluna-direita .bilhete-melhores-cartelas.zoom-cartela-2 .numero:nth-child(4)::before,
.coluna-direita .bilhete-melhores-cartelas.zoom-cartela-2 .numero:nth-child(5)::before,
.coluna-direita .bilhete-melhores-cartelas.zoom-cartela-2 .numero:nth-child(6)::before {
    top: -1.9vw !important;
}

.zoom-cartela-2 .cartela .numero:nth-child(2),
.zoom-cartela-2 .cartela .numero:nth-child(3),
.zoom-cartela-2 .cartela .numero:nth-child(4),
.zoom-cartela-2 .cartela .numero:nth-child(5),
.zoom-cartela-2 .cartela .numero:nth-child(6) {
    margin-top: 1.8vw !important;
}

.cartela .numero:nth-child(2)::before {
    content: "B";
}
.cartela .numero:nth-child(3)::before {
    content: "I";
}
.cartela .numero:nth-child(4)::before {
    content: "N";
}
.cartela .numero:nth-child(5)::before {
    content: "G";
}
.cartela .numero:nth-child(6)::before {
    content: "O";
}

.coluna-direita .bilhete-melhores-cartelas .cartela {
    height: auto !important;
}

.cartelas-compradas {
    background-image: none;
    background: linear-gradient(
        to right,
        var(--fifteenth-color) 0%,
        var(--first-color) 50%,
        var(--fifteenth-color) 100%
    );
}

.esquerda .premios .premio .value {
    margin-top: 1vw !important;
}

.esquerda .premios .acumulado .label {
    font-size: 1.2vw;
    padding-right: 1vw;
}

/* (valor sobrescrito mais abaixo – mantido último) */

/* PROXIMOS – bloco único sem duplicação */
.proximos {
    width: 100%;
    padding: 1vw 2vw 0;
}

.proximos .linha:first-child {
    background: rgba(255, 255, 255, 1);
    margin-bottom: 0.5vw;
    padding:5px  0;
}
.proximos .info{
    height: auto;
}
.proximos .info:nth-child(1) .label,
.proximos .info:nth-child(2) .label,
.proximos .info:nth-child(3) .label,
.proximos .info:nth-child(4) .label,
.proximos .info:nth-child(5) .label{
    color: black;
    font-size: 1.4vw;
    line-height:2vw;
}

.proximos .info:nth-child(1) .value,
.proximos .info:nth-child(2) .value,
.proximos .info:nth-child(3) .value,
.proximos .info:nth-child(4) .value,
.proximos .info:nth-child(5) .value{
    color: var(--eleventh-color);;
    font-size: 1.4vw;
    line-height: 2vw;
}
.proximos .premio{
    padding: 1.4vw 3vw;
    
}
.proximos .premio .balls{
    display: none;
}
.proximos .premio {
    background: linear-gradient(to bottom, var(--twelfth-color), var(--tenth-color));
    border: 0.2vw solid var(--first-color);
    color: white;
}

.proximos .acumulado {
    z-index: 9;
    background: linear-gradient(to bottom, var(--eighth-color), var(--thirteenth-color)) !important;
}

/* Contador de espera */
.espera .relogio {
    height: auto;
    padding: 1vw;
    width: calc(100% - 4vw);
    background: var(--fourth-color);
    border-radius: 2vw;
    font-family: 'Orbitron';
    margin: auto;
}

.espera .relogio .numero {
    color: var(--ninth-color);
    border-color: var(--fourteenth-color);
    background: var(--fourteenth-color);
    font-weight: 400;
}

.espera .relogio .doispontos {
    color: var(--ninth-color);
}

/* Premiado cartelas – desktop */
.premiado-cartelas .cartela .numero:nth-child(2),
.premiado-cartelas .cartela .numero:nth-child(3),
.premiado-cartelas .cartela .numero:nth-child(4),
.premiado-cartelas .cartela .numero:nth-child(5),
.premiado-cartelas .cartela .numero:nth-child(6) {
    margin-top: 0!important;
}

.premiado-cartelas .cartela .numero:nth-child(2)::before,
.premiado-cartelas .cartela .numero:nth-child(3)::before,
.premiado-cartelas .cartela .numero:nth-child(4)::before,
.premiado-cartelas .cartela .numero:nth-child(5)::before,
.premiado-cartelas .cartela .numero:nth-child(6)::before {
    margin-top: -0.8vw;
}
.premiado .premiado-cartelas{
    height: 80%;
    align-content: start;
    overflow: auto;
}
.premiado .premiado-cartelas .premiado-cartelas{
    width: 100%;
    gap: 10px;
    height: 100%;
}
.premiado .cartela{
    width: 48%;
    margin: auto;
}
.premiado .cartela .numero {
    width: 19.3% !important;
}

.principal {
    padding-top: 30px;
    overflow: hidden;
    flex-wrap: wrap;
    height: auto;
}

#modal-cartelas-compradas .cartela .numero:nth-child(2)::before,
#modal-cartelas-compradas .cartela .numero:nth-child(3)::before,
#modal-cartelas-compradas .cartela .numero:nth-child(4)::before,
#modal-cartelas-compradas .cartela .numero:nth-child(5)::before,
#modal-cartelas-compradas .cartela .numero:nth-child(6)::before {
    top: -1.8vw;
}

#modal-cartelas-compradas .cartela .numero {
    width: 17% !important;
}

/* Bloco PRÊMIOS – desktop */
.esquerda .premios .premio {
    border: 0.2vw solid var(--fifth-color);
    border-radius: 1vw;
    background: var(--sixth-color);
}

.esquerda .premios .premio-ativo {
    border: 0.2 solid var(--sixteenth-color);
    box-shadow:
        0 0 5px cyan,
        0 0 10px cyan,
        0 0 20px cyan,
        0 0 20px cyan,
        0 0 20px cyan;
}

.esquerda .premios .premio .label {
    width: 80%;
    margin: auto;
    margin-top: -0.6vw;
    height: 3.2vw;
    background-color: var(--seventh-color);
    border-radius: 1vw;
    display: flex;
    align-items: center;
    justify-content: center;    
}

.esquerda .premios .acumulado {
    border-color: var(--twenty-first-color);
    background: var(--eighth-color);
    color: var(--eighth-color);
    box-shadow:
        0 0 5px cyan,
        0 0 10px cyan,
        0 0 20px cyan,
        0 0 20px cyan,
        0 0 20px cyan;
}

.esquerda .premios .acumulado .label {
    color: var(--first-color);
}

.esquerda .premios .acumulado .value {
    position: relative;
    color: var(--sixteenth-color);
}

.esquerda .premios .acumulado-desativo {
    box-shadow: none;
    background: var(--eighteenth-color);
}

.esquerda .premios .acumulado-desativo .label {
    background: var(--nineteenth-color);
    color: var(--twentieth-color);
}

.esquerda .premios .acumulado-desativo .value {
    color: var(--twentieth-color);
}

.premios .acumulado-desativo .acumulado-numero {
    opacity: 0.2;
}

.premios .acumulado .acumulado-numero {
    right: -1.2vw;
    top: -1vw;
    z-index: 9;
    font-size: 1.5vw;
}

.star {
    right: -1vw;
    top: -1vw;
    z-index: 8;
}
/* PROXIMOS – ajustes gerais */
.proximos .info .value {
    font-size: 2.5vw;
    line-height: 4vw;
}

.proximos .acumulado {
    background: linear-gradient(to bottom, rgb(255, 0, 0), rgb(105 0 0)) !important;
    color: yellow;
}

.numAcumulado {
    color: red;
    z-index: 9;
}

.video-descanso {
    height: 36vw;
}
.esquerda .centro{
    pointer-events: none;
}
/* SORTEIO BOLAS – valor principal */
.esquerda .centro .sorteio-bolas .info .box .value {
    background: var(--fifth-color);
    border: 2px solid var(--fourth-color);
    padding-top: 2vw;
}

.esquerda .centro .sorteio-bolas .info .box .label {
    background: var(--seventeenth-color);
    color: var(--fifteenth-color);
}

/* Bola principal animada */
.esquerda .centro .sorteio-bolas .bolas .bola-1 {
    z-index: 90;
}

.animaBolaPrincipal {
    animation: bolaAnimate 1s ease;
    z-index: 91;
}

@keyframes bolaAnimate {
    0% {
        transform: scale(5) rotate(0deg);
    }
    100% {
        transform: scale(1) rotate(360deg);
    }
}

h1.premio-title {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    font-size: 2rem;
    font-weight: bold;
    font-family: "Elms Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: yellow;
    text-transform: uppercase;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    -webkit-text-stroke: unset;
    font-weight: 900;
    margin-bottom: 50px;
}

#modal-result-partida h1.premio-title {
    background: linear-gradient(to bottom, var(--twelfth-color), var(--tenth-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transform: rotate(-5deg);
    margin-bottom: 30px;
}

.ganhadores-final.show {
    min-height: 100vh;
    height: 100vh;
    overflow: auto;
    padding-top: 5vw;
    padding-bottom: 200px;
}

.ganhadores-final-title{
    display: none;
}
.login-box .align-right img {
    display: none;
}

.h-100 {
    overflow-x: hidden;
}

.header {
    background-image: none;
    background-color: var(--fourth-color);
    padding-right: 60px;
}

/* GANHADORES FINAL – blocos */
.ganhadores-final .box-amarelo {
    border: 0.4vw solid yellow;
    background-color: var(--fifth-color) !important;
    padding-bottom: 30px;
    font-family: "Elms Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    animation: pulse2 2s infinite;
    padding-bottom: 50px;
    overflow: auto;
}

.ganhadores-final .box:first-child img:last-child {
    display: none;
}

.ganhadores-final .box-amarelo .box-ganhador {
    height: auto;
    width: 60%;
    margin: 2vw;
    padding: 10px;
    border-radius: 10px;
    border: 2px solid yellow;
    animation: pulse2 2s infinite;
    background: linear-gradient(
        to top,
        rgb(0 196 255 / 10%),
        rgb(30 51 105 / 10%)
    ) !important;
}

.ganhadores-final .box-amarelo .box-ganhador .nome {
    color: yellow;
    font-weight: 900;
    font-size: 1.2vw;
    padding: 0 10px;
    margin: 0;
    width: 100%;
}

.ganhadores-final .box-amarelo .box-ganhador .codigo {
    color: var(--eleventh-color);
    background: yellow;
    font-weight: 900;
    border-radius: 10px;
    font-size: 1.5vw;
}

.ganhadores-final .box-amarelo .box-ganhador .valor {
    color: white;
    font-weight: 900;
    font-size: 1.5vw;
}

/* Cartelas / listas direita */
.coluna-direita .bilhete-melhores-cartelas .cartela .cupom,
.coluna-direita .bilhete-melhores-cartelas .cartela .doador,
.coluna-direita .lista-melhores-cartelas .topo,
.premiado .cartela .doador,
.premiado .cartela .rodape {
    background: var(--fifth-color);
    color: white;
}

.esquerda .painel-numeros .numero {
    background: var(--fifteenth-color);
}

.esquerda .painel-numeros .sorteado,
.coluna-direita .lista-melhores-cartelas .corpo .faltam span {
    background: var(--seventeenth-color);
    color: white;
}

.esquerda .painel-numeros .ultimo {
    background: yellow;
    color: red;
}

.esquerda .premios .premio-desativo .label{
    background: var(--nineteenth-color);
    color: var(--twentieth-color);
}
.esquerda .premios .premio-desativo .value {
     color: var(--twentieth-color);
}

.esquerda .premios .premio-desativo {
    background: var(--eighteenth-color);
}
.coluna-direita .lista-melhores-cartelas{
    top: 0;
    margin-bottom: 1vw;
}
.coluna-direita .lista-melhores-cartelas .corpo .doador {
    color: var(--fifth-color);
}

.premiado .cartela .sorteado {
    background: var(--seventeenth-color);
}

.premiado .cartela .ultimo {
    background: red !important;
}

.cartela .sorteado {
    background: var(--seventeenth-color) !important;
}

.esquerda .painel-numeros {
    background-color: rgba(0, 0, 0, 0.5);
}

.premiado .janela .box {
    color: yellow;
    background: var(--eleventh-color);
}

/* Login */
form#sign_in h2.font-weight-normal.mb-5 {
    color: white !important;
    padding: 10px 20px !important;
    text-align: center !important;
    border-radius: 25px !important;
    font-size: 20px !important;
    margin-bottom: 10px !important;
}

.float-label .form-control.text-white {
    border-radius: 60px 20px 20px 60px;
    background: white;
    width: 100%;
    position: relative;
}

form#sign_in .form-group {
    position: relative;
    padding: 0;
}

form#sign_in .form-group input {
    color: white;
    background: none;
    border-radius: 0;
    padding-left: 50px;
    padding-right: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}

form#sign_in .form-group::before {
    font-family: 'Material Icons';
    content: "";
    display: flex;
    font-size: 24px;
    color: white;
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 100%;
    padding-top: 6px;
    justify-content: center;
    z-index: 9;
}

form#sign_in .form-group:has(input[name="email"])::before {
    content: "perm_identity" !important;
}
form#sign_in .form-group:has(input[name="password"])::before {
    content: "lock" !important;
}
form#sign_in .form-group:has(input[name="password_confirmation"])::before {
    content: "lock" !important;
}
form#sign_in .form-group:has(input[name="cpf"])::before {
    content: "assignment_ind" !important;
}

form#sign_in .float-label .form-control-label {
    display: none;
}

/**
 * STYLE COMPRAR
 */
#modal-comprar #comprar {
    height: 200px;
}

#modal-comprar .div-esq {
    width: 100%;
}

#modal-comprar .div-dir {
    float: none;
    display: flex;
    width: 100%;
}

#modal-comprar .div-100 {
    display: flex;
    width: 100%;
    height: auto;
    justify-content: space-between;
}

#modal-comprar .div-100r {
    width: 100%;
    height: auto;
    display: flex;
    gap: 10px;
    margin: 5px 0;
}

#modal-comprar .quadro-qtd {
    height: auto;
    display: flex;
    width: 50%;
}

#comprar .bt-menos-mais {
    height: auto;
}

#modal-comprar .div-100r .input-valor {
    width: 50%;
}

#modal-comprar .div-100r .input-valor input {
    width: 100%;
    height: 30px;
    border: none;
    background: #efefef;
    font-weight: 500;
    border-radius: 10px;
    padding: 0 10px;
}

#modal-comprar .div-dir button {
    top: 0;
    width: 100%;
    color: white;
    border: none;
    border-radius: 10px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#modal-comprar #comprar .qtd-bt {
    background: white;
    color: var(--fourth-color);
    border: 1px solid var(--fourth-color);
    width: 12%;
    border-radius: 10px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

#modal-comprar .quadro-qtd input {
    width: 100%;
    height: 30px;
    text-align: center;
}

#modal-comprar .bt-menos-mais {
    width: 20%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    height: 30px;
}

#modal-comprar .input-qtd {
    width: 60%;
}

#modal-comprar .menos-mais-esquerda {
    border-radius: 10px 0 0 10px;
}

#modal-comprar .menos-mais-direita {
    border-radius: 0 10px 10px 0;
}

/* Removendo cabeçalho BINGO via override */
.numero::before {
    display: none !important;
}

.cartela .numero:nth-child(2),
.cartela .numero:nth-child(3),
.cartela .numero:nth-child(4),
.cartela .numero:nth-child(5),
.cartela .numero:nth-child(6),
.zoom-cartela-2 .cartela .numero:nth-child(2),
.zoom-cartela-2 .cartela .numero:nth-child(3),
.zoom-cartela-2 .cartela .numero:nth-child(4),
.zoom-cartela-2 .cartela .numero:nth-child(5),
.zoom-cartela-2 .cartela .numero:nth-child(6),
.zoom-cartela-1 .cartela .numero:nth-child(2),
.zoom-cartela-1 .cartela .numero:nth-child(3),
.zoom-cartela-1 .cartela .numero:nth-child(4),
.zoom-cartela-1 .cartela .numero:nth-child(5),
.zoom-cartela-1 .cartela .numero:nth-child(6),
.premiado-cartelas .cartela .numero:nth-child(2),
.premiado-cartelas .cartela .numero:nth-child(3),
.premiado-cartelas .cartela .numero:nth-child(4),
.premiado-cartelas .cartela .numero:nth-child(5),
.premiado-cartelas .cartela .numero:nth-child(6) {
    margin-top: 0 !important;
}

/* Layout / branding */
.menu-footer {
    position: relative;
    margin-top: 50px;
}

.header .navbar-brand {
    background: url(logo-2.png) left top no-repeat !important;
    background-size: auto 100% !important;
    color: transparent !important;
    height: 50px !important;
    display: none;
}

.especial {
    border: 2px solid var(--fourth-color);
    background: linear-gradient(to bottom, white, var(--fifteenth-color));
    position: relative;
}

.super.especial {
    border: 2px solid red;
    background: linear-gradient(to bottom, white, #ffa7a2);
    position: relative;
}

.nome-sala {
    width: 0;
}

.login-page {
    max-width: 100%;
    height: 100vh;
    margin: 0 auto;
}

.login-box {
    max-width: 360px;
    margin: auto;
    padding: 20px 0;
}

body:has(form#sign_in) {
    background-color: black;
    height: 100vh;
}

html:has(form#sign_in) {
    overflow: auto;
}

.login-page .login-box .logo {
    background: url(logo.png) center top no-repeat !important;
    text-align: center !important;
    padding-top: 47px;
    height: 110px;
    background-size: contain !important;
}

.login-page .login-box .logo b {
    display: none !important;
}

.login-page .btn {
    background: var(--fourth-color) !important;
    font-weight: 700;
    transition: 0.5s;
    font-size: 12px !important;
    border: none !important;
}

/* Animação de pulse do ganhador */
@keyframes pulse2 {
    0%, 100% {
        box-shadow:
            0 0 2px cyan,
            0 0 4px cyan,
            0 0 6px cyan,
            0 0 8px cyan;
    }
    50% {
        box-shadow:
            0 0 4px cyan,
            0 0 6px cyan,
            0 0 8px cyan,
            0 0 10px cyan;
    }
}



.proximos .acumulado.major .label, .proximos .acumulado.major .value{
    font-size: 3.5vw !important;
}

.proximos .acumulado.minor .label, .proximos .acumulado.minor .value{
    font-size: 3vw !important;
}
.proximos .acumulado.mini .label, .proximos .acumulado.mini .value{
    font-size: 2.5vw !important;
}


.compra-fechada .bilhete-melhores-cartelas{
    height: 19vw;
}

.acumulado .star-acumulado{
    top: -3vw;
}
 .cartelas-compradas{
    padding-right: 50px;
 }
/* =========================
   MEDIA QUERY – PORTRAIT
   ========================= */
@media (orientation: portrait) {
    .premiado .premiado-cartelas .premiado-cartelas{
        width: 80%;
        margin: auto;
    }
    .premiado .cartela{
        width: 100%;
    }
        
    .acumulado .star-acumulado{
        top: -5vw;
    }
    .compra-fechada .bilhete-melhores-cartelas{
        height: auto;
    }
    .video-descanso {
        height: 56vw;
    }

    .proximos .info .value {
        font-size: 3.2vw;
    }

    .principal {
        padding-top: 10px;
    }

    .premiado-cartelas .cartela .numero:nth-child(2),
    .premiado-cartelas .cartela .numero:nth-child(3),
    .premiado-cartelas .cartela .numero:nth-child(4),
    .premiado-cartelas .cartela .numero:nth-child(5),
    .premiado-cartelas .cartela .numero:nth-child(6) {
        margin-top: 0!important;
    }

    .premiado-cartelas .cartela .numero:nth-child(2)::before,
    .premiado-cartelas .cartela .numero:nth-child(3)::before,
    .premiado-cartelas .cartela .numero:nth-child(4)::before,
    .premiado-cartelas .cartela .numero:nth-child(5)::before,
    .premiado-cartelas .cartela .numero:nth-child(6)::before {
        margin-top: 0.2vw;
    }

    .esquerda .premios {
        height: 13vw;
    }

    .esquerda .premios .premio {
        border: 0.5vw solid var(--fifth-color);
        border-radius: 2vw;
        background: var(--sixth-color);
    }

    .esquerda .premios .acumulado .label {
        font-size: 2.5vw;
    }

    .esquerda .premios .premio .value {
        font-size: 3.5vw;
    }

    .esquerda .premios .premio-ativo {
        border: 1vw solid var(--sixteenth-color);
        box-shadow:
            0 0 5px cyan,
            0 0 10px cyan,
            0 0 20px cyan,
            0 0 20px cyan,
            0 0 20px cyan;
    }

    .esquerda .premios .premio .label {
        width: 80%;
        margin: auto;
        margin-top: -0.6vw;
        height: 5vw;
        background-color: var(--seventh-color);
        border-radius: 1vw;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .esquerda .premios .acumulado {
        border-color: var(--twenty-first-color);
        background: var(--eighth-color);
        color: var(--eighth-color);
        box-shadow:
            0 0 5px cyan,
            0 0 10px cyan,
            0 0 20px cyan,
            0 0 20px cyan,
            0 0 20px cyan;
    }

    .esquerda .premios .acumulado .label {
        color: var(--first-color);
    }

    .esquerda .premios .acumulado .value {
        color: var(--sixteenth-color);
    }

    .esquerda .premios .acumulado .value::before {
        margin: 0 5%;
        width: 90%;
        font-size: 2vw;
        height: 5vw;
    }

    .esquerda .premios .acumulado-desativo {
        background: var(--eighteenth-color);
        box-shadow: none;
    }

    .esquerda .premios .acumulado-desativo .label {
        background: var(--nineteenth-color);
        color: var(--twentieth-color);
    }

    .esquerda .premios .acumulado-desativo .value {
        background: var(--eighteenth-color);
        color: var(--twentieth-color);
    }


    .premios .acumulado .acumulado-numero {
        right: -3vw;
        top: -1vw;
    }

    .star {
        right: -3vw;
        top: -1vw;
    }

    .premiado .cartela .numero {
        width: 19.5% !important;
    }

    .espera {
        padding: 2vw 0 0;
        height: auto;
        background: none;
    }

    .espera .relogio {
        height: auto;
        padding: 2vw;
        width: calc(100% - 4vw);
        background: var(--fourth-color);
        border-radius: 2vw;
        font-family: 'Orbitron';
    }

    .espera .relogio .numero {
        color: var(--ninth-color);
        border-color: var(--fourteenth-color);
        background: var(--fourteenth-color);
    }

    .espera .relogio .doispontos {
        color: var(--ninth-color);
    }

    .proximos {
        width: 100%;
        padding: 2vw 2vw 0;
    }

    .proximos .linha:first-child {
        background: rgba(255, 255, 255, 1);
        margin-bottom: 0.5vw;
    }


    .proximos .premio {
        border: 0.4vw solid var(--first-color);
    }

    .cartela .numero:nth-child(2),
    .cartela .numero:nth-child(3),
    .cartela .numero:nth-child(4),
    .cartela .numero:nth-child(5),
    .cartela .numero:nth-child(6) {
        margin-top: 0 !important;
        position: relative;
    }

    .coluna-direita {
        padding: 1vw;
    }

    .coluna-direita .bilhete-melhores-cartelas.zoom-cartela-2 .cartela-25,
    .coluna-direita .bilhete-melhores-cartelas.zoom-cartela-1 .cartela-25 {
        height: auto !important;
    }

    .cartela .numero:nth-child(2)::before,
    .cartela .numero:nth-child(3)::before,
    .cartela .numero:nth-child(4)::before,
    .cartela .numero:nth-child(5)::before,
    .cartela .numero:nth-child(6)::before {
        position: absolute;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        color: var(--first-color);
        background: var(--eighth-color);
        border-radius: 1vw;
        top: -5.8vw;
    }

    .coluna-direita .bilhete-melhores-cartelas.zoom-cartela-1 .numero:nth-child(2)::before,
    .coluna-direita .bilhete-melhores-cartelas.zoom-cartela-1 .numero:nth-child(3)::before,
    .coluna-direita .bilhete-melhores-cartelas.zoom-cartela-1 .numero:nth-child(4)::before,
    .coluna-direita .bilhete-melhores-cartelas.zoom-cartela-1 .numero:nth-child(5)::before,
    .coluna-direita .bilhete-melhores-cartelas.zoom-cartela-1 .numero:nth-child(6)::before {
        top: -8.8vw !important;
    }

    .coluna-direita .bilhete-melhores-cartelas .cartela {
        height: auto !important;
    }

    .cartelas-compradas {
        background-image: none;
        background: linear-gradient(
            to right,
            var(--fifteenth-color) 0%,
            var(--first-color) 50%,
            var(--fifteenth-color) 100%
        );
    }

    #modal-cartelas-compradas .cartela .numero:nth-child(2)::before,
    #modal-cartelas-compradas .cartela .numero:nth-child(3)::before,
    #modal-cartelas-compradas .cartela .numero:nth-child(4)::before,
    #modal-cartelas-compradas .cartela .numero:nth-child(5)::before,
    #modal-cartelas-compradas .cartela .numero:nth-child(6)::before {
        top: -4.5vw;
    }

    #modal-cartelas-compradas .cartela .numero {
        width: 19% !important;
    }

    .esquerda .centro .sorteio-bolas .info .box {
        height: 8.5vw;
    }
    .ganhadores-final::before{
        content: "";
    }
    /* Ajustes específicos de ganhadores em portrait */
    .ganhadores-final .box-amarelo {
        margin: 20px 50px;
    }

    .ganhadores-final .box-amarelo .box-ganhador {
        width: 80%;
    }

    /* Ajustes gerais da coluna esquerda */
    .esquerda {
        padding: 1% 1% 0;
    }

    .ganhadores-final .box-amarelo .box-ganhador .nome,
    .ganhadores-final .box-amarelo .box-ganhador .codigo,
    .ganhadores-final .box-amarelo .box-ganhador .valor {
        font-size: 4vw;
    }
    
    
    .proximos .acumulado.major .label, .proximos .acumulado.major .value{
        font-size: 7vw !important;
    }
    
    .proximos .acumulado.minor .label, .proximos .acumulado.minor .value{
        font-size: 6vw !important;
    }
    .proximos .acumulado.mini .label, .proximos .acumulado.mini .value{
        font-size: 5vw !important;
    }
    .proximos .premio{
        padding: 3vw;
    }
}
.proximos .linha:first-child .box{
    flex: 1;              /* cada box ocupa a mesma fração */
    box-sizing: border-box;
}
.proximos .linha:first-child .box:not(:last-child) {
    border-right: 1px solid #999;
}
.proximos .linha:first-child .info::before{
    display: none;
}

.one-prizes .proximos .premio .balls{
    margin-left: 10vw;
    font-weight: 600;
    font-size: 1.5vw;
    display: block;
}
.one-prizes .proximos .premio{
    width: 70%;
    height: auto;
    margin: auto;
    text-transform: uppercase!important;
    border-color: white;
    display: flex;
    justify-content: normal;
    color: yellow;
    animation: balancar 9s infinite ease-in-out;
}
.one-prizes .proximos .acumulado {
    background: linear-gradient(to bottom, var(--twelfth-color), var(--tenth-color))!important;
    color: white;
}
.one-prizes .proximos .premio .value{
    position: absolute;
    right: 3vw;
}
.one-prizes .proximos .premio .label{
    font-size: 1.2vw;
}

.one-prizes .proximos .acumulado .label{
     font-size: 2vw;
}
/* Primeiro elemento */
.one-prizes .proximos .major {
  width: 100%;
    margin: 2px auto;
}
.premios .major .acumulado-numero span,
.premios .minor .acumulado-numero span,
.premios .mini .acumulado-numero span{
    font-size: 2vw;
}
.one-prizes .numAcumulado {
    color: white;
    font-weight: 600;
    font-size: 2vw;
}
.one-prizes .proximos .premio .star-acumulado{
 top: unset!important;   
}
.one-prizes .proximos .acumulado .label{
    display: flex;
    align-items: center;
}
.one-prizes .proximos .major .star-acumulado{
    background-image: url('./images/ball-gold.png');
    
}
/* Segundo elemento */
.one-prizes .proximos .minor {
  width: 90%;
    margin: 2px auto;
}
.one-prizes .proximos .minor .star-acumulado{
    background-image: url('./images/ball-silver.png');
}
/* Terceiro elemento */
.one-prizes .proximos .mini {
    width: 80%;
    margin: 2px auto;   
}

.one-prizes .proximos .mini .star-acumulado{
    background-image: url('./images/ball-bronze.png');
}
.one-prizes .proximos .premio .label::before{
    display: none!important;
}
.one-prizes .acumulado .star-acumulado {
    width: 3.5vw;
    height: 3.5vw;
    max-width: 95px;
    max-height: 95px;
    padding: 0;
    top: -2.5vw;
    border-radius: 100%;
    animation: pulse-ball 1.5s infinite ease-in-out;
}

@media (orientation: portrait) {


.one-prizes .acumulado .star-acumulado {
    width: 9vw;
    height: 9vw;  
}
.one-prizes .proximos .premio .label{
        padding-right: 0;
        font-size: 3vw;
    }
.one-prizes .proximos .premio .balls{
    font-size: 3vw;
    margin-left: 14vw;
}

.proximos .info .label{
    font-size: 4vw!important;
    line-height: 4.5vw!important;
}

.proximos .info .value{
    font-size: 4vw!important;
    line-height: 4.5vw!important;
}
.proximos .show_points_and_players .info .value,
.proximos .show_points_and_players .info .label{
    font-size: 3vw!important;
    line-height: 3.5vw!important;
}


.premios .major .acumulado-numero span,
.premios .minor .acumulado-numero span,
.premios .mini .acumulado-numero span{
    font-size: 4vw;
}
.one-prizes .numAcumulado{
    font-size: 4vw;
}
}
#app-kit-games{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 40px;
    align-content: start;
}
.game-card {
    max-width: 500px;
    border-radius: 10px;
    overflow: hidden;
}
.game-card .btn{
    position: absolute;
    bottom: 5px;
    right: 10px;
}
#app-kit-rodadas-finalizadas .card-body p{
    font-size: 0.8rem;
}
#app-kit-rodadas-finalizadas .card-body h6{
    font-size: 0.8rem!important;
    margin-bottom: 20px!important;
}
@media(max-width: 768px) {
    .cartelas-compradas{
        font-size: 3.5vw;
    }
    #app-kit-rodadas .card-body .col-3,
    #app-kit-rodadas-finalizadas .card-body .col-3{
        flex: 50%;
        max-width: 50%;
        margin-top: 10px;
    }
}
#app-kit-games{
    min-height: 100vh;
}
.ganhadores-final .box-amarelo{
    border-color: cyan;
}
.ganhadores-final{
    flex-wrap: wrap;
    flex: 100%;
    justify-content: center;
    height: 100vh;
    overflow: auto;
}
.ganhadores-final .box{
    display: none;
}
.ganhadores-final .box-amarelo{
    display: flex;
}
.ganhadores-final .box-amarelo .box-ganhador{
    border: 0;
    box-shadow: 0 0 5px cyan, 0 0 10px cyan, 0 0 20px cyan, 0 0 20px cyan, 0 0 20px cyan;
    background: var(--sixth-color);
    max-width: 400px;
}
.ganhadores-final .box-amarelo .box-ganhador .codigo{
    background-color: var(--seventh-color);
    color: white;    
    width: 100%;
    margin: auto;
    margin-top: -20px;
    max-width: 200px;
}

h1.premio-title {
  --bg-size: 400%;
  --color-one: hsl(60 90% 70%);
  --color-two: hsl(40 95% 55%);
  background: linear-gradient(
      90deg,
      yellow,
      rgb(255, 255, 255),
      yellow
    )
    0 0 / var(--bg-size) 100%;
  animation: move-bg 5s infinite linear reverse;
  color: transparent;
  background-clip: text;
}

@keyframes move-bg {
  to {
    background-position: var(--bg-size) 0;
  }
}
.alert{
    margin: 15px;
}
.nav .nav-link[href*="/kit/games"] {
    background: red;
    color: white;
    margin: 5px 0;
}
.nav .nav-link[href*="/kit/games"] .arrow {
    color: white!important;
}
iframe{
    height: 96vh!important;
    overflow: auto;
}
.propaganda{
 position: relative;   
}

.propaganda{
 position: relative;   
}
#owl-propaganda {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    max-width: 500px;
}

#owl-propaganda .owl-stage-outer,
#owl-propaganda .owl-stage,
#owl-propaganda .owl-item,
#owl-propaganda .item {
    height: auto !important;
    max-height: none !important;
}

#owl-propaganda .owl-stage-outer {
    overflow: hidden;
}

#owl-propaganda .item img {
    display: block;
    width: 100%; 
    height: auto;  
    max-width: 100%;
}
