@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800&family=Segoe+UI:wght@400;600&display=swap");
:root {
  --bg-dark: #f8f6ff;
  --purple-primary: #8b5cf6;
  --purple-dark: #5b21b6;
  --purple-light: #a78bfa;
  --purple-glow: #c084fc;
  --card-bg: rgba(255, 255, 255, 0.75);
  --card-border: rgba(167, 139, 250, 0.25);
  --text-light: #000000;
  --text-muted: #4a4a55;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Segoe UI', system-ui, sans-serif;
  background: linear-gradient(135deg, #ffffff 0%, #ffffff 55%, #f1e9ff 100%);
  min-height: 100vh;
  color: var(--text-light);
}

.guest-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.guest-wrapper::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(139,92,246,0.35), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.glass-card {
  width: 100%;
  max-width: 420px;
  background: var(--card-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--card-border);
  border-radius: 22px;
  padding: 40px 32px;
  box-shadow: 0 8px 40px rgba(139, 92, 246, 0.25), inset 0 1px 0 rgba(139,92,246,0.08);
  position: relative;
  z-index: 1;
}

.glass-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.glass-title {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--purple-light), var(--purple-glow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}

.glass-subtitle {
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.form-group { margin-bottom: 18px; }

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(167, 139, 250, 0.25);
  background: rgba(255, 255, 255, 0.8);
  color: var(--text-light);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input::placeholder { color: #6b5f8a; }

.form-input:focus {
  border-color: var(--purple-primary);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

.form-error {
  color: #f87171;
  font-size: 12px;
  margin-top: 4px;
}

.btn-primary {
  width: 100%;
  padding: 13px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--purple-light), var(--purple-dark));
  color: white;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
}

.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(139, 92, 246, 0.55); }
.btn-primary:active { transform: translateY(0); }

.guest-footer-link {
  text-align: center;
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-muted);
}

.guest-footer-link a {
  color: var(--purple-light);
  font-weight: 600;
  text-decoration: none;
}

/* Bottom Navigation (dipakai nanti di dashboard) */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15, 8, 28, 0.85);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(167, 139, 250, 0.2);
  display: flex;
  justify-content: space-around;
  padding: 10px 0 14px;
  z-index: 50;
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
}

.bottom-nav-item.active { color: var(--purple-glow); }

.bottom-nav-item.center-item {
  background: linear-gradient(135deg, var(--purple-light), var(--purple-dark));
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -22px;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.5);
}

/* ===== App Layout (setelah login) ===== */
.app-body {
  padding: 20px 16px 100px;
  max-width: 480px;
  margin: 0 auto;
}

.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.app-header-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.app-header-brand .logo-box {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--purple-light), var(--purple-dark));
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-header-brand .brand-name {
  font-weight: 700;
  font-size: 16px;
  color: var(--text-light);
}

.app-header-brand .brand-name span {
  color: var(--purple-glow);
}

.app-header-user {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-light);
}

.balance-card {
  background: linear-gradient(135deg, #ffffff 0%, #f3ecff 100%);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(139, 92, 246, 0.18);
}

.balance-card::after {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(192,132,252,0.25), transparent 70%);
  filter: blur(20px);
}

.balance-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}

.balance-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.balance-amount {
  font-size: 26px;
  font-weight: 700;
  color: var(--text-light);
  margin-top: 4px;
}

.balance-tag {
  background: rgba(167, 139, 250, 0.2);
  color: var(--purple-glow);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
}

.balance-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  position: relative;
  z-index: 1;
}

.balance-action-btn {
  flex: 1;
  background: rgba(139,92,246,0.09);
  border: 1px solid rgba(167, 139, 250, 0.2);
  border-radius: 12px;
  padding: 10px 0;
  text-align: center;
  color: var(--text-light);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

.menu-grid-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--text-light);
  font-size: 11px;
  font-weight: 600;
}

.menu-grid-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(167, 139, 250, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 20px;
  margin-bottom: 16px;
}

.section-title {
  font-weight: 700;
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 4px;
}

.section-subtitle {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.empty-state {
  text-align: center;
  padding: 20px 0;
}

.empty-state-icon {
  opacity: 0.4;
  margin-bottom: 10px;
}

.empty-state-text {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.btn-outline {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 10px;
  border: 1px solid var(--purple-light);
  color: var(--purple-light);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

/* Bottom nav icon sizing */
.bottom-nav-item svg { width: 22px; height: 22px; }
.bottom-nav-item.center-item svg { width: 24px; height: 24px; }

/* ===== Product Cards ===== */
.page-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.page-header-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--purple-light), var(--purple-dark));
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-header-title { font-size: 18px; font-weight: 700; color: var(--text-light); }
.page-header-subtitle { font-size: 12px; color: var(--text-muted); }

.offer-banner {
  background: linear-gradient(135deg, #ffffff 0%, #f3ecff 100%);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 18px;
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
}

.offer-banner-tag {
  font-size: 10px;
  color: var(--purple-glow);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.offer-banner-amount {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-light);
  margin: 6px 0 2px;
}

.offer-banner-note { font-size: 12px; color: var(--text-muted); }

.progress-bar-bg {
  width: 100%;
  height: 6px;
  background: rgba(139,92,246,0.10);
  border-radius: 10px;
  margin-top: 12px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--purple-light), var(--purple-glow));
  border-radius: 10px;
}

.tab-switch {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.tab-switch-item {
  flex: 1;
  text-align: center;
  padding: 10px 0;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  background: rgba(139,92,246,0.07);
  color: var(--text-muted);
  border: 1px solid transparent;
  text-decoration: none;
}

.tab-switch-item.active {
  background: rgba(139,92,246,0.15);
  color: var(--purple-glow);
  border-color: var(--purple-light);
}

.product-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 18px;
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
}

.product-card-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(139,92,246,0.18);
  color: var(--purple-glow);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
}

