* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

:root {
    --app-scale: 1;
    --design-scale: 0.3472222222;
}

html,
body {
    margin: 0;
    width: 100%;
    min-height: 100%;
    overflow-x: hidden;
    background: #1b100d;
    color: #f6e0b2;
    font-family:
        Arial,
        "Helvetica Neue",
        Helvetica,
        sans-serif;
}

button {
    border: 0;
    padding: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
    outline: none;
}

.app-viewport {
    position: relative;
    width: 375px;
    min-height: 1250px;
    margin: 0 auto;
    transform: scale(var(--app-scale));
    transform-origin: top center;
}

.page {
    position: relative;
    width: 375px;
    min-height: 1250px;
    overflow: hidden;
    background: #1b100d;
}

.stage-wrap {
    position: relative;
    width: 375px;
    height: 1250px;
    overflow: hidden;
}

.stage {
    position: absolute;
    left: 0;
    top: 0;
    width: 1080px;
    height: 3600px;
    overflow: hidden;
    transform: scale(var(--design-scale));
    transform-origin: top left;
    background: #1b100d;
}

.stage > * {
    position: absolute;
    z-index: 1;
}

.language-switcher {
    position: absolute;
    z-index: 10;
    top: 44px;
    right: 38px;
    width: 190px;
    direction: ltr;
}

.language-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 156px;
    height: 82px;
    margin-left: auto;
    border: 2px solid rgba(255, 232, 184, 0.62);
    border-radius: 999px;
    background: rgba(25, 9, 1, 0.58);
    box-shadow:
        inset 0 0 18px rgba(255, 210, 93, 0.18),
        0 8px 18px rgba(0, 0, 0, 0.28);
    color: #ffe8b8;
    font-size: 34px;
    font-weight: 800;
    line-height: 34px;
    letter-spacing: 0;
}

.language-menu {
    position: absolute;
    top: 94px;
    right: 0;
    width: 190px;
    overflow: hidden;
    border: 2px solid rgba(255, 232, 184, 0.56);
    border-radius: 18px;
    background: rgba(25, 9, 1, 0.92);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.34);
}

.language-menu button {
    display: block;
    width: 100%;
    height: 58px;
    color: #fff5dc;
    font-size: 28px;
    font-weight: 700;
    line-height: 28px;
}

.language-menu button.is-active {
    background: rgba(255, 210, 93, 0.22);
    color: #ffd25d;
}

.bg {
    left: 0;
    width: 1080px;
    object-fit: fill;
    pointer-events: none;
    z-index: 0;
}

.bg-top {
    top: 0;
    height: 1588px;
}

.bg-mid {
    height: 649px;
}

.bg-mid-a {
    top: 1476px;
}

.bg-mid-b {
    top: 2050px;
}

.bg-mid-c {
    top: 2600px;
}

.bg-bottom {
    top: 3022px;
    height: 578px;
}

.countdown {
    left: 24px;
    top: 696px;
    width: 1032px;
    height: 344px;
}

.countdown-frame {
    position: absolute;
    inset: 0;
    width: 1032px;
    height: 344px;
    object-fit: fill;
    pointer-events: none;
}

.count-number {
    position: absolute;
    top: 148px;
    width: 96px;
    height: 74px;
    color: #ffce95;
    font-size: 60px;
    font-weight: 800;
    line-height: 74px;
    text-align: center;
    text-shadow:
        0 2px 0 #47200d,
        0 0 14px rgba(255, 210, 135, 0.58);
}

.count-number[data-count="days"] {
    left: 165px;
}

.count-number[data-count="hours"] {
    left: 365px;
}

.count-number[data-count="minutes"] {
    left: 570px;
}

.count-number[data-count="seconds"] {
    left: 770px;
}

.count-label {
    position: absolute;
    top: 239px;
    width: 150px;
    height: 30px;
    color: #100800;
    font-size: 22px;
    font-weight: 800;
    line-height: 30px;
    text-align: center;
    white-space: nowrap;
    transform: translateX(-50%);
}

.count-label:nth-of-type(1) {
    left: 213px;
}

.count-label:nth-of-type(2) {
    left: 413px;
}

.count-label:nth-of-type(3) {
    left: 618px;
}

