@font-face {
    font-family: 'Gilroy';
    src: url('assets/original/fonts/Gilroy.ttf') format('truetype');
}
@font-face {
    font-family: 'Audiowide';
    src: url('assets/original/fonts/Audiowide.ttf') format('truetype');
}

html {
    -ms-touch-action: none;
}

body,
canvas,
div {
    display: block;
    outline: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

body {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    cursor: default;
    text-align: center;
    font-family: Helvetica, Verdana, Arial, sans-serif;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin: 0;
    padding: 0;
    color: rgba(255, 255, 255, 0.87);
    place-items: center;
    min-width: 320px;
    min-height: 100vh;
    background-color: black;
}

#game-div {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position: center;
}

:root {
    --accent-color: #ffbd29;
    --bg-color: black;
    --letters-color: white;
    --ui-accent: #ffffff !important;
    --ui-background: #0f1d2e;
    --base-background: #0f1d2e;
    font-family: system-ui, Avenir, Helvetica, Arial, sans-serif;
    line-height: 1.5;
    font-weight: 400;

    color-scheme: light dark;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    --main-bg-color: #0f1d2e;
    --button-bg-color: #ffffff26;
    --button-hover-bg-color: #ffffff;
    --button-active-hover-color: #ffffff99;
    --button-text-color: #0f1d2e;
    --secondary-text-color: #ffffff99;
    --default-border: 1px solid #ffffff66;
    --default-animation-speed: 0.1s;
}

#loading {
    position: fixed;
    top: 25%;
    left: 25%;
    width: 50%;
    height: 50%;
    max-width: 50%;
    max-height: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.svg {
    width: 100%;
    height: 100%;
    position: absolute;
    max-width: 355px;
    max-height: 341px;
}

#letters-svg {
    fill: var(--letters-color);
}

#outline-svg path {
    stroke: var(--bg-color);
    stroke-width: 10;
    fill: none;
    transition: stroke-dashoffset 0.01s ease-in-out;
}

#letters-svg {
    transform-origin: center center;
    animation: scale 250ms ease-in-out forwards;
}

