﻿@import url('https://fonts.googleapis.com/css2?family=TikTok+Sans:opsz,wdth,wght@12..36,75..125,300..900&family=Manrope:wght@200..800&family=Geist:wght@100..900&display=swap');

body {
    font-family: "Geist", sans-serif;
}

.top-notice {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translate(-50%, -10px);
    width: calc(100% - 20px);
    max-width: 420px;
    border-radius: 10px;
    background-color: #BB0A1C;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    padding: 12px 14px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    z-index: 400;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
}

.top-notice--visible {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

html,
body {
    overflow-x: clip;
}

html.modal-open,
body.modal-open {
    overflow: hidden;
}

svg {
    display: inline-block;
    vertical-align: middle;
}

.container {
    max-width: 740px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
}

.header {
    margin: 0 0 50px;
}

.header__container {
    max-width: 1200px;
    margin: 0 auto;
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 0 0 20px 20px;
    background-color: #F4F4F4;
    padding: 10px 20px 10px;
}

.header__distribution {
    display: flex;
    align-items: center;
    font-size: clamp(10px, 2.2vw, 11px);
    font-weight: 600;
    letter-spacing: 0.44px;
    gap: 8px;
    padding: clamp(8px, 1.8vw, 10px) clamp(12px, 3vw, 15px);
    border-radius: 8px;
    background-color: #5CFF6C;
    text-transform: uppercase;
    transform-origin: center;
}

.header__distribution svg,
.header__distribution-text {
    animation: blink 2s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {

    .header__distribution svg,
    .header__distribution-text {
        animation: none;
    }
}

@media (width >=500px) {
    .header__distribution {
        display: none;
    }
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.logo__name {
    font-size: clamp(16px, 2.2vw, 24px);
    font-weight: 800;
    color: #131313;
    font-family: "Manrope", sans-serif;
}

.logo__name-accent {
    color: #91f900;
}

.menu-button {
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
}

@media (width <=500px) {
    .menu-button {
        display: none;
    }
}


.banner {
    margin: 0 0 20px;
}

.banner__inner {
    position: relative;
}

.banner__img>img {
    border-radius: 10px;
}

.banner__text {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    left: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.70);
    backdrop-filter: blur(2.5px);
    font-family: "TikTok Sans", sans-serif;
    font-stretch: 125%;
    padding: 10px 0;
    border-radius: 0 0 10px 10px;
}

.banner__text-value {
    text-align: center;
    font-size: clamp(12px, 1.8vw, 18px);
    font-weight: 700;
    color: #fff;
}

.banner__text-value-accent {
    font-weight: 900;
    color: #5CFF6C;
}

.banner__text-price {
    color: #163119;
    background-color: #5CFF6C;
    border-radius: 10px;
    padding: 0 7px;
}

.banner__text-old {
    color: #FF4545;
    font-size: clamp(13px, 1.5vw, 15px);
    text-decoration: line-through;
}

.banner__decoration {
    position: absolute;
    top: clamp(-64px, -6vw, -20px);
    right: clamp(-90px, -8vw, -60px);
    animation: banner-float 3.8s ease-in-out infinite;
}

.banner__decoration img {
    width: clamp(130px, 20vw, 261px);
    height: auto;
}

.banner__decoration.two {
    top: auto;
    bottom: 20px;
    left: clamp(-80px, -7vw, -50px);
    animation: banner-float 4.4s ease-in-out 0.6s infinite reverse;
}

.banner__decoration.two img {
    width: clamp(95px, 15vw, 191px);
    height: auto;
}

@keyframes banner-float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }

    100% {
        transform: translateY(0);
    }
}

.live-tape {
    margin: 0 0 20px;
}

.live-tape__slider {
    width: 100%;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 20px 0;
}

.live-tape .swiper-wrapper {
    align-items: center;
}

.live-tape .swiper-slide {
    width: 56px;
}

