/* === Bhillion Dollar Dashboard Aesthetic === */
body {
  margin: 0;
  padding: 40px 0;
  font-family: 'Gloock', serif;
  background-color: #111;           /* deep black background */
  color: #ffd700;                   /* default gold text */
}

/* === Layout Container === */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
}

/* === Headings === */
h1, h2, h3 {
  font-family: 'Almendra SC', serif;
  text-align: center;
  text-shadow: 2px 2px 10px rgba(255, 215, 0, 0.4);
  margin-bottom: 15px;
}

h1 {
  font-size: 5rem;
  color: #ffd700;                   /* solid gold */
  letter-spacing: 1px;
  text-shadow: 0 0 12px rgba(255, 215, 0, 0.7), 0 0 25px #b8860b;
}

h2 {
  font-size: 2.4rem;
  color: #ffdf40;
  margin-top: 40px;
}

h3 {
  font-size: 1.6rem;
  color: #e6c200;
}

/* === Paragraphs / Links === */
p, a {
  font-family: 'Cormorant Garamond', serif;
  color: #ffd700;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

a:hover {
  color: #fff;
  text-decoration: underline;
}

/* === Sections === */
section {
  margin-bottom: 50px;
  text-align: center;
}

/* === Tables === */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
  background: #1a1a1a;               /* dark background */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
  color: #ffd700;
}

table th, table td {
  padding: 12px;
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

table th {
  background-color: #222;
  color: #ffdf40;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

table tr:nth-child(even) {
  background-color: #151515;
}

/* === Charts === */
canvas {
  width: 100% !important;
  height: auto !important;
  max-height: 420px;
  margin-top: 10px;
}

.chart-legend,
.chartjs-legend li,
.chartjs-legend span {
  color: #ffd700 !important;
  font-weight: 600;
  text-shadow: 0 0 5px rgba(255,215,0,0.6);
}

.chartjs-legend li {
  margin: 0 10px;
  font-size: 0.9rem;
}

/* === Footer & Meta === */
footer, #lastUpdated {
  color: #b8860b;
  font-size: 0.9rem;
  text-align: center;
  margin-top: 50px;
  opacity: 0.8;
}

/* === Responsive Typography === */
@media (max-width: 768px) {
  body {
    font-size: 14px;
    padding: 20px 0;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 1.6rem;
  }
}
