/* Wr4th Games / Ignore It
   Palet logolardan geliyor: siyah, kemik beyazı ve gözyaşı damlası için tek bir kırmızı. */

:root {
  --ink: #000;
  --bone: #ecebe6;
  --ash: #8c8b87;
  --dim: #4a4a48;
  --line: #1d1d1c;
  --blood: #9b1410;

  --pad: clamp(20px, 5vw, 72px);
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "EB Garamond", Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html {
  background: var(--ink);
  color: var(--bone);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--bone); color: var(--ink); }
:focus-visible { outline: 1px solid var(--bone); outline-offset: 6px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 60;
  padding: 10px 14px; background: var(--bone); color: var(--ink);
  font: 600 13px/1 var(--sans); text-decoration: none;
}
.skip:focus { top: 16px; }

.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Logodaki "G A M E S" gibi aralıklı küçük yazı */
.label-text,
.label,
.facts dt,
.link__note,
figcaption {
  font: 500 12px/1.3 var(--sans);
  letter-spacing: .42em;
  text-transform: uppercase;
}

/* ---------- Dil düğmesi ---------- */

.lang {
  position: fixed; top: 22px; right: var(--pad); z-index: 40;
  display: flex; align-items: center; gap: .7em;
  color: #fff; mix-blend-mode: difference;
  font: 500 12px/1 var(--sans); letter-spacing: .3em;
}
.lang span { opacity: .35; }
.lang button {
  appearance: none; border: 0; background: none; color: inherit; font: inherit; letter-spacing: inherit;
  padding: 6px 0 6px .3em; cursor: pointer; opacity: .45; transition: opacity .3s;
}
.lang button:hover { opacity: .8; }
.lang button[aria-pressed="true"] { opacity: 1; }

/* ---------- 1. Giriş ---------- */

.intro { position: relative; height: 340vh; height: 340svh; }

.stage {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
}

.stage__svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

.stage__presents,
.stage__soon {
  position: absolute; left: 50%; top: 0; margin: 0;
  white-space: nowrap; opacity: 0; will-change: transform, opacity;
}
.stage__presents { color: var(--ash); padding-left: .42em; }
.stage__soon {
  font: italic 400 clamp(20px, 2.1vw, 30px)/1 var(--serif);
  letter-spacing: .01em;
}

.stage__cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  color: var(--ash);
}
.stage__cue .label-text { padding-left: .42em; }
.stage__cue i {
  position: relative; display: block; width: 1px; height: 46px;
  background: var(--line); overflow: hidden;
}
.stage__cue i::after {
  content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%;
  background: var(--bone);
  animation: cue 2.4s cubic-bezier(.6, 0, .2, 1) infinite;
}
@keyframes cue { to { top: 100%; } }

/* Ortadaki damlanın ucunda arada bir beliren kırmızı damla */
.drop {
  fill: var(--blood); opacity: 0;
  transform-box: fill-box; transform-origin: 50% 0%;
}
.stage.is-done .drop { animation: drip 9s cubic-bezier(.5, 0, .9, .5) 1.5s infinite; }
@keyframes drip {
  0%   { opacity: 0; transform: translateY(-3px) scale(.2); }
  10%  { opacity: 1; }
  52%  { opacity: 1; transform: translateY(0) scale(1); }
  70%  { opacity: 0; transform: translateY(46px) scale(.75, 1.3); }
  100% { opacity: 0; transform: translateY(46px) scale(.75, 1.3); }
}

/* Hareket azaltma açıkken: animasyon yerine yumuşak geçiş */
.reduce .intro { height: 200vh; height: 200svh; }
.reduce #st-gearwrap,
.reduce #st-mark,
.reduce .stage__presents,
.reduce .stage__soon { transition: opacity .8s ease; }

/* ---------- Bölümler ---------- */

.section {
  max-width: 1440px; margin: 0 auto;
  padding: clamp(96px, 16vh, 180px) var(--pad);
}

.label {
  display: flex; align-items: center; gap: 18px;
  margin: 0 0 clamp(36px, 5vw, 56px);
  color: var(--ash); font-weight: 500;
}
.label::before { content: ""; width: 34px; height: 1px; background: currentColor; }

/* ---------- 2. Fragman ---------- */

.trailer__frame {
  position: relative; aspect-ratio: 16 / 9;
  background: #050505; outline: 1px solid var(--line);
  overflow: hidden;
}
.trailer__poster {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(.7) brightness(.5);
  transition: filter 1s var(--ease), transform 1.6s var(--ease);
}
.trailer__frame:hover .trailer__poster { filter: grayscale(.3) brightness(.62); transform: scale(1.015); }