.product-card-badge.pro {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
}

.product-card-name { font-weight: 700; font-size: 15px; color: var(--text-light); }
.product-card-sub { font-size: 11px; color: var(--text-muted); margin-bottom: 12px; }

.product-card-stats {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 14px;
}

.product-card-price {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.product-card-price span {
  font-size: 11px;
  font-weight: 400;
  color: var(--text-muted);
}

.product-card-income {
  text-align: right;
}

.product-card-income .label { font-size: 10px; color: var(--text-muted); }
.product-card-income .value { font-size: 15px; font-weight: 700; color: var(--purple-glow); }

.product-card-total {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.product-card-total b { color: var(--text-light); }

.btn-buy {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 12px 18px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--purple-light), var(--purple-dark));
  color: white;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}

.timer-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  color: #fbbf24;
  background: rgba(251,191,36,0.12);
  padding: 3px 8px;
  border-radius: 8px;
  margin-bottom: 8px;
}

/* ===== Deposit & Withdraw ===== */
.amount-input-card {
  background: linear-gradient(135deg, #ffffff 0%, #f3ecff 100%);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 20px;
  margin-bottom: 18px;
}

.amount-input-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.amount-input-field {
  display: flex;
  align-items: center;
  gap: 8px;
}

.amount-input-field .prefix {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-light);
}

.amount-input-field input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-size: 28px;
  font-weight: 700;
  color: var(--text-light);
  width: 100%;
}

.quick-amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.quick-amount-btn {
  padding: 12px 0;
  text-align: center;
  border-radius: 12px;
  border: 1px solid rgba(167,139,250,0.2);
  background: rgba(139,92,246,0.06);
  color: var(--text-light);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.quick-amount-btn.active {
  background: rgba(139,92,246,0.2);
  border-color: var(--purple-light);
  color: var(--purple-glow);
}

.bank-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  margin-bottom: 10px;
  cursor: pointer;
}

.bank-option.selected {
  border-color: var(--purple-light);
  background: rgba(139,92,246,0.1);
}

.bank-option-name { font-weight: 600; font-size: 14px; color: var(--text-light); }
.bank-option-number { font-size: 12px; color: var(--text-muted); }

.file-upload-box {
  border: 2px dashed rgba(167,139,250,0.3);
  border-radius: 14px;
  padding: 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 18px;
  cursor: pointer;
}

.status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
}
.status-badge.pending { background: rgba(251,191,36,0.15); color: #fbbf24; }
.status-badge.approved { background: rgba(74,222,128,0.15); color: #4ade80; }
.status-badge.rejected { background: rgba(248,113,113,0.15); color: #f87171; }

.history-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(167,139,250,0.1);
}

/* ===== Bank Account & Withdraw ===== */
.bank-card-saved {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bank-card-saved-info .name { font-weight: 700; font-size: 14px; color: var(--text-light); }
.bank-card-saved-info .number { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

.btn-delete-small {
  background: rgba(248,113,113,0.12);
  color: #f87171;
  border: none;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}

.select-bank-account {
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  margin-bottom: 10px;
  cursor: pointer;
}

.select-bank-account.selected {
  border-color: var(--purple-light);
  background: rgba(139,92,246,0.1);
}

/* ===== Portfolio ===== */
.summary-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 18px;
}

.summary-mini-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 14px;
}

.summary-mini-label { font-size: 10px; color: var(--text-muted); text-transform: uppercase; margin-bottom: 6px; }
.summary-mini-value { font-size: 16px; font-weight: 700; color: var(--purple-glow); }

.holding-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 12px;
}

.holding-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.holding-card-name { font-weight: 700; font-size: 14px; color: var(--text-light); }
.holding-card-date { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

.holding-progress-track {
  width: 100%;
  height: 5px;
  background: rgba(139,92,246,0.10);
  border-radius: 10px;
  margin: 10px 0;
  overflow: hidden;
}

.holding-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--purple-light), var(--purple-glow));
}

.holding-stats-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
}

.holding-stats-row b { color: var(--text-light); }

/* ===== Referral / Undangan ===== */
.referral-hero {
  background: linear-gradient(135deg, #ffffff 0%, #f3ecff 100%);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 20px;
  margin-bottom: 18px;
}

.referral-hero-label {
  font-size: 10px;
  color: var(--purple-glow);
  text-transform: uppercase;
  font-weight: 700;
}

.referral-hero-amount {
  font-size: 26px;
  font-weight: 700;
  color: var(--text-light);
  margin: 6px 0 10px;
}

.referral-hero-stats {
  display: flex;
  gap: 20px;
  font-size: 12px;
  color: var(--text-muted);
}

.level-tab-switch {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.level-tab-item {
  flex: 1;
  text-align: center;
  padding: 10px 0;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  background: rgba(139,92,246,0.07);
  color: var(--text-muted);
  border: none;
  cursor: pointer;
}

.level-tab-item.active {
  background: rgba(139,92,246,0.2);
  color: var(--purple-glow);
}

.level-detail-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 16px;
}

.level-detail-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.level-detail-title { font-weight: 700; font-size: 14px; color: var(--text-light); }
.level-detail-pct {
  font-size: 18px;
  font-weight: 700;
  color: var(--purple-glow);
}

.level-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  font-size: 12px;
  color: var(--text-muted);
}

.level-detail-grid b { display: block; font-size: 15px; color: var(--text-light); margin-top: 2px; }

.referral-code-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--card-bg);
  border: 1px dashed var(--card-border);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 12px;
}

.referral-code-box .code { font-weight: 700; font-size: 16px; color: var(--text-light); letter-spacing: 2px; }

.btn-copy-small {
  background: rgba(139,92,246,0.15);
  color: var(--purple-glow);
  border: none;
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.share-whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px;
  border-radius: 12px;
  background: linear-gradient(135deg, #25d366, #128c4a);
  color: white;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  margin-bottom: 20px;
}

.downline-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(167,139,250,0.1);
}

