.vip-page {
    position: relative;
    overflow: hidden;
    padding: 30px 18px 46px;
}

.vip-shell {
    position: relative;
    z-index: 1;
    width: min(100%, 580px);
    margin-inline: auto;
}

.vip-ambient {
    position: absolute;
    z-index: -1;
    top: -86px;
    right: -120px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    pointer-events: none;
    background:
        radial-gradient(
            circle,
            rgba(252, 153, 0, .105),
            rgba(252, 153, 0, .025) 42%,
            transparent 70%
        );
    filter: blur(3px);
}

.vip-hero {
    padding: 12px 2px 4px;
}

.vip-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 10px;
    border: 1px solid rgba(252, 153, 0, .16);
    border-radius: 999px;
    background: rgba(252, 153, 0, .055);
    color: rgba(255, 190, 92, .92);
    font-size: 9px;
    font-weight: 780;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.vip-hero h1 {
    margin: 19px 0 0;
    display: grid;
    gap: 2px;
    letter-spacing: -1.65px;
}

.vip-hero h1 > span {
    color: rgba(255,255,255,.54);
    font-size: clamp(20px, 5.6vw, 27px);
    line-height: 1.05;
    font-weight: 680;
}

.vip-hero h1 > strong {
    color: var(--text);
    font-size: clamp(38px, 11vw, 58px);
    line-height: .98;
    font-weight: 820;
}

.vip-price {
    margin-top: 24px;
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.vip-price > strong {
    color: #fff;
    font-size: clamp(30px, 8.5vw, 42px);
    line-height: 1;
    font-weight: 820;
    letter-spacing: -1.2px;
}

.vip-price > strong span {
    color: rgba(255,255,255,.72);
    font-size: .45em;
    font-weight: 720;
    letter-spacing: 0;
}

.vip-price > small {
    color: var(--muted);
    font-size: 10px;
    font-weight: 680;
}

.vip-hero > p {
    max-width: 470px;
    margin: 15px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
}

.vip-membership-card {
    position: relative;
    overflow: hidden;
    margin-top: 30px;
    padding: 18px;
    border: 1px solid rgba(255,255,255,.075);
    border-radius: 22px;
    background:
        linear-gradient(145deg, rgba(255,255,255,.035), rgba(255,255,255,.012)),
        rgba(16, 20, 28, .88);
    box-shadow: 0 22px 60px rgba(0,0,0,.20);
}

.vip-membership-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 18px;
    right: 18px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(252,153,0,.52), transparent);
    pointer-events: none;
}

