* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  background: #0f172a;
  color: #f8fafc;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* =======================
   Header
======================= */

header {
  background: linear-gradient(135deg, #2563eb, #1e40af);
  padding: 60px 20px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

header h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

header p {
  font-size: 1.2rem;
  color: #dbeafe;
}

/* =======================
   Main
======================= */

main {
  margin-top: 40px;
  margin-bottom: 40px;

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 25px;
}

/* =======================
   Cards
======================= */

.card {
  background: #1e293b;

  border-radius: 12px;

  padding: 25px;

  border: 1px solid #334155;

  transition: 0.3s;

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.card:hover {
  transform: translateY(-5px);

  border-color: #3b82f6;
}

.card h2 {
  margin-bottom: 20px;

  color: #60a5fa;

  border-bottom: 1px solid #334155;

  padding-bottom: 10px;
}

/* =======================
   Lists
======================= */

ul {
  list-style: none;
}

li {
  margin-bottom: 12px;
}

/* =======================
   JSON Values
======================= */

.data-item {
  display: flex;

  justify-content: space-between;

  margin-bottom: 12px;

  padding-bottom: 8px;

  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.label {
  font-weight: bold;

  color: #93c5fd;
}

.value {
  color: white;
}

/* =======================
   Status
======================= */

.status-good {
  color: #22c55e;

  font-weight: bold;
}

.status-warning {
  color: #f59e0b;

  font-weight: bold;
}

.status-danger {
  color: #ef4444;

  font-weight: bold;
}

/* =======================
   Button
======================= */

a {
  display: inline-block;

  margin-top: 10px;

  padding: 12px 22px;

  text-decoration: none;

  background: #2563eb;

  color: white;

  border-radius: 8px;

  transition: 0.3s;
}

a:hover {
  background: #1d4ed8;
}

/* =======================
   Footer
======================= */

footer {
  text-align: center;

  padding: 30px;

  color: #94a3b8;

  border-top: 1px solid #334155;
}

/* =======================
   Responsive
======================= */

@media (max-width: 768px) {
  header h1 {
    font-size: 2rem;
  }

  header p {
    font-size: 1rem;
  }

  .card {
    padding: 20px;
  }
}