.downline-item .name { font-weight: 600; font-size: 14px; color: var(--text-light); }
.downline-item .date { font-size: 11px; color: var(--text-muted); }

/* ===== Tugas & Check-in ===== */
.checkin-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}

.checkin-day {
  aspect-ratio: 1;
  border-radius: 10px;
  background: rgba(139,92,246,0.07);
  border: 1px solid var(--card-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--text-muted);
  gap: 4px;
}

.checkin-day.done {
  background: rgba(139,92,246,0.15);
  border-color: var(--purple-light);
  color: var(--purple-glow);
}

.checkin-day.today {
  border-color: var(--purple-glow);
  box-shadow: 0 0 0 2px rgba(192,132,252,0.3);
}

.task-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.task-item-info .title { font-weight: 600; font-size: 14px; color: var(--text-light); }
.task-item-info .desc { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

.task-item-reward {
  font-size: 13px;
  font-weight: 700;
  color: var(--purple-glow);
}

.btn-small-action {
  padding: 8px 16px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, var(--purple-light), var(--purple-dark));
  color: white;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.btn-small-action:disabled {
  background: rgba(139,92,246,0.09);
  color: var(--text-muted);
  cursor: not-allowed;
}

/* ===== Bukti / Testimoni ===== */
.testimoni-banner {
  background: linear-gradient(135deg, #ffffff 0%, #f3ecff 100%);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 18px;
  margin-bottom: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.testimoni-banner-title { font-weight: 700; font-size: 15px; color: var(--text-light); }
.testimoni-banner-sub { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

.testimoni-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 12px;
}

.testimoni-card-quote { font-size: 13px; color: var(--text-light); margin: 10px 0; }

.testimoni-card-user {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.testimoni-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-light), var(--purple-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 14px;
}

.testimoni-user-name { font-weight: 600; font-size: 13px; color: var(--text-light); }
.testimoni-user-meta { font-size: 11px; color: var(--text-muted); }

/* ===== Profil ===== */
.profile-header-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 18px;
  margin-bottom: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.profile-avatar-row { display: flex; align-items: center; gap: 14px; }

.profile-avatar-big {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-light), var(--purple-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 20px;
}

.profile-name { font-weight: 700; font-size: 16px; color: var(--text-light); }
.profile-id { font-size: 12px; color: var(--text-muted); }

.portfolio-total-card {
  background: linear-gradient(135deg, #ffffff 0%, #f5f0ff 50%, #ecdfff 100%);
  border-radius: 18px;
  padding: 20px;
  margin-bottom: 18px;
}

.portfolio-total-label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; }
.portfolio-total-value { font-size: 26px; font-weight: 700; color: #fff; margin: 6px 0 12px; }

.portfolio-split { display: flex; gap: 24px; }
.portfolio-split-item .label { font-size: 11px; color: var(--text-muted); }
.portfolio-split-item .value { font-size: 15px; font-weight: 700; color: var(--text-light); margin-top: 2px; }

.transaction-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.settings-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(167,139,250,0.1);
  text-decoration: none;
  color: var(--text-light);
}

.settings-list-item .left { display: flex; align-items: center; gap: 12px; }
.settings-list-item .icon-box {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(139,92,246,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}
.settings-list-item .title { font-weight: 600; font-size: 14px; }
.settings-list-item .desc { font-size: 11px; color: var(--text-muted); }

/* ===== Admin Panel ===== */
.admin-layout {
  display: flex;
  min-height: 100vh;
}

.admin-sidebar {
  width: 240px;
  background: rgba(255, 255, 255, 0.85);
  border-right: 1px solid var(--card-border);
  padding: 24px 16px;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  overflow-y: auto;
}

.admin-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
  padding: 0 8px;
}

.admin-sidebar-brand .logo-box {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--purple-light), var(--purple-dark));
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-sidebar-brand .brand-text { font-weight: 700; font-size: 15px; color: var(--text-light); }

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 10px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
}

.admin-nav-item:hover, .admin-nav-item.active {
  background: rgba(139,92,246,0.15);
  color: var(--purple-glow);
}

.admin-main {
  flex: 1;
  margin-left: 240px;
  padding: 30px 36px;
  max-width: 1100px;
}

.admin-page-title { font-size: 22px; font-weight: 700; color: var(--text-light); margin-bottom: 4px; }
.admin-page-subtitle { font-size: 13px; color: var(--text-muted); margin-bottom: 24px; }

.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.admin-stat-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 18px;
}

.admin-stat-label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; margin-bottom: 8px; }
.admin-stat-value { font-size: 22px; font-weight: 700; color: var(--text-light); }

.admin-table-wrap {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  overflow: hidden;
}

.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th {
  text-align: left;
  padding: 14px 18px;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(139,92,246,0.06);
  border-bottom: 1px solid var(--card-border);
}
.admin-table td {
  padding: 14px 18px;
  font-size: 13px;
  color: var(--text-light);
  border-bottom: 1px solid rgba(167,139,250,0.08);
}

.btn-admin-primary {
  padding: 10px 20px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, var(--purple-light), var(--purple-dark));
  color: white;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.btn-admin-approve {
  padding: 6px 14px;
  border-radius: 8px;
  border: none;
  background: rgba(74,222,128,0.15);
  color: #4ade80;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.btn-admin-reject {
  padding: 6px 14px;
  border-radius: 8px;
  border: none;
  background: rgba(248,113,113,0.15);
  color: #f87171;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  margin-left: 6px;
}

.admin-form-group { margin-bottom: 16px; }
.admin-form-label { display: block; font-size: 12px; font-weight: 600; color: var(--text-light); margin-bottom: 6px; }
.admin-form-input, .admin-form-select, .admin-form-textarea {
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(167,139,250,0.25);
  background: rgba(255,255,255,0.8);
  color: var(--text-light);
  font-size: 13px;
  outline: none;
}

