* { margin: 0; padding: 0; box-sizing: border-box;}

html, body {
    height: 100%;
    overflow: hidden;
}

body {
    font-family: "Inter", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    background-image: url('/frontend/512/imgs/body-bg.js');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    backdrop-filter: blur(48px);
    -webkit-backdrop-filter: blur(48px);
    min-height: 100vh;
    min-height: 100dvh;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; }

.wrapper {
    max-width: 500px;
    width: min(500px, 100%);
    margin: 0;
    flex-shrink: 0;
    position: relative;
    container-type: inline-size;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #000 url('/frontend/512/imgs/page-bg.js') center top / 120% 100% no-repeat;
    box-sizing: border-box;
    height: 100dvh;
    max-height: 100dvh;
    padding-bottom: calc(79px + env(safe-area-inset-bottom));
    overflow: hidden;
}

.fit-scale-wrap {
    flex: 1 1 0;
    min-height: 0;
    width: 100%;
    align-self: stretch;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.fit-content {
    position: relative;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    transform-origin: top center;
    will-change: transform;
}

.wrapper-girl {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    height: auto;
    object-fit: contain;
    user-select: none;
}
.wrapper-girl--left {
    left: -57px;
    top: 23%;
    width: 203px;
    height: 305px;
}
.wrapper-girl--right {
    right: -34px;
    top: 21%;
    width: 175px;
    height: 311px;
}

.top-bar {
    position: absolute;
    bottom: calc(66px + env(safe-area-inset-bottom));
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 18px);
    max-width: 482px;
    height: 67px;
    border: 1px solid rgba(255, 203, 56, 0.25);
    border-radius: 12px;
    background: linear-gradient(90deg, rgba(38, 35, 37, 0.25) 0%, rgba(56, 48, 53, 0.25) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    padding: 10px 24px 8px 13px;
    gap: 20px;
    z-index: 29;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.32s ease, visibility 0.32s;
}

.top-bar--hidden {
    transform: translateX(calc(-50% + 100vw + 40px));
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

@supports (width: 1cqw) {
    .top-bar--hidden {
        transform: translateX(calc(-50% + 100cqw + 52px));
    }
}

.top-bar__dismiss {
    position: absolute;
    top: -8px;
    right: -4px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    margin: 0;
    border: 1px solid rgba(255, 203, 56, 0.25);
    border-radius: 50%;
    background: linear-gradient(180deg, #3a3638 0%, #1f1d20 100%);
    color: #ffcb38;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
    -webkit-tap-highlight-color: transparent;
}
.top-bar__dismiss svg {
    display: block;
    flex-shrink: 0;
    pointer-events: none;
}
.top-bar__dismiss:hover {
    background: linear-gradient(180deg, #4a4548 0%, #2a282c 100%);
    color: #ffe38a;
}
.top-bar__dismiss:active {
    transform: scale(0.94);
}

.top-bar--hidden .top-bar__dismiss {
    pointer-events: none;
}
.top-bar__logo {
    width: 49px;
    height: 49px;
    flex-shrink: 0;
}
.top-bar__logo img { width: 100%; height: 100%; object-fit: contain; }
.top-bar__text {
    flex: 1;
    min-width: 0;
    color: #ffcb38;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    display: flex;
    flex-direction: column;
    gap: 11px;
    letter-spacing: 0.3px;
}
.top-bar__text > span { display: block; line-height: 1; white-space: nowrap; }
.top-bar__text strong {
    background: linear-gradient(180deg, #fef0d5 0%, #fef200 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    font-size: 22px;
    font-weight: 700;
    margin: 0 6px;
    line-height: 1;
    vertical-align: -2px;
}
.top-bar__btn {
    flex-shrink: 0;
    height: 33px;
    padding: 8px 23px;
    border: 1px solid #d7f586;
    border-radius: 7px;
    background: linear-gradient(180deg, #fda716 0%, #fef0d5 52%, #ffce3b 98%);
    color: #000000;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    line-height: 1;
}

.top-bar-reveal {
    position: absolute;
    right: 0;
    bottom: calc(66px + env(safe-area-inset-bottom));
    z-index: 29;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 49px;
    height: 49px;
    padding: 0;
    border: 1px solid rgba(255, 203, 56, 0.85);
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(58, 54, 56, 0.98) 0%, rgba(31, 29, 32, 0.98) 100%);
    cursor: pointer;
    font-family: inherit;
    line-height: 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
    -webkit-tap-highlight-color: transparent;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(calc(100% + 24px));
    transition: transform 0.34s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.26s ease, visibility 0.26s;
}

.top-bar-reveal.top-bar-reveal--visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
}

.top-bar-reveal[hidden] {
    display: none;
}

.top-bar-reveal__app {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.top-bar-reveal.top-bar-reveal--visible:active {
    transform: translateX(0) scale(0.94);
}

.hero-title {
    flex: 0 0 auto;
    margin: clamp(6px, 2.5vw, 11px) auto 0;
    width: 77%;
    text-align: center;
    line-height: 0;
    overflow: visible;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-title img {
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: none;
    object-fit: contain;
    mix-blend-mode: lighten;
}

@media (min-width: 429px) {
    .hero-title {
        max-height: min(280px, 40vh);
        overflow: hidden;
    }

    .hero-title img {
        max-height: min(280px, 40vh);
    }
}

.cta-buttons {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px 12% 0;
}
.cta-btn {
    --cta-press: 5px;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    width: 80%;
    height: 50px;
    background: linear-gradient(184.41deg, #F8FEC9 3.09%, #FFCB38 86.52%);
    border: 1px solid #FEF200;
    box-shadow: 0 var(--cta-press) 0 #CA9016;
    border-radius: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(6px, 2.8vw, 12px);
    cursor: pointer;
    line-height: 1;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.18s ease;
}
@media (hover: hover) {
    .cta-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 calc(var(--cta-press) + 1px) 0 #CA9016;
        filter: brightness(1.06);
    }
}
.cta-btn:active {
    transform: translateY(var(--cta-press));
    box-shadow: 0 0 0 #CA9016;
    filter: brightness(0.97);
    transition-duration: 0.08s;
}
.cta-btn__icon {
    width: clamp(20px, 5.6vw, 24px);
    height: clamp(20px, 5.6vw, 24px);
    object-fit: contain;
    flex-shrink: 0;
}
.cta-btn__text {
    font-family: "Inter", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    font-weight: 600;
    font-size: 22px;
    line-height: 28px;
    color: #1E293B;
}

.promo-block {
    position: relative;
    flex: 0 0 auto;
    margin-top: 18px;
    overflow: visible;
}

.gift-scene {
    position: relative;
    z-index: 1;
    width: 100%;
    line-height: 0;
}
.gift-scene__gift {
    display: block;
    margin: 0 auto;
    width: 220px;
    height: 146px;
    position: relative;
    z-index: 1;
}
.gift-scene__money {
    display: block;
    width: 100%;
    height: auto;
    margin-top: -22%;
    position: relative;
    z-index: 2;
    transform: scale(1.3);
    transform-origin: center;
}

.ribbon-banner {
    position: relative;
    z-index: 3;
    width: 107.94%;
    margin: -22.04% -3.74% -16.59%;
    line-height: 0;
}
.ribbon-banner img { width: 100%; height: auto; }

.promo-card {
    position: relative;
    z-index: 2;
    width: 90%;
    height: auto;
    margin: 0 auto;
    background: url('/frontend/512/imgs/promo-card.js') center / 100% 100% no-repeat;
    padding: clamp(28px, 11.2%, 48px) min(5px, 1.4%) clamp(16px, 7.8%, 28px) min(16px, 7%, 25px);
    display: flex;
    flex-direction: column;
    gap: clamp(8px, 3.5vw, 15px);
}
.promo-row {
    position: relative;
    width: 100%;
    aspect-ratio: 327 / 35;
}
.promo-row__badge {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 2;
    width: 14.07%;
    height: 100%;
    background: url('/frontend/512/imgs/promo-badge-pill.js') center / 100% 100% no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e293b;
    font-size: clamp(14px, 4.67vw, 20px);
    font-weight: 600;
}
.promo-row__strip {
    position: absolute;
    left: 11.01%;
    top: 0;
    width: calc(291 / 327 * 100%);
    height: 100%;
    background: url('/frontend/512/imgs/promo-row-strip.js') center / 100% 100% no-repeat;
    display: flex;
    align-items: center;
    padding-left: clamp(12px, 7%, 23px);
    color: #ffffff;
    font-size: clamp(12px, 3.74vw, 16px);
    font-weight: 500;
    z-index: 1;
}
.promo-row__strip strong { color: #ffcb38; font-weight: 600; }

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 500px;
    height: calc(60px + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    background: #fdf9eb;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 30;
}
.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}
.nav-item__icon {
    width: 33px;
    height: 33px;
    object-fit: contain;
}
.nav-item__label {
    font-size: 15px;
    color: #1e293b;
    font-weight: 500;
    white-space: nowrap;
    line-height: 1;
}

.modal-overlay {
    position: fixed; inset: 0;
    background: rgba(0, 0, 0, 0); z-index: 100;
    display: flex; flex-direction: column; align-items: center;
    justify-content: flex-start;
    overflow-y: auto; -webkit-overflow-scrolling: touch;
    padding: 5vh 0; pointer-events: none; visibility: hidden;
    transition: background 0.3s, visibility 0.3s;
}
.modal-overlay > * {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
    transition: opacity 0.3s, transform 0.3s;
}
.modal-overlay.active {
    background: rgba(0, 0, 0, 0.65);
    pointer-events: auto;
    visibility: visible;
}
.modal-overlay.active > * {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.modal-container {
    position: relative;
    width: 92vw;
    max-width: 396px;
    flex-shrink: 0;
}

.modal-header-tab {
    position: relative;
    z-index: 4;
    width: 91.6%;
    margin: 0 auto;
    line-height: 0;
}
.modal-body--yellow > .modal-header-tab { margin-top: -2px; }
.modal-body--dark   > .modal-header-tab { margin-top: -1px; }
.modal-header-tab img { width: 100%; height: auto; display: block; }

.modal-body--yellow {
    position: relative;
    z-index: 5;
    background: linear-gradient(180deg, #fff3d2 12%, #ffe293 100%);
    border: 2px solid #fef0d5;
    border-radius: 17px;
    padding: 0;
}

.modal-body--dark {
    position: relative;
    z-index: 5;
    background:
        linear-gradient(180deg, #262325 22%, #1c1a1b 93%) padding-box,
        linear-gradient(180deg, #f7f19f 0%, #918e5d 100%) border-box;
    border: 1px solid transparent;
    border-radius: 11px;
    padding: 0;
    color: #ffffff;
}

.modal-body--yellow > form,
.modal-body--yellow > .modal-content-wrap,
.modal-body--dark > form {
    padding: 15px 17px 20px 17px;
}

.modal-close {
    position: relative; z-index: 101;
    margin-top: 18px;
    background: none; border: none; cursor: pointer;
    width: 39px; height: 39px; padding: 0;
    flex-shrink: 0;
}
.modal-close img { width: 100%; height: 100%; object-fit: contain; }

.register-mascot {
    position: relative;
    width: 76%;
    aspect-ratio: 327 / 365;
    margin: 0 auto -30%;
    z-index: 3;
    pointer-events: none;
}
.register-mascot__wheel {
    position: absolute;
    width: 100%;
    aspect-ratio: 327 / 301;
    left: 0;
    bottom: 0;
}
.register-mascot__girl {
    position: absolute;
    width: 88.4%;
    aspect-ratio: 1 / 1;
    left: 4.9%;
    top: 0;
}
.register-mascot__wheel,
.register-mascot__girl { height: auto; }

.register-form { display: flex; flex-direction: column; gap: 8px; }

.reg-feedback { font-size: 11px; line-height: 1.3; min-height: 0; padding-left: 6px; opacity: 0; transition: opacity 0.15s; }
.reg-feedback:empty { display: none; }
.reg-feedback.invalid-feedback { color: #d62828; opacity: 1; }
.reg-feedback.valid-feedback { color: #2bd471; opacity: 1; }
.reg-field.is-invalid { box-shadow: 0 0 0 1.5px #d62828; }
.reg-field.is-valid { box-shadow: 0 0 0 1.5px #2bd471; }

.reg-field {
    position: relative;
    height: 36px;
    background: #fffdf7;
    border-radius: 8px;
    display: flex;
    align-items: center;
    padding-left: 56px;
    overflow: hidden;
}
.reg-field__icon {
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 56px;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
}
.reg-field__icon img { width: 24px; height: 24px; object-fit: contain; }
.reg-field__input {
    flex: 1;
    height: 100%;
    border: none;
    outline: none;
    background: transparent;
    font-size: 14px;
    color: #1e293b;
    padding: 0 36px 0 14px;
    font-family: inherit;
}
.reg-field__input::placeholder { color: #c4bfbf; font-weight: 400; }
.reg-field__toggle {
    position: absolute;
    right: 12px; top: 50%; transform: translateY(-50%);
    background: none; border: none; cursor: pointer;
    padding: 4px;
    display: flex; align-items: center;
    z-index: 2;
}
.reg-field__toggle img { width: 22px; height: 22px; opacity: 0.85; }
.reg-field__icon img { width: 28px; height: 28px; object-fit: contain; }

.reg-checkbox {
    display: flex; align-items: center; justify-content: center;
    gap: 9px; padding: 4px 0;
    font-size: 12px; color: #000000;
    cursor: pointer; user-select: none;
}
.reg-checkbox input { display: none; }
.reg-checkbox__box {
    position: relative;
    width: 16px; height: 16px;
    border-radius: 3px;
    background: #8e8d7f;
    flex-shrink: 0;
}
.reg-checkbox input:checked + .reg-checkbox__box::after {
    content: '';
    position: absolute;
    left: 50%; top: 45%;
    width: 9px; height: 5px;
    border-left: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: translate(-50%, -50%) rotate(-45deg);
}

.reg-submit {
    display: block; width: 100%; height: 45px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(180deg, #fa5d5d 0%, #aa0707 91%, #e81010 100%);
    font-size: 22px; font-weight: 700; color: #ffffff;
    cursor: pointer;
    margin-top: 4px;
    transition: opacity 0.15s;
}
.reg-submit:hover { opacity: 0.92; }
.reg-submit:active { transform: translateY(1px); }
.reg-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.verify-mascot {
    position: relative;
    width: 98%;
    aspect-ratio: 423 / 139;
    margin: 0 auto;
    z-index: 3;
    pointer-events: none;
}
.verify-mascot img { width: 100%; height: 100%; display: block; }

.verify-form { display: flex; flex-direction: column; gap: 12px; }

.verify-field { display: flex; align-items: center; gap: 10px; }
.verify-field__label {
    flex: 0 0 90px;
    font-size: 11px;
    color: #ffcb38;
    font-weight: 500;
    white-space: nowrap;
}
.verify-field__input-wrap {
    flex: 1;
    position: relative;
    background: #2f2d2f;
    border: 1px solid #38383c;
    border-radius: 10px;
    height: 34px;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.verify-field__icon {
    width: 26px; height: 26px;
    margin-left: 4px;
    background-size: contain; background-repeat: no-repeat; background-position: center;
    flex-shrink: 0;
}
.verify-field__icon--user { background-image: url('/frontend/512/imgs/verify-icon-user.js'); }
.verify-field__icon--finger { background-image: url('/frontend/512/imgs/verify-icon-finger.js'); }
.verify-field__icon--phone { background-image: url('/frontend/512/imgs/verify-icon-phone.js'); }

.verify-field__phone-prefix {
    display: flex; align-items: center; gap: 4px;
    height: 100%;
    padding: 0 8px;
    background: #2f2d2f;
    border-right: 1px solid #38383c;
    color: #ffffff; font-size: 11px; font-weight: 500;
    flex-shrink: 0;
}
.verify-field__phone-prefix img {
    width: 16px; height: 16px; border-radius: 50%;
}

.verify-field__input {
    flex: 1; min-width: 0;
    background: transparent; border: none; outline: none;
    color: #ffffff; font-size: 11px;
    padding: 0 8px;
    font-family: inherit;
}
.verify-field__input::placeholder { color: #c4bfbf; font-size: 10px; }

.verify-field__captcha-img {
    flex: 0 0 99px;
    height: 100%;
    background: #2f2d2f;
    border-left: 1px solid #38383c;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
}
.verify-field__captcha-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.verify-field__send-otp {
    flex: 0 0 74px;
    height: 100%;
    background: #d43410;
    color: #ffffff;
    font-size: 11px;
    font-weight: 500;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    border: none;
    text-decoration: none;
}
.verify-field__send-otp:hover { color: #ffffff; opacity: 0.9; }

.verify-field__exists-status {
    position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
    z-index: 3; font-size: 18px; pointer-events: none;
}
.verify-field__exists-status i { color: #2bd471; }
.verify-field__exists-status.invalid i { color: #ff5353; }
.verify-field__exists-status.loading i {
    color: #bbb;
    display: inline-block;
    animation: spin 1s linear infinite;
}
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.verify-error {
    color: #ff5353; font-size: 10px;
    padding-left: 100px;
}
.verify-error:empty { display: none; }

.verify-tips {
    margin-top: 25px;
    font-size: 13px; line-height: 1.55;
    color: #ffffff;
    font-weight: 500;
}

.verify-tips__highlight { color: #ffcb38; font-weight: 500; }

.verify-submit {
    display: block;
    width: 70%;
    margin: 16px auto 0;
    height: 46px;
    border: 1px solid #fef200;
    border-radius: 13px;
    background: linear-gradient(180deg, #d7f586 0%, #ffcb38 100%);
    color: #000000;
    font-size: 24px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.15s;
    font-family: inherit;
}
.verify-submit:hover { opacity: 0.95; }
.verify-submit:active { transform: translateY(1px); }
.verify-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.detail-title,
.modal-body .modal-title {
    font-size: 26px; font-weight: 700; color: #d43410;
    text-align: center;
    margin: 4px 0 14px;
    letter-spacing: 0.5px;
}

.detail-table {
    border-radius: 13px;
    overflow: hidden;
    margin-bottom: 14px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.detail-table__head {
    display: flex; align-items: stretch;
    background: linear-gradient(180deg, #2f2a2d 0%, #53464e 100%);
    height: 40px;
}
.detail-table__head > span:not(.detail-table__divider) {
    flex: 1;
    font-size: 13px;
    color: #ffffff;
    font-weight: 500;
    text-align: center;
    display: flex; align-items: center; justify-content: center;
    line-height: 1.15;
    padding: 0 2px;
}
.detail-table__divider {
    flex: 0 0 1px;
    background: rgba(255,255,255,0.18);
    align-self: stretch;
}

.detail-table__body {
    display: flex; align-items: stretch;
    background: #ffffff;
    min-height: 50px;
}
.detail-table__body > span {
    flex: 1;
    font-size: 13px;
    color: #d43410;
    font-weight: 500;
    text-align: center;
    display: flex; align-items: center; justify-content: center;
    padding: 6px 4px;
    line-height: 1.25;
    border-left: 1px solid rgba(0,0,0,0.06);
}
.detail-table__body > span:first-child { border-left: none; }

.detail-notice {
    font-size: 14px; line-height: 1.5; color: #383035;
    font-weight: 400;
    margin-bottom: 10px;
}

.detail-rules {
    font-size: 13px; line-height: 1.7; color: #383035;
}
.detail-rules p { margin-bottom: 6px; }
.detail-rules__link {
    color: #d43410; font-weight: 500;
}

@media (max-width: 480px) {

    .wrapper {
        align-items: stretch;
        min-height: 100dvh;
        padding-bottom: calc(62px + env(safe-area-inset-bottom));
        background-size: cover;
        background-position: center top;
    }

    .top-bar { bottom: calc(61px + env(safe-area-inset-bottom)); width: calc(100% - 4.2vw); max-width: calc(500px - 4.2vw); height: 15.6vw; padding: 1.9vw 6vw 2.3vw 3vw; gap: 2.3vw; }
    .top-bar__logo { width: 11.4%; height: auto; aspect-ratio: 1; }
    .top-bar__text { font-size: 3.27vw; }
    .top-bar__text strong { font-size: 4.67vw; }
    .top-bar__btn { height: 7.7vw; padding: 0 5.4vw; font-size: 3.27vw; }
    .top-bar__dismiss {
        width: 7.5vw;
        height: 7.5vw;
        min-width: 28px;
        min-height: 28px;
        top: -1.9vw;
        right: -1.2vw;
    }

    .top-bar-reveal {
        bottom: calc(61px + env(safe-area-inset-bottom));
        width: clamp(42px, 11.45vw, 49px);
        height: clamp(42px, 11.45vw, 49px);
        padding: 0;
        border-radius: 2.58vw;
    }

    .hero-title {
        max-height: none;
        width: 85%;
    }

    .hero-title img {
        mix-blend-mode: normal;
    }
    .cta-buttons {
        gap: 20px;
        padding: 20px 11% 0;
    }
    .cta-btn {
        aspect-ratio: 241 / 45;
        width: 60%;
        height: 36px;
    }
    .cta-btn__text {
        font-size: 18px;
        line-height: 20px;
    }
    .cta-btn__icon {
        width: 18px;
        height: 18px;
    }
    .nav-item { gap: 1px; }
    .nav-item__icon { width: 26px; height: 26px; }
    .nav-item__label { font-size: 3.5vw; }

    .bottom-nav {
        min-height: 58px;
        height: auto;
        padding-bottom: env(safe-area-inset-bottom);
        border-radius: 15px 15px 0 0;
    }

    .modal-overlay {
        padding: 10px 0;
    }
}

@media (max-height: 740px) {
    .hero-title {
        width: 62%;
        margin: 3px auto 0;
    }

    .cta-buttons {
        gap: 16px;
        padding: 20px 14% 0;
    }

    .cta-btn {
        --cta-press: 4px;
        height: 36px;
        aspect-ratio: auto;
        border-radius: 24px;
    }
    .cta-btn__text {
        font-size: 16px;
        line-height: 18px;
    }
    .cta-btn__icon {
        width: 16px;
        height: 16px;
    }

    .promo-block {
        margin-top: 4px;
    }

    .gift-scene__gift {
        width: 158px;
        height: auto;
        aspect-ratio: 220 / 146;
    }
    .gift-scene__money {
        transform: scale(1.18);
    }

    .ribbon-banner {
        margin: -20% -3.74% -14%;
    }

    .promo-card {
        padding: 8% 1.4% 4% 6%;
        gap: 5px;
    }
    .promo-row__strip {
        font-size: clamp(10px, 3vw, 13px);
    }
    .promo-row__badge {
        font-size: clamp(12px, 3.7vw, 16px);
    }

    .wrapper-girl--left {
        top: 17%;
        width: 168px;
        height: auto;
    }
    .wrapper-girl--right {
        top: 15%;
        width: 145px;
        height: auto;
    }

    .modal-overlay {
        padding: 0 0;
    }
}
