/* BraaiVille – shared styling for the standalone content pages
   (how-to-play.html, about.html, privacy.html) */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: #0a0f1e;
  color: #cdd9e8;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

/* ── Header ─────────────────────────────────────────────────────────── */
.site-head {
  background: #0f1929;
  border-bottom: 1px solid #1e3a5f;
  padding: 14px 20px;
}
.site-head-inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.site-logo {
  font-size: 21px;
  font-weight: 700;
  color: #e94560;
  text-decoration: none;
  white-space: nowrap;
}
.site-nav { margin-left: auto; display: flex; gap: 20px; flex-wrap: wrap; }
.site-nav a {
  color: #9ab0cc;
  text-decoration: none;
  font-size: 14px;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: #fff; }
.site-nav a.current { color: #f5a623; border-bottom-color: #f5a623; }
.play-btn {
  background: #e94560;
  color: #fff !important;
  padding: 7px 16px;
  border-radius: 5px;
  font-weight: 600;
  border-bottom: none !important;
}
.play-btn:hover { background: #c73050; }

/* ── Content ────────────────────────────────────────────────────────── */
main {
  max-width: 860px;
  margin: 0 auto;
  padding: 34px 20px 60px;
}
h1 {
  font-size: 32px;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 6px;
}
.lede {
  font-size: 17px;
  color: #9ab0cc;
  margin-bottom: 30px;
  padding-bottom: 22px;
  border-bottom: 1px solid #1e3a5f;
}
h2 {
  font-size: 21px;
  color: #f5a623;
  margin: 36px 0 12px;
  line-height: 1.35;
}
h3 { font-size: 16px; color: #fff; margin: 22px 0 8px; }
p  { margin-bottom: 14px; }
ul, ol { margin: 0 0 16px 22px; }
li { margin-bottom: 8px; }
strong { color: #fff; }
em { color: #f5c842; font-style: normal; }
a { color: #64b5f6; }
a:hover { color: #90caf9; }

kbd {
  background: #1e3a5f;
  border-radius: 3px;
  padding: 2px 7px;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 13px;
  color: #fff;
  white-space: nowrap;
}

.steps { counter-reset: step; list-style: none; margin-left: 0; }
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 44px;
  margin-bottom: 16px;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: 1px;
  width: 30px; height: 30px;
  background: #e94560;
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px;
}

.callout {
  background: rgba(245,166,35,0.10);
  border-left: 3px solid #f5a623;
  border-radius: 5px;
  padding: 14px 18px;
  margin: 20px 0;
}
.callout.warn { background: rgba(244,67,54,0.10); border-left-color: #f44336; }
.callout.good { background: rgba(76,175,80,0.10); border-left-color: #4caf50; }
.callout p:last-child { margin-bottom: 0; }

.meta { color: #607d8b; font-size: 13px; }

table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 22px;
  font-size: 14.5px;
  display: block;
  overflow-x: auto;
}
th, td {
  text-align: left;
  padding: 9px 12px;
  border-bottom: 1px solid #1e3a5f;
  vertical-align: top;
}
th { color: #9ab0cc; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }

/* ── Footer ─────────────────────────────────────────────────────────── */
.site-foot {
  border-top: 1px solid #16223a;
  padding: 22px 20px 40px;
  font-size: 13px;
  color: #4a5a75;
}
.site-foot-inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}
.site-foot nav { margin-left: auto; display: flex; gap: 18px; flex-wrap: wrap; }
.site-foot a { color: #5a7a9f; text-decoration: none; }
.site-foot a:hover { color: #9ab0cc; text-decoration: underline; }
.site-foot small { display: inline-block; margin-top: 4px; font-size: 11.5px;
  color: #3f5170; line-height: 1.6; }

@media (max-width: 640px) {
  h1 { font-size: 26px; }
  .site-nav, .site-foot nav { margin-left: 0; width: 100%; }
  main { padding-top: 26px; }
}
