@font-face {
    font-family: 'Metamorve';
    src: url('./images/h/fonts/MetamorveRegular.woff2') format('woff2'),
         url('./images/h/fonts/MetamorveRegular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Jolly Lodger';
    src: url('./images/h/fonts/JollyLodger.woff2') format('woff2'),
        url('./images/h/fonts/JollyLodger.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.h-page {
    min-height: 100vh;
    width: 100vw;
    background: linear-gradient(
        rgba(33, 18, 62, 0.9),
        rgba(33, 18, 62, 0.9)
    ), url(./images/h/bg.jpg);
    background-size: cover;
    background-attachment: fixed;
    overflow-x: hidden;
}

.h-page .h-block {
    max-width: 430px;
    height: 2809px;
    background: url(./images/h/background.png);
    margin: 0 auto;
    background-position: center;
}

.h-page .h-block .main {
    display: flex;
    flex-direction: column;
}
.h-page .h-block .main .close {
    width: calc(100%);
    /* padding: 20px; */
    display: flex;
    justify-content: flex-end;
}

.h-page .h-block .main .close svg {
    padding: 20px;
    cursor: pointer;
}

.h-page .h-block .logotype {
    width: 312px;
    height: 143px;
    margin: 0 auto;
    margin-top: -4px;
}

.h-page .h-block .main .timer {
    font-family: 'Metamorve';
    font-size: 26px;
    color: #572D69;
    text-align: center;
    margin-top: 53px;
    width: 170px;
    height: 62px;
    margin: 0 auto;
    margin-top: 18px;
}

.h-page .h-block .main .timer .time {
    width: 170px;
    height: 54px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
}

.h-page .h-block .main .timer svg {
    width: 170px;
    height: 62px;
}

.h-page .h-block .main .text {
    font-family: 'Jolly Lodger';
    color: #fff;
    font-size: 25px;
    text-align: center;
    max-width: 80%;
    margin: 0 auto;
    margin-top: 40px;
}

.h-page .h-block .gifts-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 248px;
    gap: 21px;
}
.h-page .h-block .gifts-block .title {}

.h-page .h-block .gifts {
    display: flex;
    height: 387px;
    align-items: center;
    justify-content: center;
}

.h-page .h-block .gifts-block .tickets-count {
    background: rgba(57, 21, 115, 0.8);border: 1px solid rgba(255, 255, 255, 0.20);border-radius: 24px;width: 155px;height: 40px;display: flex;justify-content: center;align-items: center;color: #FFF;font-family: "Jolly Lodger";font-size: 23px;margin-top: -46px;
    backdrop-filter: blur(3px);
    -o-backdrop-filter: blur(3px);
    -moz-backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.h-page .h-block .gifts .arrow {
    width: 49px;
    height: 56px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0.6;
}
.h-page .h-block .gifts .arrow.active {
    opacity: 1;
}
.h-page .h-block .gifts .arrow:first-child svg {
    transform: rotate(-180deg);
}
.h-page .h-block .gifts .arrow svg {}
.h-page .h-block .gifts .gifts-container {
    width: 250px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.h-page .h-block .gifts .gifts-container .gift {
    width: 250px;
    height: 263px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}
.h-page .h-block .gifts .gifts-container .gift .item {
    width: 196px;
    height: 208px;
    background: url(./images/h/gift.png);
    background-size: 86%;
    background-position: center;
    background-repeat: no-repeat;
    margin-left: 9px;
}

.h-page .h-block .gifts .gifts-container .gift .amount {
    color: #FFF;
    text-align: center;
    text-shadow: 0px 2.717px 11.614px #5900FF, 0px 2.717px 0px rgba(0, 0, 0, 0.25);
    font-family: "Jolly Lodger";
    font-size: 120px;
    font-style: normal;
    font-weight: 400;
     /* 86.932px */
    transform: rotate(-3deg);
    width: 196px;
    height: 208px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.h-page .h-block .gifts .gifts-container .gift .h-button {
    width: 135px;
    height: 55px;
    cursor: pointer;
}
.h-page .h-block .gifts .gifts-container .gift .h-button .content {
    width: 139px;
    height: 50px;
    font-family: 'Jolly Lodger';
    color: #fff;
    font-size: 20px;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
.h-page .h-block .gifts .gifts-container .gift .h-button svg {}

.h-page .h-block .main_prize {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 110px;
}
.h-page .h-block .main_prize .title {
    color: #FFF;
    text-align: center;
    text-shadow: 0px 4px 0px rgba(0, 0, 0, 0.25);
    font-family: "Jolly Lodger";
    font-size: 64px;
    font-style: normal;
    font-weight: 400;
}
.h-page .h-block .main_prize .details {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: -18px;
}
.h-page .h-block .main_prize .details .amount {
    color: #FFF;
    text-align: center;
    text-shadow: 0px 4px 17.1px #5900FF, 0px 4px 0px rgba(0, 0, 0, 0.25);
    font-family: "Jolly Lodger";
    font-size: 128px;
    font-style: normal;
    font-weight: 400;
    width: 430px;
    height: 135px;
    z-index: 1;
}

.h-page .h-block .main_prize .details .amount:nth-child(2) {position: absolute;opacity: 0.3;margin-left: -7px;margin-top: 7px;z-index: 0;}

.h-page .h-block .main_prize .details .timer {
    display: flex;
}
.h-page .h-block .main_prize .details .timer .text {
    color: #FFF;
    font-family: "Jolly Lodger";
    font-size: 25px;
    font-style: normal;
    font-weight: 400;
    width: 85px;
    text-align: right;
}
.h-page .h-block .main_prize .details .timer .time {
    width: 170px;
    height: 62px;
}
.h-page .h-block .main_prize .details .timer .time .content {
    color: #572D69;
    font-family: 'Metamorve';
    font-size: 25.076px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    width: 170px;
    height: 57px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    transform: rotate(-3deg);
}
.h-page .h-block .main_prize .details .timer .time svg {
    width: 170px;
    height: 62px;
}

.h-page .h-block .tasks {
    margin: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.h-page .h-block .tasks .title {
    color: #FFF;
    text-align: center;
    text-shadow: 0px 4px 0px rgba(0, 0, 0, 0.25);
    font-family: "Jolly Lodger";
    font-size: 32px;
    font-style: normal;
    font-weight: 400;
    width: 200px;
}
.h-page .h-block .tasks .tasks-list {
    display: flex;
    flex-direction: column;
}
.h-page .h-block .tasks .tasks-list .h-task {width: 368px;height: 107px;}
.h-page .h-block .tasks .tasks-list .h-task .task-content {
    width: 301px;
    height: 40px;
    padding: 15px;
    position: absolute;
    margin-top: 18px;
    margin-left: 18px;
    border-radius: 11px;
    background: linear-gradient(269deg, rgba(33, 18, 62, 0.50) 20.67%, #21123E 100.83%);
    backdrop-filter: blur(1px);
    display: flex;
    justify-content: space-between;
}
.h-page .h-block .tasks .tasks-list .h-task svg {
    width: 368px;
    height: 107px;
}

.h-page .h-block .tasks .tasks-list .h-task:nth-child(2) {
    margin-top: -20px;
}

.h-page .h-block .tasks .tasks-list .h-task .task-content .left {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: calc(100% - 39px);
}
.h-page .h-block .tasks .tasks-list .h-task .task-content .left .name {
    color: #fff;
    font-size: 16px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
}

.h-page .h-block .tasks .tasks-list .h-task:nth-child(1) .task-content .left .name svg {
    width: 20px;
    height: auto;
}
.h-page .h-block .tasks .tasks-list .h-task:nth-child(2) .task-content .left .name svg {
    width: 20px;
    height: auto;
}

.h-page .h-block .tasks .tasks-list .h-task .task-content .left .progress-block {
    width: calc(100% - 20px);
    height: 4px;
    display: flex;
    gap: 7px;
}
.h-page .h-block .tasks .tasks-list .h-task .task-content .left .progress-block .progress {
    width: 100%;
    height: 4px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.15);
}

.h-page .h-block .tasks .tasks-list .h-task .task-content .left .progress-block .progress .progress-line {
    height: 4px;
    max-width: 100%;
    background: rgba(73, 15, 210, 1);
    border-radius: 100px;
}

.h-page .h-block .tasks .tasks-list .h-task .task-content .left .progress-block .progress.active {
    background: rgba(73, 15, 210, 1);
}
.h-page .h-block .tasks .tasks-list .h-task .task-content .right {}
.h-page .h-block .tasks .tasks-list .h-task .task-content .right .icon {
    width: 39px;
    height: 39px;
    /* background: rgba(255, 255, 255, 0.3); */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.h-page .h-block .tasks .tasks-list .h-task .task-content .right .icon svg {
    width: 13px;
    height: 20px;
}

.h-page .h-block .tasks .tasks-list .h-task.active .task-content {
    background: linear-gradient(271deg, rgba(33, 18, 62, 0.50) 47.33%, #0D2A42 100.52%);
}

.h-page .h-block .tasks .tasks-list .h-task.active .task-content .right .icon {
    background: rgba(49, 182, 135, 0.20);
}

.h-page .h-block .tasks .tasks-list .h-task.active .task-content .right .icon svg {
    width: 16px;
    height: 12px;
} 

.h-page .h-block .tasks .participate {
    width: 100%;
    height: 150px;
}

.h-page .h-block .how {display: flex;flex-direction: column;align-items: center;gap: 20px;}

.h-page .h-block .how .title {
    color: #FFF;
    text-shadow: 0px 4px 0px rgba(0, 0, 0, 0.25);
    font-family: "Jolly Lodger";
    font-size: 64px;
    font-style: normal;
    font-weight: 400;
}

.h-page .h-block .how .friends {
    width: 400px;
    height: 123px;
    margin-top: 10px;
}

.h-page .h-block .how .friends .content {
    width: 370px;
    height: 93px;
    position: absolute;
    padding: 15px;
}

.h-page .h-block .how .self {
    width: 400px;
    height: 105px;
}

.h-page .h-block .how .self .content {
    width: 370px;
    height: 75px;
    position: absolute;
    padding: 15px;
}

.h-page .h-block .how .content {
    max-width: 62%;
}
.h-page .h-block .how .content .title {
    color: #FFF;
    font-family: Lufga;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}
.h-page .h-block .how .content .text {
    color: #FFF;
    font-family: Lufga;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.h-page .footer {
    display: flex;
    justify-content: center;
    margin-top: 179px;
}

.h-page .h-overlay {
    width: 100vw;
    height: 100vh;
    background: rgba(33, 18, 62, 0.50);
    backdrop-filter: blur(7.5px);
    -o-backdrop-filter: blur(7.5px);
    -moz-backdrop-filter: blur(7.5px);
    -webkit-backdrop-filter: blur(7.5px);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    display: flex;
    align-items: flex-end;
}

.h-page .h-overlay .h-modal {
    width: calc(100vw - 60px);height: auto;padding: 30px;border-radius: 24px 24px 0px 0px;display: flex;flex-direction: column;gap: 20px;
    background: url(./images/h/vector.png), #21123E;
}

.h-page .h-overlay .h-modal.redeem {
    background: url(./images/h/gift-redeem.png), #21123E;
    min-height: 400px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.h-page .h-overlay .h-modal.redeem .h-header {
    justify-content: flex-end;
}

.h-page .h-overlay .h-modal.redeem .h-body  {
    justify-content: center;
    align-items: center;
    gap: 7px;
    margin-top: -24px;
}

.h-page .h-overlay .h-modal.redeem .h-body .title {
    color: #FFF;
    text-shadow: 0px 4px 0px rgba(0, 0, 0, 0.25);
    font-family: "Jolly Lodger";
    font-size: 60px;
    font-style: normal;
    font-weight: 400;
    line-height: 64px;
    text-align: center;
}

.h-page .h-overlay .h-modal.redeem .h-body .title svg {
    width: 44px;
    height: 44px;
    margin-left: 5px;
}

.h-page .h-overlay .h-modal.redeem .h-body .amount {
    transform: rotate(-3.64deg);
}
.h-page .h-overlay .h-modal.redeem .h-body .amount .value {
    color: #FFF;
    text-align: center;
    text-shadow: 0px 2.717px 11.614px #5900FF, 0px 2.717px 0px rgba(0, 0, 0, 0.25);
    font-family: "Jolly Lodger";
    font-size: 163.932px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%; /* 86.932px */
    margin-left: -2px;
    opacity: 0.3;
}
.h-page .h-overlay .h-modal.redeem .h-body .amount .value:nth-child(2) {
    position: absolute;
    margin-top: -169px;
    margin-left: 0;
    opacity: 1;
}

.h-page .h-overlay .h-modal .h-header {
    display: flex;
    justify-content: space-between;
    color: #fff;
    font-size: 25px;
    font-family: "Jolly Lodger";
}
.h-page .h-overlay .h-modal .h-header .close {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.h-page .h-overlay .h-modal .h-header .close svg {}
.h-page .h-overlay .h-modal .h-body {
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.h-page .h-overlay .h-modal .h-body .copy {transition: all 300ms;width: calc(100% - 40px);height: 45px;border: 1px solid rgba(255, 255, 255, 0.05);background: rgba(57, 21, 115, 0.30);backdrop-filter: blur(3px);border-radius: 100px;display: flex;align-items: center;justify-content: space-between;padding: 0px 20px;}

.h-page .h-overlay .h-modal .h-body .copy.active {
    background: rgb(21 115 105 / 30%);
    transition: all 300ms;

}
.h-page .h-overlay .h-modal .h-body .copy.active svg {
    stroke: #26ffe84d !important;
    fill: #26ffe84d !important;
    transition: all 300ms;
}

.h-page .h-overlay .h-modal .h-body .copy svg {
    stroke: #6B3AC5;
    fill: #6B3AC5;
    transition: all 300ms;
}

.halloween-banner {
    width: calc(100% - 40px);
    margin: 0px 20px;
    margin-bottom: 18px;
}
.halloween-banner .background {
    width: 100%;
    height: auto;
}

.halloween-banner .content {
    width: 380px;
    height: 163px;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 30px;
}

.halloween-banner .content .text {
    color: #572D69;
    font-family: 'Metamorve';
    font-size: 22px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    position: absolute;
    margin-top: 66px;
    width: 117px;
    margin-right: 38px;
    display: flex;
    justify-content: center;
    align-items: center;
}