.live-tape__card {
    width: 56px;
    height: 62px;
    border-radius: 6px;
    background-color: rgba(0, 0, 0, 0.05);
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.live-tape__icon {
    width: 22px;
    height: 24px;
    display: block;
}

.live-tape__value {
    margin: 0;
    color: #393B3D;
    font-size: clamp(10px, 1.2vw, 12px);
    font-weight: 600;
}

@media (width >=500px) {
    .live-tape {
        display: none;
    }
}



.form {
    margin: 0 0 20px;
}

.form__card {
    border: 1px solid rgba(0, 0, 0, 0.10);
    border-radius: 20px;
    background-color: #fff;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form__field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form__label {
    font-size: clamp(13px, 1.5vw, 15px);
    font-weight: 500;
    color: #000;
    opacity: 0.5;
}

.form__input {
    width: 100%;
    height: 64px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.10);
    background-color: rgba(0, 0, 0, 0.05);
    padding: 0 20px;
    font-size: clamp(15px, 1.8vw, 18px);
    font-weight: 500;
    color: #111;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.form__input::placeholder {
    color: #000;
    opacity: 0.5;
}

.form__input--valid {
    border-color: #5CBB0A;
    background-color: rgba(92, 187, 10, 0.05);
    color: #0E1F00;
}

.form__input--valid::placeholder {
    color: #0E1F00;
    opacity: 0.5;
}

.form__input--invalid {
    border-color: #BB0A1C;
    background-color: rgba(187, 10, 28, 0.05);
    color: #320005;
}

.form__input--invalid::placeholder {
    color: #320005;
    opacity: 0.5;
}

.form__input:focus-visible {
    border-color: #5CBB0A;
    box-shadow: 0 0 0 3px rgba(92, 187, 10, 0.2);
}

.form__input--valid:focus-visible {
    border-color: #5CBB0A;
    box-shadow: 0 0 0 3px rgba(92, 187, 10, 0.2);
}

.form__input--invalid:focus-visible {
    border-color: #BB0A1C;
    box-shadow: 0 0 0 3px rgba(187, 10, 28, 0.2);
}

.form__submit {
    width: 100%;
    border: 0;
    border-radius: 10px;
    background-color: #5CBB0A;
    color: #fff;
    padding: 20px;
    font-size: clamp(16px, 1.8vw, 18px);
    font-weight: 700;
    box-shadow: 0 9px 31px 0 rgba(0, 0, 0, 0.11), 0 3.76px 12.951px 0 rgba(0, 0, 0, 0.08), 0 2.01px 6.924px 0 rgba(0, 0, 0, 0.07), 0 1.127px 3.882px 0 rgba(0, 0, 0, 0.05), 0 0.599px 2.062px 0 rgba(0, 0, 0, 0.04), 0 0.249px 0.858px 0 rgba(0, 0, 0, 0.03);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.form__submit::after {
    content: "";
    position: absolute;
    top: 0;
    left: -30%;
    width: 50px;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 30%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0.3) 70%, rgba(255, 255, 255, 0) 100%);
    transform: skew(-10deg, 0deg);
    animation: submit-shine 5s ease 1.165s infinite;
}

.form__submit:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
    box-shadow: 0 12px 34px 0 rgba(0, 0, 0, 0.12), 0 4px 14px 0 rgba(0, 0, 0, 0.08), 0 2px 7px 0 rgba(0, 0, 0, 0.07), 0 1px 4px 0 rgba(0, 0, 0, 0.05), 0 0.5px 2px 0 rgba(0, 0, 0, 0.04), 0 0.2px 1px 0 rgba(0, 0, 0, 0.03);
}

.form__submit:active {
    transform: translateY(0);
    filter: brightness(0.98);
}

@keyframes submit-shine {
    0% {
        left: -10%;
        opacity: 0;
    }

    5% {
        opacity: 1;
    }

    25% {
        left: 100%;
    }

    100% {
        width: 0;
        left: 110%;
    }
}

