body.page-text {
    background: #111016;
}

body.no-scroll {
    overflow: hidden;
}

#donate {
    --color-lightblue: #e2e5fc;
    --color-accent: #ffa800;
    --color-accent-blend: rgba(255, 168, 0, 0.8);
    flex: 0 0 auto;
    width: 100%;
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    padding: 126px 0 88px;
    background-color: #111016;
    background-image:
        linear-gradient(180deg, rgba(17, 16, 22, 0.34), rgba(17, 16, 22, 0.8)),
        url("../../../img/bg-donate.jpg");
    background-position: center, center top;
    background-repeat: no-repeat;
    background-size: cover;
    color: var(--color-lightblue);
    font-family: "Avenir Next", "AvenirNextCyr-Regular", sans-serif;
}

#donate .donate-page-shell {
    display: flex;
    justify-content: center;
    width: min(100%, 1180px);
    min-width: 0;
}

#donate .donation {
    width: min(100%, 445px);
    min-width: 0;
}

#donate .donation__title {
    margin: 0 0 10px;
    color: var(--color-lightblue);
    font-family: "Philosopher", "Philosopher-Regular", serif;
    font-size: 36px;
    font-weight: 400;
    line-height: 1;
    text-align: center;
}

#donate .donation__info {
    margin: 0;
    color: var(--color-lightblue);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.53;
    text-align: center;
}

#donate .donation__info-currency {
    font-family: Montserrat, "Avenir Next", sans-serif;
}

#donate .donation__separator {
    width: 100%;
    height: 12px;
    margin: 30px 0;
    background: url("../../../img/lk/donation-sepapartor.svg") center / contain no-repeat;
}

#donate .donation__form,
#donate .donation__fields {
    width: 100%;
}

#donate .donation__fields {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

#donate standard-input {
    display: block;
    min-width: 0;
    font-size: 16px !important;
    --standard-input-padding: 16px 20px;
    --standard-input-radius: 10px;
    --standard-input-field-color: #e2e5fc;
}

#donate .donation__primary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: stretch;
}

#donate .donation__amount-wrapper {
    position: relative;
    min-width: 0;
}

#donate .donation__amount-spinner {
    position: absolute;
    top: 50%;
    right: 8px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    transform: translateY(-50%);
}

#donate .donation__spinner-btn {
    display: grid;
    width: 28px;
    height: 20px;
    padding: 0;
    place-items: center;
    border: 0;
    background: transparent;
    color: rgba(226, 229, 252, 0.55);
    font-size: 10px;
    line-height: 1;
    cursor: pointer;
}

#donate .donation__spinner-btn:hover,
#donate .donation__spinner-btn:focus-visible {
    color: var(--color-accent);
}

#donate .donation__bonus {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 142px;
    padding: 16px 18px;
    border: 1px solid rgba(255, 156, 65, 0.4);
    border-radius: 10px;
    background: rgba(226, 229, 252, 0);
    color: var(--color-accent);
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
}

#donate .donation__bonus:hover,
#donate .donation__bonus:focus-visible {
    background: rgba(255, 168, 0, 0.1);
    outline: none;
}

#donate .donation__bonus img {
    display: block;
    flex: 0 0 auto;
}

#donate .donation__warning {
    padding: 10px 14px;
    border: 1px solid rgba(231, 91, 91, 0.5);
    border-radius: 8px;
    background: rgba(105, 23, 23, 0.45);
    color: #ffb8b8;
    font-size: 13px;
    line-height: 1.4;
    text-align: center;
}

#donate .donation__warning[hidden] {
    display: none;
}

#donate .donation__rates {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 13px;
}

#donate .donation__rate {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    padding: 13px 0;
    color: var(--color-lightblue);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.53;
}

#donate .donation__rate + .donation__rate {
    border-top: 1px solid rgba(226, 229, 252, 0.19);
}

#donate .donation__rates-info {
    max-width: 390px;
    margin: 4px auto 0;
    color: rgba(226, 229, 252, 0.42);
    font-size: 10px;
    line-height: 1.4;
    text-align: center;
}

#donate .donation__methods {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 105px));
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

#donate .donation__method {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 105px;
    height: 70px;
    min-width: 0;
    padding: 8px;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 10px;
    background: rgba(226, 229, 252, 0.1);
    color: var(--color-lightblue);
    font-family: inherit;
    cursor: pointer;
    user-select: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

#donate .donation__method:hover:not(.donation__method--active),
#donate .donation__method:focus-visible:not(.donation__method--active) {
    box-shadow: 0 0 6px rgba(226, 229, 252, 0.7);
    outline: none;
}

#donate .donation__method--active {
    border-color: var(--color-accent);
    box-shadow: 0 0 6px var(--color-accent);
}

#donate .donation__method-title {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

#donate .donation__method-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

#donate .donation__method-icon img {
    display: block;
    width: 100%;
    max-width: 89px;
    height: 54px;
    object-fit: contain;
}

#donate .donation__method[data-ps="paypalych"],
#donate .donation__method[data-ps="freekassa"] {
    padding: 0;
    background: transparent;
}

#donate .donation__method[data-ps="paypalych"] .donation__method-icon img,
#donate .donation__method[data-ps="freekassa"] .donation__method-icon img {
    width: 100%;
    max-width: 100%;
    height: auto;
}

#donate .donation__unavailable {
    margin: 18px 0 0;
    color: #ffb8b8;
    font-size: 14px;
    text-align: center;
}

