/* Kukuu Games: the game's own colours (the toolbox's wood, the garden's sky and grass). */
@font-face {
  font-family: "Press Start 2P";
  src: url("/assets/press_start_2p.ttf") format("truetype");
  font-display: swap;
}

:root {
  --wood: #2a1e14;
  --line: #c9a27e;
  --cream: #f4f1ea;
  --paper: #fffaf0;
  --sky-top: #25a4e7;
  --sky-bottom: #a6dcf9;
  --grass: #8cc84b;
  --grass-dark: #5f9a2e;
  --text: #2a1e14;
  --muted: #6b5a48;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: linear-gradient(var(--sky-top) 0, var(--sky-bottom) 360px) no-repeat, var(--sky-bottom);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img.pixel { image-rendering: pixelated; }

a { color: #1b6fa8; }

.top {
  padding: 18px 20px;
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
}

.brand {
  font-family: "Press Start 2P", monospace;
  font-size: 15px;
  color: var(--cream);
  text-decoration: none;
  text-shadow: 2px 2px 0 var(--wood);
}

main {
  flex: 1;
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px 40px;
}

h1, h2, .sign {
  font-family: "Press Start 2P", monospace;
  font-weight: normal;
  line-height: 1.5;
}

h1 { font-size: 24px; margin: 0 0 16px; }
h2 { font-size: 15px; margin: 32px 0 12px; }

.panel {
  background: var(--paper);
  border: 4px solid var(--wood);
  box-shadow: inset 0 0 0 3px var(--line);
  padding: 24px;
}

.sign {
  display: inline-block;
  background: var(--wood);
  color: var(--cream);
  border: 3px solid var(--line);
  padding: 10px 14px;
  font-size: 13px;
  margin: 32px 0 14px;
}

.intro { display: flex; gap: 24px; align-items: center; }
.intro img { width: 114px; height: auto; flex: none; }
.intro p { margin: 0; }

.game-card {
  display: flex;
  gap: 18px;
  align-items: center;
  text-decoration: none;
  color: var(--text);
}
.game-card:hover { background: #fff3dc; }
.game-card img { width: 96px; height: 96px; border-radius: 20px; flex: none; }
.game-card strong { font-family: "Press Start 2P", monospace; font-weight: normal; font-size: 14px; }

.hero img.feature {
  display: block;
  width: 100%;
  height: auto;
  border: 4px solid var(--wood);
}

.title-row { display: flex; gap: 18px; align-items: center; margin: 24px 0 12px; }
.title-row img { width: 80px; height: 80px; border-radius: 18px; flex: none; }
.title-row h1 { margin: 0; }
.lead { font-size: 19px; margin: 0 0 20px; }

.button {
  display: inline-block;
  font-family: "Press Start 2P", monospace;
  font-size: 13px;
  line-height: 1.5;
  color: var(--cream);
  background: var(--wood);
  border: 3px solid var(--line);
  padding: 14px 18px;
  text-decoration: none;
}
.button:hover { background: #4a3523; }

.points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 28px;
}
.points .panel { padding: 18px; }
.points h2 { margin: 0 0 8px; font-size: 13px; }
.points p { margin: 0; }

.policy h2 { font-size: 14px; margin-top: 32px; }
.policy .date { color: var(--muted); font-style: italic; }

footer {
  background: var(--grass);
  border-top: 6px solid var(--grass-dark);
  color: var(--wood);
  padding: 22px 20px 28px;
  font-size: 15px;
}
footer .inner { max-width: 960px; margin: 0 auto; }
footer a { color: var(--wood); }

@media (max-width: 560px) {
  h1 { font-size: 18px; }
  .intro { flex-direction: column; text-align: center; }
  .panel { padding: 18px; }
}
