/* Shared styles for the static, crawlable content pages (/pravila,
   /strategija, /o-igri). Kept separate from the SPA's src/style.css: these
   pages are served verbatim from public/ with no JS at all. */
:root {
  --felt: #0b3d2e;
  --felt-light: #145c42;
  --gold: #d9b45f;
  --ink: #f4ead3;
  --text: #2a2a2a;
  --muted: #666;
  --bg: #faf7f0;
  --card: #fff;
  --border: #e2ddd0;
  --link: #145c42;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --text: #ddd;
    --muted: #999;
    --bg: #14140f;
    --card: #1f1f18;
    --border: #333;
    --link: #9fd8b8;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 17px;
}
a { color: var(--link); }
.site-header {
  background: radial-gradient(circle at 50% 0%, var(--felt-light), var(--felt) 70%);
  color: var(--ink);
  padding: 28px 16px 20px;
  text-align: center;
}
.site-header h1 { margin: 0 0 6px; font-size: clamp(26px, 5vw, 36px); }
.site-header p { margin: 0; color: var(--gold); }
.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 18px;
  margin-top: 16px;
}
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 600; }
.site-nav a[aria-current="page"] { color: var(--gold); text-decoration: underline; }
main { max-width: 780px; margin: 0 auto; padding: 28px 16px 56px; }
h2 {
  color: var(--link);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 6px;
  margin-top: 40px;
}
h3 { margin-bottom: 4px; }
ul, ol { padding-left: 22px; }
.box {
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: 6px;
  padding: 14px 18px;
  margin: 18px 0;
}
table { border-collapse: collapse; width: 100%; margin: 14px 0; font-size: 15px; }
th, td { border: 1px solid var(--border); padding: 8px 10px; text-align: left; }
th { background: var(--card); }
.table-wrap { overflow-x: auto; }
.cta {
  display: inline-block;
  background: var(--gold);
  color: #1d1a10;
  font-weight: 700;
  padding: 12px 26px;
  border-radius: 8px;
  text-decoration: none;
  margin: 8px 0;
}
.lang-divider {
  margin: 56px 0 8px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.site-footer {
  text-align: center;
  padding: 24px 16px 40px;
  font-size: 14px;
  color: var(--muted);
}
.site-footer a { margin: 0 8px; }
