/* ==========================================================================
   DONATE — SHAIYA ADDICTED
   Подключать после основных стилей сайта
   ========================================================================== */

body:has(.donate-page)
.column-left
.content-bg
> .content-header {
    display: none !important;
}


.donate-page {
    padding: 18px 0 10px;

    color: #c7ced3;
}


.donate-page *,
.donate-page *::before,
.donate-page *::after {
    box-sizing: border-box;
}


/* ==========================================================================
   HERO
   ========================================================================== */

.donate-hero {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 28px;

    min-height: 190px;
    margin-bottom: 18px;
    padding: 28px 28px 27px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 83% 19%,
            rgba(213, 199, 126, .09),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            rgba(18, 22, 25, .985),
            rgba(10, 14, 17, .99)
        );

    border: 1px solid rgba(210, 199, 143, .13);
    border-radius: 4px;

    box-shadow:
        0 12px 30px rgba(0, 0, 0, .14);
}


.donate-hero::before {
    content: "";

    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;

    width: 3px;

    background:
        linear-gradient(
            180deg,
            #e1d489,
            rgba(225, 212, 137, .28)
        );
}


.donate-hero__content {
    position: relative;
    z-index: 2;

    max-width: 610px;
}


.donate-eyebrow,
.donate-section-kicker,
.donate-help__eyebrow {
    color: #b9ab70;

    font-size: 10px;
    line-height: 13px;
    font-weight: 700;

    letter-spacing: .8px;
    text-transform: uppercase;
}


.donate-title {
    margin: 8px 0 8px;

    color: #f1f3f4;

    font-size: 31px;
    line-height: 35px;
    font-weight: 700;
}


.donate-description {
    max-width: 585px;
    margin: 0;

    color: #808a91;

    font-size: 13px;
    line-height: 19px;
}


.donate-hero__note {
    display: inline-flex;
    align-items: center;

    gap: 11px;

    margin-top: 17px;
    padding: 10px 13px 10px 9px;

    background: rgba(208, 194, 116, .05);

    border: 1px solid rgba(208, 194, 116, .10);
    border-radius: 4px;
}


.donate-hero__note-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    color: #e3d582;
    background: rgba(197, 178, 87, .085);

    border: 1px solid rgba(208, 194, 116, .12);
    border-radius: 4px;

    font-size: 12px;
    font-weight: 800;
}


.donate-hero__note > span:last-child {
    display: flex;
    flex-direction: column;
}


.donate-hero__note strong {
    color: #d6cfaa;

    font-size: 12px;
    line-height: 16px;
    font-weight: 700;
}


.donate-hero__note small {
    margin-top: 3px;

    color: #7b858c;

    font-size: 10px;
    line-height: 14px;
}


/* BALANCE */

.donate-balance {
    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: column;
    justify-content: center;

    width: 190px;
    min-width: 190px;
    min-height: 104px;

    padding: 16px 18px;

    background:
        linear-gradient(
            180deg,
            rgba(7, 10, 12, .85),
            rgba(9, 12, 15, .82)
        );

    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 4px;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .015);
}


.donate-balance__label {
    color: #667078;

    font-size: 8px;
    line-height: 11px;

    text-transform: uppercase;
    letter-spacing: .45px;
}


.donate-balance__value {
    margin-top: 3px;

    color: #ded184;

    font-size: 25px;
    line-height: 29px;
    font-weight: 700;

    white-space: nowrap;
}


.donate-balance__value small {
    font-size: 13px;
}


.donate-balance__caption {
    margin-top: 3px;

    color: #515a61;

    font-size: 8px;
    line-height: 11px;
}


/* ==========================================================================
   SECTION
   ========================================================================== */

.donate-section {
    margin-bottom: 18px;
    padding: 20px 18px 21px;

    background:
        linear-gradient(
            180deg,
            rgba(12, 16, 19, .975),
            rgba(9, 13, 16, .985)
        );

    border: 1px solid rgba(255, 255, 255, .055);
    border-radius: 4px;

    box-shadow:
        0 8px 24px rgba(0, 0, 0, .10);
}


