/* Pork Katsu Games: one stylesheet for every page. Cream paper, plum ink and hotel gold, like the game and the logo. */
:root {
  --paper: #f5efdf;
  --paper-deep: #ece3cc;
  --ink: #3a2e3f;
  --muted: #6b5d70;
  --gold: #b8862f;
  --gold-soft: #e6c26a;
  --night: #2a1a44;
  --night-2: #4a2c6e;
  --card: #fffaf0;
  --line: #ddd0b4;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 Georgia, "Times New Roman", serif;
}

a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--ink); }

img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: 960px; margin: 0 auto; padding: 0 16px; }

/* ---------- Top bar ---------- */
.topbar { border-bottom: 1px solid var(--line); background: var(--paper); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; flex-wrap: wrap; }
.brand { font-weight: bold; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); text-decoration: none; font-size: 15px; }
.topbar nav { display: flex; gap: 18px; flex-wrap: wrap; font-size: 15px; }
.topbar nav a { color: var(--muted); text-decoration: none; }
.topbar nav a:hover { color: var(--ink); }

/* ---------- Home ---------- */
.hero { padding: 40px 0 24px; text-align: center; }
/* The logo's paper fades out at its edges, so it melts into the page (its border is already the page colour). */
.hero img {
  width: min(560px, 100%);
  margin: 0 auto;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%),
                      linear-gradient(to bottom, transparent 0, #000 9%, #000 91%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%),
              linear-gradient(to bottom, transparent 0, #000 9%, #000 91%, transparent 100%);
  mask-composite: intersect;
}
.hero p { color: var(--muted); max-width: 560px; margin: 16px auto 0; }

.game {
  margin: 24px 0 48px;
  background: linear-gradient(160deg, var(--night) 0%, var(--night-2) 100%);
  color: #f6edf8;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(42, 26, 68, 0.25);
}
.game .banner { width: 100%; aspect-ratio: 1024 / 500; object-fit: cover; }
.game .body { padding: 24px 24px 28px; display: grid; grid-template-columns: 96px 1fr; gap: 20px; align-items: start; }
.game .icon { width: 96px; height: 96px; border-radius: 22px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35); }
.game h2 { margin: 0; font-size: 28px; color: var(--gold-soft); line-height: 1.2; }
.game .tagline { margin: 4px 0 14px; color: #d8c8e2; }
.game ul { margin: 0 0 18px; padding-left: 20px; }
.game li { margin-bottom: 4px; }

.button {
  display: inline-block;
  background: var(--gold-soft);
  color: var(--night);
  font-weight: bold;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 999px;
  border: 2px solid #f3dc9c;
}
.button:hover { background: #f3d27e; color: var(--night); }
.button.soon { cursor: default; opacity: 0.9; }
.small { font-size: 14px; color: #c7b6d3; margin-top: 10px; }

.contact { text-align: center; padding: 8px 0 48px; }
.contact h2 { color: var(--gold); font-size: 22px; margin-bottom: 4px; }

@media (max-width: 560px) {
  .game .body { grid-template-columns: 1fr; }
  .game .icon { width: 80px; height: 80px; border-radius: 18px; }
  .game h2 { font-size: 24px; }
}

/* ---------- Policy pages ---------- */
.doc { max-width: 760px; margin: 0 auto; padding: 32px 16px 56px; }
.doc h1 { font-size: 30px; margin-bottom: 4px; line-height: 1.25; }
.doc h2 { font-size: 21px; margin-top: 32px; color: var(--gold); }
.doc .meta { color: var(--muted); margin-top: 0; }
.doc li { margin-bottom: 6px; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); background: var(--paper-deep); font-size: 14px; color: var(--muted); }
footer .wrap { padding-top: 20px; padding-bottom: 28px; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 16px; }
footer a { color: var(--muted); }
