:root {
  --bg: #0f1115;
  --bg-card: #181b22;
  --border: #2a2f3a;
  --text: #e6e8eb;
  --muted: #888;
  --accent: #5b8def;
  --online: #3ecf8e;
  --offline: #e5484d;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 40px 20px;
  background: var(--bg);
  color: var(--text);
  font-family: 'Segoe UI', Roboto, Arial, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
}

h1 {
  margin-bottom: 24px;
  font-size: 28px;
  font-weight: 600;
  color: var(--text);
}

#list {
  width: 100%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#list.empty {
  text-align: center;
  color: var(--muted);
  padding: 40px 0;
  border: 1px dashed var(--border);
  border-radius: 10px;
}

.server {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: border-color 0.15s ease;
}

.server:hover {
  border-color: var(--accent);
}

.server a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
}

.server a:hover {
  text-decoration: underline;
}

.status {
  font-size: 13px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
}

.status.online {
  color: var(--online);
  background: rgba(62, 207, 142, 0.12);
}

.status.offline {
  color: var(--offline);
  background: rgba(229, 72, 77, 0.12);
}