body {
  font-family: 'Segoe UI', Arial, sans-serif;
  margin: 0;
  background: #0f172a;
  color: #f1f5f9;
}

header {
  background: linear-gradient(90deg, #0ea5e9, #1d4ed8);
  color: white;
  text-align: center;
  padding: 25px 0;
  font-size: 1.8em;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.top-status {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  background: #1e293b;
}

.status-card {
  background: #1e293b;
  border-radius: 12px;
  padding: 15px;
  width: 120px;
  height: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 6px rgba(0,0,0,0.6);
  transition: all 0.25s ease;
}

.status-card:hover { transform: scale(1.05); }

.status-card img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  margin-bottom: 6px;
  filter: drop-shadow(0 0 4px rgba(255,255,255,0.3));
}

.status-card span { font-size: 0.9em; font-weight: 600; }

.status-ok { border-top: 5px solid #22c55e; }
.status-degraded { border-top: 5px solid #fbbf24; }
.status-down { border-top: 5px solid #ef4444; }
.status-error { border-top: 5px solid #ef4444; background: #2b0a0a !important; box-shadow: 0 0 10px rgba(239,68,68,0.5); }

main {
  padding: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.service-section {
  background: #1e293b;
  border-radius: 12px;
  padding: 20px;
  width: 45%;
  box-shadow: 0 4px 8px rgba(0,0,0,0.5);
  border-left: 5px solid #334155;
}

.service-section h2 {
  color: #f8fafc;
  font-size: 1.3em;
  margin-top: 0;
  margin-bottom: 10px;
  border-bottom: 2px solid #334155;
  padding-bottom: 6px;
}

.service-section ul { list-style-type: none; padding-left: 0; }
.service-section li { margin-bottom: 10px; line-height: 1.5; }
.service-section a { color: #38bdf8; text-decoration: none; }
.service-section a:hover { text-decoration: underline; }

.ok { color: #22c55e; font-weight: bold; }
.degraded { color: #fbbf24; font-weight: bold; }
.down { color: #ef4444; font-weight: bold; }
.no-feed { color: #f87171; font-style: italic; font-weight: bold; }

@media (max-width: 900px) {
  .service-section { width: 100%; }
}
