/* Tanıtım sitesi — sade düzen. Renkler tek yerde (:root). Fontlar /fonts altında (dış kaynak yok). */
@font-face {
  font-family: "Inter";
  font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  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: "Inter";
  font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
  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: "Archivo Narrow";
  font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("/fonts/archivo-narrow-latin-wght-normal.woff2") format("woff2-variations");
  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: "Archivo Narrow";
  font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("/fonts/archivo-narrow-latin-ext-wght-normal.woff2") format("woff2-variations");
  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 {
  --bg: #0f0f0f;
  --text: #e6e6e6;
  --muted: #8c8c8c;
  --rule: #262626;
  --body: "Inter", system-ui, sans-serif;
  --head: "Archivo Narrow", "Inter", system-ui, sans-serif;
  --gutter: clamp(16px, 5vw, 48px);

  /* Logonun yeri (ekran genişliğine oranla): sol kenarı %65, sağ kenarı %90 → genişlik %25; dikeyde tam orta. */
  --logo-left: 65%;
  --logo-width: 25%;
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ---------- Üst: arka plan + logo ---------- */
.hero {
  position: relative;
  height: 100vh; height: 100svh;
  min-height: 420px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;   /* fotoğrafın kırpılınca hangi kısmı görünsün: ör. "30% center" */
}
.hero-logo {
  position: absolute;
  left: var(--logo-left);
  width: var(--logo-width);
  top: 50%;
  transform: translateY(-50%);
  height: auto;
}

/* ---------- İçerik ---------- */
.content {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.block { padding: 64px 0; border-top: 1px solid var(--rule); }
.block:first-child { border-top: 0; }

h1, h2 {
  font-family: var(--head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.1;
  margin: 0 0 24px;
}
h2 { font-size: 15px; color: var(--muted); }
h1 { font-size: 32px; }

.lead { font-size: 20px; line-height: 1.5; margin: 0 0 32px; max-width: 640px; }

/* ---------- Steam düğmesi: [yuvarlak logo] + iki satır, satırlar aynı genişlikte ---------- */
.intro { text-align: center; }
.intro .lead { margin-left: auto; margin-right: auto; }
.wishlist {
  --line1: 15px;   /* "WISHLIST ON" yazı boyu */
  --line2: 30px;   /* "STEAM" yazı boyu */
  --gap: 4px;      /* iki satır arası */
  display: inline-flex; align-items: center; gap: 14px;
  text-decoration: none; color: var(--text);
  transition: opacity .15s;
}
.wishlist:hover { opacity: 0.8; }
.wishlist-logo {   /* yüksekliği = iki satırın toplamı */
  width: calc(var(--line1) + var(--gap) + var(--line2) * 0.8);
  height: calc(var(--line1) + var(--gap) + var(--line2) * 0.8);
  border-radius: 50%; object-fit: cover; flex: none;
}
.wishlist-logo.missing {
  width: calc(var(--line1) + var(--gap) + var(--line2) * 0.8);
  height: calc(var(--line1) + var(--gap) + var(--line2) * 0.8);
  min-height: 0; font-size: 0; border-radius: 50%;
}
.wishlist-text { display: flex; flex-direction: column; gap: var(--gap); text-align: left; }
.wishlist-top {
  font-family: var(--body); font-weight: 300;
  font-size: var(--line1); line-height: 1;
  text-transform: uppercase; letter-spacing: 0.12em; white-space: nowrap;
  margin-right: -0.12em;   /* son harfin arkasındaki boşluğu sayma → sağ kenar STEAM'le hizalı */
}
.wishlist-steam {   /* harfler kutuya yayılır → genişlik "WISHLIST ON" ile birebir aynı */
  display: flex; justify-content: space-between;
  font-family: var(--head); font-weight: 700;
  font-size: var(--line2); line-height: 0.8;
}
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }

/* ---------- Fragman ---------- */
.video { position: relative; aspect-ratio: 16 / 9; background: #000; }
.video > img { width: 100%; height: 100%; object-fit: cover; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  background: transparent; border: 0; cursor: pointer;
}
.video-play::before {   /* ortadaki oynat üçgeni */
  content: "";
  position: absolute; left: 50%; top: 50%;
  width: 0; height: 0;
  border-style: solid;
  border-width: 18px 0 18px 30px;
  border-color: transparent transparent transparent #fff;
  transform: translate(-40%, -50%);
  filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 0.5));
}
.video-play:hover::before { border-left-color: #ddd; }
.video-fallback { position: absolute; left: 16px; bottom: 16px; }

/* ---------- Ekran görüntüleri ---------- */
.shots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.shots a { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.shots img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Press kit ---------- */
.presskit { margin: 0; font-size: 18px; }
.arrow-link {
  display: inline-block; margin-left: 8px;
  text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px;
}
.arrow-link::after { content: " \2192"; }
.arrow-link:hover { color: #fff; }

/* ---------- En alt: iletişim ---------- */
.footer {
  max-width: 880px; margin: 0 auto;
  padding: 40px var(--gutter) 48px;
  border-top: 1px solid var(--rule);
}
.contact { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.socials { display: flex; gap: 20px; }
.socials a { color: var(--muted); display: block; transition: color .15s; }
.socials a:hover { color: var(--text); }
.socials svg { width: 22px; height: 22px; display: block; fill: currentColor; }
.email { text-decoration: none; overflow-wrap: anywhere; }
.email:hover { text-decoration: underline; text-underline-offset: 4px; }
.copyright { margin: 32px 0 0; color: var(--muted); font-size: 13px; }

.notfound { padding-top: 30vh; padding-bottom: 30vh; }
.notfound a { color: var(--muted); }

/* ---------- Eksik resim yer tutucusu (script.js ekler; resim konunca kendiliğinden kaybolur) ---------- */
.missing {
  display: grid; place-items: center;
  width: 100%; height: 100%; min-height: 80px;
  border: 1px dashed #444; background: #161616;
  color: var(--muted); font-size: 13px; text-align: center;
}
.hero-bg.missing { border: 0; }
.hero-logo.missing { width: var(--logo-width); height: auto; min-height: 0; aspect-ratio: 2 / 1; }

/* ---------- Telefon ---------- */
@media (max-width: 720px) {
  :root { --logo-left: 15%; --logo-width: 70%; }
  .block { padding: 48px 0; }
  .lead { font-size: 18px; }
  .shots { grid-template-columns: 1fr; }
  .contact { flex-direction: column; align-items: flex-start; gap: 20px; }
}
