@font-face { font-family: "Anton"; src: url("Anton-Regular.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Barlow"; src: url("Barlow-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("Barlow-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }

:root {
  --paper: #f4f0e6;
  --paper-2: #ebe5d6;
  --ink: #161b22;
  --ink-2: #4a4f57;
  --line: #d8d1c0;
  --night: #121821;
  --night-2: #1b2330;
  --yellow: #ffd23f;
  --water: #84bce0;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Dil: <html data-lang="en|tr">, metinler lang="en" / lang="tr" ile işaretli */
html[data-lang="en"] [lang="tr"]:not(html),
html[data-lang="tr"] [lang="en"]:not(html) { display: none !important; }

/* Üst şerit */
.top { border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { font-family: "Anton", Impact, sans-serif; font-size: 24px; letter-spacing: .06em; text-decoration: none; line-height: 1; }
.logo small { font-family: "Barlow", sans-serif; font-weight: 600; font-size: 11px; letter-spacing: .28em; margin-left: 6px; color: var(--ink-2); vertical-align: 4px; }
.top nav { margin-left: auto; display: flex; align-items: center; gap: 20px; font-weight: 600; font-size: 15px; }
.top nav a { text-decoration: none; }
.top nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.langs { display: flex; border: 1px solid var(--ink); border-radius: 6px; overflow: hidden; }
.langs button { font: inherit; font-size: 13px; padding: 3px 9px; border: 0; background: transparent; color: var(--ink); cursor: pointer; }
html[data-lang="en"] .langs [data-set="en"],
html[data-lang="tr"] .langs [data-set="tr"] { background: var(--ink); color: var(--paper); }

/* Oyun tanıtımı */
.game { background: var(--night); color: #f1ede3; }
.game .wrap { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.kicker { font-weight: 600; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--yellow); margin: 0 0 14px; }
.game h1 { font-family: "Anton", Impact, sans-serif; font-weight: 400; font-size: clamp(40px, 6vw, 64px); line-height: 1.02; margin: 0 0 18px; letter-spacing: .01em; }
.game h1 span { display: block; color: var(--yellow); }
.game p { color: #c9c4b8; margin: 0 0 22px; max-width: 34em; }
.facts { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.facts li { font-size: 14px; font-weight: 600; padding: 4px 10px; border: 1px solid #3a4352; border-radius: 4px; color: #e4dfd3; }
.store { display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 10px 12px; border-radius: 8px; background: #000; color: #fff; text-decoration: none; border: 1px solid #555; }
.store img { width: 36px; height: 36px; border-radius: 8px; }
.store b { display: block; font-size: 17px; line-height: 1.1; }
.store i { display: block; font-style: normal; font-size: 12px; color: #aaa; }

.device { background: #0b0f15; border-radius: 22px; padding: 10px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.device img { border-radius: 14px; width: 100%; }

/* Bölümler */
section.block { padding: 72px 0; }
section.block + section.block { border-top: 1px solid var(--line); }
h2 { font-family: "Anton", Impact, sans-serif; font-weight: 400; font-size: 34px; line-height: 1.1; margin: 0 0 28px; letter-spacing: .01em; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; counter-reset: s; }
.steps div { border-top: 3px solid var(--ink); padding-top: 14px; }
.steps h3 { margin: 0 0 6px; font-size: 19px; }
.steps h3::before { counter-increment: s; content: "0" counter(s) "  "; color: #b39200; font-variant-numeric: tabular-nums; }
.steps p { margin: 0; color: var(--ink-2); }

.wide { margin-top: 48px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.caption { font-size: 14px; color: var(--ink-2); margin-top: 10px; }

.cities { columns: 4 160px; column-gap: 24px; padding: 0; margin: 0; list-style: none; font-weight: 600; }
.cities li { padding: 5px 0; border-bottom: 1px solid var(--line); break-inside: avoid; display: flex; gap: 10px; }
.cities li span { color: #a19a8a; font-variant-numeric: tabular-nums; width: 1.6em; }

.studio { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.studio p { margin: 0 0 14px; color: var(--ink-2); }
.mail { font-weight: 600; font-size: 20px; }

/* Alt bilgi */
footer.foot { background: var(--paper-2); border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
footer.foot .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-top: 24px; padding-bottom: 32px; }
footer.foot a { text-decoration: none; }
footer.foot a:hover { text-decoration: underline; }
footer.foot .right { margin-left: auto; }

/* Yasal metin sayfaları */
.doc { max-width: 760px; padding-top: 48px; padding-bottom: 72px; }
.doc h1 { font-family: "Anton", Impact, sans-serif; font-weight: 400; font-size: 40px; line-height: 1.1; margin: 0 0 6px; }
.doc .muted { color: var(--ink-2); font-size: 15px; margin: 0 0 8px; }
.doc .toc { display: flex; flex-wrap: wrap; gap: 6px 18px; font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.doc section { padding: 8px 0 24px; border-top: 1px solid var(--line); margin-top: 32px; }
.doc h2 { font-size: 22px; margin: 28px 0 8px; }
.doc section > h2:first-child { font-size: 30px; }
.doc a { color: #7a5f00; }
.doc ul { padding-left: 20px; }

@media (max-width: 820px) {
  .game .wrap { grid-template-columns: 1fr; gap: 36px; padding-top: 44px; padding-bottom: 48px; }
  .steps, .studio { grid-template-columns: 1fr; gap: 28px; }
  section.block { padding: 52px 0; }
  .top nav .hide-s { display: none; }
  footer.foot .right { margin-left: 0; }
}
