/**
 * VIP / Shop Plans — Olympic Trade style with animations
 */
.shop-page {
    max-width: 28rem;
    margin: 0 auto;
    padding: 3.75rem 0.75rem 3rem;
}

.shop-head { text-align: center; margin-bottom: 1.25rem; }

.shop-head-icon {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 0.65rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ec4899, #f472b6);
    box-shadow: 0 17px 38px rgba(244, 114, 182, 0.22);
    font-size: 1rem;
    color: #fff;
    animation: shopCrownPulse 2.4s ease-in-out infinite;
}

@keyframes shopCrownPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 17px 38px rgba(244, 114, 182, 0.22); }
    50% { transform: scale(1.06); box-shadow: 0 20px 42px rgba(236, 72, 153, 0.28); }
}

.shop-head h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    background: linear-gradient(90deg, #db2777, #f472b6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.shop-head p {
    font-size: 0.78rem;
    color: var(--rx-text-muted);
    margin-top: 0.35rem;
    line-height: 1.45;
    font-weight: 700;
}

.shop-head-line {
    width: 3rem;
    height: 4px;
    margin: 0.65rem auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #ec4899, #f472b6);
}

.shop-grid { display: flex; flex-direction: column; gap: 0.85rem; }

.shop-card {
    position: relative;
    width: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 248, 251, 0.98) 100%);
    border-radius: 1.1rem;
    border: 1px solid rgba(236, 72, 153, 0.16);
    overflow: hidden;
    box-shadow: 0 14px 36px rgba(236, 72, 153, 0.12);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.shop-card:hover {
    transform: translateY(-4px);
    border-color: rgba(244, 114, 182, 0.35);
    box-shadow: 0 22px 55px rgba(236, 72, 153, 0.18);
}

.shop-card-top {
    height: 4px;
    background: linear-gradient(90deg, #ec4899, #fda4af, #f472b6);
    background-size: 220% 100%;
    animation: shopBorderMove 2.2s linear infinite;
}

@keyframes shopBorderMove {
    0% { background-position: 0% 50%; }
    100% { background-position: 220% 50%; }
}

.shop-vip-badge {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    padding: 0.22rem 0.55rem;
    border-radius: 999px;
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, #ec4899, #f472b6);
    box-shadow: 0 8px 20px rgba(244, 114, 182, 0.28);
    animation: shopBadgeFloat 2s ease-in-out infinite;
    z-index: 2;
}

@keyframes shopBadgeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.shop-card-body { padding: 0.9rem; }

.shop-card-head {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.75rem;
}

.shop-plan-img,
.shop-card-head .rx-brand-fallback {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.85rem;
    object-fit: cover;
    border: 1px solid rgba(236, 72, 153, 0.16);
    box-shadow: 0 10px 24px rgba(236, 72, 153, 0.12);
    animation: shopLogoFloat 2.4s ease-in-out infinite;
}

@keyframes shopLogoFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-4px) scale(1.03); }
}

.shop-plan-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--rx-text);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.shop-plan-title i { font-size: 0.65rem; color: #f472b6; }

.shop-plan-meta {
    font-size: 0.62rem;
    color: var(--rx-text-muted);
    margin-top: 0.15rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-weight: 700;
}

.shop-invest-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 0.75rem;
    margin-bottom: 0.65rem;
    border-radius: 0.9rem;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.08), rgba(244, 114, 182, 0.08));
    border: 1px solid rgba(236, 72, 153, 0.12);
}

.shop-invest-label {
    font-size: 0.58rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--rx-text-muted);
}

.shop-invest-amount {
    font-size: 0.9rem;
    font-weight: 900;
    color: #ec4899;
    margin-top: 0.15rem;
}

.shop-invest-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ec4899, #f472b6);
    color: #fff;
    font-size: 0.72rem;
    box-shadow: 0 8px 20px rgba(236, 72, 153, 0.2);
    animation: shopIconSpin 4s linear infinite;
}

@keyframes shopIconSpin {
    0%, 90%, 100% { transform: rotate(0deg); }
    95% { transform: rotate(8deg); }
}

.shop-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 0.65rem;
}

.shop-stat {
    padding: 0.5rem 0.55rem;
    border-radius: 0.75rem;
    background: #fff8fb;
    border: 1px solid rgba(236, 72, 153, 0.12);
}

.shop-stat-top {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-bottom: 0.25rem;
}

.shop-stat-icon {
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 0.45rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.52rem;
    color: #fff;
}

