@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;600;700&display=swap');

.toplist-gamesreviews__wrapper {
    margin-bottom: 32px;
}

.toplist-gamesreviews__offers {
    display: flex;
    flex-direction: column;
    counter-reset: toplist-gamesreviews-counter 0;
    gap: 2px;
}

.toplist-gamesreviews__offer {
    position: relative;
    z-index: 1;
    display: grid;
    align-items: center;
    padding: 12px 24px 20px 8px;
    counter-increment: toplist-gamesreviews-counter 1;
    border-radius: 8px;
    background: #0f1719;
    gap: 0 24px;
    grid-template-areas:
        'label label coupon'
        'logo main cta-btn'
        'info info info';
    grid-template-columns: 187px auto 210px;
    grid-template-rows: 1fr;
}

.toplist-gamesreviews__offer:hover {
    z-index: 10;
}

.toplist-gamesreviews__offer.hidden {
    display: none;
}

.toplist-gamesreviews__offer:before {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    font-style: italic;
    line-height: 22px;
    position: absolute;
    top: 12px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    padding: 2px 3px 2px 0;
    content: counter(toplist-gamesreviews-counter);
    color: #000;
    border-radius: 0 0 12px;
    background: #e7e7ee;
    gap: 8px;
}

.toplist-gamesreviews__offer-top-rated {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    font-style: italic;
    line-height: 24px;
    min-height: 24px;
    margin: 1px 0 1px 26px;
    color: #fff;
    grid-area: label;
}

.toplist-gamesreviews__offer-coupon-code-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    max-width: 100%;
    height: 20px;
    margin: auto;
    padding: 2px 6px;
    cursor: pointer;
    border-radius: 4px;
    background: #29ab5133;
    grid-area: coupon;
}

.toplist-gamesreviews__offer-coupon-code {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 12px;
    font-weight: 600;
    font-style: normal;
    line-height: normal;
    letter-spacing: 1.68px;
    color: #bfbfbf;
}

.toplist-gamesreviews__offer-coupon-code:after {
    position: relative;
    top: 2px;
    display: inline-block;
    width: 13px;
    height: 13px;
    margin-left: 6px;
    content: '';
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13' viewBox='0 0 13 13' fill='none'%3E%3Cg clip-path='url(%23clip0_37124_342)'%3E%3Cpath d='M10.8333 4.875H5.95833C5.36002 4.875 4.875 5.36002 4.875 5.95833V10.8333C4.875 11.4316 5.36002 11.9167 5.95833 11.9167H10.8333C11.4316 11.9167 11.9167 11.4316 11.9167 10.8333V5.95833C11.9167 5.36002 11.4316 4.875 10.8333 4.875Z' stroke='%23BFBFBF' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M2.70703 8.12467H2.16536C1.87805 8.12467 1.6025 8.01054 1.39933 7.80737C1.19617 7.60421 1.08203 7.32866 1.08203 7.04134V2.16634C1.08203 1.87902 1.19617 1.60347 1.39933 1.40031C1.6025 1.19714 1.87805 1.08301 2.16536 1.08301H7.04036C7.32768 1.08301 7.60323 1.19714 7.8064 1.40031C8.00956 1.60347 8.1237 1.87902 8.1237 2.16634V2.70801' stroke='%23BFBFBF' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_37124_342'%3E%3Crect width='13' height='13' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
}

.toplist-gamesreviews__offer-logo-wrapper {
    display: flex;
    align-items: center;
    margin-top: -6px;
    grid-area: logo;
}

.toplist-gamesreviews__offer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 187px;
    min-width: 187px;
    height: 90px;
}

.toplist-gamesreviews__offer-logo img {
    width: 187px;
    height: 90px;
    padding: 0 6px;
    object-fit: contain;
}

.toplist-gamesreviews__offer-main {
    display: flex;
    align-items: center;
    margin-left: 24px;
    text-decoration: none;
    gap: 24px;
    grid-area: main;
}

.toplist-gamesreviews__offer-main:hover {
    text-decoration: none;
}

.toplist-gamesreviews__offer-title-wrapper {
    display: flex;
    align-items: center;
}

