@font-face {
    font-family: 'T2 Rooftop';
    src: url('../fonts/t2-Rooftop-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'T2 Rooftop';
    src: url('../fonts/t2-Rooftop-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'T2 Halvar Breit';
    src: url('../fonts/T2HalvarBreit-ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

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

html, body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    background: #000;
    color: #fff;
    font-family: 'T2 Halvar Breit', sans-serif;
    font-weight: 800;
}

body {
    padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);
}

.data-hidden {
    display: none !important;
}

a {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 12px;
    line-height: 14px;
    opacity: 0.9;
}

a:hover {
    opacity: 1;
}

.text {
    font-family: 'T2 Rooftop', sans-serif;
    font-weight: 400;
}

.wrapper {
    max-width: 460px;
    margin: 0 auto;
    padding: 16px;
}

.layout {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.page-header {
    background: #fff;
    color: #000;
    padding: 16px;
    border-radius: 16px;
}

.page-header h1 {
    margin: 0 0 62px;
    font-size: 21px;
    line-height: 100%;
    text-transform: uppercase;
}

.page-header img {
    display: block;
    width: 80px;
    height: auto;
}

.page-body {
    flex: 1;
    padding: 70px 0 56px;
    display: block;
}

.wheel-stage {
    position: relative;
    width: clamp(256px, 100%, 328px);
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    display: grid;
    place-items: center;
    overflow: visible;
}

.wheel-bg {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 562px;
    height: 562px;
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
    background-image: url('/img/star.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.wheel-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    border: 5px solid #fff;
    border-radius: 50%;
    overflow: hidden;
    z-index: 1;
}

.wheel-rotator {
    position: absolute;
    inset: 0;
    transform: rotate(-45deg);
    transition-property: transform;
    transition-timing-function: cubic-bezier(.12, 0, .06, 1);
    will-change: transform;
}

.wheel {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(#ffffff 0deg 90deg, #000000 90deg 180deg, #ffffff 180deg 270deg, #000000 270deg 360deg);
}

.wheel-labels {
    position: absolute;
    inset: 0;
    pointer-events: none;
    transform: rotate(45deg);
}

.wheel-label {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 160px;
    text-align: center;
    font-size: 14px;
    line-height: 1.1;
    text-transform: uppercase;
    transform: translate(-50%, -50%);
    padding-top: 27px;
}

.wheel-label[data-slice="1"], .wheel-label[data-slice="3"] {
    color: #000;
}

.wheel-label[data-slice="2"], .wheel-label[data-slice="4"] {
    color: #fff;
}

.wheel-label[data-slice="1"] {
    transform: translate(-50%, -50%) translateY(-118px) rotate(0deg);
}

.wheel-label[data-slice="2"] {
    transform: translate(-50%, -50%) translateX(118px) rotate(90deg);
}

.wheel-label[data-slice="3"] {
    transform: translate(-50%, -50%) translateY(118px) rotate(180deg);
}

.wheel-label[data-slice="4"] {
    transform: translate(-50%, -50%) translateX(-118px) rotate(270deg);
}

.wheel-wrapper [data-js="start"] {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #ff2b8a;
    border: none;
    border-radius: 50%;
    width: 86px;
    height: 86px;
    padding: 0;
    color: #fff;
    font-size: 16px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.wheel-wrapper [data-js="start"]:active {
    transform: translate(-50%, -50%) scale(0.98);
}

.wheel-arrow {
    position: absolute;
    z-index: 2;
    top: -60px;
}

.btn-start {
    border: 5px solid #fff !important;
}

.page-footer {
    text-align: center;
}

.page-footer .terms {
    margin-bottom: 40px;
    display: block;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media all and (max-width: 360px) {
    .wheel-label {
        padding-top: 62px;
    }
}

/* ============================= */ /* BASE LAYOUT MODAL */ /* ============================= */
.modal-result {
    min-height: 100vh;
    display: none;
    flex-direction: column;
    padding: 20px 16px 32px;
    box-sizing: border-box;
    position: absolute;
    top: 0;
    z-index: 9;
    width: 100%;
    background: rgba(0, 0, 0, 0.71);
    backdrop-filter: blur(22.95px);
}

.modal-result.is-open {
    display: flex;
}

.modal-result .body-result {
    flex-grow: 1;
}

.modal-result .header-result {
    margin-bottom: 89px;
}

.modal-result .gift-banner, .modal-result .result-card {
    padding: 16px;
    border-radius: 20px;
}

.modal-result .gift-banner__title {
    background-color: #FF3495;
    font-size: 16px;
    line-height: 18px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.modal-result .gift-banner__subtitle {
    font-family: 'T2 Rooftop', serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 18px;
    margin: 0;
}

.modal-result .gift-banner {
    background-color: #FF3495;
    margin-bottom: 6px;
}

.modal-result .result-card {
    background-color: #fff;
    color: black;
}

.modal-result .result-content__title {
    font-size: 24px;
    line-height: 26px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.modal-result .footer-result {
    text-align: center;
}

.modal-result .result-content__text {
    font-family: 'T2 Rooftop', serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 22px;
    margin-bottom: 119px;
}

.result-card__actions a {
    font-size: 16px;
    line-height: 18px;
    text-transform: uppercase;
    background-color: #000;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 18px;
    gap: 6px;
    border-radius: 10px;
}

.mixx-body {
    display: flex;
    justify-content: space-between;
}

.mixx__title {
    font-size: 24px;
    line-height: 26px;
}

.mixx-body img {
    width: 98px;
}

.mix-promocode-box {
    margin-top: 71px;
    margin-bottom: 20px;
}

.mix-promocode-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mix-promocode-title {
    font-family: 'T2 Rooftop', serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 18px;
    color: #696D75;
    margin-bottom: 6px;
}

.mix-promocode-data {
    font-size: 18px;
    line-height: 20px;
    letter-spacing: -0.03em;
    text-transform: uppercase;
}

.mix-promocode-button {
    border: none;
    padding: 0;
    background-color: transparent;
}

.mix-promocode-button img {
    padding: 10px;
    border-radius: 10px;
    background-color: #F2F2F2;
}