/* G-Force (/arcade/g-force). The page around the game, in the First Light daylight theme.
   The game itself renders in a shadow root (games/g-force/g-force.js) and styles itself. */
.gfp {
  --gf-ink: #10294a; --gf-ink-2: #2f4868; --gf-red: #c8102e; --gf-line: rgb(16 41 74 / 0.12);
  --gf-display: "Bungee", "Plus Jakarta Sans", system-ui, sans-serif;
  --gf-ui: "Plus Jakarta Sans", "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--gf-ink);
  background:
    radial-gradient(1100px 460px at 88% -6%, rgb(255 201 60 / 0.26), transparent 62%),
    radial-gradient(900px 480px at -8% 2%, rgb(47 140 255 / 0.14), transparent 62%);
}
.gfp-head {
  max-width: 1200px; margin: 0 auto; padding: 18px clamp(12px, 3vw, 32px) 2px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; min-height: 52px;
}
.gfp-back {
  justify-self: start; display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--gf-ui); font-weight: 800; font-size: 14.5px; color: var(--gf-ink);
  padding: 8px 14px; border-radius: 999px; background: rgb(255 255 255 / 0.7);
  border: 1px solid var(--gf-line); text-decoration: none;
  transition: background-color .2s, border-color .2s;
}
.gfp-back:hover { background: #fff; border-color: #d2381a; text-decoration: none; color: var(--gf-ink); }
.gfp-title {
  margin: 0; text-align: center; font-family: var(--gf-display); font-weight: 400;
  font-size: clamp(22px, 2.4vw, 28px); letter-spacing: 0.02em; line-height: 1.1;
  color: var(--gf-red); font-variation-settings: normal;
}
.gfp-title span {
  display: block; margin-top: 3px; font-family: var(--gf-ui); font-weight: 700; font-size: 12px;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--gf-ink-2);
}
/* On the start screen the game's own hero logo is the headline, so the bar title steps aside
   (still read by screen readers as the page's one h1). */
.gfp:has(.gfp-game[data-screen="start"]) .gfp-title {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
/* While the module loads, hold the start screen's real height (measured per layout) so the
   About section below never jumps when the game mounts (CLS). */
.gfp-game { display: block; }
.gfp-game[aria-busy] { min-height: 1560px; }
@media (min-width: 1000px) { .gfp-game[aria-busy] { min-height: 1000px; } }
@media (min-width: 1100px) { .gfp-game[aria-busy] { min-height: 897px; } }
.gfp-fallback {
  display: grid; place-items: center; gap: 10px; padding: 120px 16px; text-align: center;
  font-family: var(--gf-ui); font-weight: 700; color: var(--gf-ink-2);
}
.gfp-fallback img { width: min(320px, 70vw); height: auto; }
.gfp-fallback p { margin: 0; }

/* About + FAQ */
.gfp-about {
  max-width: 1200px; margin: 0 auto; padding: clamp(28px, 5vw, 56px) clamp(16px, 3vw, 32px) clamp(20px, 4vw, 40px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: start;
  font-family: var(--gf-ui);
}
.gfp-kicker { margin: 0 0 6px; font-weight: 800; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: #b92e13; }
.gfp-about h2 {
  margin: 0 0 12px; font-family: var(--gf-display); font-weight: 400; font-size: clamp(28px, 3.2vw, 40px);
  letter-spacing: 0.01em; line-height: 1.05; color: var(--gf-ink); font-variation-settings: normal;
}
.gfp-about-copy > p { margin: 0 0 16px; font-size: 16.5px; line-height: 1.6; color: var(--gf-ink-2); max-width: 56ch; }
.gfp-about a:not([class]) { color: #0e66a3; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.gfp-tiers { list-style: none; margin: 4px 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.gfp-tiers li {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 8px 7px 10px; border-radius: 999px;
  background: #fff; border: 1px solid var(--gf-line); font-weight: 800; font-size: 14px; color: var(--gf-ink);
  box-shadow: 0 1px 2px rgb(16 41 74 / 0.06);
}
.gfp-tiers i { width: 12px; height: 12px; border-radius: 50%; }
.gfp-tiers b { font-size: 12px; padding: 2px 8px; border-radius: 999px; background: #eef3f8; }
.gfp-tiers .t1 { background: #38bdf8; } .gfp-tiers .t2 { background: #10b981; } .gfp-tiers .t3 { background: #eab308; }
.gfp-tiers .t4 { background: #f97316; } .gfp-tiers .t5 { background: #e11d48; }
.gfp-faq { display: grid; gap: 10px; }
.gfp-faq-item {
  background: #fff; border-radius: 16px; border: 1px solid var(--gf-line);
  box-shadow: 0 1px 2px rgb(16 41 74 / 0.08), 0 10px 24px -18px rgb(16 41 74 / 0.4);
}
.gfp-faq-item summary {
  cursor: pointer; list-style: none; padding: 16px 48px 16px 18px; position: relative;
  font-weight: 800; font-size: 16px; color: var(--gf-ink);
}
.gfp-faq-item summary::-webkit-details-marker { display: none; }
.gfp-faq-item summary::after {
  content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%;
  background: #eef3f8; color: var(--gf-ink); font-size: 18px; font-weight: 700; line-height: 1;
}
.gfp-faq-item[open] summary::after { content: "−"; background: #c8102e; color: #fff; }
.gfp-faq-item summary:focus-visible { outline: 3px solid #0e66a3; outline-offset: 2px; border-radius: 16px; }
.gfp-faq-item p { margin: 0; padding: 0 18px 18px; font-size: 15.5px; line-height: 1.6; color: var(--gf-ink-2); }

@media (max-width: 860px) {
  .gfp-about { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .gfp-head { padding-top: 12px; }
  .gfp-back { font-size: 13.5px; padding: 7px 12px; }
  .gfp-title span { font-size: 10.5px; }
}

/* The current-page nav link on the daylight bar: the shared coral (#d2381a) is 3.96:1 on the
   pale sky, so this page uses the deeper coral (4.9:1, WCAG AA). */
html.fl-bar .sb-link.is-current { color: #b92e13; }
