:root {
  --bg: #0f1115;
  --bg-2: #171a21;
  --bg-3: #1d212a;
  --line: #262b36;
  --line-2: #323947;
  --text: #e8eaef;
  --muted: #9aa3b2;
  --accent: #ffc23a;
  --accent-ink: #1a1405;
  --blue: #6aa8ff;
  --radius: 16px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, .65);
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 76px; }

body {
  margin: 0;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(255, 194, 58, .09), transparent 60%),
    radial-gradient(900px 500px at -10% 10%, rgba(106, 168, 255, .07), transparent 60%),
    var(--bg);
  background-repeat: no-repeat;
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { letter-spacing: -.01em; }

.wrap { max-width: 1120px; margin-inline: auto; padding-inline: 20px; }

.skip {
  position: absolute; left: 12px; top: -48px; z-index: 20;
  background: var(--accent); color: var(--accent-ink);
  padding: 8px 14px; border-radius: 8px; font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ---------- Üst bar ---------- */
.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(15, 17, 21, .78);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(38, 43, 54, .7);
}
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-size: 1.15rem; letter-spacing: .02em; }
.brand b { color: var(--accent); }
.brand .logo { display: block; height: 30px; width: auto; }
.brand .logo-sm { height: 24px; }
.feature-body .cta-row { margin-top: 18px; }

nav { display: flex; align-items: center; gap: 22px; }
nav a { text-decoration: none; color: var(--muted); font-size: .95rem; transition: color .15s; }
nav a:hover { color: var(--text); }

.lang {
  font: inherit; font-size: .8rem; font-weight: 600; letter-spacing: .04em;
  color: var(--text); background: var(--bg-2);
  border: 1px solid var(--line-2); border-radius: 999px;
  padding: 4px 12px; cursor: pointer; transition: border-color .15s;
}
.lang:hover { border-color: var(--accent); }

/* ---------- Hero ---------- */
.hero { padding-block: 72px 64px; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; align-items: center; }

.eyebrow, .kicker {
  margin: 0 0 12px; color: var(--accent);
  font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .14em;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.08; margin: 0 0 20px; }
.lead { color: var(--muted); font-size: 1.15rem; margin: 0 0 30px; max-width: 34em; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-block; background: var(--accent); color: var(--accent-ink);
  font-weight: 650; text-decoration: none; padding: 12px 22px; border-radius: 10px;
  border: 1px solid var(--accent); transition: filter .15s, transform .15s;
}
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--muted); filter: none; }

.hero-art { margin: 0; position: relative; }
.hero-art img {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
  border-radius: var(--radius); border: 1px solid var(--line-2);
  box-shadow: var(--shadow), 0 0 0 6px rgba(255, 194, 58, .04);
}
.hero-art figcaption {
  position: absolute; left: 14px; bottom: 14px;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(15, 17, 21, .82); border: 1px solid var(--line-2);
  border-radius: 999px; padding: 5px 12px 5px 10px; font-size: .82rem; font-weight: 600;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(255, 194, 58, .2); }

/* ---------- Bölümler ---------- */
.section { padding-block: 64px; border-top: 1px solid var(--line); }
.section-head { margin-bottom: 32px; max-width: 680px; }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.2; margin: 0; }
.section-lead { color: var(--muted); margin: 14px 0 0; font-size: 1.05rem; }

/* Öne çıkan oyun */
.feature {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 0;
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--line-2); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
}
.feature-media { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.feature-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; }
.shot-main, .gallery a { display: block; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.shot-main img, .gallery img { transition: transform .35s ease; }
.shot-main:hover img, .gallery a:hover img { transform: scale(1.03); }
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.gallery img { border-radius: 0; }

.feature-body { padding: 28px 28px 28px 12px; display: flex; flex-direction: column; gap: 14px; }
.card-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.feature h3 { margin: 0; font-size: 1.7rem; }
.pitch { margin: 0; color: var(--text); font-size: 1.05rem; }

.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.facts li { position: relative; padding-left: 22px; color: var(--muted); font-size: .95rem; }
.facts li::before {
  content: ""; position: absolute; left: 2px; top: .55em;
  width: 8px; height: 8px; border-radius: 2px; background: var(--accent); transform: rotate(45deg);
}

.badge {
  font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--accent); border: 1px solid var(--accent); border-radius: 999px; padding: 2px 10px;
}
.badge-dev { color: var(--blue); border-color: var(--blue); }

.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: auto 0 0; }
.tags li {
  font-size: .8rem; color: var(--muted); background: var(--bg);
  border: 1px solid var(--line); border-radius: 6px; padding: 2px 8px;
}

/* Geliştirmedeki oyun */
.card {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  margin-top: 24px; background: var(--bg-2);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.card h3 { margin: 0; font-size: 1.4rem; }
.card p { margin: 0; color: var(--muted); }
.card-body { padding: 26px 28px; display: flex; flex-direction: column; gap: 12px; }
.dev-media { position: relative; border-right: 1px solid var(--line); }
.dev-media img { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; filter: saturate(.85); }
.ribbon {
  position: absolute; top: 12px; left: 12px;
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--text); background: rgba(15, 17, 21, .8);
  border: 1px dashed var(--line-2); border-radius: 6px; padding: 3px 8px;
}

