/* Negro Blanco Software — site stilleri
   Dil: siyah / kemik beyazı zıtlığı + tek vurgu (vermilyon). Başlık Bricolage Grotesque,
   metin Hanken Grotesk, vurgu sözcükleri Instrument Serif italik. Yazı tipleri /fonts altında. */

:root {
  --ink: #0c0c0d;
  --paper: #f3efe6;
  --paper-2: #e9e3d6;
  --accent: #ff4b1f;
  --accent-ink: #c2330f;
  --muted: #66625a;
  --muted-dark: #a19d94;
  --line: rgba(12, 12, 13, 0.14);
  --line-dark: rgba(243, 239, 230, 0.16);

  --display: "Bricolage Grotesque", "Arial Black", sans-serif;
  --body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* ince kâğıt dokusu */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--accent-ink); }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 200; background: var(--ink); color: var(--paper); padding: 8px 12px; }

/* ---------- üst bar ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243, 239, 230, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  min-height: 68px;
  flex-wrap: wrap;
  padding-top: 10px;
  padding-bottom: 10px;
}

.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo-mark { width: 30px; height: 30px; flex: 0 0 auto; transition: transform 0.6s cubic-bezier(.2, .8, .2, 1); }
.logo:hover .logo-mark { transform: rotate(180deg); }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text b { font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }
.logo-text small {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

.nav { display: flex; gap: 4px 22px; flex-wrap: wrap; font-size: 15px; font-weight: 500; }
.nav a { text-decoration: none; color: var(--muted); padding: 4px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }

/* ---------- ana sayfa: kahraman ---------- */

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: min(74vh, 700px);
  border-bottom: 1px solid var(--ink);
}
.hero-half {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(28px, 5vw, 64px) var(--gutter);
  overflow: hidden;
}
.hero-half.dark { background: var(--ink); color: var(--paper); align-items: flex-end; text-align: right; }
.hero-half.light { background: var(--paper); color: var(--ink); }
.hero-word {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(64px, 12.5vw, 188px);
  line-height: 0.82;
  letter-spacing: -0.055em;
  margin: 0;
}
.hero-kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin: 0;
  opacity: 0.7;
}

/* dikiş yerindeki soru işareti */
.seam {
  position: absolute;
  left: 50%;
  top: 46%;
  width: clamp(76px, 10vw, 128px);
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(56px, 7.5vw, 96px);
  line-height: 1;
  box-shadow: 0 0 0 10px var(--paper), 0 0 0 11px var(--ink);
  z-index: 2;
}
.seam span { transform: translateY(6%); }

.intro { border-bottom: 1px solid var(--line); }
.intro .wrap {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px 64px;
  padding-top: clamp(40px, 6vw, 80px);
  padding-bottom: clamp(40px, 6vw, 80px);
  align-items: end;
}
.intro h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(32px, 4.6vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 0;
}
.intro h1 em, .game h2 em, .cta h2 em {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.01em;
}
.intro h1 em { color: var(--accent-ink); }
.intro p { margin: 0; color: var(--muted); }
.intro p + p { margin-top: 14px; }
.intro .en { font-size: 15px; }

/* ---------- bölüm etiketi ---------- */

.label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  margin: 0 0 20px;
}
.label::before { content: ""; width: 22px; height: 2px; background: var(--accent); }

/* ---------- ilk oyun (koyu bant) ---------- */

.game { background: var(--ink); color: var(--paper); }
.game .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px 72px;
  padding-top: clamp(56px, 8vw, 112px);
  padding-bottom: clamp(64px, 8vw, 112px);
  align-items: center;
}
.game h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
}
.game h2 em { color: var(--accent); }
.game p { color: var(--muted-dark); margin: 0 0 28px; max-width: 520px; }

.features { list-style: none; margin: 0 0 32px; padding: 0; border-top: 1px solid var(--line-dark); }
.features li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-dark);
}
.features b { display: block; font-weight: 600; color: var(--paper); }
.features span { color: var(--muted-dark); font-size: 15px; }
.features i { font-style: normal; font-family: var(--display); font-weight: 700; color: var(--accent); font-size: 14px; padding-top: 2px; }

.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse 2.4s ease-in-out infinite; }

