/* games.tempussoft.com — uygulama mağazası görünümü. Koyu, sistem yazı tipi, oyunun vurgu rengi --accent ile. */
:root {
  color-scheme: dark;
  --bg: #0d0e10; --bg-2: #15171a; --panel: #1b1e22; --line: #2a2e34;
  --ink: #f2f3f5; --ink-2: #c9ced6; --ink-3: #9aa1ab;
  --accent: #d8a24a; --on-accent: #17120a;
  --r: 16px; --wrap: 1180px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 1rem/1.6 var(--font); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .4em; letter-spacing: -0.015em; text-wrap: balance; }
h1 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.7rem); }
h2 { font-size: clamp(1.25rem, 1.1rem + .7vw, 1.6rem); }
p { margin: 0 0 1em; text-wrap: pretty; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: 16px; top: -48px; background: var(--ink); color: var(--bg); padding: 8px 12px; border-radius: 6px; z-index: 10; }
.skip:focus { top: 8px; }
.muted { color: var(--ink-3); }

/* üst çubuk */
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 14px; min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; }
.brand svg { width: 28px; height: 28px; }
.brand small { font-weight: 500; color: var(--ink-3); }
.top nav { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.top nav a { color: var(--ink-2); text-decoration: none; padding: 6px 12px; border-radius: 999px; font-size: .92rem; white-space: nowrap; }
.top nav a:hover { background: var(--panel); color: var(--ink); }
.lang { border: 1px solid var(--line); font-size: .8rem !important; }
@media (max-width: 520px) { .brand small, .top nav .hide-sm { display: none; } }

/* öne çıkan */
.feature { position: relative; margin: 24px 0 8px; border-radius: var(--r); overflow: hidden; background: var(--panel); border: 1px solid var(--line); display: block; color: inherit; text-decoration: none; }
.feature img.cover { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }
.feature .over { position: absolute; inset: auto 0 0 0; padding: clamp(16px, 3vw, 32px); background: linear-gradient(transparent, rgba(0,0,0,.82)); display: flex; gap: 16px; align-items: flex-end; }
.feature .over h2 { margin: 0; font-size: clamp(1.4rem, 1rem + 2vw, 2.3rem); }
.feature .over p { margin: 2px 0 0; color: var(--ink-2); }
.feature .icon { width: clamp(56px, 8vw, 88px); height: auto; border-radius: 22%; box-shadow: 0 8px 24px rgba(0,0,0,.5); flex: none; }
@media (max-width: 600px) { .feature img.cover { aspect-ratio: 16 / 10; } }

/* katalog */
.section { padding: 28px 0 8px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.apps { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); margin-top: 14px; }
.app { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); color: inherit; text-decoration: none; transition: border-color .15s, background-color .15s; }
.app:hover { border-color: color-mix(in srgb, var(--accent) 60%, var(--line)); background: color-mix(in srgb, var(--panel) 85%, var(--accent)); }
.app img { width: 72px; height: 72px; border-radius: 22%; flex: none; }
.app h3 { margin: 0; font-size: 1.05rem; }
.app .meta { font-size: .85rem; color: var(--ink-3); }
.pill { display: inline-block; font-size: .75rem; font-weight: 600; padding: 2px 9px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--accent); margin-top: 4px; }

/* detay başlığı */
.hero { position: relative; }
.hero .banner { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; mask-image: linear-gradient(#000 55%, transparent); }
@media (max-width: 700px) { .hero .banner { aspect-ratio: 16 / 9; } }
.head { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; margin-top: clamp(-80px, -7vw, -40px); position: relative; }
.head .icon { width: clamp(84px, 12vw, 128px); height: auto; border-radius: 22%; box-shadow: 0 10px 30px rgba(0,0,0,.55); border: 1px solid var(--line); }
.head h1 { margin: 0; }
.head .tagline { color: var(--accent); font-weight: 600; margin: 2px 0 4px; }
.head .dev { color: var(--ink-3); font-size: .92rem; margin: 0; }
.head .dev a { color: var(--ink-2); }
@media (max-width: 560px) { .head { grid-template-columns: 1fr; margin-top: -48px; } }

/* mağaza düğmeleri */
.stores { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 6px; }
.store { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 18px 8px 14px; border-radius: 12px; background: var(--ink); color: var(--bg); text-decoration: none; border: 1px solid var(--ink); }
.store svg { width: 26px; height: 26px; flex: none; }
.store span { display: grid; line-height: 1.15; }
.store small { font-size: .7rem; opacity: .75; }
.store b { font-size: 1.02rem; }
.store:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.store[aria-disabled="true"] { background: transparent; color: var(--ink-2); border-color: var(--line); cursor: default; }
.store[aria-disabled="true"]:hover { background: transparent; color: var(--ink-2); border-color: var(--line); }

/* ekran görüntüleri */
.shots { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(180px, 22vw, 240px); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 14px; margin: 14px -2px 0; scrollbar-width: thin; }
.shots figure { margin: 0; scroll-snap-align: start; }
.shots img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 14px; border: 1px solid var(--line); background: var(--panel); }

/* bilgi */
.cols { display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; margin-top: 20px; }
@media (max-width: 860px) { .cols { grid-template-columns: 1fr; } }
.features { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 14px; }
.features li { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.features h3 { font-size: 1rem; margin: 0 0 4px; color: var(--ink); }
.features p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.facts { width: 100%; border-collapse: collapse; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; font-size: .94rem; }
.facts th, .facts td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.facts th { color: var(--ink-3); font-weight: 500; width: 38%; }
.facts tr:last-child th, .facts tr:last-child td { border-bottom: 0; }

/* sosyal */
.social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.social a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: .92rem; }
.social a:hover { border-color: var(--accent); color: var(--accent); }
.social svg { width: 18px; height: 18px; }
.social small { color: var(--ink-3); }

footer { margin-top: 48px; padding: 28px 0 40px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: .9rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; }
footer a { color: var(--ink-2); }
.crumb { font-size: .88rem; color: var(--ink-3); padding: 12px 0; }
.crumb a { color: var(--ink-2); }