@keyframes scale {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

canvas {
    opacity: 0;
    animation: show 0.5s ease-in-out forwards;
}

@keyframes show {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
.button {
    --dark-color-filter: brightness(0) saturate(100%) invert(5%) sepia(14%) saturate(2867%)
        hue-rotate(193deg) brightness(94%) contrast(96%);
    --neutral200-color-filter: sepia(4%) saturate(1037%) hue-rotate(179deg) brightness(88%)
        contrast(82%);

    display: inline-block;
    font-size: inherit;
    font-family: inherit;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
    outline: none;
    pointer-events: auto;
    display: flex;
    align-items: center;
}
.button:disabled {
    background-color: #ccc;
    color: #888;
    cursor: not-allowed;
}
.button img,
.button svg {
    transition: filter 0.2s ease;
}

.button--primary {
    color: var(--primary-text-color);
    background-color: var(--primary-color);
}
.button--primary:active {
    background-color: color-mix(in srgb, var(--primary-color), black 15%);
}
.button--primary img,
.button--primary svg {
    filter: var(--primary-filter-color);
}

.button--secondary {
    color: var(--secondary-text-color);
    background-color: var(--secondary-color);
}
.button--secondary:active {
    background-color: color-mix(in srgb, var(--secondary-color), black 15%);
}
.button--secondary svg,
.button--secondary img {
    filter: var(--secondary-filter-color);
}

.button--ghost {
    color: var(--ghost-text-color);
}
.button--ghost img,
.button--ghost svg {
    filter: var(--ghost-filter-color);
}
.button--ghost:active {
    color: var(--neutral200-color);
}
.button--ghost:active img,
.button--ghost:active svg {
    filter: var(--neutral200-color-filter);
}

.button--brand {
    color: var(--light-color);
    background-color: var(--mrq-blue-color);
}
.button--brand:active {
    background-color: color-mix(in srgb, var(--mrq-blue-color), black 5%);
}

@media (hover: hover) and (pointer: fine) {
    .button--primary:hover,
    .button--primary:focus-visible {
        background-color: color-mix(in srgb, var(--primary-color), black 10%);
    }

    .button--secondary:hover,
    .button--secondary:focus-visible {
        background-color: color-mix(in srgb, var(--secondary-color), black 10%);
    }

    .button--ghost:hover,
    .button--ghost:focus-visible {
        color: color-mix(in srgb, var(--neutral200-color), black 10%);

        img,
        svg {
            filter: var(--neutral200-color-filter);
        }
    }

    .button--brand:hover,
    .button--brand:focus-visible {
        background-color: var(--mrq-dark-blue-color);
    }
}

.button--rounding-none {
    border-radius: 0;
}

.button--rounding-extra-small {
    border-radius: var(--border-radius-xs);
}

.button--rounding-small {
    border-radius: var(--border-radius-sm);
}

.button--rounding-medium {
    border-radius: var(--border-radius-md);
}

.button--rounding-large {
    border-radius: var(--border-radius-lg);
}

.button--align-start {
    justify-content: flex-start;
}

.button--align-center {
    justify-content: center;
}

.button--align-end {
    justify-content: flex-end;
}
.icon {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.icon--small {
    width: 17px;
    height: 17px;
}

.icon--medium {
    width: 24px;
    height: 24px;
}

.icon--large {
    width: 48px;
    height: 48px;
}
.backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: calc(var(--ui-z-index) - 1);
    pointer-events: auto;
    opacity: 0;
    animation: fadeIn 0.3s ease-in-out forwards;
}
.modal-header {
    padding: 9px 9px 0 9px;
    display: grid;
    grid-template-columns: 48px 1fr 48px;
    align-items: center;
    width: 100%;
    position: sticky;
}

.modal-header__title {
    line-height: normal;
    text-align: center;
    font-weight: 600;
    letter-spacing: 0.48px;
}
.modal-body {
    width: 100%;
    padding: 0 16px;
    position: relative;
}

.modal-body__content {
    --modal-max-height: 80vh;
    --scroll-fade-height: 54px;
    --modal-header-height: 57px;

    overflow-y: auto;
    max-height: calc(var(--modal-max-height) - var(--modal-header-height));
    margin-bottom: 0;
    padding-bottom: 16px;
}

.modal-body__content::-webkit-scrollbar {
    width: 4px;
    background: transparent;
}

.modal-body__content::-webkit-scrollbar-thumb {
    background: transparent;
    border-radius: var(--border-radius-sm);
    transition: background 0.3s;
}

.modal-body__content--scrolling::-webkit-scrollbar-thumb {
    background-color: color-mix(in srgb, var(--neutral200-color) 20%, transparent);
    opacity: 0.2;
}

.modal-body__content::-webkit-scrollbar-track {
    background: transparent;
}

.modal-body__fade {
    position: sticky;
    bottom: 0px;
    height: 54px;
    border-radius: inherit;
    background: linear-gradient(0deg, var(--secondary-color) 0%, rgba(69, 31, 22, 0) 100%);
    z-index: calc(var(--ui-z-index) + 2);
}
.modal-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
}
.modal {
    background-color: var(--secondary-color);
    border-radius: var(--border-radius-sm);
    box-shadow: 0 8px 12px 0 rgba(0, 0, 0, 0.1);
    width: 100%;
    z-index: calc(var(--ui-z-index) + 1);
    pointer-events: auto;
    overflow-y: hidden;
    height: 80vh;
    transition: height var(--animation-speed) ease;
}
.sound-toggle__icon-container {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 48px;
}

.sound-toggle__icon {
    position: absolute;
    transition: opacity var(--animation-speed) ease;
}

.sound-toggle__icon--hidden {
    opacity: 0;
}
.toast {
    --background-image: '';

    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-image: var(--background-image);
    filter: drop-shadow(4px 4px 4.9px rgba(38, 16, 60, 0.14));
    width: 100%;
    max-width: calc(100% - 16px);
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: auto;
    margin-bottom: 56px;
    box-sizing: border-box;
}

.slide-abs-enter {
    opacity: 0;
    transform: translateX(-50%) translateY(100px);
}
.slide-abs-enter-active {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    transition:
        opacity var(--animation-speed),
        transform var(--animation-speed);
}
.slide-abs-exit {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
.slide-abs-exit-active {
    opacity: 0;
    transform: translateX(-50%) translateY(100px);
    transition:
        opacity var(--animation-speed),
        transform var(--animation-speed);
}
.layout {
    height: 100%;
    width: 100%;
    pointer-events: auto;
}

.layout--padding-sm {
    padding: 0 8px 8px 8px;
}

.layout--padding-md {
    padding: 0 16px 16px 16px;
}

.layout--padding-lg {
    padding: 0 24px 24px 24px;
}

.layout__content {
    width: 100%;
    height: 100%;
    max-width: var(--max-mobile-width);
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.layout__content--flex-end {
    justify-content: flex-end;
}

.layout__content--space-between {
    justify-content: space-between;
}

.layout__content--flex-start {
    justify-content: flex-start;
}

@media (min-width: 576px) {
    .layout {
        padding-left: 40px;
        padding-bottom: 40px;
        padding-right: 40px;
    }
}

@media (min-width: 576px) {
    .layout__content--dynamic {
        margin-left: 0;
        margin-right: 0;
    }
}
.popup {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: fixed;
    overflow: hidden;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: calc(var(--ui-z-index) + 100);
    pointer-events: auto;
}

.popup__layout {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: center;
}

.popup__close-container {
    padding: 8px 8px 0 8px;
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.popup__close {
    z-index: calc(var(--ui-z-index) + 200);
    width: 32px;
    height: 32px;
    border-radius: 60px;
    background: rgba(0, 0, 0, 0.1);
}

.popup__close img {
    filter: none;
}

@media (min-width: 360px) {
    .popup__close-container {
        padding: 16px 16px 0 16px;
    }
}

@media (min-width: 375px) {
    .popup__close-container {
        padding: 24px 24px 0 24px;
    }
}
.single-option-popup__background-overlay {
    margin-top: -40px;
    padding-top: 40px;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(
        180deg,
        rgba(242, 242, 242, 0) 0%,
        rgba(242, 242, 242, 0.74) 45.93%,
        rgba(242, 242, 242, 0.9) 49.88%,
        #f2f2f2 53.84%
    );
    backdrop-filter: blur(2px);
}

@media (min-width: 360px) {
    .single-option-popup__background-overlay {
        margin-top: -48px;
        padding-top: 48px;
    }
}

@media (min-width: 375px) {
    .single-option-popup__background-overlay {
        margin-top: -56px;
        padding-top: 56px;
    }
}

.single-option-popup__layout {
    width: 100%;
    height: 100%;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.single-option-popup__content {
    width: 100%;
    max-width: 276px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.single-option-popup__thumbnail {
    border-radius: 20px;
    background: lightgray 50%;
    box-shadow: 0 6px 24px 0 rgba(0, 0, 0, 0.25);
    max-width: 70%;
    max-height: 270px;
    margin-left: auto;
    margin-right: auto;
    object-fit: contain;
    cursor: pointer;
    pointer-events: auto;
    transition: box-shadow 0.3s ease;
}

.single-option-popup__thumbnail:hover {
    box-shadow: 0 12px 32px 0 rgba(0, 0, 0, 0.35);
}

.single-option-popup__title {
    margin: 0;
    color: var(--mrq-blue-color);
    text-align: center;
    font-size: 26px;
    font-style: normal;
    font-weight: 800;
    line-height: 130%;
    letter-spacing: -0.325px;
}

.single-option-popup__action-container {
    width: 100%;
    padding: 0 20px 24px 20px;
}

.single-option-popup__action {
    width: 100%;
    height: 48px;
    font-weight: 800;
    line-height: 170%;
    font-size: 16px;
}

@media (min-height: 475px) {
    .single-option-popup__content {
        gap: 16px;
    }
}

@media (min-height: 620px) {
    .single-option-popup__content {
        gap: 39px;
    }
}

@media (min-width: 375px) and (min-height: 620px) {
    .single-option-popup__action-container {
        padding: 0 32px 32px 32px;
    }
}

@media (min-height: 800px) {
    .single-option-popup__thumbnail {
        max-height: 346px;
    }

    .single-option-popup__content {
        max-width: 327px;
        gap: 55px;
    }
}
.ordered-list-item {
    display: flex;
    padding: 12px 16px;
    align-items: center;
    gap: 16px;

    border-radius: 8px;
    border: 1px solid var(--ordered-list-item-border-color);
    background: var(--ordered-list-item-bg-color);
}

.ordered-list-item__number {
    display: flex;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    flex-direction: column;
    justify-content: center;

    color: var(--ordered-list-number-color);
    text-align: center;
    font-size: 12px;
    font-weight: 800;
    line-height: 160%;
    letter-spacing: 0.2px;

    border-radius: 100px;
    background: var(--ordered-list-number-bg-color);
}

.ordered-list-item__content {
    display: flex;
    flex-direction: column;
    font-size: 14px;
    font-weight: 500;
    line-height: 160%;
    letter-spacing: 0.1px;
}

.ordered-list-item__content > :first-child {
    font-weight: 800;
}
.markdown__ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.prize-item {
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 144px;
}

.prize-item__image {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    background-color: var(--transparent-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.prize-item__info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 56px;
    font-size: 14px;
    font-weight: 600;
    line-height: 160%;
    letter-spacing: 0.1px;
}

.prize-item__info__tokens {
    color: var(--primary-color);
}

.prize-item__info__reward {
    color: var(--light-color);
}
.prize-table__content {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.notification {
    background-color: var(--secondary-color);
    padding: 10px;
    border-radius: var(--border-radius-md);
    box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.25);
}

.notification--info {
    border-left: 8px solid #2196f3;
}

.notification--success {
    border-left: 8px solid #4caf50;
}

.notification--warning {
    border-left: 8px solid #ff9800;
}

.notification--error {
    border-left: 8px solid #f44336;
}
.notifications-container {
    position: fixed;
    top: 8px;
    right: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 9999;
    width: calc(var(--max-mobile-width) - 16px);
}

@media (min-width: 576px) {
    .notifications-container {
        top: 40px;
        right: 40px;
    }
}
.checkbox {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    position: relative;
    transition: opacity 0.2s;
    padding: 16px;
}

.checkbox__label {
    color: var(--light-color);
    margin-left: 8px;
    user-select: none;
    font-size: 12px;
    font-weight: 600;
    line-height: 120%;
}

.checkbox--disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.checkbox__input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkbox__box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 4px;
    transition: box-shadow 0.2s;
}
.intro-list-item {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
    position: relative;
}

.intro-list-item__text {
    color: var(--intro-card-text-color);
    text-align: left;
    font-size: 12px;
    font-weight: 500;
    line-height: 160%;
    letter-spacing: 0.2px;
}

.intro-list-item__text strong {
    color: var(--intro-card-text-color);
    font-size: 12px;
    font-weight: 800;
    line-height: 160%;
    letter-spacing: 0.2px;
}

.intro-list-item__image-container {
    width: 50px;
}

.intro-list-item__image {
    display: flex;
    width: 50px;
    height: 50px;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    position: absolute;
    right: -9px;
    top: 50%;
    transform: translateY(-50%);
}

@media (min-width: 344px) {
    .intro-list-item__text {
        font-size: 14px;
        letter-spacing: 0.1px;
    }

    .intro-list-item__text strong {
        font-size: 14px;
        letter-spacing: 0.1px;
    }
}

@media (min-width: 407px) {
    .intro-list-item__text {
        font-size: 16px;
    }

    .intro-list-item__text strong {
        font-size: 16px;
    }
}

@media (min-width: 375px) and (min-height: 600px) {
    .intro-list-item__image-container {
        width: 87px;
    }

    .intro-list-item__image {
        width: 87px;
        height: 87px;
    }
}

.level__intro-list-item {
    border-radius: 8px;
    background: var(--light-color);
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1);
    padding: 8px;
}
.intro-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    animation: fadeIn var(--fade-in-duration) ease forwards;
    animation-delay: var(--fade-in-delay);
    opacity: 0;
    margin: 0;
}

.intro-card__paragraph {
    margin: 0;
}

.intro-card__item {
    opacity: 0;
    animation: fadeIn var(--fade-in-duration) forwards;
}

.intro-card__item--1 {
    animation-delay: calc(var(--fade-in-delay) * 2);
}

.intro-card__item--2 {
    animation-delay: calc(var(--fade-in-delay) * 3);
}

.intro-card__item--3 {
    animation-delay: calc(var(--fade-in-delay) * 4);
}
.guide {
    padding-bottom: 0px;
}

.guide__play-button {
    width: 100%;
    height: 48px;
    font-weight: 800;
    line-height: 170%;
    font-size: 16px;
    opacity: 0;
    animation: fadeIn var(--fade-in-duration) forwards;
    animation-delay: calc(var(--fade-in-delay) * 5);
}

.guide__skip-checkbox {
    opacity: 0;
    padding-right: 0;
    animation: fadeIn var(--fade-in-duration) forwards;
    animation-delay: calc(var(--fade-in-delay) * 5);
}

.guide__sound-toggle {
    align-self: flex-end;
    color: var(--light-color);
    text-transform: lowercase;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.3px;
    opacity: 0;
    animation: fadeIn var(--fade-in-duration) ease forwards;
    animation-delay: calc(var(--fade-in-delay) * 5);
    z-index: calc(var(--ui-z-index) + 1);
    flex-shrink: 0;
}

.guide__sound-toggle img,
.guide__sound-toggle svg {
    filter: none;
}

.guide__title {
    margin: 0;
    color: var(--secondary-color);
    text-align: center;
    flex-shrink: 0;
}

.guide__info {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.guide__intro-card {
    flex-shrink: 0;
}

.guide__controls {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    position: sticky;
    bottom: 16px;
    flex-shrink: 0;
    margin-top: auto;
}

@media (min-width: 576px) and (min-height: 700px) {
    .guide__controls {
        bottom: 40px;
    }
}

@media (min-height: 600px) {
    .guide__controls {
        gap: 8px;
    }

    .guide__sound-toggle {
        font-size: 16px;
    }
}
.spacer {
    display: block;
}

.spacer--vertical {
    width: 100%;
    flex-grow: 0;
    flex-shrink: 1;
    flex-basis: var(--max-space);
    min-height: var(--min-space);
}

.spacer--horizontal {
    flex-grow: 1;
    flex-shrink: 0;
    flex-basis: var(--min-space);
    max-width: var(--max-space);
}
.logo {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo__image {
    animation: logo-entrance 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes logo-entrance {
    0% {
        opacity: 0;
        transform: translateY(-28px) scale(0.88);
    }
    60% {
        opacity: 1;
        transform: translateY(6px) scale(1.02);
    }
    80% {
        transform: translateY(-3px) scale(0.99);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
.landing-page {
    --background-image: '';
    --fade-in-duration: 300ms;
    --fade-in-delay: 600ms;

    width: 100%;
    height: 100%;
    background-color: var(--landing-page-bg-color);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-image: var(--background-image);
}

.landing-page__background {
    width: 100%;
    height: 100%;
    background: var(--gradient-color);
    backdrop-filter: blur(2.5px);
}
.timer-toast {
    text-align: center;
    padding: 32px 24px 24px 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 16px;
}

.timer-toast__title {
    color: var(--toast-text-color);
    margin: 0;
}

.timer-toast__message {
    color: var(--toast-text-color);
    font-size: 16px;
    font-weight: 700;
    line-height: 140%;
    margin: 0;
}

.timer-toast__timer {
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    padding: 10px 60px;
    color: var(--primary-color);
    font-size: 20px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}
.menu-icon {
    display: flex;
    width: 48px;
    height: 48px;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.menu-icon__bar {
    transform-origin: center;
    transition: transform var(--animation-speed) ease, opacity var(--animation-speed) ease,
        width var(--animation-speed) ease;
}

.menu-icon__svg--open {
    width: 19px;
    height: 18px;
}

.menu-icon__svg--open .menu-icon__bar--top {
    transform: rotate(-45deg) translate(-1px, 7px);
}

.menu-icon__svg--open .menu-icon__bar--middle {
    width: 21px;
    transform: rotate(45deg) translate(-2px, 2px);
}

.menu-icon__svg--open .menu-icon__bar--bottom {
    transform: translateY(-6px);
    opacity: 0;
}
.menu-button {
    box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.25);
    width: fit-content;
    z-index: calc(var(--ui-z-index) + 1);
    margin-top: 8px;
}
.menu-item {
    background-color: var(--transparent-color);
    font-size: 14px;
    font-weight: 700;
    line-height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 4px;
}

.menu-item:active {
    background-color: color-mix(in srgb, var(--transparent-color), black 15%);
}

@media (hover: hover) and (pointer: fine) {
    .menu-item:hover {
        background-color: color-mix(in srgb, var(--transparent-color), black 15%);
    }

    .menu-item:active {
        background-color: color-mix(in srgb, var(--transparent-color), black 10%);
    }
}
.main-menu-tab__header {
    padding-top: 20px;
}

.main-menu-tab__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.main-menu-tab__actions {
    padding: 0 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
.menu-tab__content {
    text-align: left;
    padding-bottom: 24px;
}

.menu-tab h1 {
    font-size: 26px;
    font-weight: 800;
    line-height: 130%;
    letter-spacing: -0.325px;
    margin: 0;
}

.menu-tab h2 {
    font-size: 18px;
    font-weight: 700;
    line-height: 160%;
    letter-spacing: -0.3px;
    margin: 0 0 8px 0;
}

.menu-tab h3 {
    font-size: 14px;
    font-weight: 500;
    line-height: 160%;
    letter-spacing: 0.1px;
    margin: 0;
}

.menu-tab p,
.menu-tab ol {
    font-size: 12px;
    font-weight: 600;
    line-height: 160%;
    letter-spacing: 0.2px;
    margin: 0 0 24px 0;
}

.menu-tab ul {
    font-size: 16px;
    font-weight: 700;
    line-height: 160%;
    margin: 0 0 24px 0;
}

.menu-tab hr {
    opacity: 0.2;
    margin: 16px 0;
}

.menu-tab ol {
    list-style: decimal;
    padding-left: 16px;
}

.menu-tab ol li {
    margin: 0 0 8px 0;
}

.menu-tab a {
    text-decoration: underline;
}
.menu__modal--main {
    height: 246px;
}
.game-page {
    pointer-events: none;
}
.win-page__text {
    color: var(--win-page-text-color);
    font-size: 18px;
    font-weight: 800;
    line-height: 160%;
    letter-spacing: -0.3px;
    margin-bottom: 42px;
}

.win-page__button {
    width: 100%;
    height: 52px;
    font-weight: 800;
    line-height: 170%;
    font-size: 18px;
}
.error-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: calc(var(--ui-z-index) + 100);
    background: rgba(14, 17, 32, 0.6);
}

.error-page__popup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    width: 100%;
    max-width: calc(100% - 16px);
    padding: 16px 24px 24px 24px;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    border-radius: 32px;
    background: var(--secondary-color);
    box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.25);
}

.error-page__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.error-page__icon {
    filter: var(--secondary-filter-color);
}

.error-page__title {
    font-size: 16px;
    font-weight: 700;
    line-height: normal;
    margin: 0;
}

.error-page__message {
    font-size: 12px;
    font-weight: 400;
    line-height: normal;
    margin: 0;
}

.error-page__message strong {
    font-weight: 800;
}

.error-page__action-button {
    width: 100%;
    height: 48px;
}

@media (min-width: 375px) {
    .error-page__popup {
        max-width: 359px;
    }
}
.instant-prize-page__text {
    color: var(--win-page-text-color);
    font-size: 18px;
    font-weight: 500;
    line-height: 160%;
    letter-spacing: -0.3px;
    margin-bottom: 28px;
}

.instant-prize-page__button {
    width: 100%;
    height: 52px;
    font-weight: 800;
    line-height: 170%;
    font-size: 18px;
}

@media (min-width: 407px) {
    .instant-prize-page__text {
        padding-left: 16px;
        padding-right: 16px;
    }
}
.loading-page {
    --background-image: '';

    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-image: var(--background-image);
}

.loading-page__background {
    width: 100%;
    height: 100%;
    background: var(--gradient-color);
    backdrop-filter: blur(2.5px);
}
.app {
    --max-mobile-width: 375px;
    --border-radius-xs: 12px;
    --border-radius-sm: 14px;
    --border-radius-md: 16px;
    --border-radius-lg: 40px;
    --ui-z-index: 1000;
    --animation-speed: 300ms;
    --mrq-blue-color: #0a2ecb;
    --mrq-dark-blue-color: #0d2187;
    --mrq-pink-color: #ff63f6;
    --mrq-yellow-color: #ffdf00;
    --neutral200-color: #cccdd0;

    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: var(--ui-z-index);
    pointer-events: none;

    color: var(--secondary-text-color);
    font-family: Gilroy;
    font-size: 16px;
    font-weight: 600;
    font-style: normal;
}
@font-face {
    font-family: 'Gilroy';
    src: url('/assets/gilroy-medium-7CoIDbSw.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gilroy';
    src: url('/assets/gilroy-semibold-DVBgXGgG.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gilroy';
    src: url('/assets/gilroy-bold-Cp6DdYvv.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gilroy';
    src: url('/assets/gilroy-extrabold-DvUz2CQt.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'lilyscript';
    src: url('/assets/lilyscript-4GbpnFge.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Creepster';
    src: url('/assets/Creepster-mOh_PY0X.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'formula';
    src: url('/assets/formula-HFFnTyv5.otf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

.slide-enter {
    animation: slideUp var(--animation-speed) ease forwards;
}

.slide-exit {
    animation: slideDown var(--animation-speed) ease forwards;
}

.fade-enter {
    animation: fadeIn var(--animation-speed) ease forwards;
}

.fade-exit {
    animation: fadeOut var(--animation-speed) ease forwards;
}

.slide-horizontal-enter {
    animation: slideInLeft var(--animation-speed) ease-out forwards;
}

.slide-horizontal-enter-active {
    transition: opacity var(--animation-speed), transform var(--animation-speed);
}

.slide-horizontal-exit {
    animation: slideOutRight var(--animation-speed) ease-in forwards;
}

.slide-horizontal-exit-active {
    transition: opacity var(--animation-speed), transform var(--animation-speed);
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(100%);
        opacity: 0;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(40px);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

body {
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

button,
input,
optgroup,
select,
textarea {
    font: inherit;
    color: inherit;
    margin: 0;
    background: none;
    border: none;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

button,
input,
optgroup,
select,
textarea {
    font: inherit;
    color: inherit;
    margin: 0;
    background: none;
    border: none;
}

a {
    color: inherit;
    text-decoration: none;

    &:hover {
        text-decoration: underline;
    }
}

ul,
ol {
    list-style: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

blockquote,
q {
    quotes: none;
    &::before,
    &::after {
        content: '';
        content: none;
    }
}
