/* ENVYme Coins page. Typography, colors and buttons come from membership-premium.css. */
.wrapper:has(.coins-page) {
    background: #0b0a08;
}

/* The page has an inline Concierge action; keep the global floating button off its content. */
.page:has(.coins-page) + #envyme-support-chat .envyme-support__toggle {
    display: none;
}

.coins-page {
    --coins-gold: var(--membership-gold, #d4bd83);
    --coins-text: var(--membership-text, #f7f4ed);
    --coins-muted: var(--membership-muted, #b5b0a5);
    min-width: 0;
    overflow: hidden;
    color: var(--coins-text);
    background: #0b0a08;
}

.coins-hero__copy {
    width: min(60%, 690px);
}

.coins-hero__art {
    position: absolute;
    right: 3%;
    bottom: 0;
    z-index: 1;
    width: min(39%, 455px);
    height: 91%;
    pointer-events: none;
}

.coins-hero__bear {
    position: absolute;
    right: 0;
    bottom: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
}

.coins-hero__coins {
    position: absolute;
    bottom: 17%;
    left: -5%;
    display: block;
    width: 31%;
    height: auto;
    filter: drop-shadow(0 10px 16px rgba(0, 0, 0, .38));
}

.coins-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.coins-step {
    display: flex;
    min-height: 218px;
    flex-direction: column;
    align-items: flex-start;
}

.coins-step__top {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.coins-step__number {
    color: var(--coins-gold);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .15em;
}

.coins-step__icon {
    display: grid;
    width: 50px;
    height: 50px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid var(--membership-line, rgba(212, 189, 131, .2));
    border-radius: 50%;
    color: var(--coins-gold);
}

.coins-step__icon svg {
    display: block;
    width: 23px;
    height: 23px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.45;
}

.coins-step .membership-tier-card__name {
    margin: 0 0 8px;
    text-align: left;
}

.coins-step__text {
    margin: 0;
    color: var(--coins-muted);
    font-size: .94rem;
    line-height: 1.65;
}

.coins-gift-card {
    display: grid;
    max-width: 900px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 22px;
    padding: 25px;
}

.coins-gift-card__icon {
    width: 58px;
    height: 58px;
}

.coins-gift-card__icon svg {
    width: 27px;
    height: 27px;
}

.coins-gift-card__copy {
    min-width: 0;
}

.coins-gift-card .membership-tier-card__name {
    margin: 0 0 7px;
    text-align: left;
}

.coins-availability {
    margin: 14px 0 8px;
    color: var(--coins-muted);
    font-size: .88rem;
    line-height: 1.6;
}

.coins-membership-link {
    color: var(--coins-gold);
}

.coins-concierge {
    margin-top: 0;
    margin-bottom: 0;
}

.coins-concierge__content {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.coins-concierge__content > p {
    margin: 0;
    color: rgba(247, 244, 237, .82);
    font-size: .98rem;
    line-height: 1.65;
}

.coins-concierge__button {
    flex: 0 0 auto;
    padding: 6px 0;
    border: 0;
    background: transparent;
    color: var(--coins-gold);
    cursor: pointer;
    font: inherit;
}

.coins-concierge__button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}

.coins-final {
    padding-top: 60px;
    padding-bottom: 76px;
}

.coins-final__inner {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: clamp(24px, 4vw, 48px);
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 12px;
    background: #10100e;
}

.coins-final__copy {
    max-width: 620px;
}

.coins-final__copy .membership-eyebrow {
    margin-bottom: 10px;
}

.coins-final__copy .membership-section__title {
    font-size: clamp(2rem, 3.2vw, 3.1rem);
}

.coins-final__copy .membership-section__intro {
    margin-top: 14px;
}

.coins-final__action {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.coins-balance {
    display: grid;
    grid-template-columns: auto auto;
    align-items: baseline;
    gap: 2px 12px;
}

.coins-balance > span:first-child {
    grid-column: 1 / -1;
    color: var(--coins-muted);
    font-size: .82rem;
}

.coins-balance strong {
    color: var(--coins-gold);
    font-size: 2rem;
    font-weight: 650;
    letter-spacing: -.035em;
}

.coins-balance > span:last-child {
    color: var(--coins-text);
    font-size: .9rem;
    font-weight: 600;
}

@media (max-width: 900px) {
    .coins-hero__copy {
        width: auto;
        max-width: 100%;
        padding-right: 16%;
    }

    .coins-hero__art {
        right: 2%;
        width: 40%;
        height: 88%;
    }

    .coins-steps {
        gap: 14px;
    }

    .coins-step {
        padding: 18px;
    }
}

@media (max-width: 600px) {
    .coins-hero__copy {
        padding-right: 0;
        padding-bottom: 238px;
    }

    .coins-hero__art {
        right: 1%;
        width: 64%;
        height: 44%;
    }

    .coins-hero__coins {
        bottom: 14%;
        left: 1%;
        width: 29%;
    }

    .coins-steps {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    .coins-step {
        min-height: 0;
        padding: 17px 18px 19px;
    }

    .coins-step__top {
        margin-bottom: 12px;
    }

    .coins-gift-card {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 15px;
        padding: 19px;
    }

    .coins-gift-card__icon {
        width: 46px;
        height: 46px;
    }

    .coins-gift-card .membership-button {
        grid-column: 1 / -1;
        width: 100%;
    }

    .coins-concierge {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
        margin-top: 0;
    }

    .coins-concierge__content {
        align-items: flex-start;
        flex-direction: column;
        gap: 9px;
    }

    .coins-final {
        padding-top: 42px;
        padding-bottom: 50px;
    }

    .coins-final__inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 22px;
        padding: 23px 20px;
    }

    .coins-final__action {
        width: 100%;
    }

    .coins-final__action .membership-button {
        width: 100%;
    }
}
