/* Sled Interactive – one small stylesheet for every page. Brand colours from the logos (balloon-game assets/brand). */
:root {
  --navy: #1b2a3a;
  --navy-deep: #0f1a26;
  --red: #d94a3d;
  --red-dark: #a8322a;
  --yellow: #ffe066;
  --sky-top: #3b7bd8;
  --sky-bottom: #bfe6ff;
  --hill: #5aa35a;
  --text: #1b2a3a;
  --muted: #51637a;
  --bg: #f4f6f9;
  --card: #ffffff;
  --line: #dbe2ea;
  --link: #a8322a;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #e8eef5;
    --muted: #a3b3c6;
    --bg: #0f1a26;
    --card: #1b2a3a;
    --line: #2c3e52;
    --link: #ffe066;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

a { color: var(--link); }
img { max-width: 100%; height: auto; }

.wrap { max-width: 880px; margin: 0 auto; padding: 0 20px; }

/* ---- Header ---- */
.site-header { position: relative; overflow: hidden; color: #fff; }
.site-header .wrap { position: relative; z-index: 1; padding-top: 16px; padding-bottom: 30px; }
.site-header nav { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; justify-content: space-between; }
.brand { display: inline-block; line-height: 0; }
.brand img { height: 44px; width: auto; }
.site-header nav .links a { color: #fff; margin-left: 18px; text-decoration: none; font-weight: 700; }
.site-header nav .links a:first-child { margin-left: 0; }
.site-header nav .links a:hover { text-decoration: underline; }

/* Studio pages: navy, with the sled's red runner and yellow rope as a stripe along the bottom. */
.site-header.studio { background: var(--navy); border-bottom: 6px solid var(--red); box-shadow: inset 0 -10px 0 var(--red-dark); }
.studio-hero { text-align: center; padding: 34px 0 18px; }
.studio-hero img { width: 420px; max-width: 86%; }
.studio-hero p { margin: 22px auto 0; max-width: 560px; font-size: 19px; color: #dfe7f0; }

/* Game pages: the game's sky with a hill. */
.site-header.game { background: linear-gradient(var(--sky-top), var(--sky-bottom)); }
.site-header.game::after {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -60px;
  height: 100px;
  background: var(--hill);
  border-radius: 50% 50% 0 0;
}
.site-header.game .wrap { padding-bottom: 46px; }
.site-header.game nav .links a { text-shadow: 0 1px 2px rgb(0 0 0 / 0.35); }
.game-hero { display: flex; gap: 28px; align-items: center; margin-top: 22px; }
.game-hero .profile { width: 150px; height: 150px; flex: none; border-radius: 50%; filter: drop-shadow(0 6px 14px rgb(0 0 0 / 0.25)); }
.game-hero .logo { width: 520px; max-width: 100%; }
.game-hero p { margin: 10px 0 0; font-size: 19px; text-shadow: 0 1px 3px rgb(0 0 0 / 0.35); }

/* ---- Content ---- */
main { padding: 36px 0 56px; }
main h1 { font-size: 34px; line-height: 1.2; margin: 0 0 6px; }
main h2 { font-size: 23px; margin: 36px 0 8px; }
main h3 { font-size: 18px; margin: 22px 0 4px; }
.updated { color: var(--muted); margin: 0 0 24px; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 24px;
  margin: 18px 0;
}
.game-card {
  display: flex;
  gap: 24px;
  align-items: center;
  text-decoration: none;
  color: inherit;
  background: linear-gradient(var(--sky-top), var(--sky-bottom));
  border: none;
  color: #fff;
  transition: transform 0.15s ease;
}
.game-card:hover { transform: translateY(-2px); }
.game-card .profile { width: 120px; height: 120px; flex: none; border-radius: 50%; filter: drop-shadow(0 4px 10px rgb(0 0 0 / 0.25)); }
.game-card .logo { width: 360px; max-width: 100%; display: block; }
.game-card p { margin: 8px 0 0; text-shadow: 0 1px 3px rgb(0 0 0 / 0.4); font-weight: 600; }
.badge {
  display: inline-block;
  margin-top: 10px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 800;
  font-size: 14px;
  text-shadow: none;
}

table { border-collapse: collapse; width: 100%; margin: 12px 0; font-size: 15.5px; }
th, td { text-align: left; vertical-align: top; padding: 9px 10px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; }
.table-scroll { overflow-x: auto; }

ol li, ul li { margin: 4px 0; }

/* ---- Footer ---- */
.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; padding: 24px 0 34px; }
.site-footer .footer-logo { height: 34px; width: auto; display: block; margin-bottom: 12px; }
.site-footer a { color: var(--muted); margin-right: 16px; display: inline-block; }
.site-footer p { margin: 10px 0 0; }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .brand img { height: 36px; }
  .game-hero { flex-direction: column; text-align: center; gap: 14px; }
  .game-hero .profile { width: 120px; height: 120px; }
  .game-card { flex-direction: column; text-align: center; }
  .game-card .logo { margin: 0 auto; }
  main h1 { font-size: 28px; }
}
