@media screen and (max-width: 320px) {
    .app_content {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media screen and (min-width: 320px) and (max-width: 620px) {
    .app_content {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media screen and (min-width: 620px) {
    .app_content {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

/* Responsividade Desktop */
@media screen and (min-width: 1024px) {
    .app {
        max-width: 900px;
        padding: 30px 40px 20px 40px;
    }

    header .container-menu {
        max-width: 900px;
        padding: 15px 40px;
    }

    .app_head h2,
    .app_head h2>div {
        font-size: 22px;
    }

    .app_head h2 i {
        font-size: 20px;
        padding: 8px;
    }

    .btnsHome {
        grid-template-columns: 1fr 1fr 1fr;
        max-width: 600px;
        margin: 25px auto;
    }

    .btnsHome button {
        font-size: 14px;
        padding: 15px 20px;
    }

    #containerGanhos {
        max-width: 100%;
    }

    .swiper.banners {
        max-width: 100%;
        margin: 0 auto;
    }

    .banner-link img {
        max-height: 500px;
    }

    .bannerSalaVip img {
        max-width: 100%;
        border-radius: 12px;
    }

    .app_content.install {
        grid-template-columns: repeat(2, 1fr) !important;
        max-width: 600px;
        margin: 20px auto;
    }

    .install a {
        padding: 20px;
        font-size: 16px;
    }

    .popup-content {
        max-width: 600px;
        padding: 50px 40px;
    }

    .header-popup h3 {
        font-size: 24px;
    }

    .popup-content .content ul {
        font-size: 16px;
        row-gap: 18px;
    }
}

@media screen and (min-width: 1440px) {
    .app {
        max-width: 900px;
        padding: 40px 20px 25px 20px;
    }

    header .container-menu {
        max-width: 900px;
        padding: 20px 50px;
    }

    .app_content {
        gap: 1.5rem;
    }

    .btnsHome {
        max-width: 700px;
    }
}

.app_coluna {
    padding: 0;
}

.app_content img {
    width: 100%;
    object-fit: cover;
    overflow: hidden;
    border-radius: 6px;
    position: relative;
    border: 1px solid #1d1d1d;
}

.imagem_app {
    transition: all 400ms ease-in-out;
    position: relative;
    aspect-ratio: 4/4;
    overflow: hidden;
    object-fit: cover;
}

.imagem_app:hover img {
    position: relative;
    opacity: 0.8;
    transform: scale(1.05);
}

.imagem_app::after {
    content: "Abrir";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    color: #ffffff;
    font-size: 20px;
    background: #0000005e;
    padding: 10px 20px;
    border-radius: 6px;
    font-family: 'Dystopian', sans-serif;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 400ms ease-in-out;
}

.imagem_app:hover::after {
    opacity: 1;
}

.assertividade {
    display: grid;
    justify-items: center;
    grid-template-columns: 1fr 1fr;
    column-gap: 8px;
    row-gap: 8px;
    margin: 6px 0 0 0;
    padding: 10px;
    font-family: 'Dystopian', sans-serif;
}

.assertividade> :nth-child(2)>b {
    color: #1BFFC8;
}

.assertividade> :nth-child(3)>b {
    color: #af0808;
}

.assertividade>span:nth-child(4) {
    grid-column: span 2;
    text-align: center;
    font-size: 14px;
}

.resultados-container {
    grid-column: span 2;
    text-align: center;
    font-size: 14px;
    display: flex;
    column-gap: 5px;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    margin: 0 0 4px 0;
}

.pulsar-resultados {
    text-align: center;
    background: #1ee800;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgb(154 239 166);
    margin: 10px 3px 0px 8px;
    height: 10px;
    width: 10px;
    transform: scale(1);
    animation: pulse-black 1s infinite;
    margin-top: 0px;
}

@keyframes pulse-black {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgb(133 230 80 / 70%);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
}


.assertividade span {
    font-family: 'Dystopian', sans-serif;
    font-size: 12px;
    width: 100%;
    text-align: center;
    min-height: 17px;
}

.assertividade b {
    font-family: 'Dystopian', sans-serif;
    font-size: 14px;
    font-weight: 600;
    margin: 0 6px 0 0;
}

header .container-menu {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: space-between;
    align-items: center;
    column-gap: 15px;
    padding: 12px 20px;
    min-height: 90px;
}

header h1>span {
    font-size: 10px;
    margin-bottom: -10px;
}

header h1 {
    color: var(--primary);
    text-transform: uppercase;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    column-gap: 15px;
    row-gap: 11px;
}

header .logo {
    max-width: var(--logo-size);
    border-radius: 0;
}

.app_head {
    background: transparent;
    padding: 0;
}


.app_head h2,
.app_head h2>div {
    font-size: 19px;
    font-family: 'Dystopian', sans-serif;
    font-weight: 700;
    margin: 15px 0 8px 0;
    color: var(--primary);
    text-align: left;
    display: flex;
    align-items: center;
    text-transform: capitalize;
}

.app_head h2 i {
    font-size: 18px;
    margin: 0 10px 0 0;
    display: inline-flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    background: var(--primary);
    color: var(--btnColor);
    padding: 6px;
    border-radius: 5px;
}

@media screen and (max-width: 380px) {
    .app_head h2 {
        font-size: 18px;
    }

    .app_head h2 i {
        font-size: 16px;
    }
}

.app_coluna {
    color: #fff;
}

a.sair i {
    color: #fff;
    font-size: 20px;
}

.swiper-wrapper {
    -webkit-transition-timing-function: linear !important;
    -o-transition-timing-function: linear !important;
    transition-timing-function: linear !important;
}

.swiper-slide {
    width: 100% !important;
    min-width: 265px;
    overflow: hidden;
}

.small-box {
    background: #151515;
    border: 1px solid #404040;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 10px;
    padding: 10px 15px;
    min-height: 110px;

    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}

/* .parte-direita {
    width: 230px;
    display: flex;
    flex-direction: column;
} */

.agora {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 9px;
}

.parte-esquerda img {
    width: 40px;
    margin: 0 13px 0 0;
    border-radius: 3px;
}

.preco {
    display: flex;
    align-items: baseline;
    margin-bottom: 3px;
}

.preco p {
    font-size: 11px;
    margin-bottom: 0;
    margin-right: 2px;
}

.preco b {
    font-size: 23px;
    color: #03D318;
}

.preco .moeda {
    font-weight: bold;
    margin-bottom: 0;
    margin-left: 3px;
}

.mensagem p {
    display: flex;
    flex-wrap: wrap;
    font-size: 11px;
    column-gap: 5px;
    row-gap: 3px;
    align-items: flex-end;
}

.mensagem b {
    font-size: 14px;
}

.nome_jogador {
    text-align: left;
    width: 100%;
    margin-right: 5px;
    font-size: 14px !important;
}

.mensagem p {
    margin: 0;
}

.best_saques {
    margin: 0 0 20px 0;
}

.avisos_ganhos {
    pointer-events: none;
}

.install a {
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    padding: 16px;
    background-color: #000;
    filter: brightness(1) contrast(0.8);
    color: #fff;
    border-radius: 4px;
    background-image: none;
    overflow: hidden;
    cursor: pointer;
    column-gap: 13px;
}

.install>a svg {
    width: 28px;
    fill: #fff;
}

.app_content.install {
    grid-template-columns: repeat(2, 1fr) !important;
}

.popup-overlay {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: #121214;
    z-index: 20;
    border-radius: 0;
    overflow: hidden;
}

a.close-button {
    /* position: absolute;
    top: 40px;
    right: 30px; */
    cursor: pointer;
}

.popup-content {
    height: 100%;
    background: #121214;
    overflow: hidden;
    padding: 40px 30px;
}

.popup-content {
    max-width: 450px;
    margin: 0 auto;
}

span.pontinhos {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}

span.pontinhos svg {
    width: 20px;
    height: 20px;
    fill: #fff;
}

.header-popup {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-start;
    column-gap: 20px;
    align-content: center;
}

.header-popup h3 {
    font-size: 20px;
}

.header-popup h3>b {
    font-size: 20px;
    color: var(--primary);
}

.header-popup h3>span {
    display: block;
    font-size: 11px;
    margin: 6px 0 0 0;
    font-weight: 500;
    color: #ffffff82;
}

.popup-content .content {
    margin: 30px 0;
}

.popup-content ul {
    list-style: decimal;
    padding: 0 0 0 20px;
    display: flex;
    flex-direction: column;
    row-gap: 14px;
}

a.close-button i {
    transform: scaleX(1.2);
    display: block;
}

.banner-link img {
    width: 100%;
    border-radius: 10px;
    user-select: none;
}

.swiper-slide.banner-link {
    display: inline-flex;
}

.swiper.banners {
    position: relative;
}

span#actionVoltar:not(.swiper-button-lock),
span#actionPassar:not(.swiper-button-lock) {
    display: flex;
}

span#actionVoltar {
    position: absolute;
    left: 5px;
    top: 0;
    bottom: 0;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    z-index: 10;
    cursor: pointer;
}

span#actionVoltar svg {
    width: 25px;
    height: 25px;
    fill: #fff;
}

span#actionPassar {
    position: absolute;
    right: 5px;
    top: 0;
    bottom: 0;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    z-index: 10;
    cursor: pointer;
}

span#actionPassar svg {
    width: 25px;
    height: 25px;
    fill: #fff;
}

