/* =========================================================
   RAMPAGE PATREON / SUPPORT PAGE
========================================================= */

.patreon-page {
    background: #050709;
    color: #fff;
    min-height: 100vh;
}


/* HERO */

.patreon-hero {
    position: relative;
    min-height: 430px;
    overflow: hidden;
    border-bottom: 1px solid #22272d;
}

.patreon-hero-bg {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(5,7,9,.98) 0%,
            rgba(5,7,9,.90) 35%,
            rgba(5,7,9,.50) 70%,
            rgba(5,7,9,.90) 100%
        ),
        url("/assets/discord-background.png") center 46% / cover no-repeat;

    opacity: .82;
}

.patreon-hero-content {
    position: relative;
    z-index: 2;

    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;

    padding: 85px 0 75px;
}

.patreon-eyebrow,
.section-kicker {
    color: #ef233c;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 4px;
    margin-bottom: 10px;
}

.patreon-hero h1 {
    margin: 0;

    font-size: clamp(54px, 7vw, 92px);
    line-height: .92;

    font-weight: 1000;
    letter-spacing: -3px;
}

.patreon-hero h1 span,
.membership-heading h2 span,
.funding-section h2 span,
.patreon-cta h2 span {
    color: #ef233c;
}

.patreon-hero h2 {
    margin: 18px 0 0;
    font-size: 24px;
    letter-spacing: .5px;
}

.patreon-hero p {
    width: min(690px, 100%);
    margin: 18px 0 0;

    color: #aab2bd;
    font-size: 15px;
    line-height: 1.8;
}

.patreon-hero-buttons {
    display: flex;
    gap: 12px;
    margin-top: 28px;
}


/* BUTTONS */

.rgc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;
    padding: 0 22px;

    text-decoration: none;

    font-size: 11px;
    font-weight: 1000;
    letter-spacing: .7px;

    transition: .18s ease;
}

.rgc-btn-primary {
    background: #ef233c;
    color: #fff;
    border: 1px solid #ef233c;
}

.rgc-btn-primary:hover {
    background: #ff304b;
    border-color: #ff304b;
    transform: translateY(-2px);
}

.rgc-btn-secondary {
    background: rgba(10,13,16,.75);
    border: 1px solid #3a4048;
    color: #fff;
}

.rgc-btn-secondary:hover {
    border-color: #ef233c;
}

.rgc-btn-large {
    min-width: 270px;
}


/* SUPPORT STRIP */

.support-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    background: #0b0f12;

    border-top: 1px solid #1e2328;
    border-bottom: 1px solid #1e2328;
}

