/* =====================================================================
   Zamapunji V221 - Footer clarity, Strategy nav support, professional
   dashboard polish. Desktop design preserved; additions are scoped.
   ===================================================================== */

/* 1) Footer text clarity on every page: match desktop gold visibility. */
footer,
footer .footer-block,
footer .footer-note,
footer .small,
footer .small a,
footer .follow-us,
footer .follow-us span,
footer .follow-us a,
footer i {
  color: #C7A146 !important;
  opacity: 1 !important;
  filter: none !important;
  text-shadow: 0 0 12px rgba(199,161,70,.12);
}
footer .footer-note { font-weight: 600; }
footer .small a:hover,
footer .follow-us a:hover { color: #f0d27a !important; }

/* 2) Keep the About Us dropdown clean when Strategy is added. */
.navbar .dropdown-menu .dropdown-item {
  white-space: nowrap;
}

/* 3) Professional investor dashboard. */
#dashboard.zp-dashboard-section {
  padding-top: 56px;
}
.zp-dashboard-shell {
  border: 1px solid rgba(199,161,70,.24);
  background: linear-gradient(145deg, rgba(255,255,255,.07), rgba(199,161,70,.035));
  border-radius: 24px;
  padding: 26px;
  box-shadow: 0 28px 80px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.05);
  backdrop-filter: blur(12px);
}
.zp-dashboard-kicker {
  color: #f0d27a;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
}
.zp-dashboard-title {
  color: #C7A146;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 900;
  line-height: 1.05;
  margin: 6px 0 8px;
}
.zp-dashboard-subtitle,
.zp-muted {
  color: #d6bd76;
  opacity: 1;
}
.zp-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(199,161,70,.3);
  background: rgba(0,0,0,.35);
  color: #f0d27a;
  font-size: 12px;
  font-weight: 800;
}
.zp-metric-card,
.zp-panel {
  height: 100%;
  border: 1px solid rgba(199,161,70,.22);
  border-radius: 20px;
  background: rgba(0,0,0,.34);
  padding: 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.zp-metric-label {
  color: #d6bd76;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 800;
}
.zp-metric-value {
  color: #f0d27a;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 900;
  line-height: 1.1;
  margin-top: 6px;
}
.zp-metric-note {
  color: #b99952;
  font-size: 12px;
  margin-top: 5px;
}
.zp-progress-track {
  width: 100%;
  height: 11px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(199,161,70,.16);
}
.zp-progress-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, #C7A146, #f0d27a);
  transition: width .45s ease;
}
.zp-investment-card {
  border: 1px solid rgba(199,161,70,.2);
  border-radius: 18px;
  padding: 16px;
  background: rgba(255,255,255,.045);
  margin-bottom: 12px;
}
.zp-investment-card:last-child { margin-bottom: 0; }
.zp-investment-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}
.zp-investment-title {
  color: #f0d27a;
  font-weight: 900;
  font-size: 16px;
}
.zp-status {
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 900;
  border: 1px solid rgba(199,161,70,.28);
  color: #f0d27a;
  background: rgba(199,161,70,.09);
  white-space: nowrap;
}
.zp-mini-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.zp-mini {
  border-radius: 14px;
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(199,161,70,.12);
  padding: 10px;
  min-width: 0;
}
.zp-mini span {
  display: block;
  color: #b99952;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}
.zp-mini strong {
  display: block;
  color: #f0d27a;
  font-size: 14px;
  margin-top: 3px;
  word-break: break-word;
}
.zp-dashboard-shell .form-control,
.zp-dashboard-shell .form-select {
  border-color: rgba(199,161,70,.55) !important;
  color: #f0d27a !important;
}
.zp-dashboard-shell .form-control::placeholder { color: rgba(214,189,118,.68); }
.zp-dashboard-shell .table,
.zp-dashboard-shell .table th,
.zp-dashboard-shell .table td {
  color: #f0d27a !important;
}
.zp-dashboard-empty {
  border: 1px dashed rgba(199,161,70,.32);
  border-radius: 18px;
  padding: 18px;
  color: #d6bd76;
  background: rgba(0,0,0,.22);
}

@media (max-width: 991.98px) {
  .zp-dashboard-shell { padding: 18px; border-radius: 20px; }
  .zp-investment-top { flex-direction: column; }
  .zp-mini-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zp-dashboard-section .row { --bs-gutter-y: 1rem; }
}
@media (max-width: 575.98px) {
  #dashboard.zp-dashboard-section { padding-top: 34px; }
  .zp-dashboard-shell { padding: 14px; margin-left: -2px; margin-right: -2px; }
  .zp-metric-card,
  .zp-panel { padding: 14px; border-radius: 18px; }
  .zp-mini-grid { grid-template-columns: 1fr; }
  .zp-investment-card { padding: 13px; }
  .zp-dashboard-title { font-size: 27px; }
}