#donate .donation__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 30px;
}

#donate .hex-btn-flat-cracked {
    position: relative;
    z-index: 1;
    width: 258px;
    min-height: 64px;
    padding: 18px 36px;
    border: 0;
    background: transparent url("../../../img/lk/accent-flat-bg-cracked-hexagonal-button.svg") center / contain no-repeat;
    color: var(--color-lightblue);
    font-family: "Avenir Next", "AvenirNextCyr-Bold", sans-serif;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    text-shadow: 0 0 8px #ff8d24;
    text-transform: uppercase;
    cursor: pointer;
}

#donate .hex-btn-flat-cracked:not([disabled]):hover,
#donate .hex-btn-flat-cracked:not([disabled]):focus-visible {
    filter: drop-shadow(0 0 5px var(--color-accent-blend));
    outline: none;
}

#donate .hex-btn-flat-cracked[disabled] {
    opacity: 0.45;
    cursor: not-allowed;
}

#donate .donation__summary {
    width: 100%;
    margin-top: 10px;
    color: var(--color-lightblue);
    font-size: 16px;
    font-weight: 200;
    text-align: center;
}

#donate .donation__summary-value {
    color: var(--color-accent);
}

#bonus-info {
    font-size: 16px !important;
    --backing-width: min(500px, calc(100vw - 28px));
    --backing-max-width: 500px;
    --backing-padding: 20px;
}

#bonus-info .bonus-content {
    display: flex;
    max-height: calc(100dvh - 120px);
    padding: 0 14px 14px;
    overflow-y: auto;
    flex-direction: column;
    align-items: center;
    scrollbar-width: thin;
    scrollbar-color: #4a4853 transparent;
}

#bonus-info .form-title {
    margin: 0 0 16px;
    color: var(--color-lightblue);
    font-family: "Philosopher", "Philosopher-Regular", serif;
    font-size: 30px;
    font-weight: 400;
    line-height: 1;
    text-align: center;
}

#bonus-info .description {
    padding: 0 20px;
    color: var(--color-lightblue);
    font-size: 16px;
    font-weight: 200;
    line-height: 1.53;
    text-align: center;
}

#bonus-info .bonus-table {
    display: flex;
    width: 100%;
    padding: 16px 10px 0;
    flex-direction: column;
    align-items: center;
}

#bonus-info .bonus-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: 100%;
}

#bonus-info .separator {
    width: 100%;
    height: 1px;
    margin: 20px 0;
    background: linear-gradient(90deg, rgba(226, 229, 252, 0) 2.65%, #e2e5fc 49.56%, rgba(226, 229, 252, 0) 95.45%);
}

#bonus-info .range,
#bonus-info .bonus {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.53;
    text-align: center;
}

#bonus-info .bonus {
    color: var(--color-accent);
}

#bonus-info .bonus-prizes {
    width: 100%;
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid rgba(226, 229, 252, 0.19);
}

#bonus-info .bonus-prizes__heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 18px;
    color: var(--color-lightblue);
}

#bonus-info .bonus-prizes__heading img {
    flex: 0 0 auto;
    object-fit: contain;
}

#bonus-info .bonus-prizes__heading strong,
#bonus-info .bonus-prizes__heading span {
    display: block;
}

#bonus-info .bonus-prizes__heading strong {
    font-size: 16px;
}

#bonus-info .bonus-prizes__heading span {
    margin-top: 3px;
    color: rgba(226, 229, 252, 0.6);
    font-size: 11px;
    line-height: 1.35;
}

#bonus-info .bonus-prize-item {
    display: none;
    padding: 14px;
    border: 1px solid rgba(226, 229, 252, 0.15);
    border-radius: 10px;
    background: rgba(226, 229, 252, 0.06);
}

#bonus-info .bonus-prize-item--active {
    display: block;
}

#bonus-info .bonus-prize-item h3 {
    margin: 0 0 10px;
    color: var(--color-accent);
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
}

#bonus-info .bonus-prize-item li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-lightblue);
    font-size: 13px;
}

#bonus-info .bonus-prize-item li + li {
    margin-top: 8px;
}

#bonus-info .bonus-prize-item li img {
    flex: 0 0 32px;
    object-fit: contain;
}

@media (max-width: 600px) {
    #donate {
        padding: 104px 0 58px;
        background-position: center, 57% top;
    }

    #donate .donate-page-shell {
        padding-right: 18px;
        padding-left: 18px;
    }

    #donate .donation__title {
        font-size: 34px;
    }

    #donate .donation__separator {
        margin: 24px 0;
    }

    #donate .donation__primary {
        grid-template-columns: 1fr;
    }

    #donate .donation__bonus {
        width: 100%;
        min-height: 56px;
    }

    #donate .donation__methods {
        margin-top: 26px;
    }

    #donate .donation__cta {
        margin-top: 26px;
    }

    #bonus-info {
        --backing-padding: 14px;
    }

    #bonus-info .bonus-content {
        max-height: calc(100dvh - 92px);
        padding-right: 4px;
        padding-left: 4px;
    }

    #bonus-info .description {
        padding: 0 6px;
        font-size: 14px;
    }

    #bonus-info .bonus-table {
        padding-right: 2px;
        padding-left: 2px;
    }

    #bonus-info .range,
    #bonus-info .bonus {
        font-size: 14px;
    }
}