.donate-section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 18px;

    margin-bottom: 17px;
    padding-bottom: 13px;

    border-bottom: 1px solid rgba(255, 255, 255, .045);
}


.donate-section-head h2 {
    margin: 4px 0 0;

    color: #e5e8ea;

    font-size: 19px;
    line-height: 24px;
    font-weight: 700;
}


.donate-section-head p {
    margin: 4px 0 0;

    color: #6b757c;

    font-size: 10px;
    line-height: 15px;
}


.donate-package-count {
    display: inline-flex;
    align-items: center;

    min-height: 27px;
    padding: 0 10px;

    color: #98926e;
    background: rgba(208, 194, 116, .035);

    border: 1px solid rgba(208, 194, 116, .08);
    border-radius: 20px;

    font-size: 9px;
    line-height: 12px;
    font-weight: 700;
}


/* ==========================================================================
   DONATE CARDS
   ========================================================================== */

.donate-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 10px;
}


.donate-card {
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;

    min-width: 0;
    min-height: 215px;

    padding: 19px 15px 15px;

    overflow: hidden;

    color: inherit !important;

    background:
        radial-gradient(
            circle at 50% -4%,
            rgba(209, 193, 113, .055),
            transparent 42%
        ),
        linear-gradient(
            180deg,
            rgba(17, 21, 24, .98),
            rgba(10, 14, 17, .99)
        );

    border: 1px solid rgba(255, 255, 255, .055);
    border-radius: 4px;

    text-decoration: none !important;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .012);

    transition:
        transform .18s ease,
        border-color .18s ease,
        background .18s ease,
        box-shadow .18s ease;
}


.donate-card:hover {
    color: inherit !important;

    background:
        radial-gradient(
            circle at 50% -4%,
            rgba(209, 193, 113, .09),
            transparent 45%
        ),
        linear-gradient(
            180deg,
            rgba(20, 24, 27, .99),
            rgba(11, 15, 18, 1)
        );

    border-color: rgba(211, 198, 130, .16);

    box-shadow:
        0 10px 22px rgba(0, 0, 0, .14),
        inset 0 1px 0 rgba(255, 255, 255, .018);

    transform: translateY(-2px);
}


.donate-card__glow {
    position: absolute;
    top: -55px;
    left: 50%;

    width: 130px;
    height: 130px;

    background: rgba(211, 196, 111, .025);

    border-radius: 50%;

    transform: translateX(-50%);

    pointer-events: none;
}


.donate-card__bonus {
    position: absolute;
    top: 10px;
    right: 10px;

    display: inline-flex;
    align-items: center;

    min-height: 23px;
    padding: 0 8px;

    color: #e6d681;
    background: rgba(155, 121, 39, .10);

    border: 1px solid rgba(211, 192, 107, .14);
    border-radius: 20px;

    font-size: 8px;
    line-height: 10px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: .3px;
}


.donate-card__icon-wrap {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 76px;
    height: 76px;

    margin-top: 7px;

    background:
        radial-gradient(
            circle,
            rgba(211, 195, 110, .075),
            rgba(211, 195, 110, .015) 55%,
            transparent 72%
        );

    border-radius: 50%;
}


.donate-card__icon {
    display: block;

    max-width: 62px;
    max-height: 62px;

    object-fit: contain;

    filter:
        drop-shadow(
            0 5px 9px rgba(0, 0, 0, .28)
        );

    transition:
        transform .18s ease,
        filter .18s ease;
}


.donate-card:hover .donate-card__icon {
    transform: translateY(-2px) scale(1.035);

    filter:
        drop-shadow(
            0 7px 11px rgba(0, 0, 0, .32)
        );
}


.donate-card__amount {
    margin-top: 11px;

    color: #e0d28b;

    font-size: 20px;
    line-height: 24px;
    font-weight: 700;

    text-align: center;
    white-space: nowrap;
}


.donate-card__amount small {
    font-size: 11px;
}