.support-strip > div {
    min-height: 82px;
    padding: 22px 28px;

    border-right: 1px solid #1e2328;

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

.support-strip > div:last-child {
    border-right: 0;
}

.support-strip strong {
    font-size: 10px;
    letter-spacing: .5px;
}

.support-strip span {
    color: #68717c;
    margin-top: 6px;
    font-size: 10px;
}


/* MEMBERSHIP */

.membership-section {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 85px 0 100px;
}

.membership-heading {
    margin-bottom: 38px;
}

.membership-heading h2,
.funding-section h2,
.patreon-cta h2 {
    margin: 0;
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1;
    letter-spacing: -1.5px;
}

.membership-heading p {
    color: #7f8994;
    margin: 15px 0 0;
    max-width: 650px;
    line-height: 1.7;
}

.membership-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.tier-card {
    position: relative;

    grid-column: span 2;

    min-height: 490px;

    padding: 28px;

    display: flex;
    flex-direction: column;

    background:
        linear-gradient(145deg, #11161a, #090c0f);

    border: 1px solid #252b31;

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

.tier-card:hover {
    transform: translateY(-5px);
    border-color: #ef233c;
    box-shadow: 0 18px 50px rgba(0,0,0,.45);
}

.tier-featured {
    border-color: #ef233c;
}

.tier-founder {
    grid-column: 2 / span 4;

    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(117,47,180,.17),
            transparent 38%
        ),
        linear-gradient(145deg, #121019, #090b0f);

    border-color: #643a82;
}

.popular-label,
.founder-label {
    position: absolute;
    top: 0;
    right: 0;

    background: #ef233c;

    padding: 8px 12px;

    font-size: 8px;
    font-weight: 1000;
    letter-spacing: 1.2px;
}

.founder-label {
    background: #6e3b91;
}

.tier-level {
    color: #68717b;

    font-size: 9px;
    font-weight: 900;
    letter-spacing: 2px;
}

.tier-name {
    margin-top: 7px;

    font-size: 21px;
    font-weight: 1000;
}

.tier-price {
    display: flex;
    align-items: flex-start;

    margin-top: 27px;
}

.tier-price .currency {
    color: #ef233c;

    font-size: 22px;
    font-weight: 900;

    margin-top: 8px;
}

.tier-price strong {
    font-size: 62px;
    line-height: .9;
    letter-spacing: -3px;
}

.tier-price .period {
    align-self: flex-end;

    color: #77808a;

    font-size: 9px;
    font-weight: 900;

    margin: 0 0 7px 8px;
}

.tier-description {
    min-height: 62px;

    margin: 22px 0 0;

    color: #8d96a0;

    font-size: 12px;
    line-height: 1.65;
}

.tier-divider {
    height: 1px;

    margin: 20px 0;

    background: #252b31;
}

.tier-benefits {
    display: grid;
    gap: 11px;

    color: #c7cdd3;

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

    margin-bottom: 25px;
}

.tier-benefits div::first-letter {
    color: #ef233c;
}

.tier-button {
    margin-top: auto;

    min-height: 45px;

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

    background: #ef233c;
    border: 1px solid #ef233c;

    color: #fff;
    text-decoration: none;

    font-size: 10px;
    font-weight: 1000;
    letter-spacing: .7px;

    transition: .18s ease;
}

.tier-button:hover {
    background: #fff;
    border-color: #fff;
    color: #080a0c;
}


/* FUNDING */

.funding-section {
    background: #0b0f12;

    border-top: 1px solid #1f252b;
    border-bottom: 1px solid #1f252b;
}

.funding-inner {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;

    padding: 85px 0;
}

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

    gap: 14px;

    margin-top: 38px;
}

.funding-card {
    position: relative;

    padding: 28px;

    background: #090c0f;
    border: 1px solid #23292f;

    min-height: 185px;
}

.funding-number {
    color: #ef233c;

    font-size: 11px;
    font-weight: 1000;

    letter-spacing: 2px;
}

.funding-card h3 {
    margin: 22px 0 10px;
    font-size: 15px;
}

.funding-card p {
    margin: 0;

    color: #737d87;

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


/* CTA */

.patreon-cta {
    width: min(1180px, calc(100% - 48px));

    margin: 0 auto;
    padding: 80px 0;

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

    gap: 40px;
}

.patreon-cta p {
    max-width: 650px;

    color: #7f8994;
    line-height: 1.7;
}


/* RESPONSIVE */

@media (max-width: 1000px) {

    .support-strip {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .tier-card,
    .tier-founder {
        grid-column: auto;
    }

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

}


@media (max-width: 680px) {

    .patreon-hero-content,
    .membership-section,
    .funding-inner,
    .patreon-cta {
        width: calc(100% - 28px);
    }

    .patreon-hero h1 {
        font-size: 50px;
    }

    .patreon-hero-buttons {
        flex-direction: column;
    }

    .support-strip {
        grid-template-columns: 1fr;
    }

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

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

    .patreon-cta {
        align-items: flex-start;
        flex-direction: column;
    }

    .rgc-btn-large {
        width: 100%;
        min-width: 0;
    }

}
/* =========================================================
   RAMPAGE_DYNAMIC_MEMBERSHIPS
========================================================= */

.patreon-public-loading,
.patreon-public-error,
.patreon-membership-empty {
    grid-column: 1 / -1;
    min-height: 180px;

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

    text-align: center;

    background: #0b0f12;
    border: 1px dashed #30373f;

    color: #7f8994;

    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1px;
}

.patreon-public-error {
    border-color: #762d38;
    color: #ff6577;
}

.patreon-membership-empty {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto 80px;
}

.patreon-membership-empty[hidden] {
    display: none;
}

.patreon-membership-empty strong {
    color: #fff;
    font-size: 20px;
}

.patreon-membership-empty span {
    margin-top: 8px;
    color: #737d87;
    font-weight: 400;
    letter-spacing: 0;
}

/* =========================================================
   RAMPAGE FOUNDER CARD - NORMAL GRID POSITION
========================================================= */

.membership-grid .tier-founder {
    grid-column: span 2;
    min-height: 490px;
}

@media (max-width: 1000px) {
    .membership-grid .tier-founder {
        grid-column: auto;
    }
}
