/* =============================================
   INVITE & EARN CASHBACK — Premium Styles
   ============================================= */

/* ---- Wallet Hero Card ---- */
.wallet-hero-card {
    position: relative;
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 40%, #4f46e5 80%, #7c3aed 100%);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: 0 8px 32px rgba(79, 70, 229, 0.3);
}

.wallet-bg-decor {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image:
        radial-gradient(circle at 90% 10%, rgba(255,255,255,0.08) 0%, transparent 50%),
        radial-gradient(circle at 10% 90%, rgba(168, 85, 247, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.wallet-bg-decor::before {
    content: '';
    position: absolute;
    top: -60px; right: -40px;
    width: 200px; height: 200px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    animation: floatSlow 6s ease-in-out infinite;
}

@keyframes floatSlow {
    0%, 100% { transform: translate(0,0); }
    50% { transform: translate(-15px, 15px); }
}

.wallet-content {
    position: relative;
    z-index: 2;
    padding: 28px 24px;
    color: #fff;
}

.wallet-top-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.wallet-icon-circle {
    width: 56px; height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #1e1b4b;
    box-shadow: 0 4px 14px rgba(251, 191, 36, 0.4);
    flex-shrink: 0;
}

.wallet-label {
    display: block;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wallet-amount {
    font-size: 2.2rem;
    font-weight: 900;
    color: #fbbf24;
    margin: 0;
    line-height: 1.1;
    text-shadow: 0 2px 8px rgba(251, 191, 36, 0.3);
}

.wallet-stats-row {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 14px;
    padding: 14px 0;
    border: 1px solid rgba(255,255,255,0.12);
}

.wallet-stat {
    flex: 1;
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
}

.stat-label {
    display: block;
    font-size: 0.65rem;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.withdrawal-note {
    font-size: 0.85rem !important;
    color: #a5f3fc !important;
}

.wallet-stat-divider {
    width: 1px;
    height: 30px;
    background: rgba(255,255,255,0.2);
}

/* ---- Section Titles ---- */
.section-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
}

/* ---- How It Works ---- */
.how-it-works-section {
    margin-bottom: 24px;
}

.steps-row {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.step-card {
    background: #fff;
    border-radius: 16px;
    padding: 20px 16px;
    text-align: center;
    flex: 1;
    min-width: 135px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
    position: relative;
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.12);
    border-color: #c7d2fe;
}

.step-number {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px; height: 24px;
    border-radius: 50%;
    background: #4f46e5;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon {
    width: 48px; height: 48px;
    margin: 8px auto 10px;
    border-radius: 14px;
    background: linear-gradient(135deg, #ede9fe, #e0e7ff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #4f46e5;
}

.step-card h6 {
    font-weight: 700;
    font-size: 0.85rem;
    color: #1e293b;
    margin-bottom: 4px;
}

.step-card p {
    font-size: 0.72rem;
    color: #64748b;
    margin: 0;
    line-height: 1.3;
}

.step-arrow {
    font-size: 1.2rem;
    color: #cbd5e1;
    flex-shrink: 0;
}

/* ---- Reward Tiers ---- */
.reward-tiers-section {
    margin-bottom: 24px;
}

.tiers-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.tier-card {
    border-radius: 16px;
    padding: 20px;
    position: relative;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.tier-card:hover {
    transform: translateY(-3px);
}

.tier-basic {
    background: linear-gradient(145deg, #f0fdf4, #ecfdf5);
    border-color: #86efac;
}

.tier-premium {
    background: linear-gradient(145deg, #fffbeb, #fef3c7);
    border-color: #fcd34d;
}

.tier-badge {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #64748b;
    margin-bottom: 8px;
}

.tier-amount {
    font-size: 2rem;
    font-weight: 900;
    color: #1e293b;
    line-height: 1;
    margin-bottom: 8px;
}

.tier-basic .tier-amount { color: #16a34a; }
.tier-premium .tier-amount { color: #d97706; }

.tier-desc {
    font-size: 0.75rem;
    color: #475569;
    line-height: 1.4;
    margin-bottom: 10px;
}

.tier-tag {
    font-size: 0.65rem;
    font-weight: 700;
    color: #4f46e5;
    display: inline-flex;
    align-items: center;
    background: rgba(79, 70, 229, 0.08);
    padding: 4px 10px;
    border-radius: 20px;
}

/* ---- Leaderboard Section ---- */
.leaderboard-section {
    background: #fff;
    border-radius: 16px;
    padding: 22px 20px;
    margin-bottom: 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.leaderboard-live-tag {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #dc2626;
    margin-left: 6px;
    animation: blinkLive 1.5s infinite;
}

.leaderboard-subtitle {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 18px;
}

.leaderboard-loading {
    text-align: center;
    padding: 30px;
    color: #94a3b8;
    font-size: 0.85rem;
}

/* Top 3 Podium */
.podium-row {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 12px;
    margin-bottom: 20px;
    min-height: 160px;
}

.podium-card {
    text-align: center;
    border-radius: 16px;
    padding: 16px 12px;
    flex: 1;
    max-width: 160px;
    position: relative;
    transition: all 0.3s ease;
}

.podium-card:hover {
    transform: translateY(-4px);
}

/* Gold — Rank 1 */
.podium-card.rank-1 {
    background: linear-gradient(145deg, #fef9c3, #fde68a);
    border: 2px solid #fbbf24;
    box-shadow: 0 6px 24px rgba(251, 191, 36, 0.25);
    order: 2;
    padding-top: 20px;
    padding-bottom: 20px;
}

/* Silver — Rank 2 */
.podium-card.rank-2 {
    background: linear-gradient(145deg, #f1f5f9, #e2e8f0);
    border: 2px solid #94a3b8;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    order: 1;
}

/* Bronze — Rank 3 */
.podium-card.rank-3 {
    background: linear-gradient(145deg, #fed7aa, #fdba74);
    border: 2px solid #f97316;
    box-shadow: 0 4px 16px rgba(249, 115, 22, 0.15);
    order: 3;
}

.podium-rank-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 900;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.rank-1 .podium-rank-badge {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
}

.rank-2 .podium-rank-badge {
    background: linear-gradient(135deg, #94a3b8, #64748b);
}

.rank-3 .podium-rank-badge {
    background: linear-gradient(135deg, #f97316, #ea580c);
}

.podium-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin: 0 auto 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.1rem;
    color: #fff;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
}

.rank-1 .podium-avatar {
    width: 56px;
    height: 56px;
    font-size: 1.3rem;
}

.podium-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.podium-name {
    font-weight: 700;
    font-size: 0.78rem;
    color: #1e293b;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.podium-phone {
    font-size: 0.65rem;
    color: #94a3b8;
    margin-bottom: 6px;
}

.podium-earned {
    font-weight: 900;
    font-size: 1.1rem;
    color: #16a34a;
}

.rank-1 .podium-earned {
    font-size: 1.3rem;
}

.podium-referrals {
    font-size: 0.6rem;
    color: #64748b;
    margin-top: 2px;
}

/* Leaderboard List (Rank 4+) */
.leaderboard-list {
    border-top: 1px solid #f1f5f9;
}

.lb-item {
    display: flex;
    align-items: center;
    padding: 10px 6px;
    border-bottom: 1px solid #f8fafc;
    transition: background 0.2s;
}

.lb-item:hover {
    background: #f8fafc;
}

.lb-item:last-child {
    border-bottom: none;
}

.lb-item.is-you {
    background: linear-gradient(90deg, rgba(79, 70, 229, 0.06), transparent);
    border-left: 3px solid #4f46e5;
    border-radius: 0 8px 8px 0;
}

.lb-rank {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.8rem;
    color: #64748b;
    background: #f1f5f9;
    margin-right: 12px;
    flex-shrink: 0;
}

.lb-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.8rem;
    color: #fff;
    background: linear-gradient(135deg, #818cf8, #6366f1);
    flex-shrink: 0;
    margin-right: 10px;
    overflow: hidden;
}

.lb-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lb-name {
    font-weight: 600;
    font-size: 0.82rem;
    color: #1e293b;
}

.lb-phone {
    font-size: 0.65rem;
    color: #94a3b8;
}

.lb-earned {
    margin-left: auto;
    font-weight: 800;
    font-size: 0.9rem;
    color: #16a34a;
    white-space: nowrap;
}

.lb-referrals {
    font-size: 0.6rem;
    color: #94a3b8;
    margin-left: 10px;
    white-space: nowrap;
}

/* Your Rank Banner */
.your-rank-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    padding: 14px 16px;
    background: linear-gradient(135deg, #eef2ff, #e0e7ff);
    border: 2px solid #c7d2fe;
    border-radius: 14px;
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.your-rank-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    flex-shrink: 0;
}

.your-rank-label {
    display: block;
    font-size: 0.65rem;
    color: #64748b;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.your-rank-value {
    display: block;
    font-size: 1.3rem;
    font-weight: 900;
    color: #4f46e5;
    line-height: 1.1;
}

.your-rank-earned {
    margin-left: auto;
    font-weight: 900;
    font-size: 1.2rem;
    color: #16a34a;
}

.leaderboard-empty {
    text-align: center;
    padding: 30px 16px;
    color: #94a3b8;
}

.leaderboard-empty i {
    font-size: 2.2rem;
    display: block;
    margin-bottom: 8px;
    opacity: 0.5;
}

.leaderboard-empty p {
    font-size: 0.82rem;
    margin: 0;
}

/* ---- Referral Code Section ---- */
.referral-code-section {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.code-display-box {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

.code-input {
    flex: 1;
    text-align: center;
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 3px;
    color: #4f46e5;
    border: 2px dashed #c7d2fe;
    border-radius: 12px;
    padding: 12px;
    background: #f8fafc;
    outline: none;
}

.copy-btn {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.copy-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(79, 70, 229, 0.4);
}

.share-buttons-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.share-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
}

.share-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
}

.share-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    color: #fff;
}

.share-whatsapp { background: #25d366; }
.share-telegram { background: #0088cc; }
.share-instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

/* ---- Referral History ---- */
.referral-history-section,
.wallet-passbook-section {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.referral-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #f1f5f9;
}

.referral-item:last-child {
    border-bottom: none;
}

.referral-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.referral-avatar {
    width: 40px; height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ede9fe, #e0e7ff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #4f46e5;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.referral-name {
    font-weight: 700;
    color: #1e293b;
    font-size: 0.9rem;
}

.referral-date {
    font-size: 0.7rem;
    color: #94a3b8;
}

.referral-rewards {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.reward-tag {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.reward-tag.earned {
    background: #dcfce7;
    color: #16a34a;
}

.reward-tag.pending {
    background: #fef3c7;
    color: #b45309;
}

/* ---- Wallet Passbook ---- */
.txn-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
}

.txn-item:last-child {
    border-bottom: none;
}

.txn-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.txn-icon {
    width: 36px; height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.txn-icon.credit {
    background: #dcfce7;
    color: #16a34a;
}

.txn-icon.debit {
    background: #fee2e2;
    color: #dc2626;
}

.txn-desc {
    font-size: 0.8rem;
    font-weight: 600;
    color: #1e293b;
}

.txn-date {
    font-size: 0.65rem;
    color: #94a3b8;
}

.txn-amount {
    font-weight: 800;
    font-size: 0.95rem;
}

.txn-amount.credit { color: #16a34a; }
.txn-amount.debit { color: #dc2626; }

/* ---- UPI ID Section ---- */
.upi-section {
    background: linear-gradient(145deg, #f8fafc, #fff);
    border-radius: 16px;
    padding: 22px 20px;
    margin-bottom: 24px;
    border: 2px solid #e0e7ff;
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.06);
    position: relative;
    overflow: hidden;
}

.upi-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.upi-required-tag {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    color: #dc2626;
    padding: 3px 10px;
    border-radius: 20px;
    margin-left: 8px;
    vertical-align: middle;
    animation: pulseBadge 2s infinite;
}

.upi-description {
    font-size: 0.82rem;
    color: #64748b;
    margin-bottom: 14px;
    line-height: 1.5;
}

.upi-input-box {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.upi-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(79, 70, 229, 0.3);
}

.upi-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e293b;
    background: #fff;
    outline: none;
    transition: all 0.3s ease;
}

.upi-input:focus {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.upi-input::placeholder {
    color: #94a3b8;
    font-weight: 400;
    font-size: 0.85rem;
}

.upi-save-btn {
    background: linear-gradient(135deg, #16a34a, #15803d);
    color: #fff;
    border: none;
    padding: 12px 22px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 3px 10px rgba(22, 163, 74, 0.3);
}

.upi-save-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 18px rgba(22, 163, 74, 0.4);
}

.upi-save-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.upi-save-btn.saved {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
}

.upi-status {
    font-size: 0.75rem;
    font-weight: 600;
    min-height: 20px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.upi-status.success {
    color: #16a34a;
}

.upi-status.error {
    color: #dc2626;
}

.upi-status.saved-info {
    color: #4f46e5;
}

.upi-apps-hint {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.upi-app {
    font-size: 0.7rem;
    font-weight: 600;
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(0, 0, 0, 0.03);
    padding: 4px 10px;
    border-radius: 8px;
}

/* ---- Empty State ---- */
.empty-state {
    text-align: center;
    padding: 30px 20px;
    color: #94a3b8;
}

.empty-state i {
    font-size: 2.5rem;
    margin-bottom: 10px;
    display: block;
    opacity: 0.5;
}

.empty-state p {
    font-size: 0.85rem;
    margin: 0;
}

/* ---- Mobile Responsive ---- */
@media (max-width: 768px) {
    .wallet-amount { font-size: 1.8rem; }
    .wallet-content { padding: 22px 18px; }

    .tiers-grid { grid-template-columns: 1fr; }
    .tier-amount { font-size: 1.6rem; }

    .steps-row { gap: 6px; }
    .step-arrow { display: none; }
    .step-card { min-width: 110px; padding: 16px 10px; }

    .code-display-box { flex-direction: column; }
    .code-input { font-size: 1.1rem; }
    .copy-btn { width: 100%; text-align: center; }

    .share-buttons-row { justify-content: center; }

    .stat-value { font-size: 1rem; }

    .upi-input-box { flex-direction: column; }
    .upi-icon-wrap { display: none; }
    .upi-save-btn { width: 100%; text-align: center; }
    .upi-apps-hint { justify-content: center; }

    .podium-row { gap: 6px; }
    .podium-card { padding: 12px 8px; }
    .podium-avatar { width: 38px; height: 38px; font-size: 0.9rem; }
    .rank-1 .podium-avatar { width: 44px; height: 44px; }
    .podium-name { font-size: 0.7rem; }
    .podium-earned { font-size: 0.9rem; }
    .rank-1 .podium-earned { font-size: 1.05rem; }
    .podium-rank-badge { width: 24px; height: 24px; font-size: 0.6rem; }

    .lb-rank { width: 28px; height: 28px; font-size: 0.7rem; margin-right: 8px; }
    .lb-avatar { width: 30px; height: 30px; font-size: 0.7rem; margin-right: 8px; }
    .lb-name { font-size: 0.75rem; }
    .lb-earned { font-size: 0.8rem; }
    .lb-referrals { display: none; }

    .your-rank-banner { padding: 10px 12px; gap: 8px; }
    .your-rank-icon { width: 34px; height: 34px; }
    .your-rank-value { font-size: 1.1rem; }
    .your-rank-earned { font-size: 1rem; }
}

/* === Existing Sidebar Styles (keep from referAndEarn.css) === */

/* --- Gold Icon & Premium Badge Styles --- */
.text-gold {
    color: #FFD700 !important;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
}

.badge-premium {
    font-size: 0.6rem !important;
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #000 !important;
    font-weight: 700;
    margin-left: auto;
    border: 1px solid #e0c200;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    animation: pulseBadge 2s infinite;
}

@keyframes pulseBadge {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.sticky-nav-item {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--sidebar-bg) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

.badge-live {
    font-size: 0.6rem !important;
    background-color: #ef4444;
    color: white !important;
    font-weight: 700;
    margin-left: auto;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.6);
    animation: blinkLive 1.5s infinite;
}

@keyframes blinkLive {
    0% { opacity: 1; }
    50% { opacity: 0.6; }
    100% { opacity: 1; }
}

.sticky-nav-item a.active {
    background: linear-gradient(90deg, rgba(239, 68, 68, 0.2), transparent) !important;
    border-left-color: #ef4444 !important;
}

.sidebar-header a:hover .brand-name {
    color: var(--secondary-color);
    transition: 0.3s;
}

.target-badge {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 0.75rem;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.target-badge:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--secondary-color);
}

#sidebar-goal-text {
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
}

.sidebar-header {
    padding: 1.25rem 1rem;
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.brand-name {
    color: #ffffff;
    font-weight: 800;
    letter-spacing: 1px;
    font-size: 1.4rem;
    text-transform: lowercase;
}

.brand-tagline {
    font-size: 0.65rem;
    color: var(--sidebar-link-color);
    display: block;
    margin-top: -2px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