.admin-color-swatch {
  display: inline-block;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  vertical-align: middle;
  margin-right: 8px;
  border: 1px solid rgba(255,255,255,0.2);
}

/* ===== Admin Product Management ===== */
.admin-page-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.admin-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.admin-product-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  overflow: hidden;
}

.admin-product-card-image {
  width: 100%;
  height: 120px;
  background: rgba(139,92,246,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.admin-product-card-image img { width: 100%; height: 100%; object-fit: cover; }

.admin-product-card-body { padding: 14px; }

.admin-product-card-name { font-weight: 700; font-size: 14px; color: var(--text-light); margin-bottom: 4px; }
.admin-product-card-meta { font-size: 11px; color: var(--text-muted); margin-bottom: 10px; }

.admin-product-card-actions { display: flex; gap: 8px; }

.btn-admin-edit {
  flex: 1;
  padding: 7px 0;
  border-radius: 8px;
  border: none;
  background: rgba(139,92,246,0.15);
  color: var(--purple-glow);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
}

.btn-admin-delete {
  flex: 1;
  padding: 7px 0;
  border-radius: 8px;
  border: none;
  background: rgba(248,113,113,0.15);
  color: #f87171;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.admin-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5,3,10,0.75);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  padding: 40px 20px;
  z-index: 100;
}

.admin-modal-box {
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 28px;
  width: 100%;
  max-width: 520px;
}

.admin-modal-title { font-size: 17px; font-weight: 700; color: var(--text-light); margin-bottom: 20px; }

.admin-form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.admin-toggle-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.color-option-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }

.color-option {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid transparent;
}

.color-option.selected { border-color: white; }

/* ===== Typography: Serif untuk judul & angka (sesuai referensi) ===== */
.glass-title,
.page-header-title,
.balance-amount,
.admin-page-title,
.admin-stat-value,
.product-card-name,
.product-card-price,
.offer-banner-amount,
.holding-card-name,
.profile-name,
.testimoni-card-quote,
.referral-hero-amount,
.level-detail-title,
.level-detail-pct,
.admin-modal-title,
.brand-name,
.admin-sidebar-brand .brand-text {
  font-family: 'Playfair Display', Georgia, serif;
}

.app-header-brand .brand-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
}

/* ===== Polish Pass 1 ===== */
.section-card, .product-card, .holding-card, .testimoni-card, .task-item, .bank-card-saved {
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.balance-card, .offer-banner, .referral-hero, .portfolio-total-card {
  box-shadow: 0 8px 32px rgba(139, 92, 246, 0.18);
}

.btn-primary, .btn-buy, .btn-admin-primary {
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.4);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary:active, .btn-buy:active {
  transform: scale(0.98);
}

.product-card, .holding-card, .task-item, .testimoni-card {
  transition: transform 0.15s ease;
}

.bottom-nav-item svg {
  transition: transform 0.15s ease;
}

.bottom-nav-item.active svg {
  transform: scale(1.1);
}

/* Rapikan spacing global */
.app-body { padding-top: 24px; }
.section-title { letter-spacing: 0.2px; }

/* Badge lebih tegas */
.status-badge {
  letter-spacing: 0.3px;
}

/* Input focus lebih halus */
.form-input:focus, .admin-form-input:focus {
  transform: translateY(-1px);
}

/* ===== Polish Pass 1 ===== */
.section-card, .product-card, .holding-card, .testimoni-card, .task-item, .bank-card-saved {
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.balance-card, .offer-banner, .referral-hero, .portfolio-total-card {
  box-shadow: 0 8px 32px rgba(139, 92, 246, 0.18);
}

.btn-primary, .btn-buy, .btn-admin-primary {
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.4);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary:active, .btn-buy:active {
  transform: scale(0.98);
}

.bottom-nav-item svg {
  transition: transform 0.15s ease;
}

.bottom-nav-item.active svg {
  transform: scale(1.1);
}

.app-body { padding-top: 24px; }
.section-title { letter-spacing: 0.2px; }
.status-badge { letter-spacing: 0.3px; }

.form-input:focus, .admin-form-input:focus {
  transform: translateY(-1px);
}

/* ===== Polish Pass 2 ===== */
.balance-card {
  padding: 24px 22px;
}

.balance-amount {
  font-size: 30px;
  letter-spacing: -0.5px;
}

.balance-action-btn {
  padding: 12px 0;
  font-size: 13px;
}

.app-header-brand .brand-name {
  font-size: 18px;
}

.menu-grid-icon {
  width: 50px;
  height: 50px;
}

.menu-grid-item {
  font-size: 12px;
}

.product-card {
  padding: 20px;
  margin-bottom: 16px;
}

.product-card-name {
  font-size: 16px;
}

.product-card-price {
  font-size: 22px;
}

.btn-buy {
  padding: 14px 18px;
  font-size: 15px;
}

.section-card {
  padding: 22px;
}

.section-title {
  font-size: 16px;
}

.referral-hero-amount {
  font-size: 28px;
}

.page-header-title {
  font-size: 20px;
}

.app-body {
  padding-left: 18px;
  padding-right: 18px;
}

/* Bottom nav lebih tegas */
.bottom-nav {
  padding: 12px 0 16px;
}

.bottom-nav-item {
  font-size: 10px;
  gap: 5px;
}

/* ===== Polish Pass 3: Font Serif Lebih Konsisten ===== */
h1, h2, h3,
.glass-title,
.page-header-title,
.balance-amount,
.balance-label,
.admin-page-title,
.admin-stat-value,
.product-card-name,
.product-card-price,
.offer-banner-amount,
.holding-card-name,
.profile-name,
.testimoni-card-quote,
.referral-hero-amount,
.level-detail-title,
.level-detail-pct,
.admin-modal-title,
.brand-name,
.admin-sidebar-brand .brand-text,
.app-header-brand .brand-name,
.section-title,
.portfolio-total-value,
.testimoni-user-name,
.summary-mini-value {
  font-family: 'Playfair Display', Georgia, serif !important;
}

.glass-title, .page-header-title, .admin-page-title {
  font-weight: 700;
  letter-spacing: -0.3px;
}

.balance-amount, .product-card-price, .offer-banner-amount, .referral-hero-amount, .portfolio-total-value {
  font-weight: 700;
}

/* Aksen italic untuk sub-kata penting, mirip referensi */
.glass-subtitle em, .page-header-subtitle em {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  color: var(--purple-glow);
}

/* ===== Product Detail / Confirmation ===== */
.detail-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.detail-back-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--text-light);
}

