/* ---------- yazı tipleri (yerel, OFL) */
@font-face {
  font-family: "Fraunces";
  src: url("/font/fraunces-latin-opsz-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces";
  src: url("/font/fraunces-latin-ext-opsz-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Fraunces";
  src: url("/font/fraunces-latin-opsz-italic.woff2") format("woff2");
  font-weight: 100 900; font-style: italic; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces";
  src: url("/font/fraunces-latin-ext-opsz-italic.woff2") format("woff2");
  font-weight: 100 900; font-style: italic; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Figtree";
  src: url("/font/figtree-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Figtree";
  src: url("/font/figtree-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 300 900; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --gece: #0b1113;
  --gece2: #111a1d;
  --cizgi: rgba(241, 231, 211, 0.12);
  --krem: #f1e7d3;
  --krem2: #cfc6b4;
  --soluk: #8f9f9c;
  --lamba: #f2a654;
  --deniz: #7fbdb8;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --kenar: clamp(20px, 6vw, 96px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--gece);
  color: var(--krem);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--krem); text-decoration-color: rgba(242, 166, 84, 0.6); text-underline-offset: 4px; }
a:hover { color: var(--lamba); }
em { font-style: italic; }
::selection { background: var(--lamba); color: var(--gece); }

/* ---------- üst çubuk */
.ust {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--kenar);
  transition: background 0.4s, padding 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.ust.dolu {
  padding-top: 12px; padding-bottom: 12px;
  background: rgba(11, 17, 19, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--cizgi);
}
.marka {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--krem);
  font-family: var(--serif); font-size: 21px; font-weight: 600;
  font-variation-settings: "opsz" 30;
  letter-spacing: -0.01em;
}
.marka img { width: 32px; height: 32px; }
.ust nav { display: flex; gap: clamp(18px, 3vw, 40px); }
.ust nav a {
  color: var(--krem2); text-decoration: none;
  font-size: 15px; font-weight: 500; letter-spacing: 0.04em;
}
.ust nav a:hover { color: var(--lamba); }
.js body.ana .ust { opacity: 0; transition: opacity 0.8s, background 0.4s, padding 0.4s; }
body.ana.acildi .ust { opacity: 1; }

/* ---------- açılış sahnesi */
.sahne {
  position: relative;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  background: #070b0c;
}
.sahne canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.sahne .yedek { display: none; }
.sahne::after {
  content: "";
  position: absolute; inset: auto 0 0 0; height: 28%;
  background: linear-gradient(rgba(11, 17, 19, 0), var(--gece));
  pointer-events: none;
}
.baslik {
  position: absolute;
  z-index: 3;
  left: var(--kenar);
  top: clamp(96px, 17vh, 190px);
  max-width: min(46vw, 640px);
}
.ust-yazi {
  margin: 0 0 18px;
  font-size: 13px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--deniz);
}
.ust-yazi span { color: var(--lamba); }
.dev {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(58px, 9.4vw, 158px);
  line-height: 0.9;
  letter-spacing: -0.035em;
  font-variation-settings: "opsz" 144;
}
.dev .rain { font-style: italic; font-weight: 400; color: #9fd3cf; }
.dev .tiger { color: var(--krem); }
.dev .studio {
  display: block;
  margin-top: 0.32em;
  font-family: var(--sans);
  font-size: 0.17em;
  font-weight: 600;
  letter-spacing: 0.62em;
  text-transform: uppercase;
  color: var(--lamba);
}
.dev .h {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.35em);
  filter: blur(8px);
  transition: opacity 0.9s cubic-bezier(.2,.7,.2,1), transform 0.9s cubic-bezier(.2,.7,.2,1), filter 0.9s;
}
.dev.goster .h { opacity: 1; transform: none; filter: none; }
.slogan {
  margin: 26px 0 0;
  max-width: 30ch;
  font-family: var(--serif);
  font-size: clamp(19px, 1.7vw, 25px);
  line-height: 1.35;
  font-variation-settings: "opsz" 24;
  color: var(--krem2);
}
.slogan em { color: var(--krem); }
.slogan .k { display: inline-block; opacity: 0; transform: translateY(8px); transition: opacity 0.7s, transform 0.7s; }
.slogan.goster .k { opacity: 1; transform: none; }
.js [data-adim] { opacity: 0; transition: opacity 1s; }
.js [data-adim].goster { opacity: 1; }
.js .slogan[data-adim] { opacity: 1; }

.kaydir {
  position: absolute; z-index: 3;
  left: var(--kenar); bottom: 34px;
  display: flex; align-items: center; gap: 14px;
  color: var(--krem2); text-decoration: none;
  font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase;
}
.kaydir i {
  position: relative; width: 1px; height: 46px; background: rgba(241, 231, 211, 0.2); overflow: hidden;
}
.kaydir i::after {
  content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%;
  background: var(--lamba);
  animation: damla 1.8s cubic-bezier(.6,0,.4,1) infinite;
}
@keyframes damla { to { top: 100%; } }
.gec {
  position: absolute; z-index: 4; right: var(--kenar); bottom: 30px;
  background: none; border: 1px solid rgba(241, 231, 211, 0.25); color: var(--krem2);
  font: 500 12px/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase;
  padding: 10px 16px; border-radius: 2px; cursor: pointer;
  transition: opacity 0.6s, color 0.2s, border-color 0.2s;
}
.gec:hover { color: var(--lamba); border-color: var(--lamba); }
body.acildi .gec { opacity: 0; pointer-events: none; }

/* ---------- bölümler */
.bolum {
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(90px, 14vh, 170px) var(--kenar) 0;
}
.no {
  margin: 0 0 22px;
  font-size: 13px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--deniz);
}
.oyun-adi {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(50px, 9vw, 150px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  font-variation-settings: "opsz" 144;
}
.oyun-adi em { color: var(--lamba); font-weight: 300; }

.giris {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(30px, 6vw, 110px);
  margin-top: clamp(40px, 7vh, 80px);
  padding-top: 32px;
  border-top: 1px solid var(--cizgi);
}
.kunye { margin: 0; display: grid; gap: 18px; align-content: start; }
.kunye div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; }
.kunye dt { color: var(--soluk); font-size: 14px; letter-spacing: 0.06em; }
.kunye dd { margin: 0; font-size: 16px; }
.nokta {
  display: inline-block; width: 7px; height: 7px; margin-right: 9px; border-radius: 50%;
  background: var(--lamba); box-shadow: 0 0 0 0 rgba(242,166,84,0.6);
  animation: nabiz 2.2s infinite; vertical-align: 2px;
}
@keyframes nabiz { 70% { box-shadow: 0 0 0 9px rgba(242,166,84,0); } 100% { box-shadow: 0 0 0 0 rgba(242,166,84,0); } }
.metin-blok p { margin: 0 0 18px; color: var(--krem2); max-width: 62ch; }
.metin-blok .lede {
  font-family: var(--serif);
  font-size: clamp(22px, 2.1vw, 30px);
  line-height: 1.32;
  color: var(--krem);
  font-variation-settings: "opsz" 36;
}