/* Kamera vizörü köşeleri */
.vf i {
  position: absolute; width: 18px; height: 18px;
  border: 0 solid var(--ash); opacity: .7; pointer-events: none;
}
.vf i:nth-child(1) { top: 18px; left: 18px; border-top-width: 1px; border-left-width: 1px; }
.vf i:nth-child(2) { top: 18px; right: 18px; border-top-width: 1px; border-right-width: 1px; }
.vf i:nth-child(3) { bottom: 18px; left: 18px; border-bottom-width: 1px; border-left-width: 1px; }
.vf i:nth-child(4) { bottom: 18px; right: 18px; border-bottom-width: 1px; border-right-width: 1px; }

.trailer__play,
.trailer__empty {
  position: absolute; inset: 0; margin: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
}
.trailer__play {
  appearance: none; border: 0; background: none; color: var(--bone);
  cursor: pointer; padding: 0;
}
.trailer__play .label-text { padding-left: .42em; }
.trailer__iris {
  width: clamp(64px, 8vw, 112px); height: auto; aspect-ratio: 87 / 85;
  transition: transform .9s var(--ease);
}
.trailer__play:hover .trailer__iris,
.trailer__play:focus-visible .trailer__iris { transform: rotate(80deg) scale(1.08); }
.trailer__empty {
  color: var(--ash);
  font: italic 400 clamp(20px, 2.2vw, 30px)/1.2 var(--serif);
}
.trailer__empty .trailer__iris { opacity: .5; }
.trailer__frame iframe,
.trailer__frame video {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000;
}
.trailer__frame.is-playing .trailer__play,
.trailer__frame.is-playing .vf,
.trailer__frame.is-playing .trailer__poster { display: none; }

/* ---------- 3. Ekran görüntüleri ---------- */

.shots__list {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2.4vw, 40px);
  row-gap: clamp(64px, 10vw, 150px);
}
.shot { margin: 0; }
.shot--full        { grid-column: 1 / -1; }
.shot--left-wide   { grid-column: 1 / 8; }
.shot--right-tall  { grid-column: 9 / -1; align-self: end; }
.shot--center      { grid-column: 3 / 11; }
.shot--right-wide  { grid-column: 5 / -1; }
.shot--left-tall   { grid-column: 1 / 5; align-self: start; }

.shot__btn {
  appearance: none; border: 0; padding: 0; margin: 0; color: inherit; font: inherit;
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9;
  overflow: hidden; background: #070707; outline: 1px solid var(--line);
  cursor: zoom-in; will-change: transform;
}
.shot--right-tall .shot__btn,
.shot--left-tall .shot__btn { aspect-ratio: 4 / 5; }

.shot__btn img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(.85) contrast(1.06);
  transform: scale(1.04);
  transition: filter .9s var(--ease), transform 1.4s var(--ease);
}
.shot__btn:hover img,
.shot__btn:focus-visible img { filter: none; transform: scale(1); }