.form__agreement {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.form__checkbox {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.form__checkbox-ui {
    width: 23px;
    height: 23px;
    border: 1px solid #FF0000;
    color: #FF0000;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.form__checkbox-ui svg {
    display: block;
}

.form__agreement-text {
    flex: 1 0 0;
    min-width: 0;
    font-size: clamp(11px, 1.3vw, 13px);
    line-height: 1.2;
    color: rgba(17, 17, 17, 0.70);
}

.form__agreement-emphasis {
    font-weight: 500;
}

.form__agreement-text a {
    color: #FF0000;
    text-decoration: underline;
}

.form__agreement--plain-links .form__agreement-text a {
    text-decoration: none;
}

.form__checkbox:not(:checked)+.form__checkbox-ui svg {
    opacity: 0;
}

.form__expand {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.05);
    padding: 10px 10px 10px 15px;
    -webkit-tap-highlight-color: transparent;
}

.form__expand-text {
    color: #000;
    opacity: 0.4;
    font-size: 15px;
    font-weight: 500;
}

.form__expand-icon {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #7B7D80;
    transition: transform 0.3s ease;
}

.form__expand-icon svg path {
    stroke: #7B7D80;
}

.form__trial {
    margin-top: 6px;
}

.form__trial:empty {
    margin-top: 0;
}

.form__trial .trial {
    margin: 15px 0 0 0;
}

.form__trial .trial .container {
    max-width: none;
    padding: 0;
}

@media (width >=500px) {
    .form__expand {
        display: none;
    }
}

@media (width <=500px) {
    .form__checkbox-ui {
        width: 16px;
        height: 16px;
        border: 1px solid rgba(0, 0, 0, 0.1);
        color: rgba(17, 17, 17, 0.35);
        margin-top: 2px;
    }

    .form__checkbox-ui svg {
        width: 10px;
        height: 10px;
    }

    .form__checkbox-ui svg path {
        stroke: currentColor;
    }

    .form__agreement-text {
        color: rgba(17, 17, 17, 0.6);
        font-size: 11px;
        line-height: 1.2;
    }

    .form__agreement-text a {
        color: rgba(0, 0, 0, 0.6);
    }

    .form__trial {
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        margin-top: 0;
        transition: max-height 0.35s ease, opacity 0.25s ease, margin-top 0.35s ease;
    }

    .form__card--trial-open .form__trial {
        max-height: 1200px;
        opacity: 1;
        margin-top: 6px;
    }

    .form__card--trial-open .form__expand-icon {
        transform: rotate(180deg);
    }
}

.trial {
    margin: 0 0 20px;
}

.trial__card {
    position: relative;
    border: 1px solid #E5E5E5;
    border-radius: 20px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.trial__badge {
    position: absolute;
    top: -14px;
    right: 0;
    border: 1px solid #E5E5E5;
    border-radius: 50px;
    background-color: #fff;
    color: #858585;
    font-size: clamp(10px, 1.2vw, 12px);
    font-weight: 500;
    padding: 5px 15px;
}

.trial__head {
    width: 100%;
    background-color: #fff;
    border-bottom: 1px solid #E5E5E5;
    border-radius: 20px;
    padding: 15px;
    text-align: center;
}

.trial__head-text {
    margin: 0;
    color: #000;
    font-size: clamp(13px, 1.5vw, 15px);
    font-weight: 600;
}

.trial__head-accent {
    font-weight: 700;
}

.trial__features {
    width: 100%;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

@media (width <=500px) {
    .trial__features {
        grid-template-columns: none;
    }
}

.trial__feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.trial__feature-icon {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.trial__feature-text {
    margin: 0;
    color: #000;
    font-size: clamp(12px, 1.4vw, 14px);
    font-weight: 500;
    line-height: 1.3;
}

.trial__gift {
    width: calc(100% - 40px);
    margin: 0 20px 20px;
    border: 1px solid #E5E5E5;
    border-radius: 10px;
    background-color: #fff;
    overflow: hidden;
    display: flex;
}

.trial__gift-icon-wrap {
    border-radius: 10px 0 0 0;
    background-color: #E5E5E5;
    padding: 15px 17px;
}

.trial__gift-icon {
    width: 62px;
    height: 62px;
    display: block;
}

.trial__gift-main {
    flex: 1;
    min-width: 0;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

@media (width <=500px) {
    .trial__gift-icon-wrap {
        display: flex;
        justify-content: center;
        margin: 0 0 20px;
    }

    .trial__gift {
        padding: 0 0 20px;
        flex-direction: column;
    }

    .trial__gift-main {
        flex-direction: column;
        text-align: center;
    }
}

.trial__gift-text {
    min-width: 0;
}

.trial__gift-title {
    margin: 0;
    color: #000;
    font-size: clamp(13px, 1.5vw, 15px);
    font-weight: 600;
}

.trial__gift-subtitle {
    color: rgba(0, 0, 0, 0.8);
    font-size: clamp(13px, 1.5vw, 15px);
    font-weight: 500;
}

.trial__gift-subtitle span {
    color: #858585;
    opacity: 0.7;
    text-decoration: line-through;
}

.trial__gift-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    opacity: 0.3;
    flex-shrink: 0;
}

.trial__gift-status-text {
    margin: 0;
    color: #000;
    font-size: clamp(13px, 1.5vw, 15px);
    font-weight: 800;
}

.trial__gift-status-icon {
    width: 15px;
    height: 15px;
    display: block;
}

.side-menu {
    position: fixed;
    inset: 0;
    z-index: 210;
    pointer-events: none;
}

.side-menu__backdrop {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.side-menu__panel {
    position: absolute;
    top: 0;
    right: 0;
    width: 420px;
    max-width: calc(100% - 20px);
    height: 100%;
    background-color: #fff;
    box-shadow: -20px 0 50px rgba(0, 0, 0, 0.2);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    padding: 56px 24px 24px;
}

.side-menu__close {
    position: absolute;
    top: 12px;
    right: 14px;
    border: 0;
    background: transparent;
    font-size: clamp(22px, 2.4vw, 30px);
    color: #7d7d7d;
    padding: 0;
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease;
}

.side-menu__title {
    margin: 0 0 14px;
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 700;
    color: #131313;
}

.side-menu__nav {
    display: flex;
    flex-direction: column;
}

.side-menu__link {
    padding: 16px 0;
    border-top: 1px solid #E9E9E9;
    color: #131313;
    font-size: clamp(14px, 1.6vw, 16px);
    font-weight: 500;
    transition: color 0.2s ease, transform 0.2s ease, opacity 0.2s ease, background-color 0.2s ease;
}

.side-menu__link--primary {
    border-top: none;
    border: 0;
    border-radius: 10px;
    background-color: #5CBB0A;
    color: #fff;
    font-weight: 700;
    padding: 12px 14px;
    margin-bottom: 8px;
    box-shadow: 0 9px 31px 0 rgba(0, 0, 0, 0.11), 0 3.76px 12.951px 0 rgba(0, 0, 0, 0.08), 0 2.01px 6.924px 0 rgba(0, 0, 0, 0.07), 0 1.127px 3.882px 0 rgba(0, 0, 0, 0.05), 0 0.599px 2.062px 0 rgba(0, 0, 0, 0.04), 0 0.249px 0.858px 0 rgba(0, 0, 0, 0.03);
}

@media (hover: hover) and (pointer: fine) {
    .side-menu__close:hover {
        transform: rotate(90deg);
        color: #131313;
    }

    .side-menu__link:hover {
        color: #5CBB0A;
        transform: translateX(3px);
    }

    .side-menu__link--primary:hover {
        color: #fff;
        transform: translateY(-1px);
        filter: brightness(1.04);
    }
}

.side-menu__nav .side-menu__link:last-child {
    border-bottom: 1px solid #E9E9E9;
}

.side-menu--open {
    pointer-events: auto;
}

.side-menu--open .side-menu__backdrop {
    opacity: 1;
}

.side-menu--open .side-menu__panel {
    transform: translateX(0);
}

.rules-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    pointer-events: none;
}

.rules-modal__backdrop {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.rules-modal__dialog {
    position: absolute;
    top: 50%;
    left: 50%;
    bottom: auto;
    transform: translate(-50%, -46%);
    width: calc(100% - 20px);
    max-width: 437px;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
    padding: 18px 16px 30px;
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s ease, opacity 0.2s ease, visibility 0s linear 0.35s;
}

.rules-modal__close {
    position: absolute;
    top: 8px;
    right: 10px;
    border: 0;
    background: transparent;
    font-size: clamp(16px, 2vw, 20px);
    color: #7d7d7d;
    padding: 0;
}

.rules-modal__title {
    margin: 0 0 12px;
    text-align: center;
    font-size: clamp(24px, 3.2vw, 36px);
    font-weight: 500;
    color: #2d2d2d;
    font-family: "TikTok Sans", sans-serif;
}

.rules-modal__text {
    margin: 0;
    padding: 14px 8px 16px;
    border-top: 1px solid #efefef;
    text-align: center;
    color: #2d2d2d;
    font-size: clamp(13px, 1.5vw, 15px);
    line-height: 1.3;
    font-family: "TikTok Sans", sans-serif;
}

.rules-modal__text a {
    color: inherit;
    text-decoration: underline;
}

.rules-modal__action {
    display: block;
    margin: 0 auto;
    width: 100%;
    max-width: none;
    border: 0;
    border-radius: 10px;
    background-color: #5CBB0A;
    color: #fff;
    font-family: "TikTok Sans", sans-serif;
    font-size: clamp(15px, 1.8vw, 18px);
    font-weight: 700;
    padding: 20px;
    box-shadow: 0 9px 31px 0 rgba(0, 0, 0, 0.11), 0 3.76px 12.951px 0 rgba(0, 0, 0, 0.08), 0 2.01px 6.924px 0 rgba(0, 0, 0, 0.07), 0 1.127px 3.882px 0 rgba(0, 0, 0, 0.05), 0 0.599px 2.062px 0 rgba(0, 0, 0, 0.04), 0 0.249px 0.858px 0 rgba(0, 0, 0, 0.03);
    cursor: pointer;
}

.rules-modal--open {
    pointer-events: auto;
}

.rules-modal--open .rules-modal__backdrop {
    opacity: 1;
}

.rules-modal--open .rules-modal__dialog {
    transform: translate(-50%, -50%);
    opacity: 1;
    visibility: visible;
    transition: transform 0.35s ease, opacity 0.2s ease;
}

.payment-modal {
    position: fixed;
    inset: 0;
    z-index: 230;
    pointer-events: none;
}

.payment-modal__backdrop {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.payment-modal__dialog {
    position: absolute;
    top: 50%;
    left: 50%;
    bottom: auto;
    transform: translate(-50%, -46%);
    width: calc(100% - 20px);
    max-width: 520px;
    border-radius: 16px;
    background-color: #fff;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
    padding: 16px;
    max-height: calc(100dvh - 20px);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s ease, opacity 0.2s ease, visibility 0s linear 0.35s;
}

.payment-modal__close {
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    background: transparent;
    color: #000;
    padding: 0;
    line-height: 0;
    cursor: pointer;
    flex-shrink: 0;
    align-self: flex-start;
    -webkit-tap-highlight-color: transparent;
}

.payment-modal__close svg {
    display: block;
}

.payment-modal__close svg path {
    stroke: currentColor;
}

.payment-modal__amount {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 12px;
}

.payment-modal__amount-main {
    flex: 1 1 auto;
    min-width: 0;
}

.payment-modal__amount-label {
    display: block;
    color: #000;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 2px;
}

.payment-modal__amount-value {
    margin: 0;
    color: #000;
    font-size: 25px;
    font-weight: 700;
    line-height: 1;
}

.payment-modal__frame-wrap {
    overflow: hidden;
}

.payment-modal__frame {
    width: 100%;
    border: 0;
    display: block;
    background-color: #fff;
    min-height: 620px;
    overflow: hidden;
}

.payment-modal__note {
    margin: 12px 0 0;
    color: rgba(17, 17, 17, 0.6);
    font-size: 11px;
    line-height: 1.3;
}

.payment-modal__note a {
    color: rgba(17, 17, 17, 0.7);
    text-decoration: underline;
}

.payment-modal--open {
    pointer-events: auto;
}

.payment-modal--open .payment-modal__backdrop {
    opacity: 1;
}

.payment-modal--open .payment-modal__dialog {
    transform: translate(-50%, -50%);
    opacity: 1;
    visibility: visible;
    transition: transform 0.35s ease, opacity 0.2s ease;
}

@media (width <=500px) {
    .rules-modal__dialog {
        top: auto;
        left: 50%;
        bottom: 0;
        width: 100%;
        max-width: none;
        border-radius: 14px 14px 0 0;
        padding: 30px 8px 30px;
        transform: translate(-50%, calc(100% + 1px));
    }

    .rules-modal--open .rules-modal__dialog {
        transform: translate(-50%, 0);
    }

    .payment-modal__dialog {
        top: auto;
        left: 50%;
        bottom: 0;
        width: 100%;
        max-width: none;
        border-radius: 14px 14px 0 0;
        transform: translate(-50%, calc(100% + 1px));
    }

    .payment-modal--open .payment-modal__dialog {
        transform: translate(-50%, 0);
    }

    .payment-modal__frame {
        min-height: 560px;
    }
}
