/* Makas — the game's little website (docs/AppStore.md): the sky of the
   game behind cards of plain text. */

:root {
  --sky-top: #9eccee;
  --sky-bottom: #ede6cc;
  --ink: #29333f;
  --soft: #5b6573;
  --card: rgba(255, 255, 255, 0.86);
  --accent: #e66b3d;
  --line: rgba(41, 51, 63, 0.12);
}

@media (prefers-color-scheme: dark) {
  :root {
    --sky-top: #1d2a3a;
    --sky-bottom: #2b2a26;
    --ink: #eef1f5;
    --soft: #b4bcc7;
    --card: rgba(30, 36, 46, 0.86);
    --line: rgba(238, 241, 245, 0.14);
  }
}

* { box-sizing: border-box; }

html { background: var(--sky-bottom); }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: linear-gradient(var(--sky-top), var(--sky-bottom)) fixed;
  font: 17px/1.55 ui-rounded, -apple-system, "SF Pro Rounded", system-ui, sans-serif;
}

main {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 16px 48px;
}

header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

header img {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

header a { color: inherit; text-decoration: none; }

h1 { margin: 0; font-size: 32px; font-weight: 800; letter-spacing: -0.01em; }
h2 { margin: 0 0 8px; font-size: 22px; font-weight: 800; }
h3 { margin: 20px 0 4px; font-size: 17px; font-weight: 800; }

.tagline { margin: 2px 0 0; color: var(--soft); }

.card {
  background: var(--card);
  border-radius: 22px;
  padding: 20px 22px;
  margin: 0 0 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.card p:first-of-type { margin-top: 0; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }

.lang {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 4px;
}

a { color: var(--accent); }

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 20px;
}

nav a {
  background: var(--card);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 999px;
}

.shots {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin: 8px 0 20px;
}

.shots img {
  width: min(44%, 260px);
  height: auto;
  border-radius: 24px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

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

footer {
  color: var(--soft);
  font-size: 14px;
  text-align: center;
  margin-top: 28px;
}