.shot__ph { display: none; }
.shot.is-missing img { display: none; }
.shot.is-missing .shot__btn { cursor: default; }
.shot.is-missing .shot__ph {
  position: absolute; inset: 0; display: grid; place-items: center;
  color: var(--dim);
  font: 500 11px/1.4 var(--sans); letter-spacing: .3em; text-transform: uppercase; text-align: center;
  background: repeating-linear-gradient(135deg, transparent 0 15px, #0e0e0e 15px 16px);
}

figcaption { display: flex; gap: 16px; margin-top: 16px; color: var(--ash); letter-spacing: .3em; }
figcaption b { font-weight: 500; color: var(--bone); }

/* ---------- 4. Oyun ---------- */

.about__text {
  max-width: 21ch; margin: 0 0 clamp(64px, 9vw, 112px);
  font: italic 400 clamp(32px, 4.8vw, 72px)/1.06 var(--serif);
  letter-spacing: -.005em;
  text-wrap: balance;
}

.facts {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px clamp(16px, 2.4vw, 40px);
  margin: 0; border-top: 1px solid var(--line);
}
.facts div { padding-top: 22px; }
.facts dt { color: var(--ash); }
.facts dd {
  margin: 12px 0 0;
  font: 600 19px/1.25 var(--sans); font-stretch: 115%;
}

.cta {
  position: relative; display: inline-flex; align-items: center; gap: 14px;
  margin-top: clamp(64px, 8vw, 96px);
  text-decoration: none;
  font: 700 clamp(18px, 1.8vw, 24px)/1 var(--sans); font-stretch: 125%;
  letter-spacing: .02em; text-transform: uppercase;
}
.cta .scribble { left: 0; width: 100%; bottom: -14px; height: 10px; }

/* ---------- 5. Topluluk ---------- */

.community__title {
  margin: 0 0 18px;
  font: italic 400 clamp(44px, 7.4vw, 112px)/.98 var(--serif);
  letter-spacing: -.01em;
}
.community__lead { max-width: 44ch; margin: 0 0 clamp(56px, 8vw, 96px); color: var(--ash); }

.links { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.links li { border-bottom: 1px solid var(--line); }

.link {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: clamp(14px, 1.8vw, 24px) 0;
  text-decoration: none;
}
.link__name {
  position: relative; display: inline-block;
  font: 800 clamp(38px, 8.2vw, 124px)/.9 var(--sans); font-stretch: 125%;
  letter-spacing: -.03em; text-transform: uppercase;
  transition: transform .6s var(--ease);
}
.link__note { display: flex; align-items: center; gap: 14px; color: var(--ash); white-space: nowrap; transition: color .4s; }

.arrow { width: 13px; height: 13px; flex: none; transition: transform .5s var(--ease); }
.arrow path { fill: none; stroke: currentColor; stroke-width: 1.4; }

.scribble {
  position: absolute; left: -1%; bottom: -.1em; width: 102%; height: .16em;
  overflow: visible; pointer-events: none;
}
.scribble path {
  fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0;
  transition: stroke-dashoffset .7s cubic-bezier(.6, 0, .2, 1), opacity .25s;
}

.link:hover .link__name,
.link:focus-visible .link__name { transform: translateX(clamp(8px, 1.4vw, 22px)); }
.link:hover .link__note,
.link:focus-visible .link__note { color: var(--bone); }
.link:hover .arrow, .cta:hover .arrow,
.link:focus-visible .arrow, .cta:focus-visible .arrow { transform: translate(3px, -3px); }
.link:hover .scribble path, .cta:hover .scribble path,
.link:focus-visible .scribble path, .cta:focus-visible .scribble path { stroke-dashoffset: 0; opacity: 1; }

/* ---------- 6. Alt bilgi ---------- */

/* Solda Wr4th logosu (dişli üstte, WR4TH altta), yanında telif yazıları, sağda "Başa dön" */
.foot {
  max-width: 1440px; margin: 0 auto;
  padding: clamp(8px, 2vh, 32px) var(--pad) clamp(40px, 7vh, 72px);
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: "logo meta top";
  align-items: center; column-gap: clamp(28px, 3.4vw, 52px);
  color: var(--ash);
}

.foot__logo { grid-area: logo; display: block; width: clamp(76px, 6.6vw, 96px); height: auto; }

.foot__meta { grid-area: meta; }
.foot__copy { margin: 0; letter-spacing: .32em; }
.foot__legal {
  margin: 10px 0 0; max-width: 64ch;
  color: var(--dim); font-size: 12.5px; line-height: 1.65;
}

.foot__top {
  grid-area: top;
  display: inline-flex; align-items: center; gap: 12px;
  letter-spacing: .32em; text-decoration: none; color: var(--ash); transition: color .3s;
}
.foot__top:hover, .foot__top:focus-visible { color: var(--bone); }
.foot__top:hover .arrow, .foot__top:focus-visible .arrow { transform: translateY(-3px); }

/* ---------- Görsel büyütme ---------- */

.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; background: rgba(0, 0, 0, .94); color: var(--bone);
}
.lightbox[open] { display: grid; grid-template-rows: 1fr auto; }
.lightbox::backdrop { background: transparent; }
.lightbox__img {
  align-self: center; justify-self: center;
  max-width: calc(100vw - 2 * var(--pad)); max-height: calc(100vh - 140px);
  object-fit: contain; outline: 1px solid var(--line);
}
.lightbox__bar {
  display: flex; align-items: center; justify-content: center; gap: clamp(18px, 4vw, 48px);
  padding: 26px var(--pad) 34px;
}
.lightbox__btn {
  appearance: none; border: 0; background: none; color: var(--ash); cursor: pointer; padding: 6px 0;
  font: 500 12px/1 var(--sans); letter-spacing: .32em; text-transform: uppercase;
  transition: color .3s;
}
.lightbox__btn:hover { color: var(--bone); }
.lightbox__count { color: var(--bone); min-width: 5em; text-align: center; }
.lightbox__close { margin-left: clamp(12px, 4vw, 48px); }

/* ---------- Film greni ---------- */

.grain {
  position: fixed; inset: -10%; z-index: 50; pointer-events: none;
  opacity: .065; will-change: transform;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain .8s steps(4) infinite;
}
@keyframes grain {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(-3%, 2%); }
  50%  { transform: translate(2%, -3%); }
  75%  { transform: translate(-1%, -2%); }
  100% { transform: translate(3%, 1%); }
}

/* ---------- Mobil ---------- */

@media (max-width: 760px) {
  .shot--full, .shot--center, .shot--left-wide, .shot--right-wide { grid-column: 1 / -1; }
  .shot--right-tall { grid-column: 4 / -1; }
  .shot--left-tall  { grid-column: 1 / 10; }

  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .link { flex-direction: column; align-items: flex-start; gap: 10px; }

  .foot {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas: "logo meta" "top top";
    column-gap: 24px;
  }
  .foot__logo { width: 72px; }
  .foot__top { justify-self: start; margin-top: 36px; }
}

@media (hover: none) {
  .shot__btn img { filter: none; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .grain, .stage__cue i::after, .stage.is-done .drop { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
  .reduce #st-gearwrap, .reduce #st-mark,
  .reduce .stage__presents, .reduce .stage__soon { transition-duration: .8s !important; }
}
