@font-face {
    font-family: "YourFontName400";
    src: url("/assets/fonts/Heading-Pro-Wide-Trial-Book.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
font-display: swap;
}

@font-face {
    font-family: "YourFontName900";
    src: url("/assets/fonts/Heading-Pro-Wide-Trial-ExtraBold.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
        font-display: swap;
}

* {
    padding: 0;
    margin: 0;
    border: 0;
}

input:focus,
select:focus,
textarea:focus,
button:focus,
img:focus {
    outline: none;
    outline-style: none;
    outline-offset: 0;
}
:active,
:hover,
:focus {
    outline: 0;
    outline-offset: 0;
}
img {
    outline: none;
    outline-style: none;
    outline-offset: 0;
}

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

:focus,
:active {
    outline: none;
}

a:focus,
a:active {
    outline: none;
}

nav,
footer,
header,
aside {
    display: block;
}

body {
}

html,
body {
    height: 100%;
    width: 100%;
    font-size: 100%;
    line-height: 1;
    font-size: 14px;
    -ms-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    overflow-x:hidden;
}

input,
button,
textarea {
    font-family: inherit;
}

input::-ms-clear {
    display: none;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    display: none;
}

input[type="number"] {
    -moz-appearance: textfield;
    /* Firefox */
}

button {
    cursor: pointer;
}

button::-moz-focus-inner {
    padding: 0;
    border: 0;
}

a,
a:visited {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

img {
    vertical-align: top;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: inherit;
    font-weight: inherit;
}

select {
    /* for Firefox */
    -moz-appearance: none;
    /* for Safari, Chrome, Opera */
    -webkit-appearance: none;
}
* {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* for IE10 */
select::-ms-expand {
    display: none;
}

.phone {
    width: 250px;
    height: 510px;
    position: relative;
}

.phone::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 250px;
    height: 100%;
    background: url("/assets/img/iphone14Pro.svg") no-repeat;
    background-size: 250px 100%;
    pointer-events: none;
    z-index: 3;
}

.wrapper {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    border-radius: 90px;
    background: url("/assets/img/game/top.svg") center -50px / cover no-repeat;
}

.wrapper::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    border-radius: 90px;
    background: url("/assets/img/game/bottom.svg") center 120px / cover no-repeat;
}

.main {
    flex: 1 1 auto;
    background: radial-gradient(94.57% 94.57% at 37.13% 19%, #c367fc 0%, #7918f5 100%);
    border-radius: 42px;
    position: absolute;
    top: 0;
    left: 5px;
    width: 240px;
    height: 100%;
    z-index: 1;
    overflow-x: hidden;
}

.star {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 450px;
}

.star img {
    max-width: 100%;
    height:100%;
    width:100%;
}

.game {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
}

.game.active {
    display: block;
}

.image {
    width: 105px;
}

.image img {
    max-width: 100%;
}

.chicken {
    z-index: 2;
    position: absolute;
    transform: translateX(-2%);
}

.border-game {
    position: relative;

    right: 4px;
}

#startGame {
    position: absolute;
    padding: 15px 45px;
    align-self: flex-start;
    text-decoration: none;
    background: linear-gradient(180deg, #b10bff 0%, #dd0bff 100%);
    border-radius: 10px;
    transition: 0.5s all;
    z-index: 2;
    white-space: nowrap;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-family: "Gilroy";
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
    text-align: center;
    color: #ffffff;
}

#startGame:hover {
    background: #fff;
    color: #dd0bff;
}

#startGame.hide {
    display: none;
}

.modal-wrapper {
    width: 100%;
    height: 100%;
    z-index: 10;
    position: fixed;
    top: 0;
    left: 0;
    background: radial-gradient(94.57% 94.57% at 37.13% 19%, #c367fc 0%, #7918f5 100%);

    display: none;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease;
}

.modal__wrapper-fake {
    width: 100%;
    height: 100%;
    z-index: 9;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal__wrapper-fake::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: url("/assets/img/game/top.svg") center -100px / cover no-repeat;
}

.modal__wrapper-fake::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: url("/assets/img/game/bottom.svg") center 270px / cover no-repeat;
}

.modal-wrapper.show {
    display: flex;
}

.modal-content {
    position: relative;
    width: 320px;
    background: #ffffff;
    border-radius: 10px;
    padding: 40px 20px 30px 20px;
    z-index: 9;
}

.modal-content h2 {
    font-family: "YourFontName900", sans-serif;
    font-style: normal;
    font-weight: 900;
    font-size: 24px;
    text-align: center;
    line-height: 28px;
    text-transform: uppercase;
    color: #3a2e4d;
}

.modal-content h3 {
    font-family: "YourFontName400", sans-serif;

    margin: 10px 0 0 0;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    text-transform: uppercase;
    color: #2c2c2c;
}

.close {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

.close img {
    width: 20px;
}

.block {
    margin: 30px 0 0 0;
}

.block__img img {
    max-width: 100%;
}

.block__title {
    font-family: "YourFontName900", sans-serif;

    text-align: center;
    position: relative;
    bottom: 120px;
    font-style: normal;
    font-weight: 800;
    font-size: 24px;
    line-height: 28px;
    background: linear-gradient(
        91.46deg,
        #ffffff -7.64%,
        #e4d6eb 21.19%,
        #ffffff 53.35%,
        #eddff4 80.01%,
        #ffffff 111.12%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    text-shadow: 0px 5.40034px 5.40034px rgba(92, 12, 69, 0.25);
}

.block__title span {
    font-family: "Montserrat", sans-serif;
    text-align: center;
    font-style: normal;
    font-weight: 800;
    font-size: 24px;
    line-height: 28px;
    background: linear-gradient(
        91.46deg,
        #ffffff -7.64%,
        #e4d6eb 21.19%,
        #ffffff 53.35%,
        #eddff4 80.01%,
        #ffffff 111.12%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    text-shadow: 0px 5.40034px 5.40034px rgba(92, 12, 69, 0.25);
}

.block__btn {
    width: calc(100% - 60px);
    position: relative;
    bottom: 110px;
    left: 30px;
    background: rgba(255, 255, 255, 0.28);
    box-shadow: inset -1.12215px 3.36645px 15.7101px rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(37.0309px);
    border-radius: 10px;
    font-family: "Montserrat", sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 53px;
    color: #ffffff;
}

.link {
    width: calc(100% - 40px);
    position: absolute;
    top: 320px;
    padding: 20px;
    background: linear-gradient(93.01deg, #ffc700 0%, #ffe601 50.31%, #ffd703 100%);
    backdrop-filter: blur(27.4286px);
    border-radius: 10px;
    text-align: center;
    font-family: "Montserrat", sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 22px;
    line-height: 20px;
    color: #262626;
}

.surprise {
    position: absolute;
    top: -70px;
    left: -30px;
    pointer-events: none;
}

.surprise img {
    width: 400px;
    height: 550px;
}

.fake-star {
    width: 850px;
}

.fake-star img {
    max-width: 100%;
}

.tryagain-wrapper {
    font-family: "YourFontName400", sans-serif;

    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 7;
    color: #fff;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.tryagain-wrapper.show {
    opacity: 1;
    visibility: visible;
    transition: all 0.3s ease;
}

@media (max-width: 330px) {
    .modal-content {
        width: 300px;
    }

    .modal-content h2 {
        font-size: 23px;
    }

    .modal-content h3 {
        font-size: 12px;
    }
}
