/* fikapi.com ortak stili (tasarım yönü A "Vitrin", 25 Kas 2026, sahip onayı).
   NEDEN BÖYLE: indirmeyi en çok oyun görseli getiriyor; koyu, sıcak bir zemin üç oyunun renkli görselini öne
   çıkarır ve Starloop/Korkut'un kendi koyu dünyasıyla uyuşur. Bütün sayfalar (ana sayfa, oyun, destek, gizlilik)
   aynı sınıfları kullanır; oyun sayfaları yalnız vurgu rengini <body data-game="..."> ile değiştirir.
   Kurallar: el kitabı 12-video-tasarim-araclari.md (anti-AI-slop): tek vurgu rengi az yerde, kenar ya da gölge
   (ikisi değil), 4/8 tabanlı boşluk, gövde >= 16 px, zemin saf siyah değil. */

:root {
  --bg: #14161b;
  --panel: #1c1f26;
  --panel-2: #232731;
  --ink: #f1ece2;
  --ink-2: #d9d3c8;
  --muted: #a39e96;
  --line: #2b2f39;
  --accent: #e9b949;            /* fikapi altını; oyun sayfalarında oyunun rengi */
  --on-accent: #1a1408;
  --display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  --r-lg: 20px;
  --r-md: 14px;
  --r-sm: 12px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}
