/* Akkus Games: tek stil dosyası. Renk belirteçleri :root üzerinde, koyu tema prefers-color-scheme ile. */
@font-face {
  font-family: 'Jersey 10';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/jersey-10-latin-400-normal.woff2) format('woff2');
  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: 'Jersey 10';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/jersey-10-latin-ext-400-normal.woff2) format('woff2');
  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 {
  color-scheme: light dark;
  --bg: #fff4e0;
  --bg-2: #fbe7c6;
  --surface: #fffaf0;
  --ink: #2b2238;
  --muted: #6a5f78;
  --line: #2b2238;
  --brand: #e2733a;
  --brand-2: #c95f2b;
  --on-brand: #fffaf0;
  --link: #b24f1c;
  --sun: #f6c454;
  --accent: var(--brand);
  --tint: var(--sun);
  --radius: 6px;
  --shadow: 4px 4px 0 var(--line);
  --pixel: 'Jersey 10', ui-rounded, system-ui, sans-serif;
  --body: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1c1830;
    --bg-2: #241e3d;
    --surface: #2a2346;
    --ink: #fff4e0;
    --muted: #c9bcd6;
    --line: #0d0a18;
    --brand: #f08a4b;
    --brand-2: #e2733a;
    --on-brand: #1c1830;
    --link: #ffb27d;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.65 var(--body);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--pixel); font-weight: 400; line-height: 1.05; letter-spacing: .02em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 7.5vw, 4.4rem); margin: .2em 0 .3em; }
h2 { font-size: clamp(1.9rem, 4.4vw, 2.5rem); margin: 1.6em 0 .5em; }
h3 { font-size: 1.6rem; margin: 0 0 .3em; }
p { margin: 0 0 1em; }
.lead { font-size: 1.12rem; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 16px; }

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left));
  padding-right: max(16px, env(safe-area-inset-right));
}
.section { padding-top: 24px; padding-bottom: 24px; }

/* üst bar */
.site-header { border-bottom: 3px solid var(--line); background: var(--bg-2); position: sticky; top: 0; z-index: 5; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--pixel); font-size: 1.8rem; margin: 0; }
.logo img { image-rendering: pixelated; }
.logo b { color: var(--brand); margin-left: .25em; }
.logo.small { font-size: 1.5rem; }
nav { display: flex; align-items: center; gap: 4px; }
nav a { color: var(--ink); text-decoration: none; padding: 8px 10px; border-radius: var(--radius); font-weight: 600; font-size: .95rem; }
nav a:hover { background: var(--surface); }
nav a.lang { border: 2px solid var(--line); background: var(--surface); font-family: var(--pixel); font-size: 1.15rem; padding: 2px 9px; margin-left: 4px; }
@media (max-width: 420px) { .logo span { font-size: 1.5rem; } nav a { padding: 8px 6px; font-size: .9rem; } }

.lang-hint { background: var(--sun); color: #2b2238; border-bottom: 3px solid var(--line); }
.lang-hint .wrap { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding-top: 8px; padding-bottom: 8px; }
.lang-hint a { color: #2b2238; font-weight: 700; }
.hint-close { margin-left: auto; background: transparent; border: 2px solid #2b2238; color: #2b2238; border-radius: var(--radius); width: 32px; height: 32px; font-size: 1.2rem; line-height: 1; cursor: pointer; }

/* düğmeler */
.btn, .store-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: var(--on-brand);
  border: 3px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 10px 18px; font-weight: 700; text-decoration: none;
  transition: transform .08s ease, box-shadow .08s ease;
}
.btn:hover, a.store-btn:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--line); }
.btn.ghost { background: var(--surface); color: var(--ink); }
.store-btn { font-family: var(--pixel); font-size: 1.4rem; letter-spacing: .02em; margin-top: 8px; }
.store-btn.soon { background: var(--surface); color: var(--ink); cursor: default; }
.glyph { image-rendering: pixelated; }

/* ana sayfa kahraman */
.hero { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-bottom: 3px dashed color-mix(in srgb, var(--line) 25%, transparent); }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; padding-top: 48px; padding-bottom: 48px; }
.hero-icons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 440px; margin-left: auto; }
.hero-icons img { width: 100%; aspect-ratio: 1; border: 3px solid var(--line); border-radius: 22%; box-shadow: var(--shadow); image-rendering: pixelated; animation: bob 4s ease-in-out infinite; }
.hero-icons img:nth-child(odd) { rotate: -4deg; }
.hero-icons img:nth-child(even) { rotate: 3deg; animation-delay: -1.3s; }
.hero-icons img:nth-child(3n) { animation-delay: -2.6s; }
.hero-icons img:nth-child(n+7) { display: none; }
@keyframes bob { 50% { translate: 0 -6px; } }
@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 1fr; padding-top: 24px; padding-bottom: 28px; gap: 8px; }
  .hero-icons { order: -1; grid-template-columns: repeat(6, 1fr); gap: 8px; max-width: none; margin: 0 0 8px; }
  .hero-icons img { border-width: 2px; box-shadow: 2px 2px 0 var(--line); }
}

