:root {
    --cts__cascade-item-height: 106px;
}

@media (min-width: 744px) {
    :root {
        --cts__cascade-item-height: 82px;
    }
}

@media (min-width: 1440px) {
    :root {
        --cts__cascade-item-height: 100px;
    }
}

/* 
body {
    background: url('/assets/images/cascade_bg_mobile.jpg') var(--cts__color-game-4d-jackpot);
    background-position: bottom center;
    background-size: 100% auto;
    background-repeat: no-repeat;
} */


body {
    background: var(--cts__color-game-4d-jackpot);
    overflow-x: clip;
}


.cts__cascade__header {
    padding-top: 32px;
    padding-bottom: 40px;
    color: var(--cts__color-white);
    position: relative;
    z-index: 10;
}

.cts__cascade__header h1 {
    margin-top: 40px;
    margin-bottom: 16px;

    text-align: center;
    font-weight: 700;
    font-size: 28px;
    line-height: 36px;
}

.cts__cascade__header p {
    text-align: center;
    font-weight: 500;
    font-size: 18px;
    line-height: 26px;
}

.cts__cascade__contents {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cts__cascade__what {
    margin-left: auto;
    margin-right: auto;

    padding: 10px 12px 40px 12px;
    background: var(--cts__color-white);
    border-radius: 20px;
    max-width: var(--cts__card-max-width);
    width: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;

    margin-bottom: 120px;

    position: relative;
    z-index: 10;
}

.cts__cascade__what__text {
    text-align: center;
}

.cts__cascade__what__text h2 {
    font-weight: 500;
    font-size: 22px;
    line-height: 30px;
}

.cts__cascade__what__text p {
    color: var(--cts__color-grey-1);
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    margin-top: 8px;
}

.cts__cascade__what__visual--mobile {
    width: auto;
    max-width: 250px;
    margin-left: auto;
    margin-right: auto;
}

.cts__cascade__what__visual--desktop {
    display: none;
}

.cts__cascade__when {
    position: relative;
    z-index: 10;
}

.cts__cascade__when__header {
    color: var(--cts__color-white);
    text-align: center;
    position: relative;
}

.cts__cascade__coin-1 {
    position: absolute;
    right: 0px;
    top: -60px;
}

.cts__cascade__coin-2 {
    position: absolute;
    left: -36px;
    top: 160px;
}

.cts__cascade__coin-3 {
    position: absolute;
    right: -36px;
    top: 200px;
}

.cts__cascade__when__header h2 {
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;

    margin-bottom: 10px;
}

.cts__cascade__when__header p {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.cts__cascade__items {
    margin-top: 20px;
    margin-bottom: 48px;
}

.cts__cascade__item {
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.cts__cascade__items--short {
    position: relative;
}

.cts__cascade__line-svg {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
}

.cts__cascade__line-svg line {
    /* stroke: var(--cts__color-grey-4); */
    stroke: var(--cts__color-white);
    stroke-width: 2;
    stroke-dasharray: 5 5;
    stroke-linecap: round;

    transition: all 0.5s ease;
}

.cts__cascade__line--tablet,
.cts__cascade__line--desktop-xl {
    display: none;
}

/* .cts__cascade__item-divider {
    margin-top: 20px;
    margin-bottom: 20px;

    height: 40px;
    width: 2px;
}

.cts__cascade__item-divider.long {
    height: 100px;
} */

/* 
.cts__cascade__item-divider line {
    stroke: var(--cts__color-white);
    stroke-width: 2;
    stroke-dasharray: 5 5;
    stroke-linecap: round;

    transition: all 0.5s ease;
}

.cts__cascade__item-divider line {
    stroke: var(--cts__color-white);
    stroke-width: 2;
    stroke-dasharray: 5 5;
    stroke-linecap: round;

    transition: all 0.5s ease;
} */

.cts__cascade__items--short .cts__cascade__item:first-of-type .cts__cascade__item__card {
    margin-top: 122px;
}

.cts__cascade__items--short .cts__cascade__item:nth-of-type(3) .cts__cascade__item__card {
    margin-bottom: 122px;
}

.cts__cascade__item .cts__cascade__item__card:not(.main) {
    margin-top: 77px;
}

.cts__cascade__item__card {
    background: var(--cts__color-white);
    border-radius: 20px;
    height: var(--cts__cascade-item-height);
    width: 100%;
    max-width: var(--cts__card-max-width);

    border-radius: 20px;
    display: grid;
    place-items: center;
    position: relative;

    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    text-align: center;

    padding: 0 16px;
}

.cts__cascade__item__card.main {
    height: auto;
    padding: 48px 16px 32px 16px;
}

.cts__cascade__tada {
    position: absolute;
    bottom: 260px;
    left: 0;
    right: 0;
    width: 1200px;
    left: 50%;
    transform: translateX(-50%);
    height: auto;
    z-index: 0;
}

.cts__cascade__item__card__main-content__wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cts__cascade__item__card__main-content__wrapper h3 {
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
}

.cts__cascade__item__card__main-content video {
    margin-top: 26px;
    margin-bottom: 26px;
    width: 100%;
    height: auto;
    max-width: 293px;
}

.cts__cascade__info {
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    color: var(--cts__color-grey-1)
}

.cts__cascade__info-banner {
    margin-top: 32px;

    width: 100%;
    background: var(--cts__color-blue-10);
    padding: 20px 12px;
    border-radius: 20px;

    display: flex;
    align-items: center;
    gap: 8px;

    box-sizing: border-box !important;
}

.cts__cascade__info-banner img {
    margin-bottom: 24px;
}

.cts__cascade__info-banner p {
    text-align: start;
    color: var(--cts__color-grey-1);
    font-size: 12px;
    line-height: 18px;
    font-weight: 400;
}

.cts__cascade__item__check {
    width: 36px;
    height: 36px;
    border-radius: 99px;
    background: var(--cts__color-green);
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);

    transition: all 0.3s ease;
}

.cts__cascade__item__check::before {
    content: '';
    display: block;
    width: 24px;
    height: 24px;
    background: url('/assets/images/our-game/icons/check_white.svg') no-repeat center center;
    background-size: contain;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);

    transition: all 0.5s ease;
}

.cts__cascade__item__card__blur-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--cts__color-blue-80);
    opacity: 0.6;
    border-radius: 20px;

    transition: all 0.5s ease;
}

