/* Tora Games site.
   Studio pages lead with the Tora orange; the game page uses the game's farm palette.
   Fredoka (the game's font) is for headings only; body and legal text use the system face.
   White text sits on orange only at large sizes; smaller text on orange is dark ink, for contrast. */
@font-face {
  font-family: "Fredoka";
  src: url("/assets/fonts/Fredoka-SemiBold.woff2") format("woff2"),
       url("/assets/fonts/Fredoka-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand */
  --tora: #ff6a00;
  --tora-hi: #ff8a26;
  --tora-base: #f45e00;   /* hero ground: white large text passes 3:1 */
  --tora-deep: #e24c00;
  --tora-ink: #b83f00;    /* orange text and buttons on light grounds: passes 4.5:1 */
  --tora-ink-hover: #993400;
  --on-orange: #2e1204;   /* small text on orange */

  /* Neutrals */
  --bg: #fff8f0;
  --sand: #ffefdf;
  --surface: #ffffff;
  --ink: #2b1a10;
  --muted: #6f5a4c;
  --line: #f0e0cf;
  --night: #22130a;
  --night-muted: #c9b5a6;

  /* Game palette */
  --sky: #c4ebff;
  --sky-hi: #ecf9ff;
  --meadow: #7fcb5b;
  --meadow-deep: #5bb043;
  --hay: #ffd66b;
  --blush: #ffe1e6;
  --mint: #e2f5d8;
  --butter: #fff1c2;
  --bark: #4a2716;

  --flag: #fff1b8;

  --display: "Fredoka", "Trebuchet MS", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 22px;
  --shadow-sm: 0 1px 2px rgba(74, 39, 22, 0.06), 0 2px 8px rgba(74, 39, 22, 0.06);
  --shadow-md: 0 2px 4px rgba(74, 39, 22, 0.05), 0 12px 32px rgba(74, 39, 22, 0.1);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }

a { color: var(--tora-ink); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--tora-ink-hover); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(38px, 6.4vw, 68px); }
h2 { font-size: clamp(28px, 4vw, 42px); }
h3, .h3 { font-size: 22px; }
p { margin: 0; }

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

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 10;
  background: var(--surface); color: var(--ink); padding: 10px 16px; border-radius: 12px;
  font-weight: 600; box-shadow: var(--shadow-md);
}
.skip:focus { top: 12px; }

