/* The pages around the game (the landing pages, the rules): the Dracula colors of the game */
:root {
  --bg: #282a36;
  --panel: #343746;
  --line: #44475a;
  --text: #f8f8f2;
  --muted: #b6b9c8;
  --purple: #bd93f9;
  --orange: #ffb86c;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "DejaVu Sans", Arial, sans-serif;
}
a { color: var(--purple); }
a:hover { color: var(--orange); }
header, main, footer { max-width: 860px; margin: 0 auto; padding: 0 16px; }
header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
nav { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 15px; }
nav a { text-decoration: none; }
nav a[aria-current="page"] { color: var(--text); }
.languages { color: var(--muted); }
h1 { font-size: 36px; line-height: 1.2; margin: 36px 0 12px; }
h2 { font-size: 24px; margin: 36px 0 8px; color: var(--orange); font-weight: 600; }
h3 { font-size: 19px; margin: 24px 0 6px; }
.lead { font-size: 20px; color: var(--muted); margin: 0 0 24px; }
.play {
  display: inline-block;
  margin: 8px 0 24px;
  padding: 14px 36px;
  border: 2px solid var(--purple);
  border-radius: 10px;
  background: var(--panel);
  color: var(--text);
  font-size: 22px;
  text-decoration: none;
}
.play:hover { background: var(--line); color: var(--text); }
ul, ol { padding-left: 24px; }
li { margin: 4px 0; }
.features { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.features li { margin: 0; padding: 14px 16px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; }
.features b { display: block; color: var(--orange); font-weight: 600; }
table { border-collapse: collapse; margin: 8px 0 16px; width: 100%; max-width: 560px; }
th, td { border: 1px solid var(--line); padding: 6px 10px; text-align: left; }
th { background: var(--panel); font-weight: 600; }
.note { color: var(--muted); font-size: 15px; }
.screenshot { display: block; width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--line); margin: 8px 0 8px; }
footer { margin-top: 48px; padding-top: 18px; padding-bottom: 32px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
@media (max-width: 520px) {
  body { font-size: 16px; }
  h1 { font-size: 28px; }
  .play { display: block; text-align: center; }
}