.count-label:nth-of-type(4) {
    left: 818px;
}

.profile-card {
    left: 43px;
    top: 1040px;
    width: 996px;
    height: 659px;
}

.profile-frame {
    position: absolute;
    inset: 0;
    width: 996px;
    height: 659px;
    object-fit: fill;
    pointer-events: none;
}

.profile-avatar {
    position: absolute;
    left: 381px;
    top: 147px;
    width: 232px;
    height: 232px;
    border-radius: 50%;
    object-fit: cover;
    pointer-events: none;
}

.profile-name,
.profile-id,
.profile-recharge {
    position: absolute;
    left: 120px;
    width: 756px;
    margin: 0;
    color: #f6e0b2;
    text-align: center;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.72);
}

.profile-name {
    top: 416px;
    font-size: 38px;
    font-weight: 800;
    line-height: 48px;
}

.profile-id {
    top: 472px;
    font-size: 26px;
    font-weight: 700;
    line-height: 34px;
}

.profile-recharge {
    top: 514px;
    font-size: 36px;
    font-weight: 800;
    line-height: 46px;
}

.reward-sections {
    left: 0;
    top: 0;
    width: 1080px;
    height: 3600px;
}

.reward-section {
    position: absolute;
    left: 0;
    top: var(--section-top);
    width: 1080px;
}

.title-pill {
    position: absolute;
    left: 234px;
    top: 0;
    width: 612px;
    height: 204px;
    z-index: 4;
}

.title-pill img {
    position: absolute;
    inset: 0;
    width: 612px;
    height: 204px;
    object-fit: fill;
    pointer-events: none;
}

.title-pill span {
    position: absolute;
    left: 0;
    top: 78px;
    width: 612px;
    color: #f6e0b2;
    font-size: 40px;
    font-weight: 900;
    line-height: 48px;
    text-align: center;
    text-shadow:
        0 2px 0 #4f2306,
        0 0 14px rgba(255, 207, 113, 0.45);
}

.reward-panel {
    position: absolute;
    left: 82px;
    top: var(--panel-top);
    width: 915px;
    overflow: hidden;
    z-index: 1;
}

.reward-panel-large {
    height: 497px;
}

.reward-panel-small {
    height: 469px;
}

.reward-panel-frame {
    position: absolute;
    inset: 0;
    width: 915px;
    height: 497px;
    object-fit: fill;
    pointer-events: none;
}

.reward-panel-small .reward-panel-frame {
    height: 497px;
}

.reward-card {
    position: absolute;
    color: #f6e0b2;
    text-align: center;
    z-index: 3;
}

.reward-card.is-granted .reward-frame {
    filter: drop-shadow(0 0 18px rgba(255, 239, 173, 0.72));
}

.reward-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    pointer-events: none;
}

.reward-icon {
    position: absolute;
    object-fit: contain;
    pointer-events: none;
}

.reward-price {
    position: absolute;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f6e0b2;
    font-weight: 900;
    text-align: center;
    text-shadow:
        0 2px 0 #3a1704,
        0 0 10px rgba(255, 207, 113, 0.44);
}

.reward-card-large {
    width: 327px;
    height: 327px;
}

.reward-card-large .reward-icon {
    left: 67px;
    top: 53px;
    width: 193px;
    height: 193px;
}

.reward-card-large .reward-price {
    top: 246px;
    height: 52px;
    font-size: 30px;
    line-height: 36px;
}

.reward-card-small {
    width: 234px;
    height: 234px;
}

.reward-card-small .reward-icon {
    left: 48px;
    top: 38px;
    width: 138px;
    height: 138px;
}

.reward-card-small .reward-price {
    top: 175px;
    height: 40px;
    font-size: 22px;
    line-height: 28px;
}

.reward-card-compact {
    width: 210px;
    height: 210px;
}

.reward-card-compact .reward-icon {
    left: 43px;
    top: 34px;
    width: 124px;
    height: 124px;
}

.reward-card-compact .reward-price {
    top: 157px;
    height: 36px;
    font-size: 20px;
    line-height: 26px;
}

@media (min-width: 431px) {
    html,
    body {
        background: #100806;
    }
}