.donate-card__price {
    margin-top: 3px;

    color: #8a949b;

    font-size: 11px;
    line-height: 15px;
    font-weight: 600;

    white-space: nowrap;
}


.donate-card__price small {
    color: #626d74;

    font-size: 8px;
    font-weight: 700;
}


.donate-card__action {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;

    margin-top: auto;
    padding-top: 12px;

    color: #787f7f;

    border-top: 1px solid rgba(255, 255, 255, .04);

    font-size: 9px;
    line-height: 12px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: .4px;

    transition:
        color .18s ease;
}


.donate-card__action span {
    color: #a79d67;

    font-size: 13px;
}


.donate-card:hover .donate-card__action {
    color: #b9bda9;
}


/* ==========================================================================
   HELP
   ========================================================================== */

.donate-help {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) auto;
    align-items: center;

    gap: 18px;

    padding: 22px 24px;

    background:
        radial-gradient(
            circle at 8% 50%,
            rgba(208, 194, 116, .045),
            transparent 26%
        ),
        linear-gradient(
            90deg,
            rgba(14, 18, 21, .98),
            rgba(10, 14, 17, .98)
        );

    border: 1px solid rgba(255, 255, 255, .055);
    border-radius: 4px;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .012);
}


.donate-help__icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 50px;
    height: 50px;

    color: #d7c97e;

    background:
        rgba(205, 190, 112, .055);

    border:
        1px solid
        rgba(205, 190, 112, .12);

    border-radius: 5px;

    font-size: 18px;
    font-weight: 700;
}


.donate-help__content {
    min-width: 0;
}


.donate-help__eyebrow {
    margin-bottom: 6px;

    color: #b9ab70;

    font-size: 11px;
    line-height: 14px;
    font-weight: 700;

    letter-spacing: .8px;
    text-transform: uppercase;
}


.donate-help__content h3 {
    margin: 0 0 6px;

    color: #e3e6e8;

    font-size: 17px;
    line-height: 22px;
    font-weight: 700;
}


.donate-help__content p {
    max-width: 620px;

    margin: 0;

    color: #7d878e;

    font-size: 11px;
    line-height: 17px;
}


.donate-help__actions {
    display: flex;
    align-items: center;

    gap: 8px;
}


.donate-help__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 105px;
    height: 38px;

    padding: 0 15px;

    color: #b8c0c5 !important;

    background:
        rgba(255, 255, 255, .025);

    border:
        1px solid
        rgba(255, 255, 255, .07);

    border-radius: 4px;

    font-size: 10px;
    line-height: 13px;
    font-weight: 700;

    text-decoration: none !important;

    transition:
        color .18s ease,
        background .18s ease,
        border-color .18s ease,
        transform .18s ease;
}


.donate-help__button:hover {
    color: #e6d992 !important;

    background:
        rgba(210, 198, 135, .05);

    border-color:
        rgba(210, 198, 135, .16);

    transform: translateY(-1px);
}


.donate-footnote {
    padding: 14px 2px 2px;

    color: #626c72;

    font-size: 9px;
    line-height: 13px;

    text-align: center;
}


/* ==========================================================================
   EMPTY
   ========================================================================== */

.donate-empty {
    padding: 36px 18px;

    color: #6f7980;

    border: 1px dashed rgba(255, 255, 255, .055);
    border-radius: 4px;

    font-size: 11px;
    line-height: 16px;

    text-align: center;
}


/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1250px) {

    .donate-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }


    .donate-title {
        font-size: 27px;
        line-height: 31px;
    }

}


@media (max-width: 900px) {

    .donate-hero {
        align-items: stretch;
        flex-direction: column;
    }


    .donate-balance {
        width: 100%;
    }


    .donate-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .donate-help {
        grid-template-columns: 48px minmax(0, 1fr);
    }


    .donate-help__actions {
        grid-column: 1 / -1;
        justify-content: flex-end;
    }

}


@media (max-width: 560px) {

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


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


    .donate-help__actions {
        justify-content: stretch;
    }


    .donate-help__button {
        flex: 1;
    }

}
