/* Content pages (privacy, about, contact, terms, how to play). The game
   itself is drawn by Flutter and does not use this file. */
:root {
  --bg: #0E1020;
  --panel: #171A33;
  --edge: #2B3062;
  --yellow: #FFD54F;
  --text: rgba(255, 255, 255, .88);
  --dim: rgba(255, 255, 255, .62);
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font: 16px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}
a { color: var(--yellow); }
a:focus-visible, button:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

.top {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 10px 16px;
  background: rgba(14, 16, 32, .94);
  border-bottom: 1px solid var(--edge);
}
.brand {
  display: flex; align-items: center; gap: 8px;
  color: #fff; text-decoration: none; font-weight: 900; letter-spacing: 1px;
}
.brand img { width: 30px; height: 30px; border-radius: 7px; }
.top nav { display: flex; gap: 14px; flex-wrap: wrap; margin-left: auto; font-size: 14px; }
.top nav a { color: var(--dim); text-decoration: none; }
.top nav a:hover, .top nav a[aria-current="page"] { color: #fff; }
.play {
  display: inline-block; padding: 8px 16px; border-radius: 10px;
  background: var(--yellow); color: #1B1A10 !important; font-weight: 800;
  text-decoration: none;
}

main.page { max-width: 760px; margin: 0 auto; padding: 28px 18px 48px; }
main.page h1 { color: #fff; font-size: 30px; line-height: 1.2; margin: 8px 0 6px; }
main.page h2 { color: var(--yellow); font-size: 20px; margin: 30px 0 8px; }
main.page h3 { color: #fff; font-size: 17px; margin: 20px 0 6px; }
.lead { color: var(--dim); margin-top: 0; }
.updated { color: var(--dim); font-size: 14px; }
.card {
  background: var(--panel); border: 2px solid var(--edge); border-radius: 14px;
  padding: 16px 18px; margin: 18px 0;
}
table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 10px 0; }
th, td { text-align: left; vertical-align: top; padding: 8px; border-bottom: 1px solid var(--edge); }
th { color: #fff; }
code { background: #22264a; padding: 1px 5px; border-radius: 5px; font-size: 13px; }
.cta { text-align: center; margin: 34px 0 6px; }
.cta .play { font-size: 18px; padding: 12px 26px; }
figure { margin: 18px 0; }
figure img { max-width: 100%; border-radius: 12px; border: 2px solid var(--edge); }

footer.bottom {
  border-top: 1px solid var(--edge);
  padding: 22px 18px 36px; text-align: center; font-size: 14px; color: var(--dim);
}
footer.bottom nav { display: flex; gap: 8px 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 10px; }
footer.bottom a { color: var(--dim); }
.linkbtn {
  background: none; border: 0; padding: 0; font: inherit; color: var(--dim);
  text-decoration: underline; cursor: pointer;
}

@media (max-width: 600px) {
  .top .play { margin-left: auto; }
  .top nav { order: 3; width: 100%; margin-left: 0; justify-content: center; }
}

/* Ad boxes (web/ads.js fills them when ad units are set up). */
.ad-slot { margin: 26px 0; min-height: 0; text-align: center; }
.ad-slot:empty { display: none; }
.bs-ad-label { font-size: 10px; letter-spacing: 1px; color: var(--dim); margin-bottom: 4px; }
