/* ================================== */
/* Category Page Layout */
/* ================================== */

.tudcb-game-container {
    margin: 16px 30px;
    max-width: 100%;
}

.tudcb-game-title {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    padding: 16px 0;
    margin: 20px 0;
    gap: 12px;
}

.tudcb-game-title p {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin: 0px;
    padding: 0px;
    font-weight: 900;
}

.tudcb-game-title img {
    width: 28px;
    height: 28px;
    display: block;
}

/* Game Grid - Full Width */
.tudcb-game-item-div {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 16px;
}

.tudcb-nav-game-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
}

.tudcb-nav-game-info p {
    color: var(--text-muted);
    margin: 0px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Recommend Section */
.recommend {
    margin: 20px 30px;
}

.recommend-content {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.tudcb-recommend-content {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 16px;
    margin: 16px 0;
}

/* Responsive */
@media (max-width: 1400px) {
    .tudcb-game-item-div,
    .tudcb-recommend-content {
        grid-template-columns: repeat(6, 1fr);
    }
    .recommend-content {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1000px) {
    .tudcb-game-item-div,
    .tudcb-recommend-content {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
    }
    .recommend-content {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .tudcb-game-item-div,
    .tudcb-recommend-content {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    .recommend-content {
        grid-template-columns: repeat(2, 1fr);
    }
    .tudcb-game-container,
    .recommend {
        margin: 12px 16px;
    }
}

@media (max-width: 480px) {
    .tudcb-game-item-div,
    .tudcb-recommend-content,
    .recommend-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .tudcb-game-container,
    .recommend {
        margin: 10px 12px;
    }
    .tudcb-game-title p {
        font-size: 1.2rem;
    }
}