/* soru kartı — oyunun küçük bir tasviri */
.qcard {
  position: relative;
  background: var(--paper);
  color: var(--ink);
  border-radius: 18px;
  padding: 26px 22px 22px;
  max-width: 440px;
  width: 100%;
  justify-self: center;
  box-shadow: 14px 14px 0 var(--accent);
  transform: rotate(-1.5deg);
}
.qcard-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.qcard-timer { height: 6px; border-radius: 6px; background: var(--paper-2); overflow: hidden; margin-bottom: 20px; }
.qcard-timer::after {
  content: "";
  display: block;
  height: 100%;
  background: var(--ink);
  transform-origin: left;
  animation: timer 9s linear infinite;
}
.game .qcard-q {
  color: var(--ink);
  max-width: none;
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0 0 18px;
}
.qcard-opts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.qcard-opts li {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1.5px solid var(--ink);
  border-radius: 12px;
  padding: 11px 14px;
  font-weight: 600;
  font-size: 16px;
}
.qcard-opts kbd {
  font-family: var(--display);
  font-weight: 800;
  font-size: 13px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: var(--ink);
  color: var(--paper);
  flex: 0 0 auto;
}
.qcard-opts li.right { background: var(--ink); color: var(--paper); }
.qcard-opts li.right kbd { background: var(--accent); color: var(--ink); }
.qcard-opts li.right::after {
  content: "+120";
  margin-left: auto;
  font-family: var(--display);
  font-weight: 800;
  color: var(--accent);
  font-size: 14px;
}
.qcard-players { display: flex; align-items: center; margin-top: 18px; font-size: 13px; color: var(--muted); font-weight: 600; }
.qcard-players span {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid var(--paper);
  margin-left: -8px;
  background: var(--ink);
}
.qcard-players span:first-child { margin-left: 0; background: var(--accent); }
.qcard-players span:nth-child(3) { background: var(--muted); }
.qcard-players span:nth-child(4) { background: var(--paper-2); border-color: var(--ink); }
.qcard-players em { font-style: normal; margin-left: 10px; }

/* ---------- ilkeler ---------- */

.principles .wrap { padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(56px, 8vw, 104px); }
.principles-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.principle { padding: 28px 28px 8px 0; }
.principle + .principle { padding-left: 28px; border-left: 1px solid var(--line); }
.principle .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 44px;
  line-height: 1;
  color: var(--accent-ink);
  display: block;
  margin-bottom: 18px;
}
.principle h3 { font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; margin: 0 0 10px; }
.principle p { margin: 0; color: var(--muted); font-size: 16px; }

/* ---------- künye ---------- */

.colophon { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.colophon .wrap {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 28px 64px;
  padding-top: clamp(48px, 6vw, 80px);
  padding-bottom: clamp(48px, 6vw, 80px);
}
.colophon h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 40px);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0;
}
.colophon h2 + p { color: var(--muted); margin: 12px 0 0; font-size: 15px; }
.facts { margin: 0; display: grid; grid-template-columns: max-content 1fr; }
.facts dt, .facts dd { padding: 14px 0; border-bottom: 1px solid var(--line); margin: 0; }
.facts dt {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  padding-right: 32px;
  padding-top: 18px;
}
.facts dd { font-size: 18px; font-weight: 500; overflow-wrap: anywhere; }

/* ---------- iletişim çağrısı ---------- */

.cta .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px 40px;
  flex-wrap: wrap;
  padding-top: clamp(48px, 6vw, 88px);
  padding-bottom: clamp(48px, 6vw, 88px);
}
.cta h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(30px, 4.4vw, 56px);
  letter-spacing: -0.035em;
  line-height: 1;
  margin: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  padding: 16px 24px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.btn:hover { background: var(--accent); color: var(--ink); transform: translateY(-2px); }
.btn .arrow { transition: transform 0.2s; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- alt bilgi ---------- */

.footer { background: var(--ink); color: var(--paper); overflow: hidden; }
.footer .wrap { padding-top: 56px; padding-bottom: 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; padding-bottom: 48px; }
.footer h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted-dark);
  margin: 0 0 14px;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 8px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--accent); }
.footer p { margin: 0; color: var(--muted-dark); max-width: 340px; font-size: 15px; }
.footer .footer-word {
  max-width: none;
  color: var(--paper);
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(40px, 11.6vw, 160px);
  letter-spacing: -0.06em;
  line-height: 0.85;
  margin: 0 0 0 -0.04em;
  white-space: nowrap;
}
.footer .footer-word span { color: transparent; -webkit-text-stroke: 1.5px var(--paper); }
.footer-base {
  display: flex;
  justify-content: space-between;
  gap: 8px 24px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line-dark);
  margin-top: 28px;
  padding-top: 20px;
  font-size: 13px;
  color: var(--muted-dark);
}

/* ---------- belge sayfaları ---------- */

.doc-head { background: var(--ink); color: var(--paper); position: relative; overflow: hidden; }
.doc-head::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: clamp(160px, 26vw, 340px);
  aspect-ratio: 1;
  border-radius: 50%;
  translate: 35% -50%;
  background: linear-gradient(90deg, var(--paper) 50%, transparent 50%);
  border: 1.5px solid var(--paper);
}
.doc-head .wrap { padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(40px, 6vw, 72px); position: relative; z-index: 1; }
.doc-head .label { color: var(--muted-dark); }
.doc-head h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(40px, 7vw, 88px);
  letter-spacing: -0.045em;
  line-height: 0.95;
  margin: 0 0 18px;
  max-width: 13ch;
}
.doc-head .meta { color: var(--muted-dark); font-size: 15px; margin: 0; }
.doc-head .meta em { font-family: var(--serif); font-size: 18px; color: var(--paper); }

