/* VAULT CONTAINER */
.vault-section {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

/* THE WALLET (Big Counter) */
.star-wallet {
    background: linear-gradient(135deg, #FFD700 0%, #FFC107 100%); /* Gold Gradient */
    border-radius: 24px;
    padding: 30px 40px;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.wallet-text span { font-weight: 600; opacity: 0.8; font-size: 0.9rem; text-transform: uppercase; }
.wallet-text h1 { font-size: 4rem; margin: 0; font-weight: 800; letter-spacing: -2px; line-height: 1; }
.wallet-icon { font-size: 3rem; color: #fff; opacity: 0.5; }

/* GRID LAYOUT */
.vault-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.vault-card {
    background: #fff;
    border-radius: 24px;
    padding: 24px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.card-header { margin-bottom: 24px; border-bottom: 1px solid #f0f0f0; padding-bottom: 16px; }
.card-header h3 { font-size: 1.2rem; margin-bottom: 4px; display: flex; align-items: center; gap: 8px; }
.card-header p { font-size: 0.85rem; color: #86868b; }

/* TASK LIST (EARN) */
.task-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #f5f5f7;
}

.task-info { display: flex; flex-direction: column; }
.task-title { font-weight: 600; font-size: 0.95rem; }
.task-sub { font-size: 0.75rem; color: #86868b; }

.task-action { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.reward-pill { font-size: 0.75rem; color: #28c840; font-weight: 700; background: #eaffef; padding: 2px 8px; border-radius: 4px; }

.btn-claim {
    background: #000;
    color: #fff;
    border: none;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}
.btn-claim:hover { transform: scale(1.05); background: #333; }
.btn-claim.disabled { background: #f0f0f0; color: #999; cursor: not-allowed; transform: none; }

/* MARKET LIST (SPEND) */
.market-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #f5f5f7;
}

.item-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}
.item-icon.blue { background: #e8f2ff; color: #0071e3; }
.item-icon.purple { background: #f2e8ff; color: #af52de; }

.item-details h4 { font-size: 1rem; margin-bottom: 2px; }
.item-details p { font-size: 0.8rem; color: #666; margin-bottom: 8px; }

.price-row { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.cost { font-weight: 700; color: #FFC107; font-size: 0.9rem; }

.btn-buy {
    background: transparent;
    border: 1px solid #e5e5e5;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 0.75rem;
    cursor: pointer;
}
.btn-buy:hover { border-color: #000; background: #000; color: #fff; }

/* UPSELL BOX */
.premium-upsell {
    background: #f5f5f7;
    border-radius: 12px;
    padding: 16px;
    margin-top: 10px;
    align-items: center;
    justify-content: space-between;
}
.upsell-text strong { font-size: 0.85rem; display: block; }
.upsell-text p { font-size: 0.75rem; color: #666; margin: 0; }
.btn-tiny-dark { background: #000; color: #fff; font-size: 0.7rem; padding: 6px 12px; border-radius: 8px; text-decoration: none; }

/* TOAST NOTIFICATION */
.toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}
.toast.show { opacity: 1; bottom: 40px; }

@media (max-width: 768px) {
    .vault-grid { grid-template-columns: 1fr; }
    .wallet-text h1 { font-size: 3rem; }
}