.fortwheel-gift {
    animation: fancyboxw_heartbeat 2.5s ease-in-out infinite both;
    background: url(../img/fortwheel-gift.svg) no-repeat 50%;
    background-size: contain;
    bottom: 45%;
    cursor: pointer;
    height: 73px;
    left: 5px;
    position: fixed;
    width: 73px;
    z-index: 10
}

.gift-fix {
    animation: fancyboxw_heartbeat_x2 2.5s ease-in-out infinite both;
    transform: scale(2);
}

@keyframes fancyboxw_heartbeat_x2 {
    0% {
        animation-timing-function: ease-out;
        transform: scale(2);
        transform-origin: center center
    }

    10% {
        animation-timing-function: ease-in;
        transform: scale(1.91)
    }

    17% {
        animation-timing-function: ease-out;
        transform: scale(1.98)
    }

    33% {
        animation-timing-function: ease-in;
        transform: scale(1.87)
    }

    45% {
        animation-timing-function: ease-out;
        transform: scale(2)
    }
}

@keyframes fancyboxw_heartbeat {
    0% {
        animation-timing-function: ease-out;
        transform: scale(1);
        transform-origin: center center
    }

    10% {
        animation-timing-function: ease-in;
        transform: scale(0.91)
    }

    17% {
        animation-timing-function: ease-out;
        transform: scale(0.98)
    }

    33% {
        animation-timing-function: ease-in;
        transform: scale(0.87)
    }

    45% {
        animation-timing-function: ease-out;
        transform: scale(1)
    }
}

.present {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: fixed;
    font-size: 16px;
    line-height: 1.4;
    font-family: sans-serif;
    padding: 30px 20px;
    border-radius: 20px;
    background-color: #fff;
    box-shadow: 0 0 50px 5px rgba(255, 255, 255, .2);
    width: 100%;
    max-width: 800px;
    box-sizing: border-box;
    z-index: 888
}

.present,
.present-overlay {
    transition: .3s;
    pointer-events: none;
    opacity: 0
}

.present.open,
.present-overlay.open {
    opacity: 1;
    pointer-events: auto
}

.present-overlay {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .8);
    z-index: 888;
    cursor: pointer
}

.present__close {
    position: absolute;
    right: -40px;
    top: -40px;
    width: 40px;
    height: 40px;
    color: #fff;
    font-size: 40px;
    font-weight: 400;
    line-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer
}

.present__title {
    margin: 0;
    padding: 0;
    font-size: 1.5em;
    font-weight: bolder;
    text-align: center;
    box-sizing: border-box
}

.present__subtitle {
    padding: 0;
    margin: 1em 0;
    text-align: center;
    box-sizing: border-box
}

.present__container {
    margin-top: 40px;
    display: flex
}

.present__item {
    box-sizing: border-box;
    display: grid;
    place-items: center;
    overflow: hidden
}

.present__item_1 {
    width: 55%
}

.present__item_2 {
    margin: 0 2.5%;
    width: 40%
}

.present .form__input {
    font-size: 16px;
    font-family: sans-serif;
    padding: 15px 20px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 0;
    background-color: #efefef;
    border-radius: 5px;
    outline: none;
    width: 100%;
    box-sizing: border-box;
    border: 2px solid rgba(0, 0, 0, 0)
}

.present .form__input.required {
    border: 2px solid red
}

.present .form__field {
    margin-top: 20px
}

.present .form__field_center {
    text-align: center
}

.present .form__field_flex {
    display: flex
}

.present .form__checkbox {
    font-size: 12px;
    display: flex;
    align-items: flex-start
}

.present .form__checkbox input {
    margin-right: .5em
}

.present .form__checkbox a {
    color: inherit;
    text-decoration: underline
}

.present__thanks {
    display: none
}

.present .thanks__text span {
    font-weight: bolder
}

.deal-wheel {
    --size: clamp(125px, 40vmin, 350px);
    --lg-hs: 0 3%;
    --lg-stop: 50%;
    --lg: linear-gradient(hsl(var(--lg-hs) 0%) 0 var(--lg-stop), hsl(var(--lg-hs) 20%) var(--lg-stop) 100%);
    position: relative;
    display: grid;
    align-items: center;
    grid-template-areas: "spinner" "trigger";
    font-size: calc(var(--size)/21)
}

.deal-wheel>* {
    grid-area: spinner
}

.btn-spin {
    grid-area: trigger;
    justify-self: center
}

.spinner {
    margin: 0;
    padding: 0;
    list-style: none;
    position: relative;
    display: grid;
    align-items: center;
    grid-template-areas: "spinner";
    width: var(--size);
    height: var(--size);
    transform: rotate(calc(var(--rotate, 25) * 1deg));
    border-radius: 50%
}

.spinner_idle {
    animation: spin 23s linear 0s infinite
}

@keyframes spin {
    0% {
        transform: rotate(0deg)
    }

    to {
        transform: rotate(1turn)
    }
}

.spinner * {
    grid-area: spinner
}

.prize {
    list-style: none;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    padding: 0 calc(var(--size)/6) 0 calc(var(--size)/20);
    width: 50%;
    height: 50%;
    transform-origin: center right;
    transform: rotate(var(--rotate));
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    color: #fff
}

.ticker {
    position: relative;
    left: calc(var(--size)/-15);
    width: calc(var(--size)/10);
    height: calc(var(--size)/20);
    background: var(--lg);
    z-index: 1;
    -webkit-clip-path: polygon(20% 0, 100% 50%, 20% 100%, 0% 50%);
    clip-path: polygon(20% 0, 100% 50%, 20% 100%, 0% 50%);
    transform-origin: center left
}

.btn-spin {
    color: #fff;
    background: #000;
    border: none;
    padding: 15px 30px;
    border-radius: 5px;
    display: inline-block;
    font-size: inherit;
    cursor: pointer
}

.btn-spin:disabled {
    cursor: progress;
    opacity: .25
}

.is-spinning .spinner {
    transition: transform 8s cubic-bezier(0.1, -0.01, 0, 1)
}

.is-spinning .ticker {
    animation: tick 700ms cubic-bezier(0.34, 1.56, 0.64, 1)
}

@keyframes tick {
    40% {
        transform: rotate(-12deg)
    }
}

.prize.selected .text {
    color: #fff;
    animation: selected 800ms ease
}

@keyframes selected {
    25% {
        transform: scale(1.25);
        text-shadow: 1vmin 1vmin 0 rgba(0, 0, 0, .1)
    }

    40% {
        transform: scale(0.92);
        text-shadow: 0 0 0 rgba(0, 0, 0, .2)
    }

    60% {
        transform: scale(1.02);
        text-shadow: .5vmin .5vmin 0 rgba(0, 0, 0, .1)
    }

    75% {
        transform: scale(0.98)
    }

    85% {
        transform: scale(1)
    }
}

@media screen and (max-width: 800px) {
    .deal-wheel {
        --size: clamp(150px, 60vmin, 500px)
    }

    .present {
        max-width: none
    }

    .present__container {
        flex-direction: column
    }

    .present__item_1 {
        width: 100%
    }

    .present__item_2 {
        margin: 0;
        width: 100%
    }

    .present__close {
        right: 0
    }

    .present .form__checkbox {
        font-size: 9px
    }
}