.certificate-card {
  background: linear-gradient(135deg, #ffffff 0%, #f3ecff 100%);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
}

.certificate-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.certificate-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 10px;
}

.certificate-lot {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
}

.certificate-lot-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 34px;
  font-weight: 700;
  color: var(--text-light);
}

.certificate-lot-unit {
  font-size: 14px;
  color: var(--purple-glow);
  font-weight: 600;
}

.certificate-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.certificate-footer {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--purple-glow);
  font-weight: 600;
}

.guarantee-list-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(167,139,250,0.08);
}

.guarantee-check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(74,222,128,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.guarantee-title { font-weight: 700; font-size: 13px; color: var(--text-light); margin-bottom: 2px; }
.guarantee-desc { font-size: 12px; color: var(--text-muted); }

.detail-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(167,139,250,0.08);
  font-size: 13px;
}

.detail-row .label { color: var(--text-muted); }
.detail-row .value { font-weight: 700; color: var(--text-light); }
.detail-row .value.highlight { color: var(--purple-glow); }

.balance-warning-box {
  background: rgba(248,113,113,0.1);
  border: 1px solid rgba(248,113,113,0.3);
  border-radius: 14px;
  padding: 16px;
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.balance-warning-title { font-weight: 700; font-size: 13px; color: var(--text-light); }
.balance-warning-sub { font-size: 11px; color: #f87171; margin-top: 2px; }
.balance-warning-value { font-weight: 700; font-size: 15px; color: #f87171; }

.sticky-buy-bar {
  position: fixed;
  bottom: 76px;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--card-border);
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 40;
  max-width: 480px;
  margin: 0 auto;
}

.sticky-buy-label { font-size: 10px; color: var(--text-muted); text-transform: uppercase; }
.sticky-buy-amount { font-family: 'Playfair Display', Georgia, serif; font-size: 18px; font-weight: 700; color: var(--text-light); }

.btn-buy-disabled {
  padding: 12px 24px;
  border-radius: 12px;
  border: none;
  background: rgba(139,92,246,0.10);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 13px;
}

/* ===== Auth Page Redesign (sesuai referensi) ===== */
.auth-page-wrapper {
  min-height: 100vh;
  padding: 24px 20px 40px;
  max-width: 480px;
  margin: 0 auto;
}

.auth-top-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 36px;
}

.auth-top-brand .logo-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--purple-light), var(--purple-dark));
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-top-brand .brand-text {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-light);
}

.auth-top-brand .brand-text span { color: var(--purple-glow); }

.auth-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--purple-glow);
  margin-bottom: 14px;
}

.auth-tag::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--purple-glow);
}

.auth-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-light);
  margin-bottom: 12px;
}

.auth-heading em {
  font-style: italic;
  color: var(--purple-glow);
  text-decoration: underline;
  text-decoration-color: rgba(192,132,252,0.4);
  text-underline-offset: 4px;
}

.auth-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 30px;
  line-height: 1.5;
}

.auth-field-group {
  margin-bottom: 22px;
  border-bottom: 1px solid rgba(167,139,250,0.25);
  padding-bottom: 10px;
}

.auth-field-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: block;
}

.auth-field-input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  font-size: 16px;
  color: var(--text-light);
  padding: 4px 0;
}

.auth-field-input::placeholder { color: #5a4d78; }

.auth-field-group.focused {
  border-bottom-color: var(--purple-light);
}

.auth-checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
}

.auth-checkbox-row input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--purple-light);
}

.auth-checkbox-row label {
  font-size: 13px;
  color: var(--text-light);
}

.auth-verify-box {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 22px;
}

.auth-verify-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.auth-verify-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.auth-verify-question {
  flex: 1;
  background: rgba(139,92,246,0.1);
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 700;
  font-size: 15px;
  color: var(--text-light);
}

.auth-verify-input {
  width: 70px;
  background: rgba(139,92,246,0.1);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 10px 14px;
  color: var(--text-light);
  font-size: 15px;
  text-align: center;
  outline: none;
}

.auth-btn-primary {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--purple-light), var(--purple-dark));
  color: white;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
  margin-bottom: 12px;
}

.auth-btn-secondary {
  width: 100%;
  padding: 15px;
  border: 1px solid var(--card-border);
  border-radius: 14px;
  background: transparent;
  color: var(--purple-glow);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  text-decoration: none;
  display: block;
  text-align: center;
  margin-bottom: 26px;
}

.auth-trust-box {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 16px;
}

.auth-trust-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(139,92,246,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.auth-trust-title { font-weight: 700; font-size: 13px; color: var(--text-light); }
.auth-trust-desc { font-size: 11px; color: var(--text-muted); }

.auth-footer-disclaimer {
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
}

/* ===== Riwayat / Notifikasi ===== */
.riwayat-tab-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-bottom: 18px;
  padding-bottom: 4px;
}

.riwayat-tab-item {
  flex-shrink: 0;
  padding: 9px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(139,92,246,0.07);
  color: var(--text-muted);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.riwayat-tab-item.active {
  background: rgba(139,92,246,0.2);
  color: var(--purple-glow);
  border-color: var(--purple-light);
}

.activity-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  margin-bottom: 10px;
}