.swiper-slide {
    width: 100% !important;
    overflow: hidden;
}

a.app_coluna {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.swiper-button-disabled {
    opacity: 0;
}

.imagem_app {
    border-radius: 8px !important;
}

.desativado .app_content,
.desativado main {
    filter: blur(4px);
    user-select: none;
    position: relative;
    pointer-events: none;
    cursor: not-allowed;
}

.desativado {
    overflow: hidden !important;
}

.desativado .app_content::before,
.desativado main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--background);
    z-index: 50;
    opacity: 0.4;
}

.desativado .actions-carrossel {
    visibility: hidden;
}

.banner-link img {
    object-fit: cover;
    max-height: 400px;
    object-position: top;
}

#containerGanhos {
    max-width: 100%;
    height: max-content;
    overflow: hidden;
    white-space: nowrap;
    margin: 15px 0 0 0;
    -webkit-overflow-scrolling: touch;
    position: relative;
}

@media screen and (max-width: 768px) {
    #containerGanhos {
        max-width: 100%;
    }
}

div#ganhos {
    display: inline-flex;
    gap: 10px;
    position: relative;
    animation: animacaoGanhos 400s linear infinite;
    -webkit-animation: animacaoGanhos 400s linear infinite;
    white-space: nowrap;
    cursor: none;
    min-height: 42px;
    will-change: transform;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    perspective: 1000px;
    -webkit-perspective: 1000px;
}

