body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

.game-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 15px;
}

.game-item {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    width: calc(100% / 6 - 15px);
    max-width: 273px;
    position: relative;
}

@media (max-width: 768px) {
    .game-item {
        width: 100%;
    }
}

.game-item:hover {
    transform: scale(1.05);
}

.game-thumb-link {
    text-decoration: none;
    color: black;
}

.game-thumb-image {
    width: 100%;
    height: auto;
}

.game-title-container {
    padding: 10px;
    font-size: 18px;
    line-height: 1.2;
    text-align: center;
}

.top-rated-label {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: red;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
}

.pagination {
    text-align: center;
    margin-top: 20px;
}

.pagination button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 15px;
    margin: 0 5px;
    cursor: pointer;
    border-radius: 5px;
}

.pagination button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

*, *::before, *::after
{
    box-sizing:inherit
}
.css-11r0q0n {
    padding-left: 80px;
    padding-right: 80px;
    padding-bottom: 20px;
    width: 100%;
    max-width: 1600px;
    justify-self: center;
}
.css-1lav3oo {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex ;
    margin-bottom: 8px;
}
.css-1lav3oo a{
    text-decoration:none;
    color:#A48EFF;
    font-weight:700;
}
.css-1o5e1pr {
    margin: 16px;
    content-visibility: auto;
    contain: layout paint;
    contain-intrinsic-size: 400px;
    overflow-anchor: none;
    border-radius: 10px;
    background-color: rgb(19, 20, 30);
    height: auto;
    position: relative;
    color: rgb(170, 173, 190);
    font-size: 16px;
}
.css-1o5e1pr a {
    text-decoration: none;
    color: rgb(164, 142, 255);
    font-weight: 700;
}
.css-ieoiqz {
    cursor: pointer;
    text-decoration: none;
    color: rgb(164, 142, 255);
    font-weight: 700;
}
.css-1o5e1pr p {
    color: #AAADBE;
    font-size: 16px;
}
.css-8b5xsp {
    margin: 0;
    -webkit-flex-shrink: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    border-width: 0;
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.12);
    border-bottom-width: thin;
    margin-top: 8px;
    margin-bottom: 8px;
    margin-left: 0px;
    margin-right: 0px;
}
.css-7tu4m6 {
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 30px;
    scrollbar-width: thin;
    scrollbar-color: #AAADBE transparent;
    padding-bottom: 0;
}