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

body {
    font-family: "Inter", sans-serif;
    display: flex;
    justify-content: center;
    color: #ffffff;
    background: #00B956;

}

.wrapper {
    position: relative;
    width: 100%;
    max-width: 430px;
    background: #00B956;
    border-radius: 8px;
    padding: 30px 20px 15px;
    overflow: hidden;
    text-align: center;
}

.badge18 {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 38px;
    height: 38px;
}

.logo img {
    height: 35px;
    margin-bottom: 38px;
}

.title {
    margin-bottom: 80px;
    color: #FFF;
    text-align: center;
    font-feature-settings: 'liga' off, 'clig' off;
    font-size: 34px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    font-feature-settings: 'liga' off, 'clig' off;
}

.btn {
    display: inline-block;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
}

.btn--primary {
    width: 90%;
    padding: 18px 24px;
    font-size: 20px;
    color: #ffffff;
    border: none;
    background: linear-gradient(90deg, #761B86 0%, #B22AC9 100%);
}

.btn--ghost {
    height: 38px;
    padding: 5px 20px;
    align-items: center;
    color: #FFF;
    border-radius: 100px;
    border: 1px solid #FFF;
    opacity: 0.6;
    background: transparent;
    text-align: center;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.btn--ghost:hover {
    background: rgba(255, 255, 255, 0.12);
}

.note {
    color: #FFF;
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px;
    display: block;
    margin: 20px 0;
    opacity: 0.9;
}

.back {
    margin-bottom: 60px;
}
.prizes {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 5px;
    border-radius: 20px;
    margin-bottom: 38px;
}

.prize {
    position: relative;
    display: flex;
    align-items: center;
    justify-content:flex-start;
    height: 100px;
    padding: 10px 20px;
    gap: 10px;
    align-self: stretch;
    border-radius: 20px;
    background: #333;
    overflow: hidden;
}
.prize__img {
    position: absolute;
    flex-shrink: 0;
}

.steam{
    width: 188px;
    height: 111px;
    aspect-ratio: 188.14/111.00;
    right: -20%;
    top: 10%;
}
.headphone{
    width: 139px;
    height: 139px;
    aspect-ratio: 1/1;
    right: 0;
    top: 0;
    transform: scaleX(-1);
}

.money{
    width: 151px;
    height: 113px;
    transform: rotate(90deg);
    right: 0;
    top: 0;
}

.prize__info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}
.prize__title {
    color: #FFF;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.prize__count {
    display: flex;
    width: 30px;
    height: 30px;
    padding: 10px 10px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    text-align: center;
    font-style: normal;
    font-weight: 700;
    line-height: 150%; /* 17px */
    border-radius: 100px;
    background: #B22AC9;
}

.prize__place {
    color: #FFF;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-top: 4px;
}

.coin {
    position: absolute;
}
.coin--br {
    z-index: 2;
    width: 114px;
    height: 114px;
    top: 29%;
    right: -5%;
    transform: scaleX(-1);
}
.coin--bl {
    width: 103px;
    height: 103px;
    bottom: 10%;
    left: -8px;
}

.footer {
    color: rgba(255, 255, 255, 0.70);
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
}

.footer a {
    color: inherit;
    text-decoration: underline;
}


@media (min-height: 700px) {
    .wrapper {
        padding: 10px 20px !important;
    }
    .logo img {
        height: 25px;
        margin-bottom: 15px;
    }
    .prizes {
        gap:10px !important;
        margin-bottom: 10px;

    }
    .title {
        margin-bottom: 20px !important;
    }
    .note{
        margin: 10px 0 !important;
    }
    .back{
        margin-bottom: 20px !important;
    }
}

@media (min-height: 740px) {
        .prizes {
            gap:10px !important;
        }
        .title {
            margin-bottom: 75px !important;
        }
        .note{
            margin: 20px 0 !important;
        }
        .back{
            margin-bottom: 35px !important;
        }
    }

@media (min-height: 840px) {
    .logo img {
        height: 35px !important;
        margin-bottom: 38px !important;
    }
    .back{
        margin-bottom: 40px !important;
    }
}
@media (min-height: 880px) {
    .prizes {
        gap:10px !important;
        margin-bottom: 38px !important;
    }
    .title {
        margin-bottom: 65px !important;
    }
    .note{
        margin: 20px 0 !important;
    }
    .back{
        margin-bottom: 50px !important;
    }
}
@media (min-height: 910px) {
    .wrapper {
        padding: 30px 20px !important;
    }
    .title {
        margin-bottom: 75px !important;
    }
    .back{
        margin-bottom: 50px !important;
    }
}

@media (max-width: 415px) {
        .back{
            margin-bottom: 25px;
        }
    }
@media (max-width: 400px) {
        .logo img {
            height: 25px;
        }
        .title {
            font-size: 30px;
            margin-bottom: 58px;
        }
        .back{
            margin-bottom: 15px;
        }
        .coin--bl{
        bottom: 8%;
        }
    }

@media (max-width: 375px) {
        .wrapper {
            padding: 20px 20px 10px;
        }
        .logo img {
            height: 25px;
            margin-bottom: 15px;
        }

        .badge18 {
            width: 28px;
            height: 28px;
        }

        .title {
            font-size: 30px;
            margin-bottom: 58px;
        }
        .prizes {
            gap:7px;
            margin-bottom: 22px;
            padding: 0 20px;
        }
        .prize{
            height: 75px;
        }
        .prize__count {
            width: 22px;
            height: 22px;
            font-size: 10px;
            padding: 0;
        }
        .prize__place{
            font-size: 10px;
        }
        .prize__title{
            font-size: 15px;
        }
        .steam{
            width: 142px;
            height: 84px;
        }
        .headphone{
            width: 105px;
            height: 105px;
        }
        .money{
            width: 100px;
            height: 70px;

        }

        .note{
            margin: 10px 0;
        }

        .btn--primary {
            font-size: 20px;
            padding: 16px 20px;
        }

        .btn--ghost {
            font-size: 14px;
            padding: 8px 28px;
        }
        .coin--bl{
            width: 77px;
            height: 77px;
        }
        .coin--br {
            right: -6%;
            width: 86px;
            height: 86px;
        }
    }