figure { margin: 0; }
figure img { width: 100%; border-radius: 3px; }
figcaption {
  margin-top: 12px;
  font-family: var(--serif); font-style: italic;
  font-size: 15px; color: var(--soluk);
}
.genis { margin-top: clamp(60px, 10vh, 120px); }
.genis img { aspect-ratio: 20 / 9; object-fit: cover; box-shadow: 0 40px 90px -30px rgba(0,0,0,0.8); }

.ozellik {
  list-style: none; margin: clamp(60px, 10vh, 120px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 64px);
}
.ozellik li { border-top: 1px solid var(--cizgi); padding-top: 22px; }
.rakam { font-family: var(--serif); font-style: italic; color: var(--lamba); font-size: 20px; }
.ozellik h3 {
  margin: 8px 0 10px;
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(24px, 2.2vw, 32px); line-height: 1.1; letter-spacing: -0.015em;
  font-variation-settings: "opsz" 48;
}
.ozellik p { margin: 0; color: var(--krem2); font-size: 17px; }

.ikili {
  display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(18px, 3vw, 40px);
  margin-top: clamp(60px, 10vh, 120px); align-items: start;
}
.ikili figure:nth-child(2) { margin-top: clamp(40px, 10vh, 120px); }
.ikili img { aspect-ratio: 20 / 9; object-fit: cover; }

.cagri {
  margin: clamp(60px, 10vh, 110px) 0 0;
  font-family: var(--serif); font-size: clamp(20px, 1.8vw, 26px);
  color: var(--krem2);
  font-variation-settings: "opsz" 30;
}
.cagri a { color: var(--lamba); white-space: nowrap; }