.activity-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.activity-icon-box.deposit { background: rgba(74,222,128,0.15); }
.activity-icon-box.withdraw { background: rgba(251,191,36,0.15); }
.activity-icon-box.purchase { background: rgba(139,92,246,0.15); }
.activity-icon-box.daily_product { background: rgba(192,132,252,0.15); }
.activity-icon-box.checkin { background: rgba(59,130,246,0.15); }
.activity-icon-box.referral_bonus { background: rgba(236,72,153,0.15); }

.activity-content { flex: 1; min-width: 0; }
.activity-title { font-weight: 700; font-size: 14px; color: var(--text-light); }
.activity-detail { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.activity-date { font-size: 11px; color: var(--text-muted); margin-top: 4px; }
.activity-amount { font-weight: 700; font-size: 14px; text-align: right; flex-shrink: 0; }
.activity-amount.positive { color: #4ade80; }
.activity-amount.negative { color: #f87171; }

/* ===== Downline Detail ===== */
.downline-profile-card {
  background: linear-gradient(135deg, #ffffff 0%, #f3ecff 100%);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 22px;
  margin-bottom: 18px;
  text-align: center;
}

.downline-avatar-big {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-light), var(--purple-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 24px;
  margin: 0 auto 12px;
}

.downline-name { font-family: 'Playfair Display', Georgia, serif; font-size: 18px; font-weight: 700; color: var(--text-light); }
.downline-joined { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

.downline-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.downline-stat-box {
  background: rgba(139,92,246,0.08);
  border-radius: 12px;
  padding: 12px 8px;
}

.downline-stat-label { font-size: 9px; color: var(--text-muted); text-transform: uppercase; }
.downline-stat-value { font-size: 14px; font-weight: 700; color: var(--purple-glow); margin-top: 4px; }

.downline-member-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(167,139,250,0.1);
  text-decoration: none;
}

.downline-member-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(139,92,246,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-glow);
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}

/* ===== Font Serif untuk kartu anggota & elemen lain yang belum tercover ===== */
.downline-name,
.certificate-lot-number,
.sticky-buy-amount,
.certificate-title {
  font-family: 'Playfair Display', Georgia, serif !important;
}

/* ===== Font Serif untuk kartu anggota & elemen lain yang belum tercover ===== */
.downline-name,
.certificate-lot-number,
.sticky-buy-amount,
.certificate-title {
  font-family: 'Playfair Display', Georgia, serif !important;
}

/* ===== Toast Notification Global ===== */
.toast-container {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 90%;
  max-width: 400px;
  pointer-events: none;
}

.toast-item {
  background: rgba(20, 12, 35, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
  pointer-events: auto;
  animation: toastIn 0.3s ease;
}

.toast-item.success { border: 1px solid rgba(74,222,128,0.4); }
.toast-item.error { border: 1px solid rgba(248,113,113,0.4); }

.toast-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.toast-item.success .toast-icon { background: rgba(74,222,128,0.15); }
.toast-item.error .toast-icon { background: rgba(248,113,113,0.15); }

.toast-message {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-light);
  flex: 1;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes toastOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-20px); }
}

.toast-item.hiding {
  animation: toastOut 0.3s ease forwards;
}


.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: 480px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(167, 139, 250, 0.15);
  box-shadow: 0 -4px 20px rgba(139, 92, 246, 0.12);
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  padding: 10px 8px calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 100;
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 10px;
  font-weight: 600;
  flex: 1;
  min-width: 0;
}

.bottom-nav-item.center-item {
  background: linear-gradient(135deg, var(--purple-light), var(--purple-dark));
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -26px;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.5);
  flex: none;
}

.app-body {
  padding-bottom: 90px;
}

/* ===== Hilangkan Livewire loading bar/spinner bawaan ===== */
[wire\:loading],
[wire\:loading\.delay],
[wire\:loading\.flex],
[wire\:loading\.block],
[wire\:loading\.inline-block],
[wire\:loading\.inline] {
  display: none !important;
}

#livewire-progress-bar,
.livewire-progress-bar {
  display: none !important;
}

/* ===== Hilangkan SEMUA indikator loading (progress bar, spinner, teks proses) ===== */
[wire\:loading],
[wire\:loading\.delay],
[wire\:loading\.flex],
[wire\:loading\.block],
[wire\:loading\.inline-block],
[wire\:loading\.inline],
[wire\:loading\.remove] {
  display: none !important;
}

[wire\:loading\.remove] {
  display: inline-flex !important;
}

#livewire-progress-bar,
.livewire-progress-bar,
nprogress,
#nprogress {
  display: none !important;
  opacity: 0 !important;
}

/* ===== Submit Testimonial ===== */
.testimonial-image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.testimonial-image-slot {
  aspect-ratio: 1;
  border-radius: 12px;
  border: 2px dashed rgba(167,139,250,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  background: rgba(139,92,246,0.06);
}

.testimonial-image-slot img { width: 100%; height: 100%; object-fit: cover; }

.testimonial-image-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0,0,0,0.7);
  color: white;
  border: none;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.word-count-indicator {
  font-size: 11px;
  color: var(--text-muted);
  text-align: right;
  margin-top: -12px;
  margin-bottom: 14px;
}

.word-count-indicator.valid { color: #4ade80; }

/* ===== Team Level Page ===== */
.team-member-card {
  display: flex;
  gap: 14px;
  padding: 16px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  margin-bottom: 12px;
  text-decoration: none;
  align-items: center;
}

.team-member-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--purple-light), var(--purple-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 18px;
}

