.match-intro__outer-container,
.match__outer-container {
    background-color: var(--color-cherry-1200);
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: var(--spacing-x3) var(--page-padding) var(--spacing-x10);


    @media screen and (min-width:960px) {
        padding: 0;
    }
}

.match-intro__container {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    flex-direction: column;
    z-index: 1;
    position: relative;
    margin-top: auto;
    margin-bottom: auto;
    width: 100%;

    @media screen and (min-width:1400px) {
        margin-top: 0;
        margin-bottom: 0;
        max-width: 798px;
    }

    @media screen and (min-width:960px) and (max-width:1440px) {
        margin-top: 0;
        margin-bottom: 0;
        max-width: 650px;
    }
}

.match-intro__pre-heading {
    color: var(--color-contrast-100);
    text-align: center;
    font: var(--font-overline-lg);
    text-transform: uppercase;
}

.match-intro__heading {
    color: var(--color-accent-coral, #FF5A58);
    text-align: center;
    font: var(--font-title-md);
    margin-top: var(--spacing-x3);

    @media screen and (min-width:1440px) {
        font: var(--font-title-lg);
    }

    @media screen and (min-width:960px) and (max-width:1440px) {
        font: var(--font-title-sm);
    }
}



.match-intro__button-container {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: var(--spacing-x2);
    width: 100%;
    justify-content: center;
    margin-top: var(--spacing-x5);

    @media screen and (min-width:960px) {
        flex-direction: row;
        gap: var(--spacing-x3);
    }
}

.match-intro__button-container>.optimization-button {
    width: 100%;

    @media screen and (min-width:960px) {
        width: 218px;
    }
}


.match__floating-images {
    object-fit: cover;
    position: absolute;
    width: 136px;
    height: 136px;
    transition: all 0.3s ease-in-out;

    @media screen and (min-width:960px) {
        width: 250px !important;
        height: 250px !important;
    }

    @media screen and (min-width:1200px) {
        width: 316px !important;
        height: 316px !important;
    }
}

.match__floating-images[data-index="0"] {
    top: -25px;
    left: 40px;

    @media screen and (min-width:960px) {
        top: -50px;
        left: 100px;
    }

    @media screen and (min-width:1200px) {
        top: -80px;
        left: 150px;
    }
}

.match__floating-images[data-index="1"] {
    width: 165px;
    height: 165px;
    border-top-right-radius: 120px;

    left: -35px;
    bottom: 15px;

    @media screen and (min-width:960px) {
        left: -80px;
        bottom: 40px;
        width: 250px;
        height: 250px;
    }

    @media screen and (min-width:1200px) {
        left: -100px;
        bottom: 60px;
        width: 316px;
        height: 316px;
    }
}

.match__floating-images[data-index="2"] {
    display: none;

    @media screen and (min-width:960px) {
        display: block;
        bottom: calc((250px / 2) * -1);
        right: 34%;
    }

    @media screen and (min-width:1200px) {
        bottom: calc((316px / 2) * -1);
    }
}

.match__floating-images[data-index="3"] {
    width: 160px;
    height: 160px;

    bottom: 52px;
    right: calc((136px / 2) * -1);

    @media screen and (min-width:960px) {
        right: -80px;
        bottom: 80px;
        width: 250px;
        height: 250px;
    }

    @media screen and (min-width:1200px) {
        right: -100px;
        bottom: 120px;
        width: 316px;
        height: 316px;
    }
}

.match__floating-images[data-index="4"] {
    width: 155px;
    height: 155px;
    border-bottom-left-radius: 120px;

    top: -25px;
    right: -35px;

    @media screen and (min-width:960px) {
        top: -80px;
        right: -80px;
        width: 250px;
        height: 250px;
    }

    @media screen and (min-width:1200px) {
        top: -100px;
        right: -100px;
        width: 316px;
        height: 316px;
    }
}

.matcher-go-back {
    display: flex;
    align-items: center;
    gap: var(--spacing-x1);

    @media screen and (max-width:960px) {
        border-radius: 50%;
        padding: var(--spacing-x1) var(--spacing-12);
        min-width: unset;
        height: 48px;
    }
}

.matcher-go-back span {
    display: none;

    @media screen and (min-width:960px) {
        display: block;
    }
}

.matcher-go-back::before {
    content: " ";
    display: block;
    background-image: url("data:image/svg+xml;utf8,\<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'>\<path d='M4.00995 11.9803H19M10.013 5.98828L4.00195 12.0003L10.013 18.0123' \stroke='%23F9F6F0' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/>\</svg>");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    width: 24px;
    height: 24px;
}