/* ---------- stüdyo */
.studyo-ic {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(30px, 6vw, 110px); align-items: end;
}
.buyuk {
  margin: 0;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(32px, 4.2vw, 64px); line-height: 1.08; letter-spacing: -0.025em;
  font-variation-settings: "opsz" 96;
}
.buyuk em { color: #9fd3cf; }
.studyo-ic p:not(.buyuk) { margin: 0 0 16px; color: var(--krem2); }

/* ---------- yaz */
.yaz { padding-bottom: clamp(90px, 14vh, 160px); }
.soru {
  margin: 0 0 20px;
  font-family: var(--serif); font-size: clamp(22px, 2.2vw, 32px);
  color: var(--krem2); font-variation-settings: "opsz" 36;
}
.posta {
  display: inline-block;
  font-family: var(--serif); font-weight: 400; font-style: italic;
  font-size: clamp(30px, 6.4vw, 104px); line-height: 1; letter-spacing: -0.03em;
  font-variation-settings: "opsz" 144;
  color: var(--krem); text-decoration: none;
  background: linear-gradient(var(--lamba), var(--lamba)) left bottom / 0 2px no-repeat;
  padding-bottom: 10px;
  transition: background-size 0.6s cubic-bezier(.2,.7,.2,1), color 0.3s;
  word-break: break-word;
}
.posta:hover { color: var(--lamba); background-size: 100% 2px; }

footer {
  max-width: 1320px; margin: 0 auto;
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding: 28px var(--kenar) 40px;
  border-top: 1px solid var(--cizgi);
  font-size: 14px; color: var(--soluk);
}
footer a { color: var(--soluk); }

/* ---------- kaydırınca beliren */
.js [data-gor] { opacity: 0; transform: translateY(28px); transition: opacity 1.1s cubic-bezier(.2,.7,.2,1), transform 1.1s cubic-bezier(.2,.7,.2,1); }
.js [data-gor].gor { opacity: 1; transform: none; }
.js figure[data-gor] img { clip-path: inset(0 0 100% 0); transition: clip-path 1.4s cubic-bezier(.7,0,.2,1) 0.1s; }
.js figure[data-gor].gor img { clip-path: inset(0 0 0 0); }

/* ---------- metin sayfaları (gizlilik, oyun) */
.metin {
  max-width: 820px;
  margin: 0 auto;
  padding: 140px var(--kenar) 80px;
}
.metin h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(40px, 6vw, 76px); line-height: 0.98; letter-spacing: -0.035em;
  font-variation-settings: "opsz" 144;
  margin: 0 0 14px;
}
.metin h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: 30px; line-height: 1.15; letter-spacing: -0.015em;
  margin: 56px 0 12px; color: var(--krem);
  font-variation-settings: "opsz" 48;
}
.metin h3 { font-size: 19px; margin: 28px 0 4px; }
.metin p, .metin li { color: var(--krem2); }
.metin li { margin-bottom: 10px; }
.metin li b { color: var(--krem); font-weight: 600; }
.metin .tarih { color: var(--soluk); margin-bottom: 30px; font-size: 15px; }
.metin hr { border: 0; border-top: 1px solid var(--cizgi); margin: 64px 0; }
.metin .kapak { margin: 0 0 40px; border-radius: 3px; }
.etiket {
  display: inline-block;
  font-size: 13px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--deniz); margin-bottom: 18px;
}
.galeri { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 30px; }
.galeri img { border-radius: 3px; aspect-ratio: 20 / 9; object-fit: cover; width: 100%; }
.dil { display: inline-flex; gap: 18px; margin-bottom: 18px; }
.dil a { font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--krem2); }

/* ---------- mobil */
@media (max-width: 860px) {
  .baslik { max-width: none; right: var(--kenar); top: 110px; }
  .dev { font-size: clamp(54px, 17vw, 110px); }
  .giris, .studyo-ic, .ikili { grid-template-columns: 1fr; }
  .ikili figure:nth-child(2) { margin-top: 0; }
  .ozellik { grid-template-columns: 1fr; }
  .galeri { grid-template-columns: 1fr; }
  .genis img { aspect-ratio: 4 / 3; }
  .gec { bottom: 28px; }
}
@media (max-width: 860px) and (orientation: portrait) {
  .sahne::before {
    content: ""; position: absolute; inset: 0 0 auto 0; height: 60%; z-index: 2; pointer-events: none;
    background: linear-gradient(rgba(7, 11, 12, 0.85) 20%, rgba(7, 11, 12, 0));
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-gor] { opacity: 1; transform: none; }
  .js figure[data-gor] img { clip-path: none; }
}

/* ---------- düğme (404) */
.dugme {
  display: inline-block; margin-top: 18px;
  padding: 12px 22px; border: 1px solid var(--lamba); border-radius: 2px;
  color: var(--lamba); text-decoration: none;
  font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase;
}
.dugme:hover { background: var(--lamba); color: var(--gece); }
