@media (min-width: 1440px) {
    body, body.iframe-page {

        margin-top: 00px;
    }
        .games-grid-index {
        display: grid; /* Garantindo o display grid */
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 20px;
        width: 90%;
        align-items: stretch; /* Força os cards da mesma linha a terem a mesma altura */
    }

     .game-icon-index {
        width: 7vw;
        height: 7vw;
        margin: 0 auto 10px;
        margin-top: 10px;
        background-color: transparent;
        border-radius: 50%;
        display: flex;
        size: 100%;
        align-items: center;
        justify-content: center;
        color: #303135;
        font-size: 1.5rem;
        background-size: 250% auto
        }      
    
}

@media (max-width: 1024px) {
    body, body.iframe-page {

        margin-top: 00px;
    }
        .games-grid-index {
        display: grid; /* Garantindo o display grid */
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 20px;
        width: 90%;
        align-items: stretch; /* Força os cards da mesma linha a terem a mesma altura */
    }
}

@media (max-width: 768px) {
    body, body.iframe-page {
        min-height: 100vh !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        padding: 20px !important;
        margin: 0 !important;
        overflow: auto !important;
    }  

    .games-container-index {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        max-width: 500px !important;
        padding: 2px !important;
        margin: 0 auto !important;
    }

    .games-grid-index {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .game-card-index {
        padding: 15px !important;
        margin: 0 !important;
    }

    .game-icon-index {
        width: 100px;
        height: 100px;
        margin: 0 auto 10px;
        margin-top: 0px;
        background-color: transparent;
        border-radius: 50%;
        display: flex;
        size: 100%;
        align-items: center;
        justify-content: center;
        color: #303135;
        font-size: 1.5rem;
        background-size: 250% auto
        }

}

@media (max-width: 425px) {
    body, body.iframe-page {
        min-height: 100vh !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        padding: 20px !important;
        margin: 0 !important;
        overflow: auto !important;
    }  

    .games-container-index {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        max-width: 500px !important;
        padding: 2px !important;
        margin: 0 auto !important;
    }

    .games-grid-index{
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .game-card-index {
       container-type: inline-size;
        text-align: center;
        transition: all 0.25s ease;
        width: 105%;
        max-width: 190px;
        min-height: 0; /* remove altura mínima */
        line-height: 1.0; /* reduz espaçamento entre linhas */
    }

    .game-card-index h3 {
        margin-top: 0px;
        margin-bottom: 10px;
        color: #ffffff;
        font-weight: 800;
        font-size: clamp(0.7rem, 12cqw, 1.3rem); /* 10% da largura do card */
        font-family: 'AntennaCondensed Black', sans-serif;
        white-space: nowrap;
    }

    .game-icon-index {
        width: 24vw;
        height: 24vw;
        margin: 0 auto 10px;
        margin-top: 0px;
        background-color: transparent;
        border-radius: 50%;
        display: flex;
        size: 100%;
        align-items: center;
        justify-content: center;
        color: #303135;
        font-size: 1.5rem;
        background-size: 250% auto
        }      

}