:root {
  --bg: #0b0b0e;
  --surface: #131318;
  --border: #23232c;
  --text: #e6e6ec;
  --muted: #9898a6;
  --accent: #c026d3;
  --accent-soft: rgba(192, 38, 211, 0.14);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  border-bottom: 1px solid var(--border);
  background: rgba(11, 11, 14, 0.9);
  position: sticky;
  top: 0;
  backdrop-filter: blur(8px);
}

.nav {
  max-width: 780px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--text);
  text-decoration: none;
}

.brand span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  font-size: 0.92rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

main {
  max-width: 780px;
  width: 100%;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
  flex: 1;
}

h1 {
  font-size: 1.85rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.subtitle {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}

h2 {
  font-size: 1.12rem;
  font-weight: 600;
  margin-bottom: 0.65rem;
  color: var(--text);
}

p {
  color: #cfcfd9;
  margin-bottom: 0.8rem;
  font-size: 0.96rem;
}

p:last-child {
  margin-bottom: 0;
}

ul {
  padding-left: 1.25rem;
  margin-bottom: 0.8rem;
  color: #cfcfd9;
  font-size: 0.96rem;
}

li {
  margin-bottom: 0.4rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.btn {
  display: inline-block;
  padding: 0.65rem 1.15rem;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--border);
  color: var(--text);
  background: var(--surface);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.btn:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.btn-primary:hover {
  background: #a21caf;
  border-color: #a21caf;
}

.server-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  background: linear-gradient(135deg, #16161f 0%, #1c1324 100%);
  border: 1px solid #2e2438;
  border-radius: 14px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.server-meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.server-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.7);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.grid .card {
  margin-bottom: 0;
}

.is-hidden {
  display: none;
}

footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 1.25rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

footer a {
  color: inherit;
}
