@media screen and (max-width: 768px) {
    body {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin: 0;
        height: 88vh;
        overflow: hidden;
    }

    .all2 {
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
    }

    .up {
        margin: 16px 0 8px 0;
    }

    .titulo h1 {
        font-size: 2rem;
    }

    .titulo h1 a {
        color: inherit;
        text-decoration: none;
    }

    .titulo h1 a:visited {
        color: inherit;
    }

    .titulo h1 a:hover {
        color: inherit;
        text-decoration: none;
    }

    .dotcom {
        color: #c4c4c4;
        font-size: 1.4rem;
    }

    .titulo p {
        font-size: 1rem;
    }

    .todo {
        flex: 1;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        padding: 0 8px 0 0;
    }

    .all {
        flex: 1;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .games-section {
        width: 100%;
        flex: 1;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .games-header {
        min-height: 95px;
        margin-bottom: 20px;
        flex-shrink: 0;
        margin: 20px 20px 10px 20px;
    }

    .games-header h1 {
        font-size: 1.5rem;
    }

    .games-header p {
        font-size: 0.9rem;
    }

    .games-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: max-content;
        gap: 20px;
        flex: 1;
        overflow-y: auto;
        overflow-x: hidden;
        padding: 20px;
        align-content: start;
    }

    .game-header {
        gap: 2px;
        margin: 10px 0;
    }

    .game-icon {
        font-size: 1.6rem;
    }

    .game-title {
        font-size: 1rem;
    }

    .game-description {
        font-size: 0.85em;
    }

    .game-action-btn {
        width: 100px;
        height: 35px;
        font-size: 0.8em;
    }

    .no-games-message {
        padding: 40px 15px;
        font-size: 1.1em;
    }

    .no-games-message .icon {
        font-size: 3em;
    }

    .block-cube .bg-inner {
        left: 2px;
        top: 2px;
        right: 2px;
        bottom: 2px;
    }

    h1 {
        font-size: 20px;
    }

    .block-cube.block-input .text {
        padding: 20px 10px;
    }

    .game-card .text {
        height: auto !important;
        display: flex;
        flex-direction: column;
        justify-content: flex-start !important;
        min-height: auto;
    }

    .game-card {
        align-self: start;
    }

    .pad18{
        padding: 18px !important;
    }
}