:root{
  --bg: #07060b;
  --panel: #0d0a14;
  --border: rgba(180, 140, 255, 0.18);
  --text: #f2efff;
  --muted: rgba(242, 239, 255, 0.72);
  --purple: #b48cff;
  --purple2: #7b4dff;

  --radius: 16px;
  --max: 1100px;
}

*{ box-sizing: border-box; }
html, body { height: 100%; }
body{
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: underline; }

.wrap{
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px 16px 48px;
}

.nav{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: var(--radius);
}

.brand{
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.brand .dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--purple);
  display: inline-block;
}

.brand small{
  font-weight: 600;
  color: var(--muted);
}

.links{
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.pill{
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  -webkit-tap-highlight-color: transparent;
}

.pill.active{
  border-color: rgba(180, 140, 255, 0.45);
}

.hero{
  margin-top: 18px;
  padding: 20px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--panel);
}

.hero h1{
  margin: 0 0 6px 0;
  font-size: 28px;
}

.hero p{
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.grid{
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.card{
  grid-column: span 6;
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--panel);
}

.card h2{
  margin: 0 0 6px 0;
  font-size: 18px;
}
.card p{
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

@media (max-width: 800px){
  .card{ grid-column: span 12; }
}

.table{
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.table th, .table td{
  text-align: left;
  padding: 12px 12px;
  border-bottom: 1px solid var(--border);
}

.table th{
  color: var(--muted);
  font-weight: 700;
  background: rgba(255,255,255,0.02);
}

.badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 700;
}

.dot{
  width: 9px;
  height: 9px;
  border-radius: 999px;
  display: inline-block;
}

.online{ color: #c9ffe2; border-color: rgba(140,255,200,0.25); }
.online .dot{ background: #3dff9a; }

.offline{ color: #ffd0d0; border-color: rgba(255,120,120,0.25); }
.offline .dot{ background: #ff4d4d; }

.footer{
  margin-top: 18px;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
}

/* Better tap targets on mobile */
@media (max-width: 520px){
  .pill{ padding: 10px 14px; }
  .hero h1{ font-size: 24px; }
}