.doc .wrap {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 56px;
  padding-top: clamp(40px, 6vw, 72px);
  padding-bottom: clamp(56px, 8vw, 104px);
}

.toc { position: sticky; top: 96px; align-self: start; font-size: 14px; }
.toc h2 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 12px;
}
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: t; border-left: 1px solid var(--line); }
.toc li { counter-increment: t; }
.toc a {
  display: block;
  padding: 6px 0 6px 16px;
  text-decoration: none;
  color: var(--muted);
  margin-left: -1px;
  border-left: 2px solid transparent;
}
.toc a::before {
  content: counter(t, decimal-leading-zero) "  ";
  white-space: pre;
  font-variant-numeric: tabular-nums;
  color: var(--accent-ink);
  font-weight: 700;
  font-size: 12px;
}
.toc a:hover { color: var(--ink); border-left-color: var(--accent); }

.prose { max-width: 70ch; counter-reset: s; min-width: 0; }
.prose > p:first-child { font-size: 20px; line-height: 1.5; color: var(--ink); margin-top: 0; }
.prose h2 {
  counter-increment: s;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(22px, 2.6vw, 28px);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 56px 0 14px;
  padding-top: 20px;
  border-top: 1px solid var(--ink);
  scroll-margin-top: 96px;
}
.prose h2::before {
  content: counter(s, decimal-leading-zero);
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 18px;
  color: var(--accent-ink);
  margin-bottom: 6px;
}
.prose h3 { font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: -0.01em; margin: 32px 0 8px; }
.prose p, .prose li { color: #2b2a27; }
.prose ul { padding-left: 0; list-style: none; }
.prose ul li { position: relative; padding-left: 26px; margin-bottom: 10px; }
.prose ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.78em;
  width: 10px;
  height: 2px;
  background: var(--accent);
}
.prose strong { color: var(--ink); }

.callout {
  border: 1.5px solid var(--ink);
  border-radius: 14px;
  padding: 24px;
  margin: 8px 0 32px;
  background: var(--paper);
  box-shadow: 8px 8px 0 var(--ink);
}
.callout h3 { margin-top: 0; }
.callout p:last-child { margin-bottom: 0; }

.en-note {
  margin-top: 48px;
  padding: 20px 24px;
  background: var(--paper-2);
  border-left: 3px solid var(--accent);
  font-size: 15px;
}
.en-note b {
  font-family: var(--display);
  letter-spacing: 0.14em;
  font-size: 12px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
}

/* ---------- hareket ---------- */

@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; scale: 0.4; rotate: -40deg; } to { opacity: 1; scale: 1; rotate: 0deg; } }
@keyframes timer { from { transform: scaleX(1); } to { transform: scaleX(0); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.hero-word, .hero-kicker { animation: rise 0.9s cubic-bezier(.2, .8, .2, 1) both; }
.hero-half.light .hero-word { animation-delay: 0.12s; }
.hero-half.light .hero-kicker { animation-delay: 0.2s; }
.seam { animation: pop 0.8s 0.35s cubic-bezier(.3, 1.4, .5, 1) both; }
.intro .wrap > * { animation: rise 0.9s 0.45s cubic-bezier(.2, .8, .2, 1) both; }
.intro .wrap > :last-child { animation-delay: 0.55s; }
.doc-head .wrap > * { animation: rise 0.8s cubic-bezier(.2, .8, .2, 1) both; }
.doc-head .wrap > :nth-child(2) { animation-delay: 0.08s; }
.doc-head .wrap > :nth-child(3) { animation-delay: 0.16s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- dar ekranlar ---------- */

@media (max-width: 900px) {
  .intro .wrap, .game .wrap, .colophon .wrap { grid-template-columns: 1fr; }
  .principles-grid { grid-template-columns: 1fr; }
  .principle, .principle + .principle { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .doc .wrap { grid-template-columns: 1fr; gap: 8px; }
  .toc { position: static; margin-bottom: 8px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .qcard { transform: none; box-shadow: 10px 10px 0 var(--accent); }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-half { min-height: 196px; padding-top: 22px; padding-bottom: 24px; gap: 28px; }
  .hero-half.dark { align-items: flex-start; text-align: left; }
  .hero-word { font-size: clamp(60px, 22vw, 120px); }
  .seam { left: auto; right: var(--gutter); top: 50%; translate: 0 -50%; width: 84px; font-size: 60px; box-shadow: 0 0 0 7px var(--paper), 0 0 0 8px var(--ink); }
  .facts { grid-template-columns: 1fr; }
  .facts dt { border-bottom: 0; padding-bottom: 0; }
  .facts dd { padding-top: 4px; }
  .nav { gap: 4px 16px; font-size: 14px; }
  .doc-head::after { opacity: 0.3; }
  .qcard { padding: 22px 16px 18px; }
  .game .qcard-q { font-size: 20px; }
}