/* ---------- Header ---------- */
.site-header { background: var(--tora-base); position: relative; z-index: 2; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 14px; }
.brand { display: block; border-radius: 8px; }
.brand img { width: 75px; height: auto; filter: drop-shadow(0 2px 3px rgba(120, 36, 0, 0.3)); }
.site-nav {
  display: flex; gap: 2px; padding: 4px;
  background: rgba(255, 255, 255, 0.92); border-radius: 999px;
  box-shadow: 0 6px 18px rgba(120, 36, 0, 0.18);
}
.site-nav a {
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; line-height: 1;
  padding: 10px 14px; border-radius: 999px; white-space: nowrap;
}
.site-nav a:hover { background: var(--sand); color: var(--ink); }
.site-nav a[aria-current="page"] { background: var(--night); color: #fff; }

/* ---------- Orange brand stage (home, 404) ---------- */
.stage {
  position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(90% 70% at 50% 40%, #f86200 0%, var(--tora-base) 55%, #ee5600 100%);
  color: #fff;
  border-bottom-left-radius: clamp(28px, 5vw, 64px);
  border-bottom-right-radius: clamp(28px, 5vw, 64px);
}
.stage .site-header { background: transparent; }

/* The two ring motifs from the Tora banner: a lighter disc with a deeper core. */
.ring {
  position: absolute; z-index: -1; border-radius: 50%; aspect-ratio: 1;
  background: linear-gradient(150deg, #ff8a2c 0%, #fb6d0c 55%, #f45f00 100%);
  box-shadow: 0 30px 90px rgba(150, 40, 0, 0.3);
}
.ring::after {
  content: ""; position: absolute; inset: 24%; border-radius: 50%;
  background: linear-gradient(150deg, #f45800 0%, #e84a00 100%);
  box-shadow: inset 0 14px 40px rgba(130, 34, 0, 0.25), 0 20px 50px rgba(150, 40, 0, 0.18);
}
.ring-tr { width: clamp(300px, 44vw, 620px); top: -32%; right: -14%; }
.ring-bl { width: clamp(340px, 50vw, 720px); bottom: -46%; left: -20%; }

@media (prefers-reduced-motion: no-preference) {
  .ring { animation: drift 22s ease-in-out infinite alternate; }
  .ring-bl { animation-duration: 26s; animation-direction: alternate-reverse; }
  @keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-18px, 14px) scale(1.04); } }
}

.hero {
  display: grid; justify-items: center; text-align: center; gap: 22px;
  padding-block: clamp(56px, 10vw, 120px) clamp(72px, 12vw, 140px);
}
.eyebrow {
  display: inline-block; padding: 7px 14px; border-radius: 999px;
  background: rgba(60, 20, 0, 0.3); color: #fff;
  font-size: 14px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
}
.hero-mark { width: clamp(220px, 42vw, 460px); height: auto; filter: drop-shadow(0 12px 14px rgba(130, 36, 0, 0.35)); }
.hero-tagline {
  max-width: 30ch; font-size: clamp(24px, 3vw, 30px); font-weight: 500; line-height: 1.35;
  text-shadow: 0 2px 0 rgba(130, 36, 0, 0.25); text-wrap: balance;
}
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 12px 24px; border-radius: 999px;
  font: 600 17px/1.1 var(--display); text-decoration: none; letter-spacing: 0.01em;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.btn:active { transform: translateY(2px); }
.btn-light { background: #fff; color: var(--tora-ink); box-shadow: 0 5px 0 rgba(120, 36, 0, 0.35); }
.btn-light:hover { color: var(--tora-ink-hover); transform: translateY(-1px); box-shadow: 0 6px 0 rgba(120, 36, 0, 0.35); }
.btn-light:active { box-shadow: 0 3px 0 rgba(120, 36, 0, 0.35); }
.btn-ghost { background: rgba(60, 20, 0, 0.3); color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.55); }
.btn-ghost:hover { background: rgba(60, 20, 0, 0.42); color: #fff; }
.btn-primary { background: var(--tora-ink); color: #fff; box-shadow: 0 5px 0 #7a2a00; }
.btn-primary:hover { background: var(--tora-ink-hover); color: #fff; transform: translateY(-1px); }
.btn-primary:active { box-shadow: 0 3px 0 #7a2a00; }
.btn .arrow { transition: transform 0.15s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Sections ---------- */
main { display: block; }
.section { padding-block: clamp(56px, 8vw, 96px); }
.section-sand { background: var(--sand); }
.section.tight-top { padding-top: 0; }
.section-head { display: grid; gap: 10px; margin-bottom: clamp(28px, 4vw, 44px); max-width: 640px; }
.section-head.center { text-align: center; margin-inline: auto; justify-items: center; }
.kicker { color: var(--tora-ink); font-weight: 700; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; }
.lead { font-size: clamp(18px, 2vw, 20px); color: var(--muted); max-width: 52ch; }
.note { color: var(--muted); font-size: 15px; }

/* ---------- Games grid (home) ---------- */
.games { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; }

.game-feature {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  background: var(--surface); border-radius: 28px; overflow: hidden;
  box-shadow: var(--shadow-md); transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.game-feature:hover { transform: translateY(-4px); box-shadow: 0 4px 8px rgba(74, 39, 22, 0.06), 0 22px 48px rgba(74, 39, 22, 0.16); }
.game-feature .body { display: grid; gap: 14px; align-content: center; padding: clamp(24px, 3.5vw, 40px); }
.game-feature h3 { font-size: clamp(28px, 3vw, 36px); color: var(--bark); }
.game-feature h3 a { color: inherit; text-decoration: none; }
.game-feature h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.game-feature h3 a:focus-visible { outline: none; }
.game-feature:has(h3 a:focus-visible) { outline: 3px solid var(--ink); outline-offset: 4px; }
.game-feature .more { display: inline-flex; gap: 6px; color: var(--tora-ink); font: 600 17px/1 var(--display); }
.game-feature:hover .more .arrow { transform: translateX(3px); }
.game-feature .arrow { transition: transform 0.15s ease; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chips li { padding: 6px 12px; border-radius: 999px; background: var(--sand); color: var(--ink); font-size: 14px; font-weight: 600; }

/* Farm scene behind the game icon: sky, clouds, hills. Pure CSS. */
.scene {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; place-items: center; min-height: 300px;
  background:
    radial-gradient(120% 55% at 18% 112%, var(--meadow) 0 58%, transparent 58.5%),
    radial-gradient(110% 50% at 88% 118%, var(--meadow-deep) 0 58%, transparent 58.5%),
    radial-gradient(40% 30% at 82% 18%, rgba(255, 236, 160, 0.85), transparent 70%),
    linear-gradient(180deg, var(--sky) 0%, var(--sky-hi) 100%);
}
.scene .cloud, .scene .cloud::before, .scene .cloud::after { position: absolute; background: #fff; border-radius: 999px; }
.scene .cloud { z-index: -1; width: 92px; height: 26px; opacity: 0.95; }
.scene .cloud::before { content: ""; width: 46px; height: 46px; left: 14px; bottom: 6px; }
.scene .cloud::after { content: ""; width: 34px; height: 34px; left: 46px; bottom: 8px; }
.scene .cloud-1 { top: 18%; left: 9%; }
.scene .cloud-2 { top: 30%; right: 8%; transform: scale(0.7); }
@media (prefers-reduced-motion: no-preference) {
  .scene .cloud-1 { animation: float 9s ease-in-out infinite alternate; }
  .scene .cloud-2 { animation: float 11s ease-in-out infinite alternate-reverse; }
  @keyframes float { to { translate: 22px 0; } }
}
/* The icon art has transparent corners and ears above the frame: shadow with drop-shadow, never box-shadow. */
.app-icon {
  width: 145px; height: auto;
  filter: drop-shadow(0 4px 0 rgba(74, 39, 22, 0.12)) drop-shadow(0 16px 18px rgba(74, 39, 22, 0.22));
  rotate: -4deg; transition: rotate 0.25s ease, scale 0.25s ease;
}
.game-feature:hover .app-icon { rotate: 2deg; scale: 1.04; }

.game-next {
  display: grid; align-content: center; justify-items: start; gap: 10px;
  padding: clamp(24px, 3vw, 36px); border-radius: 28px;
  border: 2px dashed #e7c9ab; color: var(--muted);
}
.game-next .dots { display: flex; gap: 6px; margin-bottom: 4px; }
.game-next .dots span { width: 12px; height: 12px; border-radius: 50%; background: var(--tora); opacity: 0.35; }
.game-next .dots span:nth-child(2) { opacity: 0.6; }
.game-next .dots span:nth-child(3) { opacity: 0.9; }
@media (prefers-reduced-motion: no-preference) {
  .game-next .dots span { animation: blink 1.6s ease-in-out infinite; }
  .game-next .dots span:nth-child(2) { animation-delay: 0.2s; }
  .game-next .dots span:nth-child(3) { animation-delay: 0.4s; }
  @keyframes blink { 50% { opacity: 1; transform: translateY(-3px); } }
}
.game-next h3 { color: var(--ink); }

/* ---------- Value / feature cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.card {
  display: grid; gap: 10px; align-content: start;
  background: var(--surface); border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow-sm);
}
.card p { color: var(--muted); }
.icon {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 6px;
  background: var(--sand); color: var(--tora-ink);
}
.icon svg { width: 28px; height: 28px; }
.card.tone-mint { background: var(--mint); }
.card.tone-butter { background: var(--butter); }
.card.tone-blush { background: var(--blush); }
.card[class*="tone-"] p { color: var(--ink); }
.card[class*="tone-"] .icon { background: rgba(255, 255, 255, 0.75); color: var(--bark); }
.card .step { font: 600 14px/1 var(--display); color: var(--bark); opacity: 0.7; letter-spacing: 0.06em; }

/* ---------- Contact band ---------- */
.band {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; justify-items: center; text-align: center; gap: 14px;
  padding: clamp(40px, 7vw, 72px) 24px; border-radius: 32px;
  background: radial-gradient(90% 90% at 50% 50%, #f86200 0%, var(--tora-base) 60%, #ec5500 100%);
}
.band h2 { color: #fff; text-shadow: 0 2px 0 rgba(130, 36, 0, 0.25); }
.band p { color: var(--on-orange); font-size: 18px; font-weight: 500; max-width: 44ch; }
.band .ring-tr { width: 300px; top: -55%; right: -60px; }
.band .ring-bl { width: 340px; bottom: -70%; left: -90px; }
.band .btn { margin-top: 8px; word-break: break-all; }

/* ---------- Game page ---------- */
.game-hero { position: relative; padding-block: clamp(40px, 7vw, 88px) clamp(110px, 13vw, 170px); }
.game-hero.scene { display: block; min-height: 0; background:
    radial-gradient(40% 40% at 86% 14%, rgba(255, 236, 160, 0.9), transparent 70%),
    linear-gradient(180deg, var(--sky) 0%, var(--sky-hi) 100%); }
.game-hero .cloud-1 { top: 14%; left: 4%; }
.game-hero .cloud-2 { top: 9%; right: 30%; }
.game-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.game-hero .text { display: grid; gap: 18px; justify-items: start; }
.game-hero h1 { color: var(--bark); }
.game-hero .kicker { color: var(--bark); opacity: 0.85; }
.game-hero .lead { color: var(--ink); }
.game-hero .note { color: var(--ink); }
.hills { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(70px, 10vw, 140px); z-index: -1; }
.icon-stage { position: relative; display: grid; place-items: center; }
.icon-stage::before {
  content: ""; position: absolute; width: clamp(220px, 26vw, 300px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, #fff 0 62%, rgba(255, 255, 255, 0.5) 63% 100%);
}
.icon-stage .app-icon { position: relative; width: 155px; }
.sticker {
  position: absolute; top: -8px; right: calc(50% - clamp(90px, 13vw, 125px));
  background: var(--hay); color: var(--bark); font: 600 14px/1 var(--display);
  padding: 9px 12px; border-radius: 999px; rotate: 8deg; box-shadow: 0 4px 0 rgba(74, 39, 22, 0.18);
}

.stores { display: flex; flex-wrap: wrap; gap: 10px; }
.store {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px 10px 14px; border-radius: 16px; background: var(--night); color: #fff;
}
.store svg { width: 26px; height: 26px; flex: none; }
.store span { display: grid; line-height: 1.15; font-weight: 600; font-size: 16px; }
.store small { font-weight: 500; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--night-muted); }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: calc(-1 * clamp(40px, 6vw, 72px)); position: relative; z-index: 1; }
.stat { background: var(--surface); border-radius: var(--radius); padding: 22px 20px; text-align: center; box-shadow: var(--shadow-md); }
.stat b { display: block; font: 600 clamp(34px, 5vw, 48px)/1 var(--display); color: var(--tora-ink); }
.stat span { display: block; margin-top: 6px; color: var(--muted); font-weight: 600; font-size: 15px; }

.help { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; background: var(--surface); border-radius: 28px; padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow-sm); }
.help .icon { margin: 0; }
.help .text { display: grid; gap: 4px; }
.help p { color: var(--muted); }

/* Screenshots: add files under /assets/img/screens/ and uncomment the block on the game page. */
.shots { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 18px; }
.shots img { flex: none; width: min(240px, 62vw); height: auto; aspect-ratio: 9 / 19.5; object-fit: cover; border-radius: 30px; border: 6px solid var(--night); scroll-snap-align: center; box-shadow: var(--shadow-md); }

/* ---------- Page head (support, legal) ---------- */
.page-head { padding-block: clamp(40px, 6vw, 72px) clamp(28px, 4vw, 40px); }
.page-head .wrap { display: grid; gap: 12px; }
.page-head h1 { font-size: clamp(36px, 5.5vw, 56px); }

/* ---------- Support ---------- */
.support-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(24px, 4vw, 48px); align-items: start; padding-bottom: clamp(56px, 8vw, 96px); }
.contact-card { display: grid; gap: 16px; background: var(--surface); border-radius: 28px; padding: 28px; box-shadow: var(--shadow-md); position: sticky; top: 24px; }
.contact-card h2 { font-size: 26px; }
.contact-card .email { font: 600 clamp(18px, 2.2vw, 21px)/1.3 var(--display); word-break: break-all; }
.contact-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.contact-card li { display: flex; gap: 10px; align-items: flex-start; }
.contact-card li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 10px; border-radius: 50%; background: var(--tora); }
.contact-card .note { display: grid; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.contact-card .note li::before { margin-top: 8px; }

.faq { display: grid; gap: 12px; }
/* One block per game, so later games get their own questions. */
.faq-game { display: flex; align-items: center; gap: 14px; margin-bottom: 6px; }
.faq-game img { width: 56px; height: auto; filter: drop-shadow(0 4px 8px rgba(74, 39, 22, 0.18)); }
.faq-game .kicker { margin-bottom: 2px; }
.faq h2 { font-size: 28px; }
.faq details { background: var(--surface); border-radius: 18px; box-shadow: var(--shadow-sm); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; cursor: pointer; list-style: none;
  font: 600 18px/1.3 var(--display); border-radius: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: var(--sand) no-repeat center / 14px
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M7 1v12M1 7h12' stroke='%23b83f00' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");
  transition: rotate 0.2s ease;
}
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { padding: 0 20px 20px; color: var(--muted); }

/* ---------- Legal pages: plain, one narrow column ---------- */
.legal { max-width: 72ch; display: grid; gap: 14px; padding-block: clamp(40px, 6vw, 72px) clamp(56px, 8vw, 96px); }
.legal h1 { font-size: clamp(34px, 5vw, 48px); }
.legal h2 { font-size: 24px; margin-top: 22px; }
.legal h3 { font-size: 18px; margin-top: 6px; }
.legal ul, .legal ol { margin: 0; padding-left: 22px; display: grid; gap: 6px; }
.legal .meta { color: var(--muted); }
.legal .summary { background: var(--surface); border-left: 4px solid var(--tora); border-radius: 0 14px 14px 0; padding: 18px 22px; display: grid; gap: 8px; box-shadow: var(--shadow-sm); }
.legal .summary h2 { margin-top: 0; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
table { border-collapse: collapse; width: 100%; min-width: 540px; font-size: 15px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 600; background: var(--sand); }
tr:last-child td { border-bottom: 0; }

/* Filled in before publishing; highlighted so it cannot be missed. */
.placeholder { background: var(--flag); padding: 0 4px; border-radius: 4px; }

/* ---------- 404 ---------- */
.lost { display: grid; justify-items: center; text-align: center; gap: 20px; padding-block: clamp(48px, 9vw, 110px) clamp(72px, 11vw, 130px); }
.lost .app-icon { width: 120px; }
.lost h1 { text-shadow: 0 3px 0 rgba(130, 36, 0, 0.25); }
.lost p { color: var(--on-orange); font-size: 19px; font-weight: 500; max-width: 40ch; }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: var(--night-muted); font-size: 15px; }
.stage + .site-footer { margin-top: clamp(56px, 8vw, 96px); }
.site-footer .wrap { display: grid; gap: 28px; padding-block: 44px 32px; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.footer-brand { display: grid; gap: 10px; }
.footer-brand img { width: 92px; height: auto; }
.footer-brand p { max-width: 36ch; }
.footer-links { display: grid; gap: 6px; justify-items: start; }
.footer-label { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--tora-hi); text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.site-footer a[aria-current="page"] { color: var(--tora-hi); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .games { grid-template-columns: 1fr; }
  .game-hero .wrap { grid-template-columns: 1fr; }
  .icon-stage { order: -1; padding-block: 8px; }
  .icon-stage::before { width: 210px; }
  .support-grid { grid-template-columns: 1fr; }
  .support-grid .faq { order: -1; }
  .contact-card { position: static; }
}
@media (max-width: 640px) {
  /* On narrow screens the band rings fall under the text and break its contrast. */
  .band .ring { display: none; }
  .game-feature { grid-template-columns: 1fr; }
  .game-feature .scene { min-height: 220px; }
  .stats { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .stat { padding: 16px 8px; }
  .stat span { font-size: 13px; }
  .help { grid-template-columns: 1fr; justify-items: start; }
  .help .btn { justify-self: stretch; }
}
@media (max-width: 380px) {
  .site-nav a { padding: 9px 10px; font-size: 14px; }
  .brand img { width: 64px; }
}

@media print {
  .site-header, .site-footer nav, .skip { display: none; }
  body { background: #fff; }
}
