:root {
  color-scheme: dark;
  --bg: #0b0d0c;
  --panel: rgba(18, 24, 21, 0.84);
  --panel-strong: #151d19;
  --text: #f2f5ef;
  --muted: #aeb9ae;
  --line: rgba(255, 255, 255, 0.12);
  --acid: #8dff6a;
  --blood: #d74747;
  --amber: #f0b755;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    linear-gradient(115deg, rgba(7, 12, 9, 0.78), rgba(10, 10, 10, 0.92)),
    url("https://images.unsplash.com/photo-1504701954957-2010ec3bcec1?auto=format&fit=crop&w=1800&q=80") center/cover fixed;
}

.shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0;
}

.hero {
  min-height: 62vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 28px;
  padding: 28px 0 48px;
}

.kicker {
  margin: 0 0 14px;
  color: var(--acid);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(44px, 8vw, 92px);
  line-height: 0.92;
  letter-spacing: 0;
}

.lead {
  max-width: 640px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 11px 18px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  border-color: transparent;
  color: #071008;
  background: var(--acid);
}

.status-panel,
article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  backdrop-filter: blur(16px);
}

.status-panel {
  padding: 20px;
}

.status-line {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  margin-bottom: 18px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 18px currentColor;
}

.dot.online {
  background: var(--acid);
}

.dot.offline {
  background: var(--blood);
}

.metric {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.metric span,
article p,
li {
  color: var(--muted);
}

.metric strong {
  text-align: right;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

article {
  padding: 20px;
}

article.wide {
  grid-column: 1 / -1;
}

h2 {
  margin: 0 0 14px;
  font-size: 18px;
}

.server-address {
  color: var(--acid);
  font-size: 24px;
  font-weight: 900;
}

ul {
  margin: 0;
  padding-left: 20px;
}

.log {
  min-height: 140px;
  overflow: auto;
  border-radius: 6px;
  padding: 14px;
  color: #d8e2d7;
  background: rgba(0, 0, 0, 0.28);
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  line-height: 1.55;
  white-space: pre-wrap;
}

@media (max-width: 820px) {
  .hero,
  .grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 42px;
  }
}
