/* ============================================================
   VIP plan cards — glossy green slab, medallion tier badge
   Used by homepage (index.php) and shop (user/shop.php)
   ============================================================ */

.gx-plan-grid {
    display: grid;
    gap: 14px;
    justify-items: stretch;
}

.pv-card {
    --t-a: #d9f99d;
    --t-b: #84cc16;
    --t-ink: #1a2e05;
    --t-glow: rgba(163, 230, 53, 0.5);
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    gap: 11px;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 14px 14px 15px;
    border: 1px solid rgba(163, 230, 53, 0.22);
    border-radius: 22px;
    overflow: hidden;
    text-align: left;
    font: inherit;
    color: #ecfccb;
    background:
        radial-gradient(circle at 88% -12%, rgba(74, 222, 128, 0.32), transparent 54%),
        linear-gradient(158deg, #17673a 0%, #0b3d21 54%, #052e16 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -2px 12px rgba(0, 0, 0, 0.45),
        0 16px 32px rgba(5, 46, 22, 0.28);
}

/* tier accents — all in the lime / emerald family */
.pv-card.is-t0 { --t-a: #d9f99d; --t-b: #84cc16; --t-glow: rgba(163, 230, 53, 0.5); }
.pv-card.is-t1 { --t-a: #86efac; --t-b: #16a34a; --t-glow: rgba(74, 222, 128, 0.46); }
.pv-card.is-t2 { --t-a: #bef264; --t-b: #4d7c0f; --t-glow: rgba(190, 242, 100, 0.46); }
.pv-card.is-t3 { --t-a: #6ee7b7; --t-b: #047857; --t-glow: rgba(110, 231, 183, 0.46); }

.pv-card__glow {
    position: absolute;
    z-index: 0;
    top: -60%;
    right: -30%;
    width: 80%;
    height: 180%;
    border-radius: 50%;
    background: radial-gradient(circle, var(--t-glow) 0%, transparent 62%);
    opacity: 0.4;
    pointer-events: none;
}

/* wet sheen across the slab */
.pv-card::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(168deg, rgba(255, 255, 255, 0.16) 0%, transparent 32%);
    pointer-events: none;
}

.pv-card > *:not(.pv-card__glow) { position: relative; z-index: 1; }

/* ── Header: medallion + price + trust ── */
.pv-head {
    display: flex;
    align-items: center;
    gap: 11px;
}

.pv-medal {
    position: relative;
    flex: none;
    width: 54px;
    height: 54px;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 1px;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(165deg, var(--t-a) 0%, var(--t-b) 82%);
    border: 1px solid rgba(26, 46, 5, 0.3);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.75),
        inset 0 -3px 8px rgba(26, 46, 5, 0.32),
        0 8px 18px rgba(5, 46, 22, 0.4);
}

.pv-medal::after {
    content: '';
    position: absolute;
    inset: 1px 1px auto 1px;
    height: 48%;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0));
}

.pv-medal__word {
    position: relative;
    z-index: 1;
    font-size: 0.46rem;
    font-weight: 900;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--t-ink);
    opacity: 0.75;
}

.pv-medal__num {
    position: relative;
    z-index: 1;
    font-family: "Space Grotesk", "Manrope", sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--t-ink);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
}

.pv-head__txt {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pv-head__k {
    font-size: 0.56rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(190, 242, 100, 0.78);
}

.pv-head__v {
    font-family: "Space Grotesk", "Manrope", sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    white-space: nowrap;
}

.pv-cur {
    margin-right: 5px;
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #a3e635;
    vertical-align: 0.35em;
}

.pv-trust {
    flex: none;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    font-size: 0.85rem;
    color: #bef264;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.04));
    border: 1px solid rgba(163, 230, 53, 0.35);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* ── Stat strip ── */
.pv-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
}

.pv-stat {
    --c-a: #4ade80;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 9px 5px 10px;
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.03) 100%);
    border: 1px solid rgba(163, 230, 53, 0.18);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.24),
        inset 0 -2px 6px rgba(0, 0, 0, 0.26);
}

.pv-stat--daily { --c-a: #4ade80; }
.pv-stat--term  { --c-a: #bef264; }
.pv-stat--roi   { --c-a: #34d399; }

.pv-stat__ico {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 8px;
    font-size: 0.6rem;
    color: #052e16;
    background: linear-gradient(160deg, var(--c-a), rgba(5, 46, 22, 0.25));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.pv-stat__k {
    font-size: 0.48rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(217, 249, 157, 0.8);
}

.pv-stat__v {
    font-family: "Space Grotesk", "Manrope", sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
}

/* ── Total return bar ── */
.pv-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 13px;
    background: linear-gradient(150deg, rgba(163, 230, 53, 0.24) 0%, rgba(21, 128, 61, 0.22) 100%);
    border: 1px solid rgba(163, 230, 53, 0.3);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.pv-total__k {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.52rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(217, 249, 157, 0.9);
}

.pv-total__k i { color: #bef264; font-size: 0.62rem; }

.pv-total__v {
    font-family: "Space Grotesk", "Manrope", sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
}

.pv-total__v small {
    font-size: 0.56rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: rgba(190, 242, 100, 0.9);
}

/* ── CTA — bright lime against the dark slab ── */
.pv-go,
body.rx-body .pv-go,
body.rx-body button.pv-go[type="submit"] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    padding: 12px 13px 12px 17px;
    border: 1px solid rgba(26, 46, 5, 0.35) !important;
    border-radius: 14px;
    cursor: pointer;
    overflow: hidden;
    font: inherit;
    text-decoration: none;
    color: #1a2e05 !important;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, transparent 46%),
        linear-gradient(150deg, #d9f99d 0%, #a3e635 42%, #65a30d 100%) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.75),
        inset 0 -3px 8px rgba(26, 46, 5, 0.28),
        0 10px 20px rgba(5, 46, 22, 0.38) !important;
    transition: transform 0.13s ease, filter 0.13s ease;
}

.pv-go:active {
    transform: translateY(2px);
    filter: brightness(1.05);
}

.pv-go__txt {
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.pv-go__arrow {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    font-size: 0.7rem;
    color: #ecfccb;
    background: linear-gradient(160deg, #166534, #052e16);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 2px 6px rgba(0, 0, 0, 0.3);
}

@media (min-width: 380px) {
    .pv-medal { width: 58px; height: 58px; }
    .pv-medal__num { font-size: 1.62rem; }
    .pv-head__v { font-size: 1.62rem; }
    .pv-stat__v { font-size: 0.9rem; }
}

.gx-empty {
    padding: 24px;
    text-align: center;
    color: #ecfccb;
    background: linear-gradient(158deg, #166534, #052e16);
    border-radius: 20px;
    font-weight: 600;
    border: 1px solid rgba(163, 230, 53, 0.28);
    box-shadow: 0 16px 32px rgba(5, 46, 22, 0.3);
}