.toplist-gamesreviews__offer-bonus {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 12px;
    font-weight: 400;
    font-style: normal;
    line-height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    height: 16px;
    transform: rotate(270deg);
    text-align: center;
    letter-spacing: 0.72px;
    color: #fff;
    border-radius: 0 10px 0 0;
    background-color: #333;
}

.toplist-gamesreviews__offer-title {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 12px;
    font-weight: 400;
    font-style: italic;
    line-height: 25px;
    text-align: center;
    color: #e4e4e4;
}

.toplist-gamesreviews__offer-title span {
    font-family: 'Pressio TEST', sans-serif;
    font-size: 20px;
    font-weight: 500;
    font-style: normal;
    line-height: 30px;
    display: block;
    color: #fff;
}

.toplist-gamesreviews__offer-facts {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.toplist-gamesreviews__offer-fact {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    width: max-content;
    gap: 5px;
}

.toplist-gamesreviews__offer-fact-head {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 12px;
    font-weight: 400;
    font-style: italic;
    line-height: 20px;
    text-align: center;
    color: #e4e4e4;
}

.toplist-gamesreviews__offer-fact-body {
    font-family: 'Pressio TEST', sans-serif;
    font-size: 20px;
    font-weight: 500;
    font-style: normal;
    line-height: 24px;
    text-align: center;
    color: #fff;
}

.toplist-gamesreviews__offer-cta-btn {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 18px;
    font-weight: 700;
    font-style: normal;
    line-height: 1;
    position: relative;
    z-index: 1;
    display: flex;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 48px;
    margin: auto;
    padding: 0 48px 0 24px;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    letter-spacing: -0.18px;
    color: #fafaff;
    border: 3px solid #29ab51;
    border-radius: 100px;
    background: linear-gradient(90deg, #29ab51 0%, #007d26 100%);
    grid-area: cta-btn;
}

.toplist-gamesreviews__offer-cta-btn:after {
    position: absolute;
    z-index: 2;
    top: 6px;
    right: 8px;
    width: 29px;
    height: 29px;
    content: '';
    transition: all 0.3s ease;
    border-radius: 50%;
    background-color: #ffffe5;
    background-image: url("data:image/svg+xml,%3Csvg width='29' height='29' viewBox='0 0 29 29' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='29' height='29' rx='14.5' fill='%23FFFFE5'/%3E%3Cpath d='M7.875 14.9997H22.125M22.125 14.9997L15.3958 8.27051M22.125 14.9997L15.3958 21.7288' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
    background-repeat: no-repeat;
    background-position: center;
}

.toplist-gamesreviews__offer-cta-btn:before {
    position: absolute;
    z-index: -1;
    top: 6px;
    right: 8px;
    width: 29px;
    height: 29px;
    content: '';
    transition: all 0.3s ease;
    border-radius: 50%;
    background: #ffffe5;
}

.toplist-gamesreviews__offer-cta-btn:hover {
    text-decoration: none;
    color: #000;
}

.toplist-gamesreviews__offer-cta-btn:hover:before {
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border-radius: 100px;
}

.toplist-gamesreviews__offer-info {
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: -4px;
    padding-left: 16px;
    gap: 10px;
    grid-area: info;
}

.toplist-gamesreviews__offer-rating-wrapper,
.toplist-gamesreviews__offer-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.toplist-gamesreviews__offer-logo-wrapper .toplist-gamesreviews__offer-rating-wrapper {
    display: none;
}

.toplist-gamesreviews__offer-rating-value {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    font-style: normal;
    line-height: normal;
    display: flex;
    align-items: center;
    height: 20px;
    padding: 0 5px 0 4px;
    color: #fff;
    border-radius: 12px 0 12px 12px;
    background: #333;
}

.toplist-gamesreviews__offer-rating-value:after {
    width: 11px;
    height: 11px;
    margin-left: 3px;
    content: '';
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='12' viewBox='0 0 11 12' fill='none'%3E%3Cpath d='M11 4.20141L7.00307 3.92843L5.49781 0L3.99255 3.92843L0 4.20141L3.06225 6.90255L2.05739 11L5.49781 8.74089L8.93825 11L7.93338 6.90255L11 4.20141Z' fill='%23BAFF18'/%3E%3C/svg%3E");
}

.toplist-gamesreviews__offer-rating-tier {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 13px;
    font-weight: 400;
    font-style: normal;
    line-height: normal;
    display: flex;
    letter-spacing: 0.13px;
    text-transform: uppercase;
    color: #e4e4e4;
}

.toplist-gamesreviews__offer-rating-tier.exceptional:before,
.toplist-gamesreviews__offer-rating-tier.exceptional:after {
    width: 10px;
    height: 19px;
    margin-right: 3px;
    content: '';
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='19' viewBox='0 0 10 19' fill='none'%3E%3Cg clip-path='url(%23clip0_37295_195)'%3E%3Cpath d='M2.75942 6.80463C2.75942 6.80463 3.49566 5.85913 3.01922 4.54686C2.54361 3.23377 1.43136 2.73535 1.43136 2.73535C1.43136 2.73535 0.600497 3.86134 1.06532 5.14132C1.52764 6.4213 2.75942 6.80463 2.75942 6.80463Z' fill='%23E4E4E4'/%3E%3Cpath d='M4.80118 7.47567C4.80118 7.47567 6.0869 7.37217 6.82397 6.22632C7.56021 5.08046 6.99745 3.79883 6.99745 3.79883C6.99745 3.79883 5.80386 4.04058 5.04687 5.21624C4.29154 6.39273 4.80118 7.47567 4.80118 7.47567Z' fill='%23E4E4E4'/%3E%3Cpath d='M4.93313 8.9894C4.33799 10.2536 4.98459 11.2621 4.98459 11.2621C4.98459 11.2621 6.24707 10.9922 6.82727 9.76103C7.40497 8.52824 6.68035 7.33105 6.68035 7.33105C6.68035 7.33105 5.52826 7.72598 4.93313 8.9894Z' fill='%23E4E4E4'/%3E%3Cpath d='M7.83899 10.0088C7.83899 10.0088 6.73006 10.5097 6.25611 11.8253C5.78299 13.14 6.52172 14.0822 6.52172 14.0822C6.52172 14.0822 7.751 13.6947 8.2125 12.4139C8.674 11.1331 7.83899 10.0088 7.83899 10.0088Z' fill='%23E4E4E4'/%3E%3Cpath d='M8.76419 16.9231C8.76419 16.9231 9.83078 16.1995 9.90299 14.8401C9.97438 13.4806 8.84885 12.6436 8.84885 12.6436C8.84885 12.6436 7.93249 13.4425 7.85779 14.8376C7.78392 16.2326 8.76419 16.9231 8.76419 16.9231Z' fill='%23E4E4E4'/%3E%3Cpath d='M4.4028 4.27393C4.4028 4.27393 5.53912 3.89474 5.87279 2.53941C6.20729 1.18409 5.55987 0.15332 5.55987 0.15332C5.55987 0.15332 4.24177 0.630208 3.9164 1.95324C3.59103 3.27379 4.4028 4.27393 4.4028 4.27393Z' fill='%23E4E4E4'/%3E%3Cpath d='M2.76115 9.68648C2.76115 9.68648 3.18364 8.56629 2.34198 7.45273C1.49784 6.33833 0.288479 6.18848 0.288479 6.18848C0.288479 6.18848 -0.17385 7.50985 0.648714 8.5961C1.47128 9.68317 2.76115 9.68648 2.76115 9.68648Z' fill='%23E4E4E4'/%3E%3Cpath d='M3.70209 12.642C3.70209 12.642 3.86478 11.4564 2.79486 10.5557C1.72412 9.65652 0.51227 9.77906 0.51227 9.77906C0.51227 9.77906 0.356224 11.1708 1.39958 12.0468C2.44293 12.9227 3.70209 12.642 3.70209 12.642Z' fill='%23E4E4E4'/%3E%3Cpath d='M5.14062 15.086C5.14062 15.086 4.93644 13.9062 3.64324 13.3721C2.34839 12.8373 1.232 13.32 1.232 13.32C1.232 13.32 1.50591 14.6927 2.7659 15.2135C4.02672 15.7351 5.14062 15.086 5.14062 15.086Z' fill='%23E4E4E4'/%3E%3Cpath d='M5.76791 16.1013C4.41994 15.7262 3.36662 16.3372 3.36662 16.3372C3.36662 16.3372 3.80156 17.6661 5.11551 18.0353C6.42945 18.4004 7.45703 17.623 7.45703 17.623C7.45703 17.623 7.11506 16.4771 5.76791 16.1013Z' fill='%23E4E4E4'/%3E%3Cpath d='M4.5416 5.082L3.94065 4.78809C3.90911 4.85349 0.826363 11.385 9.48943 18.7702L9.92188 18.2643C1.67632 11.2327 4.42041 5.32872 4.5416 5.082Z' fill='%23E4E4E4'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_37295_195'%3E%3Crect width='10' height='19' fill='white' transform='matrix(-1 0 0 1 10 0)'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E%0A");
}

.toplist-gamesreviews__offer-rating-tier.exceptional:after {
    margin-right: 0;
    margin-left: 3px;
    transform: scaleX(-1);
}

.toplist-gamesreviews__offer-review-link {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 13px;
    font-weight: 400;
    font-style: normal;
    line-height: normal;
    display: flex;
    align-items: center;
    letter-spacing: 0.13px;
    color: #e4e4e4;
    text-decoration-line: underline;
    text-decoration-thickness: 2.5%;
    text-underline-offset: 12.5%;
    text-underline-position: from-font;
}

.toplist-gamesreviews__offer-review-link:hover {
    color: #baff18;
}

.toplist-gamesreviews__offer-review-link:before {
    width: 4px;
    height: 4px;
    margin-right: 8px;
    content: '';
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4' fill='none'%3E%3Ccircle cx='2' cy='2' r='2' fill='%23333333'/%3E%3C/svg%3E");
}

.toplist-gamesreviews__offer-payments {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 12px;
    font-weight: 400;
    font-style: italic;
    line-height: 20px;
    position: relative;
    z-index: 5;
    display: flex;
    margin-left: auto;
    gap: 4px;
}

.toplist-gamesreviews__offer-payments-head {
    color: #e4e4e4;
}

.toplist-gamesreviews__offer-payments-body,
.toplist-gamesreviews__offer-payments-rest {
    position: relative;
    color: #fff;
}

.toplist-gamesreviews__offer-payments-rest {
    position: relative;
    z-index: 15;
    color: #fff;
}

.toplist-gamesreviews__offer-payments-rest span {
    cursor: pointer;
    text-decoration: underline;
    text-underline-position: from-font;
}

.toplist-gamesreviews__offer-payments-tooltip {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 12px;
    font-weight: 400;
    font-style: italic;
    line-height: 20px;
    position: absolute;
    z-index: 999;
    top: 32px;
    left: 50%;
    flex-direction: column;
    width: max-content;
    max-width: 400px;
    padding: 12px 16px;
    transform: translateX(-50%);
    color: #fff;
    border-radius: 4px;
    background: #162426;
}

.toplist-gamesreviews__offer-payments-rest:hover > .toplist-gamesreviews__offer-payments-tooltip {
    display: block !important;
}

.toplist-gamesreviews__offer-payments-tooltip:before {
    position: absolute;
    bottom: 100%;
    left: 40%;
    margin-left: -8px;
    content: '';
    border-width: 8px;
    border-style: solid;
    border-color: transparent transparent #162426;
    border-top-width: 0;
}

.toplist-gamesreviews__show-more-wrapper {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    width: max-content;
    min-width: 182px;
    height: 56px;
    margin: 16px auto 0;
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 44px;
    background: #0f181a;
}

.toplist-gamesreviews__show-more-btn {
    font-family: 'Pressio TEST', sans-serif;
    font-size: 14px;
    font-weight: 500;
    font-style: normal;
    line-height: 24px;
    text-align: center;
    text-transform: uppercase;
    color: #fff;
}

.toplist-gamesreviews__show-more-btn:after {
    position: relative;
    top: -1px;
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-left: 4px;
    content: '';
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8' fill='none'%3E%3Cpath d='M4 1V7M1 4H7' stroke='white' stroke-width='1' stroke-linecap='round'/%3E%3C/svg%3E");
}

.toplist-gamesreviews__show-more-title {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 10px;
    font-weight: 400;
    font-style: italic;
    line-height: 16px;
    color: #e4e4e4;
}

@media (max-width: 1024px) {
    .toplist-gamesreviews__wrapper {
        margin-bottom: 24px;
    }

    .toplist-gamesreviews__offer {
        padding: 12px 0 16px;
        gap: 0;
        grid-template-areas:
            'label'
            'logo'
            'main'
            'coupon'
            'cta-btn'
            'info';
        grid-template-columns: auto;
    }

    .toplist-gamesreviews__offer:before {
        line-height: 20px;
    }

    .toplist-gamesreviews__offer-top-rated {
        line-height: 22px;
        margin-left: 34px;
    }

    .toplist-gamesreviews__offer-logo-wrapper {
        justify-content: space-between;
        gap: 8px;
    }

    .toplist-gamesreviews__offer-logo-wrapper .toplist-gamesreviews__offer-rating-wrapper {
        display: flex;
        align-items: end;
        flex-direction: column;
        padding-right: 24px;
    }

    .toplist-gamesreviews__offer-rating {
        flex-wrap: wrap;
        justify-content: end;
    }

    .toplist-gamesreviews__offer-rating-tier {
        letter-spacing: 0.26px;
    }

    .toplist-gamesreviews__offer-review-link {
        font-size: 10px;
        text-align: end;
        letter-spacing: 0.1px;
    }

    .toplist-gamesreviews__offer-review-link:before {
        display: none;
    }

    .toplist-gamesreviews__offer-main {
        z-index: 1;
        flex-direction: column;
        margin-top: -4px;
        margin-left: 0;
        padding: 0 14px;
        gap: 12px;
    }

    .toplist-gamesreviews__offer-title-wrapper {
        justify-content: space-between;
        width: 100%;
        gap: 8px;
    }

    .toplist-gamesreviews__offer-bonus {
        line-height: 20px;
        flex: 1 1 auto;
        width: auto;
        min-width: 50px;
        height: 21px;
        padding: 0 4px 1px 8px;
        transform: unset;
        border-radius: 10px 0 0;
    }

    .toplist-gamesreviews__offer-title {
        font-size: 23px;
        line-height: 24px;
        flex: 0 1 auto;
        width: auto;
        max-width: 100%;
        word-wrap: break-word;
    }

    .toplist-gamesreviews__offer-title span {
        font-size: 23px;
        line-height: 22px;
        display: unset;
        margin-left: 4px;
    }

    .toplist-gamesreviews__offer-title-extra {
        display: flex;
        flex-shrink: 0;
        width: 24px;
        min-width: 24px;
        height: 19px;
        background: #333;
    }

    .toplist-gamesreviews__offer-facts {
        align-items: normal;
        flex-wrap: wrap;
        gap: 12px 24px;
    }

    .toplist-gamesreviews__offer-fact {
        width: unset;
        gap: 2px;
    }

    .toplist-gamesreviews__offer-fact-head {
        font-size: 10px;
        line-height: 13px;
        margin-bottom: auto;
        color: #a3a3a3;
    }

    .toplist-gamesreviews__offer-fact-body {
        font-size: 16px;
        line-height: 22px;
    }

    .toplist-gamesreviews__offer-coupon-code-wrapper {
        height: 32px;
        margin: 16px auto 0;
        padding: 6px 8px;
    }

    .toplist-gamesreviews__offer-cta-btn {
        width: calc(100% - 64px);
        margin: 16px 32px;
    }

    .toplist-gamesreviews__offer-info {
        z-index: 2;
        justify-content: center;
        margin-top: 0;
        padding: 0 24px;
        gap: 0;
    }

    .toplist-gamesreviews__offer-info .toplist-gamesreviews__offer-rating-wrapper {
        display: none;
    }

    .toplist-gamesreviews__offer-payments {
        font-size: 10px;
        line-height: 13px;
        margin-left: unset;
    }

    .toplist-gamesreviews__offer-payments-head {
        color: #a3a3a3;
    }

    .toplist-gamesreviews__offer-payments-tooltip {
        font-size: 10px;
        line-height: 16px;
    }

    .toplist-gamesreviews__show-more-wrapper {
        height: 51px;
    }

    .toplist-gamesreviews__show-more-btn {
        line-height: 22px;
    }

    .toplist-gamesreviews__show-more-title {
        line-height: 13px;
    }
}
