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

.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, #158ee8, #16c784);
    box-shadow: 0 17px 38px rgba(22, 199, 132, 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(22, 199, 132, 0.22); }
    50% { transform: scale(1.06); box-shadow: 0 20px 42px rgba(21, 142, 232, 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, #0b79c6, #16c784);
    -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, #158ee8, #16c784);
}

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

.shop-card {
    position: relative;
    width: 100%;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 1.25rem;
    border: 1px solid rgba(21, 142, 232, 0.14);
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(21, 142, 232, 0.12);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.shop-card:hover {
    transform: translateY(-4px);
    border-color: rgba(22, 199, 132, 0.35);
    box-shadow: 0 22px 55px rgba(21, 142, 232, 0.18);
}

.shop-card-top {
    height: 4px;
    background: linear-gradient(90deg, #158ee8, #27c2ff, #16c784);
    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, #158ee8, #16c784);
    box-shadow: 0 8px 20px rgba(22, 199, 132, 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(21, 142, 232, 0.16);
    box-shadow: 0 10px 24px rgba(21, 142, 232, 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: #16c784; }

.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(21, 142, 232, 0.08), rgba(22, 199, 132, 0.08));
    border: 1px solid rgba(21, 142, 232, 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: #158ee8;
    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, #158ee8, #16c784);
    color: #fff;
    font-size: 0.72rem;
    box-shadow: 0 8px 20px rgba(21, 142, 232, 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: #f8fcff;
    border: 1px solid rgba(21, 142, 232, 0.1);
}

.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, #16c784, #0cab68); }
.shop-stat-icon--total { background: linear-gradient(135deg, #158ee8, #0b79c6); }
.shop-stat-icon--days { background: linear-gradient(135deg, #27c2ff, #158ee8); }
.shop-stat-icon--daily { background: linear-gradient(135deg, #8ff0c5, #16c784); }

.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%;
    padding: 0.75rem;
    border: none;
    border-radius: 0.9rem;
    background: linear-gradient(135deg, #158ee8, #16c784);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 17px 38px rgba(22, 199, 132, 0.22);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    overflow: hidden;
}

.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(22, 199, 132, 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: #16c784; }
.shop-feature i.fa-bolt { color: #158ee8; }
.shop-feature i.fa-lock { color: #0cab68; }

.shop-empty {
    text-align: center;
    padding: 2rem 1rem;
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.92);
    border: 1px dashed rgba(21, 142, 232, 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(21, 142, 232, 0.06), rgba(22, 199, 132, 0.08));
    border: 1px solid rgba(21, 142, 232, 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: #0b79c6;
    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: #158ee8;
}

.shop-ref-amt {
    color: #16c784;
    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;
    }
}

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