/* =========================================================================
 * Najibul Balance System - Hyper-Viral Referral Engine CSS
 * ========================================================================= */

.nbs-referral-hub-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.nbs-referral-hero-card {
    background: linear-gradient(135deg, #064e3b 0%, #065f46 60%, #047857 100%);
    border: 1px solid rgba(16, 185, 129, 0.4);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    text-align: center;
}

.nbs-rank-pill {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(0, 0, 0, 0.35);
    border: 2px solid #10b981;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nbs-rank-progress-box {
    max-width: 480px;
    margin: 18px auto 0;
}

/* Social Share Studio */
.nbs-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: 12px;
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 800;
    font-size: 13px;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.nbs-social-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.15);
}

.nbs-btn-whatsapp { background: #25D366; }
.nbs-btn-facebook { background: #1877F2; }
.nbs-btn-telegram { background: #229ED9; }
.nbs-btn-twitter  { background: #000000; border: 1px solid rgba(255,255,255,0.2); }
.nbs-btn-linkedin { background: #0A66C2; }

/* Tier Badges */
.nbs-badge-level1 { background: rgba(99, 102, 241, 0.2); color: #818cf8; border: 1px solid rgba(99, 102, 241, 0.4); }
.nbs-badge-level2 { background: rgba(16, 185, 129, 0.2); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.4); }
.nbs-badge-level3 { background: rgba(245, 158, 11, 0.2); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.4); }

/* Frontend Welcome Mystery Vault Floating Widget */
.nbs-mystery-vault-wrap {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999999;
    max-width: 340px;
    animation: nbsSlideUp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

.nbs-vault-box {
    position: relative;
    background: linear-gradient(135deg, #1e1b4b 0%, #0f172a 100%);
    border: 2px solid #f59e0b;
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6), 0 0 20px rgba(245, 158, 11, 0.35);
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nbs-vault-close {
    position: absolute;
    top: 8px;
    right: 12px;
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 20px;
    cursor: pointer;
}

.nbs-vault-icon {
    font-size: 28px;
    color: #f59e0b;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nbs-vault-sparkle {
    font-size: 18px;
    animation: nbsSparkle 1.5s infinite alternate;
}

@keyframes nbsSparkle {
    0% { transform: scale(0.8) rotate(0deg); opacity: 0.6; }
    100% { transform: scale(1.3) rotate(20deg); opacity: 1; }
}

.nbs-vault-tag {
    font-size: 11px;
    font-weight: 800;
    color: #f59e0b;
    text-transform: uppercase;
}

.nbs-vault-title {
    margin: 2px 0 0;
    font-size: 15px;
    font-weight: 800;
    color: #fff;
}

.nbs-vault-desc {
    margin: 0;
    font-size: 12px;
    color: #cbd5e1;
    line-height: 1.4;
}

.nbs-vault-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 6px;
    background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 800;
    font-size: 13px;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
    transition: transform 0.2s ease;
}

.nbs-vault-btn:hover {
    transform: scale(1.03);
}