/* oyun kartları */
.game-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.game-card { background: var(--surface); border: 3px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: transform .1s ease, box-shadow .1s ease; }
.game-card:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--line); }
.card-link { color: inherit; text-decoration: none; display: flex; flex-direction: column; height: 100%; }
.card-art { aspect-ratio: 16 / 9; background: var(--accent); border-bottom: 3px solid var(--line); overflow: hidden; }
.card-art img { width: 100%; height: 100%; object-fit: cover; image-rendering: auto; }
.game-card.portrait .card-art img { object-position: 50% 35%; }
.card-body { display: flex; gap: 14px; padding: 16px; align-items: flex-start; }
.card-body p { margin: 0 0 .6em; font-size: .97rem; }
.icon { border: 3px solid var(--line); border-radius: 22%; image-rendering: pixelated; flex: none; background: var(--accent); }
.icon.big { width: 160px; height: 160px; box-shadow: var(--shadow); }
.genre { font-family: var(--pixel); color: var(--accent); font-size: 1.25rem; letter-spacing: .03em; margin: 0 0 .2em; filter: brightness(.85); }
@media (prefers-color-scheme: dark) { .genre { filter: none; } }
.pill { display: inline-block; font-size: .8rem; font-weight: 700; padding: 2px 10px; border: 2px solid var(--line); border-radius: 99px; background: color-mix(in srgb, var(--tint) 40%, #fffaf0); color: #2b2238; }

/* panolar */
.about { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; } }
.panel { background: var(--surface); border: 3px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 4px 22px 18px; }
.panel h2 { margin-top: .8em; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { padding-left: 28px; position: relative; margin: .4em 0; }
.ticks li::before { content: ''; position: absolute; left: 4px; top: .5em; width: 12px; height: 12px; background: var(--brand); box-shadow: 2px 2px 0 var(--line); }
.plain { list-style: none; padding: 0; margin: 0; }
.plain li { margin: .35em 0; }

/* oyun sayfası */
.game-hero { background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 30%, var(--bg)), var(--bg) 70%); border-bottom: 3px solid var(--line); }
.game-hero-grid { display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center; padding-top: 40px; padding-bottom: 40px; }
.subtitle { font-family: var(--pixel); font-size: 1.7rem; margin-top: -.2em; color: var(--muted); }
@media (max-width: 640px) {
  .game-hero-grid { grid-template-columns: 1fr; gap: 12px; padding-top: 24px; padding-bottom: 28px; }
  .icon.big { width: 112px; height: 112px; }
}
.shots { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; list-style: none; margin: 0; padding: 8px 4px 20px; overscroll-behavior-x: contain; }
.shots li { flex: none; scroll-snap-align: start; }
.shots img { border: 3px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); background: var(--surface); }
.shots.portrait img { width: 240px; aspect-ratio: 1320 / 2868; }
.shots.landscape img { width: min(620px, 86vw); aspect-ratio: 2868 / 1320; }
@media (max-width: 640px) { .shots.portrait img { width: 62vw; max-width: 240px; } }
.game-text { display: grid; grid-template-columns: 1fr 320px; gap: 32px; align-items: start; }
@media (max-width: 860px) { .game-text { grid-template-columns: 1fr; } }
.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.feature { background: var(--surface); border: 3px solid var(--line); border-left-width: 10px; border-left-color: var(--accent); border-radius: var(--radius); padding: 14px 16px; }
.feature p { margin: 0; font-size: .97rem; }
.side dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; }
.side dt { font-weight: 700; }
.side dd { margin: 0; overflow-wrap: anywhere; }

/* belgeler */
.doc { max-width: 800px; padding-top: 24px; padding-bottom: 48px; }
.doc-head { display: flex; align-items: center; gap: 16px; margin-bottom: 1em; }
.doc-head h1 { font-size: clamp(2.2rem, 6vw, 3.2rem); margin: 0; }
.doc-head p { margin: .3em 0 0; }
.doc h2 { font-size: 1.8rem; margin-top: 1.8em; padding-bottom: 4px; border-bottom: 3px solid color-mix(in srgb, var(--accent) 60%, transparent); }
.doc li { margin: .3em 0; }
.doc ul { padding-left: 1.3em; }
.crumbs { font-size: .9rem; color: var(--muted); margin: 0 0 .8em; }
details { background: var(--surface); border: 3px solid var(--line); border-radius: var(--radius); margin: 10px 0; }
summary { cursor: pointer; padding: 12px 16px 12px 40px; font-weight: 700; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::before { content: ''; position: absolute; left: 16px; top: 1.05em; width: 0; height: 0; border-left: 8px solid var(--accent); border-top: 6px solid transparent; border-bottom: 6px solid transparent; transition: transform .15s; }
details[open] > summary::before { transform: rotate(90deg); }
details > div { padding: 0 16px 14px; }
.support-list li { margin: .5em 0; }

/* 404 */
.nf { text-align: center; padding-top: 56px; padding-bottom: 72px; }
.nf img { margin: 0 auto; image-rendering: pixelated; }
.nf h1 { font-size: 6rem; margin: .2em 0; }

/* alt bilgi */
.site-footer { margin-top: 48px; border-top: 3px solid var(--line); background: var(--bg-2); padding: 28px 0 calc(20px + env(safe-area-inset-bottom)); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; gap: 8px; } }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: .3em 0; }
.foot-h { font-family: var(--pixel); font-size: 1.45rem; margin: .4em 0 .3em; }
.copy { margin-top: 18px; font-size: .88rem; }

/* games.json */
.g-kayipharita{--accent:#2fb7a8;--tint:#e8c27a}
.g-tekir{--accent:#f0a33a;--tint:#9b7bd0}
.g-ilmek{--accent:#e2733a;--tint:#f6c454}
.g-tezgah{--accent:#d9534f;--tint:#f6c454}
.g-kurye{--accent:#f2b632;--tint:#5b6ee1}
.g-bostan{--accent:#5fae3e;--tint:#e85d4a}
