:root {
  color-scheme: dark;
  --bg: #071012;
  --panel: #101a1c;
  --line: #2d3c3d;
  --text: #e7efea;
  --muted: #93a19b;
  --cyan: #67dae5;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  background: radial-gradient(circle at top, #132528 0, var(--bg) 45%);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, sans-serif;
}

.landing-shell {
  display: grid;
  min-height: calc(100vh - 64px);
  place-items: center;
  padding: 32px;
}

.landing-panel {
  width: min(520px, 100%);
  border: 1px solid var(--line);
  background: rgba(16, 26, 28, 0.92);
  padding: clamp(28px, 5vw, 42px);
  text-align: center;
}

.roll-line {
  min-height: 34px;
  margin: 0 0 34px;
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: clamp(18px, 2.4vw, 22px);
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.cursor {
  display: inline-block;
  width: 9px;
  height: 1em;
  margin-left: 4px;
  background: var(--cyan);
  vertical-align: -0.16em;
  animation: blink 1.1s steps(1) infinite;
}

.join-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid var(--cyan);
  padding: 0 16px;
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.join-button:hover,
.join-button:focus-visible {
  background: rgba(103, 218, 229, 0.08);
}

.node {
  margin: 26px 0 0;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.node a {
  color: var(--cyan);
  text-decoration: none;
}

.node a:hover,
.node a:focus-visible {
  text-decoration: underline;
}

@keyframes blink {
  0%,
  48% {
    opacity: 1;
  }

  49%,
  100% {
    opacity: 0;
  }
}

@media (max-width: 520px) {
  .landing-shell {
    padding: 16px;
  }

  .landing-panel {
    padding: 28px 24px;
  }
}