.shop-stat-icon--profit { background: linear-gradient(135deg, #f472b6, #db2777); }
.shop-stat-icon--total { background: linear-gradient(135deg, #ec4899, #db2777); }
.shop-stat-icon--days { background: linear-gradient(135deg, #fda4af, #ec4899); }
.shop-stat-icon--daily { background: linear-gradient(135deg, #8ff0c5, #f472b6); }

.shop-stat-label {
    font-size: 0.52rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--rx-text-muted);
}

.shop-stat-value {
    font-size: 0.75rem;
    font-weight: 900;
    color: var(--rx-text);
}

.shop-buy-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    min-height: 42px;
    padding: 0.55rem 0.75rem;
    border: none;
    border-radius: 0.85rem;
    background: linear-gradient(135deg, #ec4899, #f472b6);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(244, 114, 182, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
    line-height: 1;
}

.shop-buy-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: translateX(-120%);
    transition: transform 0.5s ease;
}

.shop-buy-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 42px rgba(244, 114, 182, 0.3);
}

.shop-buy-btn:hover::after {
    transform: translateX(120%);
}

.shop-features {
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
    margin-bottom: 0.6rem;
}

.shop-feature {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.62rem;
    font-weight: 700;
    color: var(--rx-text-muted);
}

.shop-feature i.fa-circle-check { color: #f472b6; }
.shop-feature i.fa-bolt { color: #ec4899; }
.shop-feature i.fa-lock { color: #db2777; }

.shop-empty {
    text-align: center;
    padding: 2rem 1rem;
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.92);
    border: 1px dashed rgba(236, 72, 153, 0.2);
    color: var(--rx-text-muted);
    font-size: 0.8rem;
    font-weight: 700;
}

.shop-plan-img-fallback {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 0.7rem;
    border-radius: 0.65rem;
    margin: 0;
    flex-shrink: 0;
}

.shop-ref-commission {
    margin-top: 0.65rem;
    padding: 0.65rem 0.7rem;
    border-radius: 0.85rem;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.06), rgba(244, 114, 182, 0.08));
    border: 1px solid rgba(236, 72, 153, 0.14);
}

.shop-ref-commission--empty {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--rx-text-muted);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.shop-ref-head {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    color: #db2777;
    margin-bottom: 0.35rem;
}

.shop-ref-note {
    margin: 0 0 0.45rem;
    font-size: 0.64rem;
    line-height: 1.45;
    color: var(--rx-text-muted);
    font-weight: 600;
}

.shop-ref-note strong {
    color: var(--rx-text);
}

.shop-ref-levels {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.shop-ref-levels li {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 0.35rem;
    align-items: center;
    font-size: 0.64rem;
    font-weight: 700;
    padding: 0.35rem 0.45rem;
    border-radius: 0.55rem;
    background: rgba(255, 255, 255, 0.75);
}

.shop-ref-lvl {
    color: var(--rx-text-muted);
}

.shop-ref-pct {
    color: #ec4899;
}

.shop-ref-amt {
    color: #f472b6;
    font-family: 'Space Grotesk', sans-serif;
}

@media (min-width: 640px) {
    .shop-page { max-width: 42rem; }
    .shop-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.85rem;
    }
}

.shop-price-hero {
    padding: 0.4rem 0.5rem 0.45rem;
    margin-bottom: 0.4rem;
    border-radius: 0.65rem;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.07), rgba(255, 255, 255, 0.98));
    border: 1px solid rgba(236, 72, 153, 0.14);
}

.shop-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
}

.shop-card--home {
    overflow: visible;
}

.shop-price-row--amt {
    justify-content: space-between;
    margin-bottom: 0.15rem;
    min-height: 1.1rem;
    position: relative;
    z-index: 2;
}

.shop-price-pkr-amt {
    font-family: 'Manrope', 'Space Grotesk', sans-serif;
    font-size: 0.88rem;
    font-weight: 900;
    line-height: 1.1;
    color: #db2777 !important;
    -webkit-text-fill-color: #db2777 !important;
    white-space: nowrap;
}

.shop-price-cur,
.shop-price-num {
    display: none;
}

.shop-card--home .shop-vip-badge {
    top: 0.18rem;
    right: 0.38rem;
    padding: 0.16rem 0.42rem;
    font-size: 0.52rem;
    z-index: 5;
}

.shop-card--home .shop-card-body {
    padding-top: 0.35rem;
}

.shop-card--home .shop-price-hero {
    padding: 0.42rem 3rem 0.42rem 0.45rem;
    margin-top: 0.55rem;
}

.shop-price-row--valid {
    padding-top: 0.15rem;
    border-top: 1px dashed rgba(236, 72, 153, 0.15);
}

.shop-price-label {
    font-size: 0.55rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #9d6b85;
}

.shop-price-days {
    font-size: 0.58rem;
    font-weight: 800;
    color: #db2777;
    white-space: nowrap;
}

@media (min-width: 992px) {
    .shop-page {
        max-width: 46rem;
        padding-bottom: 2.5rem;
    }
}
