/* VRGoo VIP Page - Clean Modern Design v3 */
/* Works with B2 theme Vue.js rendered content */

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

/* ===== TOP SECTION ===== */
.vip-top {
    background: linear-gradient(160deg, #6c5ce7 0%, #a29bfe 100%) !important;
    padding: 50px 20px !important;
}

.vip-top .content-area {
    max-width: 1100px !important;
    margin: 0 auto !important;
}

/* Top cards row */
.vip-count ul {
    display: flex !important;
    justify-content: center !important;
    gap: 16px !important;
    flex-wrap: wrap !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

.vip-count ul li {
    flex: 1 !important;
    min-width: 180px !important;
    max-width: 240px !important;
    list-style: none !important;
}

.vip-count .vip-in {
    background: rgba(255,255,255,0.95) !important;
    border-radius: 16px !important;
    padding: 25px 15px !important;
    text-align: center !important;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1) !important;
    transition: transform 0.3s !important;
}

.vip-count .vip-in:hover {
    transform: translateY(-5px) !important;
}

.vip-count .vip-in > span:first-child {
    font-size: 20px !important;
    font-weight: 800 !important;
    display: block !important;
    margin-bottom: 8px !important;
}

.vip-count .vip-in .vip-in-number {
    font-size: 13px !important;
    color: #666 !important;
    display: block !important;
    margin-bottom: 12px !important;
}

.vip-count .vip-in .vip-in-number b {
    font-weight: 400 !important;
    color: #888 !important;
}

.vip-count .vip-in button {
    background: linear-gradient(135deg, #6c5ce7, #a29bfe) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 20px !important;
    padding: 8px 22px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s !important;
}

.vip-count .vip-in button:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 5px 15px rgba(108,92,231,0.4) !important;
}

/* Current user status */
.vip-current {
    text-align: center !important;
    margin-top: 25px !important;
    color: #333 !important;
    font-size: 14px !important;
    background: rgba(255,255,255,0.9) !important;
    display: inline-block !important;
    padding: 10px 25px !important;
    border-radius: 25px !important;
}

.vip-current span,
.vip-current div,
.vip-current * {
    color: #333 !important;
}

/* ===== PRICING CARDS SECTION ===== */
.vip-page {
    background: #f9fafe !important;
    padding: 50px 20px !important;
}

.vip-page .site-main {
    max-width: 1100px !important;
    margin: 0 auto !important;
    background: transparent !important;
    box-shadow: none !important;
}

.vip-list {
    display: flex !important;
    justify-content: center !important;
    gap: 20px !important;
    flex-wrap: wrap !important;
}

.vip-item {
    flex: 1 !important;
    min-width: 240px !important;
    max-width: 280px !important;
    float: none !important;
    padding: 0 !important;
    animation: fadeIn 0.5s ease forwards;
}

.vip-list-in {
    background: #fff !important;
    border-radius: 20px !important;
    padding: 35px 22px 28px !important;
    box-shadow: 0 5px 25px rgba(0,0,0,0.07) !important;
    border: 2px solid #eee !important;
    transition: all 0.3s !important;
    position: relative !important;
    overflow: hidden !important;
    text-align: center !important;
}

.vip-list-in:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 15px 45px rgba(108,92,231,0.15) !important;
    border-color: #6c5ce7 !important;
}