.cts__cascade__footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 120px;
    position: relative;
    z-index: 10;
}

.cts__cascade__footer h3 {
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    color: var(--cts__color-white);
}

.cts__cascade__footer a {
    margin-top: 16px;
    margin-bottom: 30px;
}

@media (min-width: 744px) {

    .cts__cascade__line--mobile {
        display: none;
    }

    .cts__cascade__line--tablet {
        display: block;
    }

    .cts__cascade__what__visual--mobile {
        display: none;
    }

    .cts__cascade__what__visual--desktop {
        width: 250px;
        height: 250px;
        display: block;
    }

    .cts__cascade__item__card {
        max-width: 436px;
    }

    .cts__cascade__item__card.main {
        padding: 48px 72px 32px 72px;
    }

    .cts__cascade__what {
        width: 100%;
        max-width: 664px;

        padding: 10px 40px 10px 36px;

        flex-direction: row;
        justify-content: space-between;

        margin-bottom: 138px;
    }

    .cts__cascade__what__text {
        text-align: start;
    }

    .cts__cascade__what__text p {
        margin-top: 16px;
    }

    .cts__cascade__coin-1 {
        left: 120%;
        top: -60px;
        width: 58px;
        height: 54px;
    }

    .cts__cascade__coin-2 {
        left: -30%;
        top: 220px;
        width: 60px;
        height: 60px;
    }

    .cts__cascade__coin-3 {
        right: -40%;
        top: 250px;
        width: 58px;
        height: 54px;
    }
}

@media (min-width: 1024px) {

    .cts__cascade__header {
        padding-top: 88px;
    }
}

@media (min-width: 1200px) {

    .cts__cascade__line--tablet {
        display: none;
    }

    .cts__cascade__line--desktop-xl {
        display: block;
    }

    header h1 {
        margin-top: 48px;

        font-weight: 700;
        font-size: 56px;
        line-height: 64px;
    }

    header p {
        font-weight: 500;
        font-size: 24px;
        line-height: 32px;
    }

    .cts__cascade__what {
        max-width: 1036px;
        width: 100%;

        padding: 0px 74px 0px 68px;
    }

    .cts__cascade__what__visual--desktop {
        width: 360px;
        height: 360px;
    }

    .cts__cascade__what__text h2 {
        font-weight: 500;
        font-size: 32px;
        line-height: 40px;
    }

    .cts__cascade__what__text p {
        font-weight: 400;
        font-size: 18px;
        line-height: 26px;
    }

    .cts__cascade__item-divider {
        margin-top: 10px;
        margin-bottom: 10px;

        height: 36px;
    }

    .cts__cascade__item-divider.long {
        height: 72px;
    }


    .cts__cascade__item__card {
        max-width: 612px;

        font-size: 20px;
        font-weight: 500;
        line-height: 28px;
    }

    .cts__cascade__item__card.main {
        max-width: 1036px;

        padding: 80px 106px 80px 86px;
    }

    .cts__cascade__item__card__main-content__wrapper h3 {
        font-size: 40px;
        font-weight: 700;
        line-height: 48px;
    }

    .cts__cascade__item__card__main-content {
        display: flex;
        gap: 120px;
        justify-content: space-between;
        align-items: center;
    }

    .cts__cascade__info {
        font-size: 16px;
        line-height: 24px;
        text-align: start;
    }

    .cts__cascade__item__card__main-content {
        margin-top: 34px;
    }

    .cts__cascade__item__card__main-content video {
        margin: 0px;
        width: 293px;
        height: 293px;
    }

    .cts__cascade__info-banner {
        margin-top: 32px;
        padding: 16px 20px 16px 16px;

        display: flex;
        align-items: center;
        gap: 8px;

        box-sizing: border-box !important;
    }

    .cts__cascade__info-banner img {
        margin-bottom: 24px;
    }

    .cts__cascade__info-banner p {
        text-align: start;
        font-size: 14px;
        line-height: 22px;
        font-weight: 400;
    }

    .cts__cascade__tada {
        bottom: -80px;
        left: 0;
        right: 0;
        width: 1520px;
        left: 50%;
        transform: translateX(-50%);
        height: auto;
        z-index: 0;
    }

    .cts__cascade__coin-1 {
        left: 98%;
        top: -80px;
        /* width: 64px;
        height: 54px; */
    }

    .cts__cascade__coin-2 {
        left: -36px;
        top: 180px;
        /* width: 66px;
        height: 66px; */
    }

    .cts__cascade__coin-3 {
        right: 20px;
        top: 380px;
        /* width: 66px;
        height: 60px; */
    }

    .cts__cascade__when__header h2 {
        font-size: 40px;
        line-height: 48px;
        font-weight: 700;
    }

    .cts__cascade__when__header p {
        font-size: 20px;
        font-weight: 400;
        line-height: 28px;
    }

    .cts__cascade__footer h3 {
        font-size: 20px;
        line-height: 28px;
    }

    .cts__cascade__footer a {
        margin-top: 16px;
        margin-bottom: 30px;
    }
}