/* Whisker Games — shared styles.
   Deliberately one small stylesheet with no build step, no framework and
   no external requests: this site exists to satisfy Apple's "privacy
   policy URL" and "support URL" requirements and to front the studio, and
   a page that must be reachable during App Review is the last place to
   introduce a dependency that can fail to load. */

:root {
  --bg: #05060f;
  --panel: #1c1f32;
  --ink: #ffffff;
  --muted: rgba(255, 255, 255, 0.62);
  --faint: rgba(255, 255, 255, 0.14);
  --cyan: #3df0ff;
  --magenta: #ff2fc4;
  --green: #16b364;
  --max: 46rem;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  padding: 0 1.25rem 5rem;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  /* A single soft glow behind the header, echoing the games' neon
     language without shipping an image for it. */
  background-image: radial-gradient(60rem 30rem at 50% -10rem, rgba(61, 240, 255, 0.10), transparent 70%);
  background-repeat: no-repeat;
}

.wrap { max-width: var(--max); margin: 0 auto; }

header.site {
  padding: 3.5rem 0 2rem;
  text-align: center;
}

header.site .studio {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(2rem, 7vw, 3rem);
  line-height: 1.1;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 1.25rem;
  margin: 2.5rem 0 0.75rem;
  letter-spacing: -0.01em;
}

h3 { font-size: 1.02rem; margin: 1.75rem 0 0.5rem; }

p, li { color: var(--muted); }
p { margin: 0 0 1rem; }
li { margin-bottom: 0.4rem; }

strong { color: var(--ink); font-weight: 600; }

a { color: var(--cyan); text-decoration: none; border-bottom: 1px solid rgba(61, 240, 255, 0.35); }
a:hover { border-bottom-color: var(--cyan); }

.lede { font-size: 1.06rem; color: var(--muted); }

/* Game cards on the landing page */
.games { display: grid; gap: 1rem; margin: 2rem 0 0; padding: 0; list-style: none; }

.game {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.15rem;
  background: var(--panel);
  border: 2px solid var(--faint);
  border-radius: 1rem;
}

.game img {
  width: 68px; height: 68px;
  border-radius: 1rem;
  flex: 0 0 auto;
  background: #000;
}

.game .meta { min-width: 0; }
.game h3 { margin: 0 0 0.2rem; color: var(--ink); font-size: 1.1rem; }
.game p { margin: 0; font-size: 0.94rem; }

.badge {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--muted);
  margin-top: 0.45rem;
}

.badge.soon { border-color: rgba(255, 47, 196, 0.5); color: var(--magenta); }

/* Document pages */
article { padding-top: 1rem; }

table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  display: block;
  overflow-x: auto;
}

th, td {
  text-align: left;
  padding: 0.6rem 0.8rem;
  border-bottom: 1px solid var(--faint);
  color: var(--muted);
  vertical-align: top;
}

th { color: var(--ink); font-weight: 600; white-space: nowrap; }

hr { border: 0; border-top: 1px solid var(--faint); margin: 2.5rem 0; }

.updated { font-size: 0.85rem; color: rgba(255, 255, 255, 0.42); }

.contact {
  margin-top: 2rem;
  padding: 1.1rem 1.25rem;
  border: 2px solid rgba(22, 179, 100, 0.35);
  border-radius: 1rem;
  background: rgba(22, 179, 100, 0.06);
}

.contact p { margin: 0; }

footer.site {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--faint);
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.42);
  text-align: center;
}

footer.site a { color: rgba(255, 255, 255, 0.6); border-bottom-color: transparent; }
footer.site a:hover { color: var(--cyan); }

.back {
  display: inline-block;
  margin: 2rem 0 0;
  font-size: 0.9rem;
}

/* Placeholder tile for a game with no icon yet. Without it, an icon-less
   card's text starts at the card's left edge while a card WITH an icon is
   indented by the icon width — the two rows visibly fail to line up.
   Caught in a screenshot, not by reading the markup. */
.game .placeholder {
  width: 68px; height: 68px;
  flex: 0 0 auto;
  border-radius: 1rem;
  border: 2px dashed var(--faint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  opacity: 0.5;
}
