/* kittenrun.com — the game's manga-pop look: ink outlines, hard shadows, yellow sunburst. */
:root {
  --ink: #111111;
  --pink: #ff2e7e;
  --cyan: #19c8ff;
  --yellow: #ffe600;
  --yellow-light: #fff378;
  --paper: #fffdf3;
  --display: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial Black", "Segoe UI Black", Impact, system-ui, sans-serif;
  --label: "Avenir Next Condensed", "Roboto Condensed", "Arial Narrow", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --shadow: 8px 8px 0 var(--ink);
  --sunburst: repeating-conic-gradient(from 0deg at 66% 56%, var(--yellow) 0 6.43deg, var(--yellow-light) 6.43deg 12.86deg);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; }
a:focus-visible, .btn:focus-visible { outline: 4px solid var(--cyan); outline-offset: 3px; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }

h1, h2, h3 { font-family: var(--display); font-weight: 900; text-transform: uppercase; line-height: 1.05; margin: 0; }
h2 { font-size: clamp(1.7rem, 4.4vw, 2.7rem); letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; }

/* Skewed label, as on the game's HUD strips. */
.strip {
  display: inline-block;
  margin: 0;
  padding: 6px 18px;
  background: #fff;
  border: 4px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  transform: skewX(-9deg);
}
.strip > span {
  display: inline-block;
  transform: skewX(9deg);
  font: italic 800 clamp(1.05rem, 2.4vw, 1.5rem) / 1.1 var(--label);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.strip.pink { background: var(--pink); }
.strip.small > span { font-size: 1rem; }

.btn {
  display: inline-block;
  padding: 18px 26px;
  font: 900 1.02rem / 1.2 var(--display);
  text-wrap: balance;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  background: var(--pink);
  border: 4px solid var(--ink);
  box-shadow: var(--shadow);
}
.btn[aria-disabled="true"] { cursor: default; }
.note {
  display: block;
  margin-top: 18px;
  font: italic 800 0.95rem var(--label);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ── Hero ── */
.hero { background: var(--sunburst); border-bottom: 6px solid var(--ink); overflow: hidden; }
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 16px;
  align-items: end;
  padding-top: 60px;
}
.hero-copy { padding-bottom: 68px; }
.logo { width: min(400px, 80%); margin-bottom: 26px; }
.hero .strip { margin-bottom: 24px; }
.lede { max-width: 33ch; margin: 0 0 28px; font-size: clamp(1.08rem, 1.6vw, 1.25rem); font-weight: 500; }
.hero-art { width: 100%; margin-bottom: -3.5%; }

/* ── Sections ── */
section { padding: 76px 0; }
.section-head { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.section-head p { max-width: 58ch; margin: 0; }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; margin-top: 44px; }
.card { position: relative; padding: 34px 24px 26px; background: #fff; border: 4px solid var(--ink); box-shadow: var(--shadow); }
.card .num {
  position: absolute;
  top: -24px;
  left: 20px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  font: 900 1.4rem / 1 var(--display);
  background: var(--yellow);
  border: 4px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}
.card p { margin: 10px 0 0; }
.card .art { display: flex; align-items: center; gap: 6px; height: 64px; margin-bottom: 18px; }

.gate { display: grid; place-items: center; width: 86px; height: 60px; font: 900 1.25rem / 1 var(--display); border: 4px solid var(--ink); }
.gate.bad { background: var(--ink); color: #fff; box-shadow: inset 0 0 0 3px var(--ink), inset 0 0 0 5px #fff; }
.gate.good { background: var(--cyan); }
.pip { width: 26px; height: 26px; border-radius: 50%; background: var(--pink); border: 4px solid var(--ink); }
.pip.gold { background: var(--yellow); }
.arrow { font: 900 1.2rem / 1 var(--display); }
.arch { display: grid; place-items: center; height: 40px; padding: 0 7px; font: 900 0.92rem / 1 var(--display); border: 4px solid var(--ink); }
.arch:nth-child(odd) { background: var(--cyan); }
.arch:nth-child(even) { background: var(--pink); }
.arch.top { height: 54px; padding: 0 10px; font-size: 1.2rem; background: var(--yellow); }

/* Screenshots on ink. */
.shots { background: var(--ink); color: #fff; }
.shots .strip { color: var(--ink); }
.shot-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; margin-top: 40px; }
.shot-row img { width: 100%; border-radius: 16px; }

/* Album portraits, framed like the game's legendary cards. */
.portraits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 26px; margin-top: 44px; }
.portrait { margin: 0; text-align: center; }
.portrait .frame { padding: 4px; background: var(--ink); box-shadow: 7px 7px 0 var(--ink); }
.portrait img { width: 100%; border: 4px solid var(--yellow); }
.portrait figcaption { margin-top: 16px; font: 900 1.1rem / 1.1 var(--display); text-transform: uppercase; }
.portrait figcaption small { display: block; margin-top: 4px; font: italic 800 0.9rem var(--label); letter-spacing: 0.05em; }

.cta-band { background: var(--sunburst); border-block: 6px solid var(--ink); text-align: center; }
.cta-band h2 { margin-bottom: 28px; }

footer { padding: 34px 0; background: var(--ink); color: #fff; font-size: 0.95rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; justify-content: space-between; }
footer nav { display: flex; gap: 24px; }

/* ── Text pages (privacy, support) ── */
.topbar { background: var(--yellow); border-bottom: 6px solid var(--ink); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.topbar img { width: 132px; }
.topbar nav { display: flex; gap: 22px; font: italic 800 1rem var(--label); letter-spacing: 0.05em; text-transform: uppercase; }
.doc { width: min(740px, 100% - 40px); margin-inline: auto; padding: 60px 0 84px; }
.doc h1 { font-size: clamp(2rem, 6vw, 3.1rem); margin-bottom: 12px; }
.doc h2 { font-size: 1.35rem; margin: 44px 0 10px; }
.doc h3 { font-size: 1.05rem; margin: 30px 0 6px; text-transform: none; font-family: var(--body); font-weight: 800; }
.doc p, .doc ul { margin: 0 0 14px; }
.doc ul { padding-left: 1.2em; }
.doc .date { font: italic 800 0.95rem var(--label); letter-spacing: 0.05em; text-transform: uppercase; }
.callout { margin: 28px 0 8px; padding: 22px 24px; background: #fff; border: 4px solid var(--ink); box-shadow: var(--shadow); }
.callout p:last-child { margin-bottom: 0; }
.callout strong { font-size: 1.1rem; }

/* ── Small screens ── */
@media (max-width: 860px) {
  section { padding: 56px 0; }
  .hero-inner { grid-template-columns: 1fr; padding-top: 44px; }
  .hero-copy { padding-bottom: 12px; }
  .hero-art { width: 112%; max-width: none; margin-left: -6%; }
  .cards { grid-template-columns: 1fr; gap: 44px; }
  .shot-row, .portraits {
    display: flex;
    gap: 16px;
    margin-inline: -20px;
    padding: 4px 20px 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .shot-row img { flex: 0 0 62%; width: 62%; scroll-snap-align: center; }
  .portraits { gap: 22px; }
  .portrait { flex: 0 0 46%; scroll-snap-align: center; }
  footer .wrap { flex-direction: column; align-items: flex-start; }
}
