@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&display=swap');

/* =========================
   HILLTOP — SP DASHBOARD
========================= */

:root {
  --bg-dark: #0b0f14;
  --panel-dark: #121823;
  --panel-darker: #0d131c;
  --border-dark: #1f2a38;
  --neon: #39ff14;
  --neon-soft: rgba(57, 255, 20, 0.35);
  --text-main: #e8fbe8;
  --text-muted: #9fb7a5;
}

/* ---------- Base ---------- */

body.dashboard-page {
  font-family: 'Inter', system-ui, sans-serif;
  background:
    radial-gradient(circle at top, #0f1624, #05070b 70%);
  color: var(--text-main);
  padding: 40px 20px;
  min-height: 100vh;
}

/* ---------- Home Button ---------- */

#home-btn {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 2000;
  padding: 10px 16px;
  border-radius: 999px;
  background: #0e151f;
  color: var(--neon);
  text-decoration: none;
  font-weight: 800;
  border: 1px solid var(--neon-soft);
  box-shadow: 0 0 14px var(--neon-soft);
}

#home-btn:hover {
  box-shadow: 0 0 22px var(--neon);
}

/* ---------- Header ---------- */

.dashboard-header {
  text-align: center;
  margin: 80px auto 50px;
}

.dashboard-header h1 {
  color: var(--neon);
  font-size: 2rem;
  text-shadow: 0 0 18px var(--neon-soft);
}

.dashboard-header .subtitle {
  color: var(--text-muted);
  margin-top: 8px;
}

/* ---------- Revenue Section ---------- */

.revenue-section {
  max-width: 1200px;
  margin: 0 auto 60px;
  padding: 30px;
  background: linear-gradient(
    180deg,
    var(--panel-dark),
    var(--panel-darker)
  );
  border-radius: 18px;
  border: 1px solid var(--border-dark);
  box-shadow: 0 0 28px rgba(0,0,0,0.6);
}

.revenue-section h2 {
  text-align: center;
  margin-bottom: 30px;
  color: var(--neon);
  text-shadow: 0 0 14px var(--neon-soft);
}

.revenue-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}

.revenue-card {
  background: #080c12;
  border: 1px solid var(--border-dark);
  border-radius: 14px;
  padding: 24px;
  text-align: center;
}

.revenue-card h4 {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.revenue-card p {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--neon);
  text-shadow: 0 0 12px var(--neon-soft);
}

/* ---------- Panels ---------- */

.panel-section {
  max-width: 1200px;
  margin: 0 auto 60px;
  padding: 28px;
  background: linear-gradient(
    180deg,
    var(--panel-dark),
    var(--panel-darker)
  );
  border-radius: 18px;
  border: 1px solid var(--border-dark);
  box-shadow: 0 0 24px rgba(0,0,0,0.5);
}

.panel-section h2 {
  margin-bottom: 20px;
  color: var(--neon);
  text-shadow: 0 0 12px var(--neon-soft);
}

/* ---------- Cards Grid ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 22px;
}

/* ---------- Generic Cards ---------- */

.card {
  background: #080c12;
  border: 1px solid var(--border-dark);
  border-radius: 14px;
  padding: 16px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
}

/* ---------- Mobile ---------- */

@media (max-width: 768px) {
  body.dashboard-page {
    padding: 20px 12px;
  }

  .dashboard-header h1 {
    font-size: 1.6rem;
  }
}
