/* The press kit (/presskit): one static page in the game's colors, as legal.css
   has them. It asks nobody else's server for anything, so the game's faces
   (Cinzel, Philosopher) are served from /fonts: the Latin subsets of Google
   Fonts' files, under the SIL Open Font License (the two OFL texts beside them). */

@font-face { font-family: 'Cinzel'; font-style: normal; font-weight: 700 900; font-display: swap; src: url('/fonts/Cinzel-latin.woff2') format('woff2'); }
@font-face { font-family: 'Philosopher'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/Philosopher-400-latin.woff2') format('woff2'); }
@font-face { font-family: 'Philosopher'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/Philosopher-700-latin.woff2') format('woff2'); }

:root {
  color-scheme: dark;
  --bg: #0b0b1c;
  --panel: #14142e;
  --text: #e9e6dc;
  --dim: #a9a7bf;
  --gold: #e8c46a;
  --gold-deep: #a8822c;
  --line: rgba(232, 196, 106, 0.2);
  --display: 'Cinzel', 'Trajan Pro', 'Cormorant SC', Georgia, 'Times New Roman', serif;
  --body: 'Philosopher', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

.pk {
  max-width: 960px;
  margin: 0 auto;
  padding: 28px 16px 64px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); }
a:hover { color: #ffd877; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--display); line-height: 1.25; }
h2 {
  font-size: 22px; font-weight: 700; letter-spacing: 0.05em; color: var(--gold);
  margin: 0 0 14px; padding-top: 18px; border-top: 1px solid var(--line);
}
h3 { font-size: 15px; font-weight: 700; letter-spacing: 0.06em; margin: 22px 0 6px; color: var(--text); }
p { margin: 0 0 12px; }
section { margin-top: 44px; scroll-margin-top: 12px; }
ul { padding-left: 22px; margin: 0 0 12px; }
li { margin: 6px 0; }

/* ── Top ─────────────────────────────────────────────────────── */
.pk-top { text-align: center; }
/* The wordmark is the banner's: its middle band, without the line under it
   (the tagline is set in type below). */
.pk-wordmark { margin: 0; }
.pk-wordmark img {
  width: 100%;
  aspect-ratio: 1920 / 250;
  object-fit: cover;
  object-position: 50% 27%;
  border-radius: 12px;
  border: 1px solid var(--line);
}
.pk-tagline {
  margin: 18px 0 0;
  font-family: var(--display);
  font-size: 15px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text);
}
.pk-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 22px 0 0; }
.pk-btn {
  display: inline-block;
  padding: 11px 20px;
  border-radius: 10px;
  border: 1px solid rgba(232, 196, 106, 0.45);
  background: var(--panel);
  color: var(--text);
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 140ms ease, border-color 140ms ease;
}
.pk-btn:hover { background: #1d1d40; border-color: var(--gold); color: #fff; }
.pk-btn-gold { background: linear-gradient(180deg, #ffe39a, #e3b65c); border-color: #f0cf78; color: #1a1430; }
.pk-btn-gold:hover { background: linear-gradient(180deg, #fff0bf, #ecc472); color: #1a1430; }

.pk-nav {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 0;
  margin: 26px 0 0;
  font-size: 15px;
}
.pk-nav a { padding: 4px 0; text-decoration: none; white-space: nowrap; }
.pk-nav a:hover { text-decoration: underline; }
.pk-nav a + a::before { content: "·"; display: inline-block; width: 22px; text-align: center; color: var(--dim); }

/* ── Factsheet, contact ──────────────────────────────────────── */
.pk-facts { margin: 0; }
.pk-facts > div {
  display: grid; grid-template-columns: 170px 1fr; gap: 4px 16px;
  padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.pk-facts > div:last-child { border-bottom: 0; }
.pk-facts dt { color: var(--dim); }
.pk-facts dd { margin: 0; min-width: 0; }

/* ── Descriptions ────────────────────────────────────────────── */
.pk-copy {
  position: relative;
  padding: 14px 16px;
  background: var(--panel);
  border: 1px solid rgba(232, 196, 106, 0.18);
  border-radius: 10px;
}
.pk-copy p:last-of-type { margin-bottom: 0; }
.pk-copy-btn {
  display: block;
  margin: 12px 0 0 auto;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(232, 196, 106, 0.45);
  background: transparent;
  color: var(--gold);
  font: inherit; font-size: 13px;
  cursor: pointer;
}
.pk-copy-btn:hover { background: rgba(232, 196, 106, 0.12); }

.pk-features li { margin: 8px 0; }

/* ── Trailer ─────────────────────────────────────────────────── */
.pk-trailer {
  position: relative; display: block; width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  background: #000;
}
.pk-trailer img { width: 100%; height: 100%; object-fit: cover; }
.pk-play {
  position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px;
  border-radius: 50%; background: rgba(11, 11, 28, 0.78); border: 2px solid var(--gold);
  transition: transform 140ms ease;
}
.pk-play::after {
  content: ""; position: absolute; left: 30px; top: 22px;
  border-style: solid; border-width: 15px 0 15px 24px; border-color: transparent transparent transparent var(--gold);
}
a.pk-trailer:hover .pk-play { transform: scale(1.08); }
.pk-url { margin: 10px 0 0; }

/* ── Screenshots, logos ──────────────────────────────────────── */
.pk-shots, .pk-logos {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.pk-shots li, .pk-logos li { margin: 0; min-width: 0; }
.pk-shots figure { margin: 0; }
.pk-shots a, .pk-logos li > a {
  display: block; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--panel);
  transition: border-color 140ms ease;
}
.pk-shots a:hover, .pk-logos li > a:hover { border-color: var(--gold); }
.pk-shots img { width: 100%; }
.pk-shots figcaption, .pk-logos span { display: block; margin-top: 6px; font-size: 14px; color: var(--dim); }
.pk-logos li > a { display: flex; align-items: center; justify-content: center; height: 170px; padding: 10px; }
.pk-logos li > a img { max-height: 100%; width: auto; object-fit: contain; border-radius: 4px; }
.pk-logos .pk-icon { width: 120px; height: 120px; }

/* ── Foot ────────────────────────────────────────────────────── */
.pk-foot {
  margin-top: 48px; padding-top: 16px; border-top: 1px solid var(--line);
  font-size: 14px; color: var(--dim);
}
.pk-foot p { margin: 0 0 4px; }

@media (max-width: 560px) {
  .pk { padding-top: 16px; }
  h2 { font-size: 19px; }
  .pk-nav { gap: 2px 18px; }
  .pk-play { transform: scale(0.74); }
  a.pk-trailer:hover .pk-play { transform: scale(0.8); }
  .pk-nav a + a::before { content: none; }
  .pk-tagline { font-size: 12px; letter-spacing: 0.16em; }
  .pk-btn { width: 100%; text-align: center; }
  .pk-facts > div { grid-template-columns: 1fr; gap: 0; }
  .pk-logos li > a { height: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