body[data-game="memleket"] { --accent: #7cc89a; --on-accent: #0f2417; }
body[data-game="starloop"] { --accent: #e9b949; --on-accent: #1a1408; }
body[data-game="korkut"]   { --accent: #5cc3d6; --on-accent: #08222a; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
::selection { background: var(--accent); color: var(--on-accent); }
a { color: var(--ink); text-decoration-color: color-mix(in srgb, var(--ink) 35%, transparent); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
img { max-width: 100%; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px 64px; display: grid; gap: 24px; }

/* fikapi çubuğu: ürün sayfalarının en üstünde stüdyo kimliği (sahip isteği, 25 Kas). Oyunun kendi başlığı altında. */
.studio-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; border-bottom: 1px solid var(--line); margin: 0 -16px; padding: 0 16px; }
.studio-bar .wordmark { font-size: 21px; }
.studio-bar nav { gap: 4px 16px; font-size: 14px; }
.studio-bar nav a[aria-current="page"] { box-shadow: none; color: var(--ink); }

/* Üst çubuk: marka solda, menü sağda; telefonda da tek satır kalır. */
header.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-height: 44px; }
.brand img { width: 36px; height: 36px; border-radius: 9px; image-rendering: pixelated; }
.brand span { font: 800 20px/1 var(--display); letter-spacing: .01em; }
nav { display: flex; gap: 4px 18px; flex-wrap: wrap; font-size: 15px; }
nav a { color: var(--muted); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
nav a:hover { color: var(--ink); }
nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); }

h1, h2, h3 { font-family: var(--display); margin: 0; text-wrap: balance; }
h1 { font-weight: 700; font-size: clamp(34px, 7vw, 60px); line-height: 1.04; letter-spacing: -.03em; }
h2 { font-weight: 700; font-size: 26px; line-height: 1.15; letter-spacing: -.02em; margin-top: 8px; }
h3 { font-weight: 700; font-size: 20px; line-height: 1.2; letter-spacing: -.01em; }
p { margin: 0; max-width: 68ch; }
.muted { color: var(--muted); }
small { font-size: 14px; color: var(--muted); }

/* Kart: yükselti yalnız zemin tonuyla (kenar da gölge de yok). */
.card { background: var(--panel); border-radius: var(--r-lg); padding: 20px; display: grid; gap: 10px; align-content: start; }
.scene { width: 100%; aspect-ratio: 192 / 88; object-fit: cover; image-rendering: pixelated; border-radius: var(--r-lg); display: block; background: var(--panel); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.grid .card { padding: 0 0 18px; overflow: hidden; }
.grid .card .scene { border-radius: 0; }
.grid .card h3, .grid .card p { padding-inline: 18px; }

/* Ana eylem: açık zeminli tek düğme. Yakında durumu düğme değil düz etiket (span). */
.badge { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: var(--r-sm); font: 650 16px/1 var(--body); background: transparent; color: var(--muted); box-shadow: inset 0 0 0 1.5px var(--line); }
a.badge { background: var(--ink); color: var(--bg); box-shadow: none; text-decoration: none; transition: transform .12s, background .22s; }
a.badge::before { content: ""; width: 16px; height: 19px; background: currentColor; -webkit-mask: var(--apple) no-repeat center / contain; mask: var(--apple) no-repeat center / contain; }
a.badge:hover { background: #fff; }
a.badge:active { transform: scale(.97); }
:root { --apple: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 24'%3E%3Cpath d='M16.4 12.6c0-2.4 2-3.6 2.1-3.7-1.1-1.7-2.9-1.9-3.5-1.9-1.5-.2-2.9.9-3.7.9-.8 0-1.9-.9-3.2-.8-1.6 0-3.1 1-4 2.4-1.7 3-.4 7.4 1.2 9.8.8 1.2 1.8 2.5 3 2.4 1.2 0 1.7-.8 3.1-.8 1.5 0 1.9.8 3.2.8 1.3 0 2.2-1.2 3-2.4.9-1.4 1.3-2.7 1.3-2.8 0 0-2.5-1-2.5-3.9zM14 5.5c.7-.8 1.1-1.9 1-3-1 0-2.1.7-2.8 1.5-.6.7-1.2 1.8-1 2.9 1.1.1 2.1-.6 2.8-1.4z'/%3E%3C/svg%3E"); }

/* Mağaza dışı ana düğme (Apple işareti yok). */
.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px; border-radius: var(--r-sm); font: 650 16px/1 var(--body); background: var(--ink); color: var(--bg); text-decoration: none; }
.btn:hover { background: #fff; }

/* Uzun metin sayfaları (gizlilik, destek, şartlar): okuma genişliği ve sakin başlık aralığı. */
.doc { display: grid; gap: 14px; max-width: 72ch; }
.doc h1 { font-size: clamp(32px, 6vw, 44px); }
.doc h2 { font-size: 22px; margin-top: 18px; }
.doc ul, .doc ol { margin: 0; padding-left: 22px; display: grid; gap: 6px; }
.doc p, .doc li { color: var(--ink-2); }
.doc .card p { color: var(--ink-2); }
.mail { font: 700 22px/1.2 var(--display); }
.mail a { text-decoration-color: var(--accent); }

footer { color: var(--muted); font-size: 14px; display: grid; gap: 6px; border-top: 1px solid var(--line); padding-top: 20px; margin-top: 16px; }
footer a { color: var(--muted); }
footer a:hover { color: var(--ink); }

/* ---------- Ana sayfa ---------- */
.home-hero { padding: 32px 0 8px; display: grid; gap: 16px; }
.home-hero h1 { font-size: clamp(40px, 8.4vw, 80px); line-height: 1.02; letter-spacing: -.03em; max-width: 13ch; }
.home-hero p { color: var(--muted); max-width: 52ch; font-size: 18px; }
/* Masaüstünde başlık iki satıra yayılır, tanıtım cümlesi alta değil sağa oturur: dar sütunda sıkışmış görünüyordu. */
@media (min-width: 900px) {
  .home-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 26rem); column-gap: 56px; row-gap: 28px; padding: 96px 0 56px; }
  .home-hero h1 { grid-column: 1 / -1; max-width: 18ch; font-size: clamp(64px, 7vw, 100px); letter-spacing: -.035em; }
  .home-hero p { grid-column: 2; font-size: 19px; }
}
.wordmark { font: 800 26px/1 var(--display); letter-spacing: -.035em; color: var(--ink); text-decoration: none; display: inline-flex; align-items: baseline; min-height: 44px; align-items: center; }
.wordmark .dot { display: inline-block; width: .26em; height: .26em; margin-left: .06em; align-self: flex-end; margin-bottom: .34em; border-radius: 50%; background: var(--accent); transition: background .6s var(--ease-out), box-shadow .6s; }
.wordmark:hover .dot { box-shadow: 0 0 12px 2px color-mix(in srgb, var(--accent) 60%, transparent); }

.games { display: grid; gap: 20px; }
.game { background: var(--panel); border-radius: var(--r-lg); overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.game .art-link { display: block; overflow: hidden; }
.game .art { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; display: block; transition: transform 1.4s var(--ease-out); }
.game[data-game="memleket"] .art, .game[data-game="memleket"] .icon { image-rendering: pixelated; }
.game:hover .art { transform: scale(1.035); }
.game .body { display: grid; grid-template-columns: 64px 1fr; gap: 14px 16px; padding: 18px 20px 22px; align-content: start; align-items: center; }
.game .icon { width: 64px; height: 64px; border-radius: 15px; display: block; transition: transform .5s var(--ease-out); }
.game:hover .icon { transform: rotate(-4deg) scale(1.04); }
.game h2 { font-size: 24px; margin: 0; }
.game h2 a { text-decoration: none; }
.game .genre { color: var(--muted); font-size: 14px; margin-top: 2px; }
.game .line { grid-column: 1 / -1; color: var(--ink-2); }
.game .actions { grid-column: 1 / -1; display: flex; gap: 8px 18px; flex-wrap: wrap; align-items: center; }
.game .more { font-size: 15px; min-height: 44px; display: inline-flex; align-items: center; }
.game[data-game="memleket"] { --accent: #7cc89a; }
.game[data-game="korkut"] { --accent: #5cc3d6; }
.game .more:hover { text-decoration-color: var(--accent); }

.studio { display: grid; gap: 16px; padding: 24px 0 8px; }
.studio .cols { display: grid; gap: 16px; }
.studio .card h3 { display: flex; align-items: center; gap: 10px; }
.studio .card svg { width: 22px; height: 22px; flex: none; stroke: var(--accent); }
.studio .card p { color: var(--ink-2); font-size: 16px; }

/* Saklı detay: alt bilgideki ay, bu gecenin gerçek evresiyle çizilir (Starloop'un "gök gerçek" fikri). */
.sky { display: inline-flex; align-items: center; gap: 10px; }
.sky svg { width: 18px; height: 18px; flex: none; }
.langs a { white-space: nowrap; }

@media (min-width: 900px) {
  .games { grid-template-columns: 1fr 1fr; }
  .games .game:first-child { grid-column: 1 / -1; grid-template-columns: 1.45fr 1fr; grid-template-rows: none; }
  .games .game:first-child .art { aspect-ratio: auto; height: 100%; min-height: 360px; }
  .games .game:first-child .body { align-content: center; padding: 32px; }
  .games .game:first-child h2 { font-size: 32px; }
  .studio .cols { grid-template-columns: repeat(3, 1fr); }
}

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

/* Oyun sayfalarının altında "diğer oyunlar" şeridi: oyun sayfasına gelen oyuncuya ikinci indirmeyi önerir
   (sahip onayı 25 Kas). Kart rengi oyunun kendi vurgusunu taşır, düğme yine tek ana eylem. */
.more { display: grid; gap: 16px; padding-top: 24px; }
.more-grid { display: grid; gap: 16px; }
.mini { background: var(--panel); border-radius: var(--r-lg); padding: 18px 20px 20px; display: grid; grid-template-columns: 56px 1fr; gap: 12px 14px; align-items: center; align-content: start; }
.mini .icon { width: 56px; height: 56px; border-radius: 13px; display: block; transition: transform .5s var(--ease-out); }
.mini[data-game="memleket"] .icon { image-rendering: pixelated; }
.mini:hover .icon { transform: rotate(-4deg) scale(1.04); }
.mini h3 a { text-decoration: none; }
.mini h3 a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.mini .genre { color: var(--muted); font-size: 14px; margin-top: 2px; }
.mini .line { grid-column: 1 / -1; color: var(--ink-2); font-size: 16px; }
.mini .actions { grid-column: 1 / -1; }
@media (min-width: 700px) { .more-grid { grid-template-columns: 1fr 1fr; } }

/* ===================== Ana sayfa v2 (sahip 26 Kas: "giren kişi kaliteyi hissetmeli") ===================== */
html { scroll-padding-top: 76px; }

/* Üst çubuk: sayfanın üstünde yapışık; en üstte zeminle bir, kayınca koyu zemin + ince çizgi (süs cam değil). */
.site-head { position: sticky; top: 0; z-index: 50; transition: background .22s, box-shadow .22s; }
.site-head.scrolled { background: rgba(20, 22, 27, .94); box-shadow: 0 1px 0 var(--line); }
.site-head-in { max-width: 1120px; margin: 0 auto; padding: 0 16px; min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.site-head nav { display: flex; align-items: center; gap: 4px 22px; font-size: 15px; flex-wrap: nowrap; }
.site-head nav > a, .menu-btn { color: var(--muted); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; gap: 4px; }
.site-head nav > a:hover, .menu-btn:hover { color: var(--ink); }
.chev { width: 16px; height: 16px; transition: transform .22s; }
.lang-btn { font-weight: 650; letter-spacing: .04em; font-size: 13px; padding: 0 10px; border-radius: 8px; box-shadow: inset 0 0 0 1.5px var(--line); min-height: 32px !important; }
.has-menu { position: relative; }
.menu { position: absolute; top: calc(100% + 6px); left: -16px; min-width: 280px; background: var(--panel-2); border-radius: var(--r-md); padding: 8px; display: grid; gap: 2px; box-shadow: 0 18px 50px rgba(0, 0, 0, .45); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .22s, transform .22s var(--ease-out), visibility .22s; }
.has-menu:hover .menu, .has-menu:focus-within .menu { opacity: 1; visibility: visible; transform: none; }
.has-menu:hover .chev, .has-menu:focus-within .chev { transform: rotate(180deg); }
.menu a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px; text-decoration: none; color: var(--ink); }
.menu a:hover { background: var(--panel); }
.menu img { width: 40px; height: 40px; border-radius: 10px; }
.menu a:first-child img + span strong { color: var(--ink); }
.menu span { display: grid; line-height: 1.25; }
.menu strong { font: 700 15px/1.2 var(--display); }
.menu small { font-size: 13px; color: var(--muted); }
.menu a[href^="/memleket"] img { image-rendering: pixelated; }
@media (max-width: 640px) { .has-menu .menu, .chev { display: none; } .site-head nav { gap: 4px 14px; } }

body.home .wrap { gap: 0; }

/* Açılış: büyük başlık solda, tanıtım + eylem sağda. */
body.home .home-hero { display: grid; gap: 20px; padding: 40px 0 36px; }
body.home .home-hero h1 { font-size: clamp(42px, 9vw, 104px); line-height: .98; letter-spacing: -.04em; max-width: 12ch; }
.hero-side { display: grid; gap: 18px; align-content: end; }
.hero-side > p:first-child { color: var(--ink-2); font-size: 18px; max-width: 46ch; }
.hero-actions { display: flex; align-items: center; gap: 10px 22px; flex-wrap: wrap; }
.hero-actions .more { font-size: 15px; min-height: 44px; display: inline-flex; align-items: center; }
.free { color: var(--muted); font-size: 14px; }
@media (min-width: 900px) {
  body.home .home-hero { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); column-gap: 64px; padding: 88px 0 56px; align-items: end; }
  body.home .home-hero h1 { grid-column: auto; max-width: 11ch; }
  body.home .home-hero p { grid-column: auto; }
}

/* Telefon çerçevesi: genel bir çerçeve (marka şekli yok), video içeride. */
.device { position: relative; background: #0b0c10; border-radius: 30px; padding: 7px; box-shadow: inset 0 0 0 1.5px #2e323c, 0 30px 70px rgba(0, 0, 0, .5); }
.device video { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 23px; background: #07080b; }
.device.tall { aspect-ratio: 9 / 19.5; }
.device.wide { aspect-ratio: 19.5 / 9; }
.device[data-game="memleket"] video { image-rendering: pixelated; }

/* Video sahnesi: ortada yatay Memleket, önde iki dikey telefon. */
.stage { position: relative; height: clamp(300px, 56vw, 640px); margin: 8px 0 24px; }
.stage .device { position: absolute; }
.stage .center { left: 50%; top: 4%; width: min(94%, 860px); transform: translateX(-50%); }
.stage .left, .stage .right { bottom: 0; width: clamp(104px, 21vw, 250px); z-index: 2; }
.stage .left { left: 2%; transform: rotate(-5deg); }
.stage .right { right: 2%; transform: rotate(5deg); }
@media (min-width: 900px) { .stage .left { left: 4%; } .stage .right { right: 4%; } .stage .center { top: 0; width: min(72%, 860px); } }

/* Oyun bölümleri: masaüstünde iki sütun, sırayla yer değiştirir. Telefonun arkasında oyunun kendi dünyası. */
.section-h { font-size: clamp(30px, 5vw, 48px); letter-spacing: -.03em; margin: 56px 0 8px; }
.features { display: grid; gap: 28px; }
.feature { display: grid; gap: 24px; align-items: center; }
.feature-media { position: relative; border-radius: var(--r-lg); overflow: hidden; display: grid; place-items: center; padding: 40px 24px; min-height: 360px; background: #0b0c10; isolation: isolate; }
.feature-media::before { content: ""; position: absolute; inset: 0; background: var(--art) center / cover no-repeat; opacity: .38; z-index: -1; transform: scale(1.04); transition: transform 2.4s var(--ease-out); }
.feature[data-game="memleket"] .feature-media::before { image-rendering: pixelated; }
.feature-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 12, 16, .1), rgba(11, 12, 16, .65)); z-index: -1; }
.feature:hover .feature-media::before { transform: scale(1.09); }
.feature-media .device.tall { width: min(62%, 270px); }
.feature-media .device.wide { width: 100%; max-width: 620px; }
.feature-head { display: flex; align-items: center; gap: 16px; }
.feature-head .icon { width: 64px; height: 64px; border-radius: 15px; }
.feature[data-game="memleket"] .feature-head .icon { image-rendering: pixelated; }
.feature h3 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -.025em; }
.feature h3 a { text-decoration: none; }
.feature .genre { color: var(--muted); font-size: 15px; margin-top: 2px; }
.feature-text { display: grid; gap: 18px; align-content: center; }
.feature .line { color: var(--ink-2); font-size: 18px; }
.feats { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.feats li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.feats .tick { width: 20px; height: 20px; margin-top: 3px; color: var(--accent); }
.feature[data-game="memleket"] { --accent: #7cc89a; }
.feature[data-game="korkut"] { --accent: #5cc3d6; }
.feats strong { display: block; font-weight: 650; }
.feats span { color: var(--muted); font-size: 15px; line-height: 1.5; }
.feature .actions { display: flex; align-items: center; gap: 10px 22px; flex-wrap: wrap; }
.feature .more { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; min-height: 44px; text-decoration: none; }
.feature .more .arr { width: 16px; height: 16px; transition: transform .22s; }
.feature .more:hover .arr { transform: translateX(3px); }
@media (min-width: 900px) {
  .features { gap: 40px; }
  .feature { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; }
  .feature.flip .feature-media { order: 2; }
  .feature-media { min-height: 520px; }
}

body.home .studio { padding: 8px 0 24px; }
body.home .studio .section-h { margin-top: 72px; }
.studio .ico { width: 22px; height: 22px; flex: none; color: var(--accent); }

/* Ekrana girerken bir kez beliren bölümler (yalnız JS çalışınca gizlenir; JS yoksa içerik hep görünür). */
.js-reveal .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.js-reveal .reveal.in { opacity: 1; transform: none; }

/* Alt bilgi: sütunlu, marka + ay solda. */
.site-foot { display: block; border-top: 1px solid var(--line); margin-top: 72px; color: var(--muted); font-size: 14px; }
.site-foot-in { max-width: 1120px; margin: 0 auto; padding: 40px 16px 24px; display: grid; gap: 28px; grid-template-columns: 1fr 1fr; }
.foot-brand { grid-column: 1 / -1; display: grid; gap: 10px; align-content: start; }
.foot-brand .wordmark { font-size: 24px; }
.site-foot h4 { margin: 0 0 10px; font: 650 13px/1.2 var(--body); letter-spacing: .02em; color: var(--ink); }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.site-foot a { color: var(--muted); text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
.site-foot a:hover { color: var(--ink); }
.foot-help li { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.foot-help .g { color: var(--ink-2); min-width: 76px; }
.foot-help .sep { opacity: .5; }
@media (max-width: 899px) { .foot-help { grid-column: 1 / -1; } }
.site-foot .sky { display: inline-flex; align-items: center; gap: 10px; }
.foot-base { max-width: 1120px; margin: 0 auto; padding: 16px 16px 40px; display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); font-size: 13px; }
@media (min-width: 900px) { .site-foot-in { grid-template-columns: 1.5fr 1fr 1fr 1.5fr .8fr; } .foot-brand { grid-column: auto; } }