.team-member-info { flex: 1; min-width: 0; }
.team-member-name { font-weight: 700; font-size: 14px; color: var(--text-light); }
.team-member-meta { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

.team-member-stats {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  font-size: 10px;
  color: var(--text-muted);
}

.team-member-stats b { color: var(--purple-glow); display: block; font-size: 12px; }

.team-member-arrow {
  flex-shrink: 0;
  color: var(--text-muted);
}

.downline-count-badge {
  background: rgba(139,92,246,0.15);
  color: var(--purple-glow);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 10px;
  margin-left: 6px;
}

/* ===== Admin Panel Responsive ===== */
.admin-mobile-topbar {
  display: none;
}

@media (max-width: 900px) {
  .admin-mobile-topbar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    position: sticky;
    top: 0;
    z-index: 90;
    border-bottom: 1px solid var(--card-border);
  }

  .admin-mobile-topbar .logo-box {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--purple-light), var(--purple-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .admin-mobile-topbar .brand-text {
    font-weight: 700;
    font-size: 14px;
    color: var(--text-light);
    flex: 1;
  }

  .admin-hamburger-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(139,92,246,0.15);
    border: none;
    color: var(--purple-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }

  .admin-sidebar {
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    z-index: 100;
    width: 260px;
  }

  .admin-sidebar.mobile-open {
    transform: translateX(0);
    box-shadow: 10px 0 40px rgba(0,0,0,0.5);
  }

  .admin-sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 95;
  }

  .admin-sidebar-overlay.active {
    display: block;
  }

  .admin-main {
    margin-left: 0;
    padding: 20px 16px 40px;
    max-width: 100%;
  }

  .admin-stat-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  .admin-product-grid {
    grid-template-columns: 1fr !important;
  }

  .admin-table-wrap {
    overflow-x: auto;
  }

  .admin-table {
    min-width: 600px;
  }

  .admin-page-title { font-size: 18px; }

  .admin-modal-box {
    max-width: 92vw !important;
    max-height: 88vh;
    overflow-y: auto;
  }
}

@media (min-width: 901px) {
  .admin-sidebar-overlay { display: none !important; }
}

/* ===== VIP Levels Page ===== */
.vip-level-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  margin-bottom: 14px;
}

.vip-level-card.achieved {
  border-color: rgba(74,222,128,0.4);
  background: rgba(74,222,128,0.05);
}

.vip-level-card.current {
  border-color: var(--purple-light);
  box-shadow: 0 0 0 2px rgba(139,92,246,0.2);
}

.vip-level-image {
  width: 56px;
  height: 56px;
  object-fit: contain;
  flex-shrink: 0;
}

.vip-level-info { flex: 1; min-width: 0; }
.vip-level-name { font-weight: 700; font-size: 15px; color: var(--text-light); display: flex; align-items: center; gap: 8px; }
.vip-level-target { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

.vip-current-badge {
  background: rgba(139,92,246,0.2);
  color: var(--purple-glow);
  font-size: 9px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 10px;
  text-transform: uppercase;
}

.vip-achieved-check {
  color: #4ade80;
  flex-shrink: 0;
}

/* ===== Invite Missions ===== */
.mission-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 12px;
}

.mission-card.completed {
  border-color: rgba(74,222,128,0.4);
}

.mission-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.mission-name { font-weight: 700; font-size: 14px; color: var(--text-light); }
.mission-reward { font-weight: 700; font-size: 14px; color: var(--purple-glow); }

.mission-progress-text {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.btn-cla
exit
cd ~/public_html
cat >> public/css/app.css << 'EOF'

/* ===== Invite Missions ===== */
.mission-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 12px;
}

.mission-card.completed {
  border-color: rgba(74,222,128,0.4);
}

.mission-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.mission-name { font-weight: 700; font-size: 14px; color: var(--text-light); }
.mission-reward { font-weight: 700; font-size: 14px; color: var(--purple-glow); }