.vip-card-heading span {
    color: rgba(255, 190, 92, .72);
    font-size: 8.5px;
    font-weight: 760;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.vip-card-heading h2 {
    margin: 4px 0 0;
    color: var(--text);
    font-size: 19px;
    line-height: 1.15;
    font-weight: 760;
    letter-spacing: -.35px;
}

.vip-benefits {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 17px;
}

.vip-benefit {
    min-width: 0;
    min-height: 52px;
    padding: 10px 11px;
    display: flex;
    align-items: center;
    gap: 9px;
    border: 1px solid rgba(255,255,255,.055);
    border-radius: 13px;
    background: rgba(255,255,255,.022);
}

.vip-benefit i {
    width: 6px;
    height: 6px;
    flex: 0 0 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(252,153,0,.08);
}

.vip-benefit span {
    min-width: 0;
    color: rgba(245,247,250,.86);
    font-size: 10.5px;
    line-height: 1.35;
    font-weight: 650;
}

.vip-benefit-lifetime {
    border-color: rgba(252,153,0,.13);
    background: rgba(252,153,0,.045);
}

.vip-join-button {
    width: 100%;
    min-height: 54px;
    margin-top: 16px;
    padding: 0 17px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border: 1px solid rgba(255, 190, 92, .28);
    border-radius: 16px;
    background:
        linear-gradient(180deg, #ffab29, #f39100);
    color: #171009;
    box-shadow: 0 16px 34px rgba(252,153,0,.12);
    font-size: 12px;
    font-weight: 820;
    letter-spacing: .005em;
}

.vip-join-button svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.vip-link-status {
    display: block;
    min-height: 14px;
    margin: 8px 3px 0;
    color: var(--muted);
    font-size: 9px;
    line-height: 1.45;
    text-align: center;
}

.vip-link-status[hidden] {
    visibility: hidden;
}

@media (max-width: 360px) {
    .vip-benefits {
        grid-template-columns: 1fr;
    }
}

/* Auto-mode entry motion: subtle, one-time, and non-decorative. */
html:not([data-motion-mode="reduced"]) .vip-page.page-enter .vip-kicker,
html:not([data-motion-mode="reduced"]) .vip-page.page-enter .vip-hero h1,
html:not([data-motion-mode="reduced"]) .vip-page.page-enter .vip-price,
html:not([data-motion-mode="reduced"]) .vip-page.page-enter .vip-hero > p,
html:not([data-motion-mode="reduced"]) .vip-page.page-enter .vip-membership-card,
html:not([data-motion-mode="reduced"]) .vip-page.page-enter .vip-join-button {
    animation: vipRiseIn 220ms cubic-bezier(.22,.61,.36,1) both;
}

html:not([data-motion-mode="reduced"]) .vip-page.page-enter .vip-hero h1 { animation-delay: 25ms; }
html:not([data-motion-mode="reduced"]) .vip-page.page-enter .vip-price { animation-delay: 45ms; }
html:not([data-motion-mode="reduced"]) .vip-page.page-enter .vip-hero > p { animation-delay: 60ms; }
html:not([data-motion-mode="reduced"]) .vip-page.page-enter .vip-membership-card { animation-delay: 80ms; }
html:not([data-motion-mode="reduced"]) .vip-page.page-enter .vip-join-button { animation-delay: 100ms; }

html:not([data-motion-mode="reduced"]) .vip-page.page-enter .vip-benefit {
    animation: vipBenefitIn 190ms cubic-bezier(.22,.61,.36,1) both;
}

html:not([data-motion-mode="reduced"]) .vip-page.page-enter .vip-benefit:nth-child(1) { animation-delay: 95ms; }
html:not([data-motion-mode="reduced"]) .vip-page.page-enter .vip-benefit:nth-child(2) { animation-delay: 110ms; }
html:not([data-motion-mode="reduced"]) .vip-page.page-enter .vip-benefit:nth-child(3) { animation-delay: 125ms; }
html:not([data-motion-mode="reduced"]) .vip-page.page-enter .vip-benefit:nth-child(4) { animation-delay: 140ms; }
html:not([data-motion-mode="reduced"]) .vip-page.page-enter .vip-benefit:nth-child(5) { animation-delay: 155ms; }
html:not([data-motion-mode="reduced"]) .vip-page.page-enter .vip-benefit:nth-child(6) { animation-delay: 170ms; }
html:not([data-motion-mode="reduced"]) .vip-page.page-enter .vip-benefit:nth-child(7) { animation-delay: 185ms; }
html:not([data-motion-mode="reduced"]) .vip-page.page-enter .vip-benefit:nth-child(8) { animation-delay: 200ms; }

@keyframes vipRiseIn {
    from { opacity: 0; transform: translateY(7px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes vipBenefitIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== FINAL VIP BOTTOM SPACING TUNE ===== */
.vip-page {
    padding-bottom: 120px !important;
}

.vip-cta {
    margin-bottom: 0 !important;
}

/* ===== FINAL VIP BOTTOM GAP FIX ===== */

.vip-page {
    padding-bottom: 12px !important;
}

.vip-link-status[hidden] {
    display: none !important;
}

html[data-header-mode="vip"] .app-main {
    padding-bottom:
        calc(
            var(--bottom-nav-height)
            + var(--safe-bottom)
            + 16px
        ) !important;
}


/* ===== FINAL VIP TOP SPACING ===== */

/*
 * Header -> Private Membership gap:
 * 8px page top + 12px hero top ≈ 20px,
 * matching the Private Membership -> KGD VIP gap.
 */
.vip-page {
    padding-top: 8px !important;
}

