@font-face { font-family: "Outfit"; src: url("fonts/Outfit-600.ttf") format("truetype"); font-weight: 400 600; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("fonts/Outfit-800.ttf") format("truetype"); font-weight: 700 900; font-display: swap; }

:root {
  --paper: #f6f0e5;
  --paper-2: #efe7d8;
  --ink: #111111;
  --ink-2: #1a1918;
  --ink-soft: #3b3834;
  --muted: #7a7268;
  --muted-dark: #a39a8d;
  --rule: rgba(17, 17, 17, 0.14);
  --rule-dark: rgba(246, 240, 229, 0.14);
  --bronze: #a8773f;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Noto Serif", serif;
  --sans: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
::selection { background: var(--ink); color: var(--paper); }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.5px; }
.label { font-size: 12px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); }

/* Üst şerit */
.top { position: fixed; inset: 0 0 auto; z-index: 20; transition: background .4s var(--ease), border-color .4s; border-bottom: 1px solid transparent; }
.top.scrolled { background: rgba(246, 240, 229, 0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--rule); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 40px; height: 40px; }
.brand b { font-weight: 800; font-size: 17px; letter-spacing: 0.3px; }
.brand i { font-family: var(--serif); font-size: 17px; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 34px; font-size: 14px; font-weight: 600; letter-spacing: 0.4px; }
.nav a { text-decoration: none; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 1px; background: currentColor; transition: right .35s var(--ease); }
.nav a:hover::after { right: 0; }
.nav .pill { border: 1px solid var(--ink); border-radius: 999px; padding: 9px 18px; transition: background .3s, color .3s; }
.nav .pill::after { display: none; }
.nav .pill:hover { background: var(--ink); color: var(--paper); }

/* Giriş */
.hero { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 130px 0 48px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: end; }
.hero h1 { font-size: clamp(54px, 9.4vw, 148px); line-height: 0.9; letter-spacing: -0.045em; font-weight: 800; margin: 18px 0 0; }
.hero h1 .serif { font-weight: 400; letter-spacing: -0.03em; }
.hero-bird { justify-self: end; width: min(520px, 100%); margin-bottom: -10px; animation: glide 9s ease-in-out infinite; }
@keyframes glide { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-14px) rotate(-1.5deg); } }
.hero-foot { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--rule); display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: start; }
.hero-foot p { margin: 0; font-size: 19px; color: var(--ink-soft); max-width: 540px; }
.hero-foot .meta { display: flex; justify-content: space-between; gap: 20px; }
.hero-foot .meta div { display: flex; flex-direction: column; gap: 4px; }
.hero-foot .meta strong { font-size: 15px; font-weight: 600; }
.scroll-cue { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 14px; font-weight: 600; }
.scroll-cue span { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--ink); display: grid; place-items: center; transition: background .3s, color .3s; }
.scroll-cue:hover span { background: var(--ink); color: var(--paper); }

/* Bölüm başlığı */
section { padding: 140px 0; }
.sec-head { display: grid; grid-template-columns: 220px 1fr; gap: 40px; margin-bottom: 80px; }
.sec-head h2 { margin: 0; font-size: clamp(38px, 5.2vw, 72px); line-height: 1; letter-spacing: -0.035em; font-weight: 800; }
.sec-head .num { padding-top: 14px; }

/* Manifesto */
.manifesto p.big { font-family: var(--serif); font-size: clamp(28px, 3.4vw, 46px); line-height: 1.25; letter-spacing: -0.01em; margin: 0 0 0 260px; max-width: 880px; color: var(--ink); }
.principles { margin-top: 110px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule); }
.principle { padding: 34px 34px 10px 0; }
.principle + .principle { padding-left: 34px; border-left: 1px solid var(--rule); }
.principle .label { display: block; margin-bottom: 26px; }
.principle h3 { font-size: 26px; letter-spacing: -0.02em; margin: 0 0 10px; font-weight: 800; }
.principle p { color: var(--ink-soft); margin: 0; font-size: 16px; }

/* Oyunlar (koyu) */
.dark { background: var(--ink); color: var(--paper); }
.dark .label { color: var(--muted-dark); }
.game { display: grid; grid-template-columns: 1.35fr 1fr; gap: 0; border: 1px solid var(--rule-dark); border-radius: 6px; overflow: hidden; text-decoration: none; background: var(--ink-2); }
.game-media { position: relative; min-height: 520px; overflow: hidden; }
.game-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.game:hover .game-media img { transform: scale(1.04); }
.game-media .chip { position: absolute; left: 22px; top: 22px; background: var(--paper); color: var(--ink); font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; padding: 7px 14px; border-radius: 999px; }
.game-body { padding: 52px 48px; display: flex; flex-direction: column; }
.game-body .label { margin-bottom: 26px; }
.game-title { display: flex; align-items: center; gap: 16px; }
.game-title img { width: 60px; height: 60px; border-radius: 14px; }
.game-title h3 { margin: 0; font-size: 44px; letter-spacing: 0.02em; font-weight: 800; line-height: 1; }
.game-body .tagline { font-family: var(--serif); font-style: italic; font-size: 24px; margin: 26px 0 14px; line-height: 1.3; }
.game-body p { color: var(--muted-dark); margin: 0; }
.facts { margin: 34px 0 40px; border-top: 1px solid var(--rule-dark); }
.facts div { display: flex; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid var(--rule-dark); font-size: 15px; }
.facts dt, .facts dd { margin: 0; }
.facts dt { color: var(--muted-dark); }
.cta { margin-top: auto; display: inline-flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 24px; border-radius: 999px; background: var(--paper); color: var(--ink); font-weight: 700; transition: gap .3s var(--ease); }
.game:hover .cta { gap: 22px; }
.next { margin-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 28px 0; border-top: 1px solid var(--rule-dark); border-bottom: 1px solid var(--rule-dark); }
.next p { margin: 0; font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--muted-dark); }

