*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.carousel-banner {
    width: 100%;
}

.carousel {
    max-width: 1152px;
    margin: 0 auto 56px auto;
    position: relative;
}

.carousel-slider {
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    touch-action: pan-y;
}

.card-wrapper {
    width: calc(100% / 3);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    border-radius: 10px;
    border: 3px solid #FFF;
    background: #000;
    box-shadow: 0 0 8px 5px rgba(0, 0, 0, 0.50);
}

.card-wrapper:nth-child(2) {
    margin: 0 1rem;
}

.card-num {
    height: 7%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

.card-wrapper:nth-child(1) .card-num {
    background: #F9C740;
}

.card-wrapper:nth-child(2) .card-num {
    background: #CB9606;
}

.card-wrapper:nth-child(3) .card-num {
    background: #997105;
}

.card-wrapper--inner_tcs {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-top: 1rem;
    color: #AFAFAF;
    text-align: center;
    font-size: 8px;
    font-style: normal;
    font-weight: 400;
    line-height: 11.25px; /* 140.625% */
    min-height: 15%;
}

.card-wrapper--inner_cta-validation {
    display: flex;
    justify-content: center;
}

.card-logo {
    height: 21%;
}

.car-button {
    cursor: pointer;
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    padding: .75rem 1.5rem;
    text-decoration: none;
    transition: .3s;
    white-space: nowrap;
    border-radius: 30px;
}

.card-logo-licence {
    text-align: center;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 18px; /* 150% */
    text-transform: uppercase;
}

.card-num--text {
    text-align: center;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 18px; /* 75% */
    padding: 1rem 0;
}

.card-wrapper--inner {
    height: 73%;
    padding: 24px 16px;
}

.card-wrapper--inner_bonus {
    min-height: 30%;
}

.card-wrapper--inner_bonus--heading {
    width: fit-content;
    margin: auto auto 8px auto;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 18px; /* 150% */
    text-transform: uppercase;

}

.card-wrapper--inener_score-star .star-rating {
    justify-content: center;
    margin-bottom: 24px;
}

.card-wrapper--inner_bonus--offer {
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 30px; /* 125% */
    margin-bottom: 1rem;
}

@media screen and (max-width: 1215px) {
    .carousel {
        max-width: 1024px;
    }
}

@media screen and (min-width: 769px) {
    .carousel {
        overflow: hidden;
    }
}

/* ============================================
   MOBILE VARIATION: SLIDING (Horizontal Scroll)
   ============================================ */
@media screen and (max-width: 768px) {
    .carousel.sliding {
        max-width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 0 16px;
        margin-bottom: 32px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }
    .carousel.sliding .car-button{
        font-size: 14px;
    }
    .carousel.sliding::-webkit-scrollbar {
        height: 8px;
    }

    .carousel.sliding::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.1);
        border-radius: 4px;
    }

    .carousel.sliding::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.3);
        border-radius: 4px;
    }

    .carousel.sliding::-webkit-scrollbar-thumb:hover {
        background: rgba(0, 0, 0, 0.5);
    }

    .carousel.sliding .carousel-slider {
        gap: 16px;
        flex-wrap: nowrap;
        touch-action: pan-x pan-y;
        width: max-content;
    }

    .carousel.sliding .card-wrapper {
        min-width: calc(100vw - 64px);
        width: calc(100vw - 64px);
        flex-shrink: 0;
    }

    .carousel.sliding .card-wrapper:nth-child(2) {
        margin: 0;
    }

    .carousel.sliding .card-wrapper--inner_bonus--offer {
        font-size: 18px;
        line-height: 145%;
        font-weight: 700;
    }

    .carousel.sliding .card-num--text {
        font-size: 24px;
    }

    .brand-logo {
        width: 130px;
    }
}

@media screen and (max-width: 480px) {
    .carousel.sliding {
        padding: 0 12px;
    }

    .carousel.sliding .card-wrapper {
        min-width: calc(100vw - 145px);
        width: calc(100vw - 145px);
    }

    .carousel.sliding .score {
        font-size: 40px !important;
    }

    .carousel.sliding .card-wrapper--inner {
        padding: 16px 12px;
    }

    .carousel.sliding .hero-feature {
        font-size: 12px;
        font-weight: 700;
    }

    .carousel.sliding .card-wrapper--inner_bonus--offer {
        font-size: 18px;
        line-height: 24px;
    }

    .carousel.sliding .card-logo-licence {
        font-size: 12px;
        font-weight: 500;
    }

    .carousel.sliding .card-wrapper--inner_bonus--heading {
        text-align: center;
        font-size: 12px;
        font-style: normal;
        font-weight: 600;
        line-height: 18px; /* 150% */
        text-transform: uppercase;
    }

    .carousel.sliding .card-wrapper--inner_tcs {
        font-size: 8px;
        margin-top: 0.5rem;
        overflow-y: scroll;
    }

    .carousel.sliding .td-star .icon {
        width: 16px;
        height: 16px;
    }
}

/* ============================================
   MOBILE VARIATION: COLUMN (Vertical Stack)
   ============================================ */
@media screen and (max-width: 768px) {
    .carousel.column {
        max-width: 100%;
        overflow: visible;
        padding: 0 16px;
        margin-bottom: 32px;
    }

    .carousel.column .carousel-slider {
        flex-direction: column;
        gap: 24px;
        width: 100%;
    }

    .carousel.column .card-wrapper {
        width: 100%;
        min-width: auto;
    }

    .carousel.column .card-wrapper:nth-child(2) {
        margin: 0;
    }

    .carousel.column .card-wrapper--inner_bonus--offer {
        font-size: 20px;
        line-height: 26px;
    }

    .carousel.column .card-num--text {
        font-size: 20px;
    }
}

@media screen and (max-width: 480px) {
    .carousel.column {
        padding: 0 12px;
    }

    .carousel.column .carousel-slider {
        gap: 20px;
    }

    .carousel.column .card-wrapper--inner {
        padding: 16px 12px;
    }

    .carousel.column .card-wrapper--inner_bonus--offer {
        font-size: 18px;
        line-height: 24px;
    }

    .carousel.column .card-wrapper--inner_bonus--heading {
        font-size: 10px;
        line-height: 16px;
    }

    .carousel.column .card-logo-licence {
        font-size: 10px;
        line-height: 16px;
    }
}

@media screen and (max-width: 768px) {
    .card-num {
        height: 7%;
    }

    .card-logo {
        height: 18%;
    }

    .card-wrapper--inner {
        height: 75%;
    }
}