/* Reading pages (tanıtım + makale) — same palette as the game */
:root {
  --ink: #0f2a4a;
  --navy: #1e3a5f;
  --muted: #475569;
  --line: #f97316;
  --line-dark: #c2410c;
  --paper: #ffffff;
  --bg: #f1f5fb;
  --rule: #dbe7f0;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: 'Nunito', system-ui, sans-serif; font-weight: 600; font-size: 18px; line-height: 1.7;
}
a { color: var(--line-dark); text-underline-offset: 3px; }
a:hover { color: var(--navy); }

.topbar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 16px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--rule);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-family: 'Fredoka', system-ui, sans-serif; font-weight: 700; font-size: 20px; }
.brand img { width: 34px; height: 34px; }
.play {
  display: inline-flex; align-items: center; gap: 6px; padding: 9px 18px 11px; border-radius: 999px;
  background: var(--line); color: #fff; text-decoration: none; font-family: 'Fredoka', system-ui, sans-serif; font-weight: 600;
  box-shadow: 0 4px 0 var(--line-dark); transition: transform .15s;
}
.play:hover { color: #fff; transform: translateY(-2px); }

.page { max-width: 760px; margin: 0 auto; padding: 32px 16px 64px; }
.paper { background: var(--paper); border-radius: 28px; padding: clamp(22px, 5vw, 48px); box-shadow: 0 10px 30px rgba(15, 42, 74, .08); }
.kicker { display: inline-block; margin-bottom: 8px; padding: 3px 12px; border-radius: 999px; background: #ffedd5; color: var(--line-dark); font-size: 14px; font-weight: 800; }
h1 { margin: 0 0 6px; font-family: 'Fredoka', system-ui, sans-serif; font-weight: 700; font-size: clamp(32px, 6vw, 46px); line-height: 1.12; color: var(--navy); }
.subtitle { margin: 0 0 24px; color: var(--muted); font-style: italic; }
h2 { margin: 36px 0 10px; font-family: 'Fredoka', system-ui, sans-serif; font-weight: 600; font-size: clamp(23px, 3.6vw, 28px); line-height: 1.25; color: var(--navy); }
p { margin: 0 0 16px; }
ul, ol { margin: 0 0 18px; padding-left: 1.3em; }
li { margin-bottom: 6px; }
strong { color: var(--navy); font-weight: 800; }
table { width: 100%; border-collapse: collapse; margin: 6px 0 20px; font-size: 16px; }
th, td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--rule); vertical-align: top; }
th { background: #f1f5f9; color: var(--navy); font-weight: 800; }
.refs { margin-top: 8px; padding: 0; list-style: none; font-size: 15px; line-height: 1.55; color: var(--muted); }
.refs li { margin-bottom: 10px; padding-left: 1.6em; text-indent: -1.6em; overflow-wrap: anywhere; }
.refs em { color: var(--ink); }
.cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.cta .ghost { padding: 9px 18px 11px; border-radius: 999px; background: #f1f5f9; color: var(--navy); text-decoration: none; font-family: 'Fredoka', system-ui, sans-serif; font-weight: 600; }
.foot { margin-top: 20px; text-align: center; font-size: 14px; color: var(--muted); }
.langs { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: #f1f5f9; }
.langs a {
  min-width: 38px; padding: 4px 8px; border-radius: 999px; text-align: center; text-decoration: none;
  font-family: 'Fredoka', system-ui, sans-serif; font-weight: 600; font-size: 14px; color: var(--navy);
}
.langs a:hover { background: #e0f2fe; }
.langs a[aria-current="page"] { background: var(--navy); color: #fff; }
@media (max-width: 560px) {
  .topbar { flex-wrap: wrap; row-gap: 8px; padding: 8px 12px; }
  .brand { font-size: 17px; gap: 8px; min-width: 0; }
  .brand img { width: 28px; height: 28px; }
  .topbar > .play { padding: 7px 14px 9px; font-size: 15px; }
  .langs { order: 3; width: 100%; justify-content: center; }
}