/* Stüdyo */
.pillars { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pillars li { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.pillars svg { width: 36px; height: 36px; padding: 8px; fill: var(--accent); background: rgba(255, 194, 58, .1); border-radius: 10px; }
.pillars h3 { margin: 16px 0 6px; font-size: 1.1rem; }
.pillars p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- Alt bilgi ---------- */
.bottom { border-top: 1px solid var(--line); background: rgba(10, 12, 15, .6); color: var(--muted); font-size: .92rem; margin-top: 16px; }
.foot-in { display: grid; grid-template-columns: 1.4fr .8fr 1.2fr 1fr; gap: 32px; padding-block: 40px 28px; }
.social { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.social a { display: inline-flex; align-items: center; gap: 8px; }
.social svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.foot-brand p { margin: 10px 0 0; }
.foot-col { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.foot-col h4 { margin: 0 0 4px; color: var(--text); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; }
.foot-col a { text-decoration: none; }
.foot-col a:hover { color: var(--accent); }
.foot-col a[href^="mailto"] { color: var(--accent); }
.muted { color: var(--muted); font-size: .85rem; }
.foot-legal { border-top: 1px solid var(--line); padding-block: 16px 32px; }
.foot-legal p { margin: 0; font-size: .85rem; }

/* ---------- Gizlilik sayfası ---------- */
.legal { max-width: 720px; padding-block: 48px 64px; }
.legal h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 8px; }
.legal h2 { font-size: 1.15rem; margin: 32px 0 8px; }
.legal p { color: var(--muted); margin: 0 0 12px; line-height: 1.65; }
.legal a { color: var(--blue); }
.legal .lead-in { color: var(--text); font-size: 1.05rem; }

/* ---------- Büyütülebilir görsel + lightbox ---------- */
.zoom { position: relative; display: block; cursor: zoom-in; }
.zoom::after {
  content: ""; position: absolute; top: 10px; right: 10px; width: 32px; height: 32px;
  border-radius: 8px; border: 1px solid var(--line-2);
  background: rgba(15, 17, 21, .78) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e8eaef' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6'/%3E%3Cpath d='M15 15l5 5M10.5 8v5M8 10.5h5'/%3E%3C/svg%3E") center / 18px no-repeat;
  opacity: 0; transform: scale(.9); transition: opacity .18s, transform .18s;
  pointer-events: none;
}
.zoom:hover::after, .zoom:focus-visible::after { opacity: 1; transform: none; }
.gallery .zoom::after { width: 26px; height: 26px; top: 6px; right: 6px; background-size: 15px; }
.hero-art .zoom { border-radius: var(--radius); }
.hero-art figcaption { pointer-events: none; }
.dev-media .zoom { height: 100%; }
@media (hover: none) { .zoom::after { opacity: .9; transform: none; } }

html.lb-open { overflow: hidden; }
.lb {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; color: var(--text);
  background: rgba(8, 9, 12, .97);
}
.lb::backdrop { background: rgba(0, 0, 0, .6); }
.lb[open] { animation: lb-in .18s ease-out; }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
.lb-fig {
  margin: 0; height: 100%; padding: 60px 76px 20px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
}
.lb-img {
  width: auto; height: auto; max-width: 100%; max-height: calc(100% - 48px);
  object-fit: contain; border-radius: 10px; border: 1px solid var(--line-2);
  box-shadow: var(--shadow); background: var(--bg-2); transition: opacity .15s;
}
.lb.is-loading .lb-img { opacity: .35; }
.lb-cap { max-width: 60em; text-align: center; color: var(--muted); font-size: .95rem; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.lb-count { color: var(--accent); font-weight: 600; font-variant-numeric: tabular-nums; }
.lb-btn {
  position: absolute; display: grid; place-items: center; width: 48px; height: 48px; padding: 0;
  border-radius: 50%; border: 1px solid var(--line-2); background: rgba(23, 26, 33, .85);
  color: var(--text); cursor: pointer; transition: border-color .15s, background .15s;
}
.lb-btn:hover { border-color: var(--accent); background: var(--bg-3); }
.lb-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.lb-btn[hidden], .lb-count[hidden] { display: none; }
.lb-close { top: 14px; right: 14px; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); }
.lb-prev { left: 14px; }
.lb-next { right: 14px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

@media (max-width: 900px) {
  .hero { padding-block: 40px 48px; }
  .hero-in { grid-template-columns: 1fr; gap: 32px; }
  .feature, .card { grid-template-columns: 1fr; }
  .feature-body { padding: 8px 24px 26px; }
  .dev-media { border-right: 0; border-bottom: 1px solid var(--line); }
  .pillars { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  nav { gap: 14px; }
  nav a { display: none; }
  .brand { font-size: 1.05rem; }
  .brand .logo { height: 24px; }
  .section { padding-block: 48px; }
  .card-body { padding: 22px; }
  .feature-media { padding: 12px; }
  .gallery { gap: 8px; }
  .lb-fig { padding: 64px 10px 84px; }
  .lb-prev, .lb-next { top: auto; bottom: 18px; transform: none; }
  .lb-prev { left: calc(50% - 60px); }
  .lb-next { right: calc(50% - 60px); }
}
