/* Evolving Reality Games. Palet ve kurallar: erg-brand/CLAUDE.md (degrade her zaman soldan sağa mor -> zümrüt). */
@font-face {
  font-family: "Barlow Semi Condensed"; font-weight: 500; font-display: swap;
  src: url(fonts/barlow-semi-condensed-latin-500.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Barlow Semi Condensed"; font-weight: 500; font-display: swap;
  src: url(fonts/barlow-semi-condensed-latin-ext-500.woff2) format("woff2");
  unicode-range: U+0100-0130, U+0132-0151, U+0154-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1EFF, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Barlow Semi Condensed"; font-weight: 700; font-display: swap;
  src: url(fonts/barlow-semi-condensed-latin-700.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Barlow Semi Condensed"; font-weight: 700; font-display: swap;
  src: url(fonts/barlow-semi-condensed-latin-ext-700.woff2) format("woff2");
  unicode-range: U+0100-0130, U+0132-0151, U+0154-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1EFF, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #0a0a0f;
  --panel: #12121a;
  --line: #23232f;
  --text: #e9e9f1;
  --muted: #9a9ab0;
  --purple: #a855f7;
  --blue: #7b83f0;
  --green: #0ea472;
  --grad: linear-gradient(90deg, var(--purple), var(--blue) 50%, var(--green));
  --hazard: #ffc21a;
  --wrap: 1120px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 500 18px/1.6 "Barlow Semi Condensed", Bahnschrift, "DIN Alternate", "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, p, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 20; background: var(--text); color: var(--bg); padding: 8px 14px; border-radius: 6px; }
.skip:focus { top: 12px; }

/* üst çubuk */
.top {
  position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between;
  padding: 12px max(16px, calc((100vw - var(--wrap)) / 2));
  background: rgb(10 10 15 / .82); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.brand img { width: 84px; }
.top nav { display: flex; align-items: center; gap: clamp(14px, 4vw, 30px); font-size: 16px; letter-spacing: .08em; text-transform: uppercase; }
.top nav a { text-decoration: none; color: var(--muted); padding: 6px 0; }
.top nav a:hover { color: var(--text); }
.top nav .lang { color: var(--text); border: 1px solid var(--line); border-radius: 999px; padding: 4px 14px; letter-spacing: .04em; text-transform: none; }
.top nav .lang:hover { border-color: var(--blue); }

/* açılış */
.hero { position: relative; text-align: center; padding-bottom: clamp(40px, 7vw, 80px); }
.hero-stage { max-width: 1280px; margin: 0 auto; background: #000001; }
.hero-video {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
  -webkit-mask-image: linear-gradient(#000 84%, transparent); mask-image: linear-gradient(#000 84%, transparent);
}
.hero-copy { position: relative; margin-top: clamp(-28px, -2vw, -8px); padding: 0 16px; }
.hero h1 {
  font-size: clamp(38px, 7vw, 76px); line-height: 1.05; font-weight: 700; letter-spacing: -.01em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: .12em;
}
.hero p { max-width: 34em; margin: 14px auto 28px; color: var(--muted); font-size: clamp(18px, 2.2vw, 22px); }
.btn {
  display: inline-block; text-decoration: none; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: 16px;
  padding: 12px 26px; border-radius: 999px; color: var(--text);
  background: linear-gradient(var(--bg), var(--bg)) padding-box, var(--grad) border-box; border: 2px solid transparent;
  transition: background .2s, color .2s;
}
.btn:hover { background: var(--grad) border-box; color: #0a0a0f; }

/* evrim şeridi */
.evo { padding: 0 16px; }
.evo ol {
  max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.evo li { padding: 28px clamp(12px, 3vw, 32px); display: grid; gap: 6px; align-content: start; }
.evo li + li { border-left: 1px solid var(--line); }
.evo b { font-size: 22px; letter-spacing: .12em; text-transform: uppercase; }
.evo span { color: var(--muted); font-size: 17px; line-height: 1.45; }
.evo i { width: 34px; height: 34px; margin-bottom: 8px; display: block; }
.evo .e b { color: var(--purple); }
.evo .r b { color: var(--blue); }
.evo .g b { color: var(--green); }
.evo .e i {
  background: var(--purple); border-radius: 3px;
  -webkit-mask: conic-gradient(#000 0 0) 0 0 / 15px 15px space; mask: conic-gradient(#000 0 0) 0 0 / 15px 15px space;
}
.evo .r i { background: linear-gradient(135deg, #969bff 50%, #5f66c9 0); clip-path: polygon(0 0, 100% 22%, 78% 100%, 0 100%); }
.evo .g i { background: var(--green); border-radius: 38% 62% 55% 45% / 45% 40% 60% 55%; }

/* oyun */
.game, .studio { max-width: var(--wrap); margin: 0 auto; padding: clamp(56px, 9vw, 110px) 16px 0; }
.eyebrow { color: var(--muted); font-size: 15px; letter-spacing: .2em; text-transform: uppercase; }
.game-head { margin: 10px 0 30px; }
.game-head h2 { max-width: 620px; margin-left: -4%; }
.game-head h2 img { aspect-ratio: 1280 / 300; object-fit: cover; width: 100%; }
.tag { font-size: clamp(20px, 3vw, 28px); font-weight: 700; color: var(--hazard); line-height: 1.25; }
.game-main { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: clamp(24px, 4vw, 44px); align-items: start; }
.trailer video { width: 100%; aspect-ratio: 16 / 9; background: #000; border: 1px solid var(--line); border-radius: 10px; }
.game-copy { display: grid; gap: 18px; }
.game-copy > p { color: #c9c9d8; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.facts li { background: var(--panel); padding: 12px 14px; color: var(--muted); font-size: 16px; line-height: 1.3; }
.facts li:first-child { grid-column: 1 / -1; }
.facts b { display: block; color: var(--text); font-size: 30px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.meta { display: grid; gap: 6px; font-size: 16px; }
.meta div { display: flex; gap: 12px; }
.meta dt { color: var(--muted); min-width: 6em; }
.status {
  display: inline-flex; align-items: center; gap: 10px; justify-self: start; font-weight: 700; letter-spacing: .04em;
  padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel);
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgb(14 164 114 / .22); }

.shots { margin-top: clamp(28px, 4vw, 44px); display: grid; grid-template-columns: repeat(12, 1fr); gap: 10px; }
.shots li { grid-column: span 3; }
.shots li:first-child { grid-column: span 8; grid-row: span 2; }
.shots li:nth-child(2), .shots li:nth-child(3) { grid-column: span 4; }
.shots a { display: block; height: 100%; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); }
.shots img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.shots a:hover img { transform: scale(1.04); }

/* stüdyo */
.studio h2 { font-size: clamp(30px, 5vw, 48px); line-height: 1.1; margin: 10px 0 22px; }
.studio-copy { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 4vw, 44px); color: #c9c9d8; }

.foot {
  margin-top: clamp(64px, 10vw, 120px); padding: 40px 16px 48px; border-top: 1px solid var(--line);
  display: grid; justify-items: center; gap: 14px; color: var(--muted); font-size: 15px;
}
.foot img { width: 200px; }

/* ekran görüntüsü penceresi */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 96vh; overflow: visible; }
.lightbox::backdrop { background: rgb(5 5 9 / .92); }
.lightbox img { max-width: 96vw; max-height: 90vh; border-radius: 8px; }
.lightbox button {
  position: fixed; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--panel); color: var(--text); font: 28px/1 system-ui, sans-serif; cursor: pointer;
}
.lightbox button:hover { border-color: var(--blue); }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 14px; top: calc(50% - 24px); }
.lb-next { right: 14px; top: calc(50% - 24px); }

@media (max-width: 860px) {
  .game-main, .studio-copy { grid-template-columns: 1fr; }
  .shots { grid-template-columns: repeat(2, 1fr); }
  .shots li, .shots li:nth-child(2), .shots li:nth-child(3) { grid-column: auto; }
  .shots li:first-child { grid-column: span 2; grid-row: auto; }
}
@media (max-width: 600px) {
  body { font-size: 17px; }
  .evo ol { grid-template-columns: 1fr; }
  .evo li { grid-template-columns: 34px 1fr; column-gap: 16px; padding: 18px 4px; }
  .evo li i { grid-row: span 2; margin: 4px 0 0; }
  .evo li + li { border-left: 0; border-top: 1px solid var(--line); }
  .top nav { gap: 14px; font-size: 14px; }
  .game-head h2 { margin-left: -3%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .shots img, .btn { transition: none; }
}