/* Highlight Diamond */
.vip-item:nth-child(4) .vip-list-in {
    border-color: #6c5ce7 !important;
    background: linear-gradient(180deg, #faf9ff 0%, #fff 100%) !important;
}

.vip-item:nth-child(4) .vip-list-in::after {
    content: '🔥 BEST DEAL';
    position: absolute;
    top: 12px;
    right: -32px;
    background: #e74c3c;
    color: #fff;
    padding: 4px 38px;
    font-size: 9px;
    font-weight: 800;
    transform: rotate(45deg);
    letter-spacing: 1px;
}

/* Highlight Platinum */
.vip-item:nth-child(3) .vip-list-in::after {
    content: '⭐ POPULAR';
    position: absolute;
    top: 12px;
    right: -32px;
    background: #6c5ce7;
    color: #fff;
    padding: 4px 38px;
    font-size: 9px;
    font-weight: 800;
    transform: rotate(45deg);
    letter-spacing: 1px;
}

/* Plan name */
.vip-list-in h2 {
    font-size: 24px !important;
    font-weight: 800 !important;
    margin: 0 0 15px !important;
    text-align: center !important;
}

/* ===== PRICE with fake original ===== */
.vip-price {
    text-align: center !important;
    margin: 0 0 20px !important;
    padding-bottom: 20px !important;
    border-bottom: 1px solid #f0f0f0 !important;
    position: relative !important;
}

/* Fake original prices */
.vip-item:nth-child(1) .vip-price::before { content: 'Was $25'; }
.vip-item:nth-child(2) .vip-price::before { content: 'Was $45'; }
.vip-item:nth-child(3) .vip-price::before { content: 'Was $79'; }
.vip-item:nth-child(4) .vip-price::before { content: 'Was $99'; }

.vip-price::before {
    display: block !important;
    font-size: 14px !important;
    color: #aaa !important;
    text-decoration: line-through !important;
    margin-bottom: 4px !important;
    font-weight: 500 !important;
}

/* Discount badges */
.vip-item:nth-child(1) .vip-price-day::after { content: ' • 60% OFF'; color: #e74c3c; font-weight: 700; font-size: 11px; }
.vip-item:nth-child(2) .vip-price-day::after { content: ' • 62% OFF'; color: #e74c3c; font-weight: 700; font-size: 11px; }
.vip-item:nth-child(3) .vip-price-day::after { content: ' • 59% OFF'; color: #e74c3c; font-weight: 700; font-size: 11px; }
.vip-item:nth-child(4) .vip-price-day::after { content: ' • 58% OFF'; color: #e74c3c; font-weight: 700; font-size: 11px; }

.vip-price-money {
    font-size: 44px !important;
    font-weight: 900 !important;
    color: #222 !important;
    line-height: 1 !important;
}

.vip-price-day {
    font-size: 13px !important;
    color: #888 !important;
    margin-top: 4px !important;
}

/* ===== Features ===== */
.vip-row ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    text-align: left !important;
}

.vip-row li {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 9px 0 !important;
    border-bottom: 1px solid #f8f8f8 !important;
    font-size: 12.5px !important;
    color: #555 !important;
}

.vip-row li:last-child {
    border-bottom: none !important;
}

.vip-row li.allow {
    color: #222 !important;
}

/* ===== Join Button ===== */
.vip-list-in > button,
.vip-list-in button.b2-radius {
    display: block !important;
    width: 100% !important;
    margin-top: 20px !important;
    padding: 13px !important;
    border: none !important;
    border-radius: 12px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.3s !important;
    color: #fff !important;
}

.vip-item:nth-child(1) .vip-list-in > button,
.vip-item:nth-child(1) .vip-list-in button.b2-radius {
    background: linear-gradient(135deg, #b8b8b8, #8e8e8e) !important;
}

.vip-item:nth-child(2) .vip-list-in > button,
.vip-item:nth-child(2) .vip-list-in button.b2-radius {
    background: linear-gradient(135deg, #f39c12, #f1c40f) !important;
    color: #333 !important;
}

.vip-item:nth-child(3) .vip-list-in > button,
.vip-item:nth-child(3) .vip-list-in button.b2-radius {
    background: linear-gradient(135deg, #6c5ce7, #a29bfe) !important;
}

.vip-item:nth-child(4) .vip-list-in > button,
.vip-item:nth-child(4) .vip-list-in button.b2-radius {
    background: linear-gradient(135deg, #00b894, #55efc4) !important;
    animation: pulse 2.5s ease-in-out infinite;
}

.vip-list-in > button:hover,
.vip-list-in button.b2-radius:hover {
    transform: scale(1.04) !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15) !important;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
    .vip-count ul {
        gap: 10px !important;
    }
    .vip-count ul li {
        min-width: 140px !important;
    }
    .vip-item {
        min-width: 100% !important;
        max-width: 100% !important;
    }
    .vip-list {
        flex-direction: column !important;
        align-items: center !important;
    }
    .vip-item:nth-child(3) .vip-list-in::after,
    .vip-item:nth-child(4) .vip-list-in::after {
        display: none;
    }
}
