* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #0b1120;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  color: #e2e8f0;
  padding: 2rem 1rem;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
}

header {
  text-align: center;
  margin-bottom: 3rem;
}

h1 {
  font-size: 2.5rem;
  font-weight: 600;
  background: linear-gradient(135deg, #c084fc, #60a5fa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.5px;
}

.subtitle {
  color: #94a3b8;
  margin-top: 0.5rem;
  font-size: 0.95rem;
}

.group {
  margin-bottom: 2.5rem;
}

.group h2 {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 1rem;
  padding-left: 0.5rem;
  border-left: 4px solid #3b82f6;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.card {
  background: #1e293b;
  border-radius: 1rem;
  padding: 1.25rem;
  transition: transform 0.1s ease, box-shadow 0.2s;
  border: 1px solid #334155;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
  border-color: #475569;
}

.service-name {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
  word-break: break-word;
}

.uptime {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.status-green {
  color: #4ade80;
}
.status-yellow {
  color: #facc15;
}
.status-red {
  color: #f87171;
}

.meta {
  font-size: 0.75rem;
  color: #94a3b8;
  border-top: 1px solid #334155;
  padding-top: 0.75rem;
  margin-top: 0.5rem;
}

footer {
  margin-top: 3rem;
  text-align: center;
  font-size: 0.8rem;
  color: #64748b;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #1e293b;
}

.loading {
  text-align: center;
  padding: 3rem;
  color: #94a3b8;
}

@media (max-width: 640px) {
  body {
    padding: 1rem;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .uptime {
    font-size: 1.5rem;
  }
}