/* Duplicar conteúdo para loop infinito suave */
div#ganhos::after {
    content: '';
    display: none;
}

/* Otimizações para iOS/Safari */
@supports (-webkit-touch-callout: none) {
    div#ganhos {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
    
    #containerGanhos {
        -webkit-overflow-scrolling: touch;
        -webkit-transform: translateZ(0);
    }
}

@-webkit-keyframes animacaoGanhos {
    0% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
    100% {
        -webkit-transform: translate3d(-50%, 0, 0);
        transform: translate3d(-50%, 0, 0);
    }
}

@keyframes animacaoGanhos {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}


.ganho {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    padding: 12px 15px;
    border-radius: 8px;
    background-color: #000;
    filter: brightness(1) contrast(0.8);
    -webkit-filter: brightness(1) contrast(0.8);
    flex-shrink: 0;
    white-space: nowrap;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.ganho>span.nome {
    font-size: 14px;
    font-weight: 700;
}

.ganho b.valor {
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #11de2f;
}

.ganho b.par {
    font-size: 13px;
}

.ganho span.textoComplemento {
    font-size: 13px;
    color: #ffffffb5;
}

a.parMoeda {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    background: transparent;
    border-radius: 5px;
    max-height: 110px;
    overflow: hidden;
}

.imagemPar.hidden {
    display: none;
}

.alt-text {
    font-size: 16px;
    font-weight: 600;
    color: var(--btnColor);
    display: block;
}

.app_head h2,
.app_head h2>div {
    margin: 0 !important;
}

.app_head {
    margin: 15px 0 5px 0 !important;
}

.btnsHome {
    display: grid;
    gap: 12px;
    margin: 25px 0;
    max-width: 100%;
}

.btnsHome button {
    display: flex;
    gap: 10px;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 700;
    justify-content: center;
    align-items: center;
    padding: 16px 20px;
    margin: 0;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.btnsHome button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btnsHome button:hover::before {
    left: 100%;
}

.btnsHome button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.btnsHome button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.btnsHome i {
    display: flex;
    font-size: 18px;
    transition: transform 0.3s ease;
}

.btnsHome button:hover i {
    transform: scale(1.1);
}

.btnSaque,
.btnDeposito {
    background: linear-gradient(135deg, #20ef91 0%, #1dd682 100%);
    color: #000;
}

.btnSaque:hover,
.btnDeposito:hover {
    background: linear-gradient(135deg, #1dd682 0%, #1ac573 100%);
}

.btnConvidar {
    background: linear-gradient(135deg, var(--primary) 0%, #2599e6 100%);
    color: var(--btnColor);
}

.btnConvidar:hover {
    background: linear-gradient(135deg, #2599e6 0%, #1e87d1 100%);
}



@media screen and (min-width: 420px) {
    .btnsHome {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 419px) {
    .btnsHome {
        grid-template-columns: repeat(2, 1fr);
    }

    .btnsHome button {
        padding: 14px 16px;
        font-size: 13px;
    }

    .btnsHome i {
        font-size: 16px;
    }

    button.btnConvidar {
        display: none;
    }
}

@media screen and (min-width: 1024px) {
    .btnsHome {
        max-width: 600px;
        margin: 30px auto;
    }

    .btnsHome button {
        padding: 18px 24px;
        font-size: 15px;
    }

    .btnsHome i {
        font-size: 20px;
    }
}

.bannerSalaVip img {
    width: 100%;
    border-radius: 9px;
    margin: 5px 0 5px 0;
}

div#ultimoGanho {
    display: flex;
    gap: 5px;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    min-height: 40px;
}

#ultimoGanho > b:nth-child(1) {
    margin-left: 6px;
}

.call {
    position: relative;
}

.call::after {
    content: "\e0dc";
    font-family: uicons-regular-straight !important;
    font-style: normal;
    font-weight: 900 !important;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: absolute;
    font-size: 20px;
    margin-left: 5px;
    display: inline-flex;
    color: #35fd8e;
    height: 100%;
    align-items: center;
}

.put {
    position: relative;
}

.put::after {
    content: "\e0db";
    font-family: uicons-regular-straight !important;
    font-style: normal;
    font-weight: 900 !important;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: absolute;
    font-size: 20px;
    margin-left: 5px;
    display: inline-flex;
    color: #f51212;
    height: 100%;
    align-items: center;
}

div#acessarMercado {
    margin: 10px 0 0 0;
}

div#acessarMercado img {
    width: 100%;
    border-radius: 5px;
    border: 1.5px solid #1e1e1e;
    min-height: 70px;
    object-fit: cover;
}