/* İletişim */
.contact .big-mail { display: block; font-size: clamp(22px, 4.3vw, 62px); font-weight: 800; letter-spacing: -0.035em; text-decoration: none; line-height: 1; margin: 0 0 0 260px; word-break: break-word; background: linear-gradient(var(--ink), var(--ink)) left bottom / 0 3px no-repeat; transition: background-size .6s var(--ease); padding-bottom: 10px; }
.contact .big-mail:hover { background-size: 100% 3px; }
.contact-rows { margin: 90px 0 0 260px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule); }
.contact-rows div { padding: 26px 26px 0 0; }
.contact-rows div + div { padding-left: 26px; border-left: 1px solid var(--rule); }
.contact-rows p { margin: 10px 0 6px; color: var(--ink-soft); }
.contact-rows a { font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--rule); }
.contact-rows a:hover { border-color: var(--ink); }

/* Alt kısım */
footer { background: var(--ink); color: var(--paper); padding: 100px 0 40px; overflow: hidden; }
.foot-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; }
.foot-top > img { width: 120px; height: auto; }
.foot-cols { display: flex; gap: 80px; flex-wrap: wrap; }
.foot-cols nav { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.foot-cols .label { margin-bottom: 6px; }
.foot-cols a { text-decoration: none; color: var(--muted-dark); transition: color .3s; display: inline-flex; align-items: center; gap: 8px; }
.foot-cols a:hover { color: var(--paper); }
.ig { width: 16px; height: 16px; }

/* Dil düğmesi */
.nav .lang { font-size: 13px; letter-spacing: 1.5px; color: var(--muted); }
.nav .lang:hover { color: var(--ink); }

/* Yazı sayfalarında üst şerit hep dolu */
.doc-page .top { background: rgba(246, 240, 229, 0.92); border-bottom-color: var(--rule); }
.wordmark { font-size: clamp(36px, 10.2vw, 156px); font-weight: 800; letter-spacing: -0.055em; line-height: 0.85; margin: 70px 0 30px; white-space: nowrap; }
.wordmark .serif { font-weight: 400; color: var(--muted-dark); }
.foot-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--rule-dark); color: var(--muted-dark); font-size: 13px; }

/* Belirerek gelme */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-bird { animation: none; }
  html { scroll-behavior: auto; }
}

/* Yazı sayfaları (gizlilik, koşullar) */
.doc { padding: 150px 0 120px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1; letter-spacing: -0.04em; margin: 16px 0 40px; }
.doc h2 { font-size: 22px; margin: 44px 0 10px; letter-spacing: -0.01em; }
.doc p, .doc li { color: var(--ink-soft); font-size: 17px; }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 8px; }
.doc a { text-decoration: none; border-bottom: 1px solid var(--rule); font-weight: 600; color: var(--ink); }
.doc a:hover { border-color: var(--ink); }
.doc .intro { font-family: var(--serif); font-size: 21px; line-height: 1.5; color: var(--ink); padding-bottom: 34px; border-bottom: 1px solid var(--rule); }
.doc .see-also { margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--rule); }

/* Bulunamadı sayfası */
.notfound { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px 20px; gap: 6px; }
.notfound img { width: 140px; margin-bottom: 20px; }
.notfound h1 { font-size: clamp(36px, 6vw, 72px); line-height: 1; letter-spacing: -0.04em; margin: 12px 0 14px; }
.notfound p { color: var(--ink-soft); }
.notfound .pill { display: inline-block; margin: 6px; border: 1px solid var(--ink); border-radius: 999px; padding: 10px 20px; text-decoration: none; font-weight: 600; }
.notfound .pill:hover { background: var(--ink); color: var(--paper); }

@media (max-width: 900px) {
  .nav a:not(.pill):not(.lang) { display: none; }
  .hero { min-height: auto; padding-top: 110px; }
  .hero-grid, .hero-foot { grid-template-columns: 1fr; }
  .hero-bird { justify-self: start; width: 64%; order: -1; margin: 0 0 10px; }
  .hero-foot { margin-top: 36px; }
  section { padding: 96px 0; }
  .sec-head { grid-template-columns: 1fr; gap: 14px; margin-bottom: 48px; }
  .manifesto p.big, .contact .big-mail, .contact-rows { margin-left: 0; }
  .principles { grid-template-columns: 1fr; margin-top: 64px; }
  .principle, .principle + .principle { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--rule); }
  .game { grid-template-columns: 1fr; }
  .game-media { min-height: 240px; }
  .game-body { padding: 34px 26px; }
  .game-title h3 { font-size: 36px; }
  .next { flex-direction: column; align-items: flex-start; }
  .contact-rows { grid-template-columns: 1fr; margin-top: 56px; }
  .foot-cols { gap: 40px; }
  .nav { gap: 18px; }
  .contact-rows div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); margin-top: 26px; }
  footer { padding-top: 70px; }
}

@media (max-width: 440px) {
  .brand i { display: none; }
  .brand b { white-space: nowrap; }
}