.mission-progress-text {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.btn-claim-mission {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  margin-top: 8px;
}

.btn-claim-mission.ready {
  background: linear-gradient(135deg, var(--purple-light), var(--purple-dark));
  color: white;
}

.btn-claim-mission.claimed {
  background: rgba(74,222,128,0.15);
  color: #4ade80;
  cursor: default;
}

.btn-claim-mission.locked {
  background: rgba(139,92,246,0.08);
  color: var(--text-muted);
  cursor: not-allowed;
}

/* ===== News Card ===== */
.news-card {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  margin-bottom: 10px;
}

.news-card-image {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}

.news-card-content { flex: 1; min-width: 0; }
.news-card-title { font-weight: 700; font-size: 13px; color: var(--text-light); margin-bottom: 4px; }
.news-card-text {
  font-size: 12px;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== Asset Detail Page ===== */
.asset-hero-card {
  background: linear-gradient(135deg, #ffffff 0%, #f5f0ff 50%, #ecdfff 100%);
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 18px;
  text-align: center;
}

.asset-hero-label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.asset-hero-value { font-family: 'Playfair Display', Georgia, serif; font-size: 30px; font-weight: 700; color: var(--text-light); margin: 6px 0 16px; }

.asset-split-row {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.asset-split-item .label { font-size: 10px; color: var(--text-muted); text-transform: uppercase; }
.asset-split-item .value { font-size: 16px; font-weight: 700; color: var(--text-light); margin-top: 4px; }

.asset-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.asset-stat-box {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 14px;
}

.asset-stat-box .icon-row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.asset-stat-box .label { font-size: 10px; color: var(--text-muted); text-transform: uppercase; }
.asset-stat-box .value { font-size: 15px; font-weight: 700; color: var(--purple-glow); }

.asset-breakdown-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(167,139,250,0.1);
}

.asset-breakdown-item .name { font-size: 13px; color: var(--text-light); font-weight: 600; }
.asset-breakdown-item .amount { font-size: 13px; font-weight: 700; }

.asset-progress-track {
  width: 100%;
  height: 8px;
  background: rgba(139,92,246,0.09);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 12px;
}

.asset-progress-fill {
  height: 100%;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--purple-light), var(--purple-glow));
}

/* ===== Decorative Corner Image ===== */
.decorative-corner-image {
  position: fixed;
  top: -20px;
  right: -30px;
  width: 180px;
  height: auto;
  opacity: 0.12;
  z-index: 0;
  pointer-events: none;
}

.app-body {
  position: relative;
  z-index: 1;
}

/* ===== Riwayat Redesign ===== */
.riwayat-date-header {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  margin: 20px 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.riwayat-date-header:first-child { margin-top: 4px; }

.activity-item {
  padding: 16px;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: transform 0.15s ease;
}

.activity-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
}
.activity-icon-box svg { width: 22px; height: 22px; }

.activity-icon-box.deposit { background: rgba(74,222,128,0.18); }
.activity-icon-box.withdraw { background: rgba(251,191,36,0.18); }
.activity-icon-box.purchase { background: rgba(139,92,246,0.18); }
.activity-icon-box.daily_product { background: rgba(192,132,252,0.18); }
.activity-icon-box.checkin { background: rgba(59,130,246,0.18); }
.activity-icon-box.referral_bonus { background: rgba(236,72,153,0.18); }

.activity-content { flex: 1; min-width: 0; }
.activity-title { font-weight: 700; font-size: 15px; color: var(--text-light); }
.activity-detail { font-size: 13px; color: var(--text-muted); margin-top: 3px; line-height: 1.4; }
.activity-date { font-size: 12px; color: var(--text-muted); margin-top: 5px; display:flex; align-items:center; gap:4px; }
.activity-amount { font-weight: 800; font-size: 15px; text-align: right; flex-shrink: 0; white-space: nowrap; }
.activity-amount.positive { color: #4ade80; }
.activity-amount.negative { color: #f87171; }

.status-badge { font-size: 11px; padding: 5px 12px; }

/* ===== Syarat & Ketentuan Box ===== */
.terms-box {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  margin-bottom: 18px;
  overflow: hidden;
}
.terms-box summary {
  padding: 14px 16px;
  cursor: pointer;
  font-weight: 700;
  font-size: 13px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.terms-box summary::-webkit-details-marker { display: none; }
.terms-box summary::after {
  content: '';
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
  margin-left: auto;
  transition: transform 0.2s ease;
}
.terms-box[open] summary::after {
  transform: rotate(-135deg);
}
.terms-box-content {
  padding: 0 16px 16px;
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.8;
}
.terms-box-content ol {
  margin: 0;
  padding-left: 18px;
}

/* ===== Language Switcher ===== */
.lang-switcher {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 999;
}
.lang-switcher-btn {
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--card-border);
  color: var(--text-light);
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.lang-dropdown {
  display: none;
  position: absolute;
  top: 42px;
  right: 0;
  background: rgba(255,255,255,0.97);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  overflow: hidden;
  min-width: 140px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.lang-dropdown.open {
  display: block;
}
.lang-dropdown a {
  display: block;
  padding: 10px 16px;
  font-size: 13px;
  color: var(--text-light);
  text-decoration: none;
  border-bottom: 1px solid rgba(139,92,246,0.08);
}
.lang-dropdown a:last-child { border-bottom: none; }
.lang-dropdown a:hover { background: rgba(139,92,246,0.15); }

/* ===== Kilat Ambient Glow (White-Purple Luxury Theme) ===== */
body {
  position: relative;
}
body::before,
body::after {
  content: '';
  position: fixed;
  border-radius: 50%;
  filter: blur(60px);
  z-index: 0;
  pointer-events: none;
}
body::before {
  top: -10%;
  right: -10%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(139,92,246,0.28), transparent 70%);
}
body::after {
  bottom: -15%;
  left: -10%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(192,132,252,0.22), transparent 70%);
}
.app-body,
.guest-wrapper,
.admin-layout {
  position: relative;
  z-index: 1;
}

/* Admin table header tint adjustment for light theme */
.admin-table th {
  background: rgba(139,92,246,0.06);
}

/* Admin color swatch border visibility on light bg */
.admin-color-swatch {
  border: 1px solid rgba(0,0,0,0.15);
}

/* Ensure card text remains readable */
.section-card, .product-card, .holding-card, .testimoni-card, .task-item,
.bank-card-saved, .admin-stat-card, .admin-table-wrap, .admin-product-card,
.summary-mini-card, .asset-stat-box, .level-detail-card, .team-member-card,
.vip-level-card, .mission-card, .activity-item {
  box-shadow: 0 4px 24px rgba(139,92,246,0.10);
}

/* ===== Bottom Nav Polish v2 ===== */
.bottom-nav-item {
  margin-top: -10px;
}
.bottom-nav-item.center-item {
  margin-top: -26px;
}
.nav-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.bottom-nav-item.active .nav-icon-wrap {
  background: linear-gradient(135deg, rgba(139,92,246,0.18), rgba(192,132,252,0.12));
}

/* ===== Bottom Nav Floating Pill v3 ===== */
.bottom-nav-floating {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 18px;
  width: calc(100% - 32px);
  max-width: 448px;
  border-radius: 32px;
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(139,92,246,0.28), 0 2px 10px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 14px 10px 10px;
  z-index: 100;
  -webkit-mask-image: radial-gradient(circle 36px at 50% -8px, transparent 99%, black 100%);
  mask-image: radial-gradient(circle 36px at 50% -8px, transparent 99%, black 100%);
}
.bottom-nav-spacer { width: 58px; flex-shrink: 0; }
.bottom-nav-home {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 46px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-light), var(--purple-dark));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(139,92,246,0.55), 0 0 0 6px rgba(255,255,255,0.95);
  z-index: 110;
  text-decoration: none;
  color: white;
  font-size: 10px;
  font-weight: 700;
  gap: 3px;
}
.bottom-nav-home svg { width: 24px; height: 24px; }
.app-body { padding-bottom: 130px; }
.status-badge.processing { background: rgba(96,165,250,0.15); color: #60a5fa; }
