/* ==========================================================================
   HAN · Ana sayfa (TR + EN)
   Sade ve dar: ortada sabit hap menü, ikili tonda başlıklar, küçük 3D oyun kolu,
   bölüm aralarından inen kablo, 16:9 dönen kutu, şehir haritası ve 3D konsol.
   ========================================================================== */

:root {
    /* Koyu kimlik: siyaha yakın zemin, kırık beyaz yazı, tek vurgu rengi (sinyal turuncusu) */
    color-scheme: dark;
    --bg: #0b0b0c;
    --soft: #161618;
    --soft-2: #1e1e21;
    --ink: #f2f1ee;
    --ink-2: #a3a3a6;
    --ink-3: #66666b;
    --line: #242427;
    --accent: #ff5a1f;
    --sans: "Geist", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    --max: 1024px;
    --pad: 24px;
    --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; position: relative; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

.wrap { position: relative; z-index: 2; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.muted { color: var(--ink-2); }
.u { border-bottom: 1px solid currentColor; }

/* Belirme geçişleri (han13 ile aynı dil) */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.blur-in { opacity: 0; filter: blur(24px); transform: scale(1.05); transition: opacity 1.8s var(--ease), filter 1.8s var(--ease), transform 1.8s var(--ease); }
.blur-in.is-ready { opacity: 1; filter: blur(0); transform: none; }
@keyframes fade-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* ---------- Ortadaki hap menü ---------- */
.pill-nav { position: fixed; inset: 16px 0 auto; z-index: 50; display: flex; justify-content: center; padding: 0 16px; pointer-events: none; }
.pill { width: 100%; max-width: 340px; height: 44px; overflow: hidden; border-radius: 12px; background: rgba(244, 244, 243, 0.86); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04); pointer-events: auto; transition: height .5s var(--ease); }
.pill-bar { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 44px; padding: 0 14px 0 16px; text-align: left; }
.pill-label { font-size: 13px; font-weight: 500; letter-spacing: -0.01em; animation: fade-in .35s ease-out both; }
.pill-icon { display: grid; place-items: center; width: 18px; height: 18px; color: var(--ink-2); }
.pill-icon svg { width: 16px; height: 16px; }
.pill-ring { transform: rotate(-90deg); }
.pill-list { padding: 0 8px 8px; opacity: 0; pointer-events: none; transition: opacity .3s; }
.pill.is-open .pill-list { opacity: 1; pointer-events: auto; }
.pill-list a { display: flex; justify-content: space-between; align-items: center; padding: 9px 8px; border-radius: 8px; font-size: 15px; letter-spacing: -0.01em; color: var(--ink-2); transition: background-color .2s, color .2s; }
.pill-list a:hover { background: #fff; color: var(--ink); }
.pill-list a.on { color: var(--ink); }
.pill-list a span { font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
.pill-sep { height: 1px; margin: 6px 8px; background: rgba(0, 0, 0, 0.06); }
.pill-cta { display: flex !important; justify-content: center !important; margin-top: 6px; background: var(--ink); color: #fff !important; font-size: 13px !important; font-weight: 500; }
.pill-cta:hover { background: #2a2a2a !important; }


/* ---------- Giriş ---------- */
.hero { position: relative; z-index: 3; padding: 124px 0 24px; text-align: center; }
.kicker { font-size: 13px; color: var(--ink-3); }
.hero h1 { margin-top: 12px; font-weight: 500; font-size: clamp(40px, 6vw, 68px); line-height: 1; letter-spacing: -0.045em; }
.hero h1 span { color: var(--ink-3); }
.hero .lead { max-width: 440px; margin: 18px auto 0; font-size: 16px; color: var(--ink-2); }
.pad-wrap { position: relative; width: min(600px, 100%); margin: 16px auto 0; }
#pad3d { display: block; width: 100%; aspect-ratio: 1.45 / 1; }
.no-3d #pad3d { display: none; }
.keys { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font-size: 13px; color: var(--ink-2); }
.keys a { display: inline-flex; align-items: center; gap: 8px; transition: color .2s; }
.keys a:hover { color: var(--ink); }
.keys a i { width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--c); }

.gap { height: 160px; }

/* ---------- Bölüm başlığı (ikili ton) ---------- */
.two-tone { font-weight: 500; font-size: clamp(26px, 3.2vw, 34px); line-height: 1.12; letter-spacing: -0.035em; }
.two-tone span { display: block; color: var(--ink-3); }
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: end; margin-bottom: 36px; }
.sec-head p { justify-self: end; max-width: 34ch; font-size: 15px; color: var(--ink-2); }

/* ---------- Oyunlar: 16:9 dönen kutu ---------- */
.reel { position: relative; z-index: 3; height: 380vh; }
.reel-sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-top: 40px; }
.stage { position: relative; width: min(720px, 100%); margin: 0 auto; perspective: 1800px; perspective-origin: 50% 40%; }
.box { position: relative; width: 100%; aspect-ratio: 16 / 9; transform-style: preserve-3d; will-change: transform; }
.face { position: absolute; inset: 0; overflow: hidden; border-radius: 14px; background: #0d0d0e; backface-visibility: hidden; transform: rotateX(calc(var(--k) * -90deg)) translateZ(calc(var(--h) / 2)); }
.face img, .face video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.face::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 64%, rgba(0, 0, 0, 0.55)); pointer-events: none; }
.face-title { position: absolute; left: 20px; bottom: 16px; z-index: 2; color: #fff; font-size: 14px; font-weight: 500; letter-spacing: -0.01em; }
.face-title span { display: block; font-size: 12px; font-weight: 400; opacity: .7; }
.face-shade { position: absolute; inset: 0; z-index: 3; background: #0b0b0c; opacity: 0; pointer-events: none; }
.face-text { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; color: #fff; background: radial-gradient(90% 90% at 75% 20%, #3a1d17, #111 70%); }
.face-text small { font-size: 12px; color: #ff8b80; }
.face-text strong { margin-top: 8px; max-width: 18ch; font-weight: 500; font-size: clamp(22px, 3vw, 32px); line-height: 1.08; letter-spacing: -0.035em; }

.reel-info { display: grid; grid-template-columns: 1fr 1.3fr; gap: 28px; width: min(720px, 100%); margin: 28px auto 0; transition: opacity .3s ease, transform .3s ease; }
.reel-info.is-swapping { opacity: 0; transform: translateY(6px); }
.reel-info .idx { font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
.reel-info h3 { margin-top: 6px; font-weight: 500; font-size: 20px; line-height: 1.15; letter-spacing: -0.03em; }
.reel-info .genre { color: var(--ink-3); font-size: 14px; }
.reel-info .desc { font-size: 14px; color: var(--ink-2); }
.tags { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; font-size: 13px; color: var(--ink-2); }
.tag { display: inline-flex; align-items: center; gap: 6px; }
.tag i { width: 6px; height: 6px; border-radius: 50%; }
.reel-links { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 12px; font-size: 13px; }
.reel-links a { border-bottom: 1px solid var(--line); padding-bottom: 1px; transition: border-color .2s; }
.reel-links a:hover, .reel-links a.strong { border-color: var(--ink); }
.reel-dots { position: absolute; right: 8px; top: 50%; display: flex; flex-direction: column; gap: 8px; transform: translateY(-50%); }
.reel-dots i { width: 4px; height: 4px; border-radius: 50%; background: #d4d4d1; transition: background-color .25s, transform .25s; }
.reel-dots i.on { background: var(--ink); transform: scale(1.5); }

/* ---------- Yol haritası: şehir haritası ---------- */
.roadmap { position: relative; z-index: 3; }
.gmap { position: relative; height: 460px; overflow: hidden; border-radius: 18px; background: #f5f3ef; border: 1px solid var(--line); touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; }
.gmap.is-dragging { cursor: grabbing; }
.gmap-layer { position: absolute; left: 0; top: 0; width: 1200px; height: 700px; transform-origin: 0 0; will-change: transform; }
.gmap-layer > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.g-land { fill: #f5f3ef; }
.g-water { fill: none; stroke: #aad3f0; stroke-width: 46; stroke-linecap: round; }
.g-park { fill: #cfe9cc; }
.g-path { fill: none; stroke: #b9dcb4; stroke-width: 2; stroke-dasharray: 4 4; }
.g-bld { fill: #e9e6df; stroke: #dedad1; stroke-width: 1; }
.g-bld.b2 { fill: #e4e0d8; }
.g-bld.b3 { fill: #eceae4; }
.g-road-case { stroke: #e3dfd6; stroke-width: 13; stroke-linecap: square; }
.g-road { stroke: #ffffff; stroke-width: 10; stroke-linecap: square; }
.g-major-case { stroke: #ecc65a; stroke-width: 19; stroke-linecap: round; }
.g-major { stroke: #fde293; stroke-width: 15; stroke-linecap: round; }
.g-label { font-family: var(--sans); font-size: 11px; fill: #85837d; paint-order: stroke; stroke: #fff; stroke-width: 3px; stroke-linejoin: round; letter-spacing: 0.01em; }
.g-label.water { fill: #4f8fc0; font-style: italic; }
.g-label.park { fill: #3f8a3a; }
.g-route-case { fill: none; stroke: #1558b0; stroke-width: 11; stroke-linecap: round; stroke-linejoin: round; }
.g-route { fill: none; stroke: #4285f4; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.g-route-next { fill: none; stroke: #4285f4; stroke-width: 7; stroke-linecap: round; stroke-dasharray: 0.1 13; }

.g-pin { position: absolute; z-index: 2; transform: translate(-50%, -100%) scale(var(--inv, 1)); transform-origin: 50% 100%; display: flex; align-items: flex-end; gap: 4px; cursor: pointer; }
.g-pin svg { width: 26px; height: 36px; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.25)); transition: transform .2s var(--ease); }
.g-pin:hover svg, .g-pin.on svg { transform: translateY(-3px) scale(1.12); }
.g-pin b { position: absolute; left: 30px; bottom: 14px; white-space: nowrap; font-size: 12px; font-weight: 600; letter-spacing: -0.01em; color: #202124; text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff; }
.g-pin b small { display: block; font-weight: 400; font-size: 11px; color: #5f6368; }
.g-pin.left b { left: auto; right: 30px; text-align: right; }
.g-here { position: absolute; z-index: 3; width: 18px; height: 18px; margin: -9px 0 0 -9px; transform: scale(var(--inv, 1)); }
.g-here i { position: absolute; inset: 0; border-radius: 50%; background: #4285f4; border: 3px solid #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35); }
.g-here::before { content: ""; position: absolute; inset: -16px; border-radius: 50%; background: rgba(66, 133, 244, 0.18); animation: ping 2.4s ease-out infinite; }
.g-here::after { content: ""; position: absolute; left: -14px; top: -34px; width: 46px; height: 40px; background: radial-gradient(60% 100% at 50% 100%, rgba(66, 133, 244, 0.35), transparent 70%); clip-path: polygon(50% 100%, 0 0, 100% 0); transform: rotate(40deg); transform-origin: 50% 100%; }
@keyframes ping { from { transform: scale(0.4); opacity: 1; } to { transform: scale(1.3); opacity: 0; } }

.gmap-search { position: absolute; left: 14px; top: 14px; z-index: 5; display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 16px; border-radius: 999px; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18), 0 2px 8px rgba(0, 0, 0, 0.06); font-size: 14px; color: #202124; }
.gmap-search svg { width: 16px; height: 16px; color: #5f6368; }
.gmap-search em { font-style: normal; color: #5f6368; }
.gmap-zoom { position: absolute; right: 14px; bottom: 14px; z-index: 5; display: flex; flex-direction: column; overflow: hidden; border-radius: 8px; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); }
.gmap-zoom button { display: grid; place-items: center; width: 36px; height: 36px; font-size: 18px; color: #5f6368; }
.gmap-zoom button + button { border-top: 1px solid #eee; }
.gmap-zoom button:hover { background: #f6f6f6; color: #202124; }
.gmap-card { position: absolute; left: 14px; bottom: 14px; z-index: 5; width: 270px; padding: 14px 16px; border-radius: 12px; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18), 0 6px 20px -8px rgba(0, 0, 0, 0.2); }
.gmap-card small { display: block; font-size: 11px; color: #5f6368; }
.gmap-card strong { display: block; margin-top: 2px; font-size: 15px; font-weight: 600; line-height: 1.25; letter-spacing: -0.015em; color: #202124; }
.gmap-card p { margin-top: 4px; font-size: 13px; color: #5f6368; }
.gmap-card .chips { display: flex; gap: 6px; margin-top: 10px; }
.gmap-card .chips span { padding: 3px 10px; border-radius: 999px; border: 1px solid #dadce0; font-size: 12px; color: #1a73e8; }
.gmap-card .chips span.state { color: #202124; }
.gmap-card.is-swapping { opacity: 0.4; }
.gmap-scale { position: absolute; right: 62px; bottom: 18px; z-index: 5; display: flex; align-items: center; gap: 6px; font-size: 10px; color: #5f6368; }
.gmap-scale i { width: 48px; height: 6px; border: 1.5px solid #5f6368; border-top: 0; }
.map-hint { margin-top: 12px; font-size: 13px; color: var(--ink-3); }

/* ---------- Konsol ---------- */
.console-section { position: relative; z-index: 3; }
.console-box { position: relative; width: min(640px, 100%); margin: 0 auto; }
#console3d { display: block; width: 100%; aspect-ratio: 1.9 / 1; }
.disc-tip { position: absolute; z-index: 4; padding: 7px 11px; border-radius: 8px; background: var(--ink); color: #fff; font-size: 12px; white-space: nowrap; pointer-events: none; opacity: 0; transform: translate(14px, -120%); transition: opacity .2s; }
.disc-tip small { display: block; font-size: 11px; color: rgba(255, 255, 255, 0.6); }
.disc-tip.is-on { opacity: 1; }
.console-caption { text-align: center; font-size: 14px; color: var(--ink-2); opacity: 0; transform: translateY(8px); transition: opacity .8s ease .6s, transform .8s ease .6s; }
.console-caption.is-on, .no-3d .console-caption { opacity: 1; transform: none; }
.console-caption a { color: var(--ink); border-bottom: 1px solid var(--ink); }

.footer { position: relative; z-index: 7; margin-top: 80px; padding: 20px 0 32px; border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; font-size: 13px; color: var(--ink-2); }
.footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer a:hover { color: var(--ink); }

/* ---------- Duyarlı ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal, .blur-in { opacity: 1; transform: none; filter: none; transition: none; }
    .g-here::before { animation: none; }
}
@media (max-width: 760px) {
    .sec-head { grid-template-columns: 1fr; gap: 12px; }
    .sec-head p { justify-self: start; }
    .reel { height: 340vh; }
    .reel-info { grid-template-columns: 1fr; gap: 6px; }
    .reel-dots { display: none; }
    .gmap { height: 420px; }
    .gmap-card { left: 10px; right: 10px; bottom: 10px; width: auto; }
    .gmap-zoom { bottom: auto; top: 64px; right: 10px; }
    .gmap-scale { display: none; }
    .gmap-search { left: 10px; right: 10px; }
    #pad3d { aspect-ratio: 1.35 / 1; }
    #console3d { aspect-ratio: 1.4 / 1; }
    .gap { height: 100px; }
}

/* ==========================================================================
   v8 — kart dilimleri, 3D harita, alt bilgi konsolu
   ========================================================================== */

/* Oyunlar: üzerine gelince genişleyen iki kart dilimi */
.games { position: relative; z-index: 3; }
.slices { display: flex; gap: 12px; height: 460px; }
.slice { position: relative; flex: 1; min-width: 0; overflow: hidden; border-radius: 18px; background: #0d0d0e; color: #fff; transition: flex-grow .7s var(--ease); }
.slices:hover .slice { flex-grow: 0.75; }
.slices .slice:hover { flex-grow: 1.6; }
.slice img, .slice video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.slice:hover img, .slice:hover video { transform: scale(1.04); }
.slice::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.72)); pointer-events: none; }
.slice-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 22px 24px; }
.slice-body small { font-size: 12px; opacity: .7; }
.slice-body h3 { margin-top: 4px; font-weight: 500; font-size: 22px; line-height: 1.1; letter-spacing: -0.03em; }
.slice-more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease), opacity .5s; opacity: 0; }
.slice:hover .slice-more, .slice:focus-within .slice-more { grid-template-rows: 1fr; opacity: 1; }
.slice-more > div { overflow: hidden; }
.slice-more p { max-width: 42ch; margin-top: 8px; font-size: 14px; color: rgba(255, 255, 255, 0.78); }
.slice-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; font-size: 12px; color: rgba(255, 255, 255, 0.75); }
.slice-meta i { display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; vertical-align: middle; }
.slice-links { display: flex; gap: 16px; margin-top: 12px; font-size: 13px; }
.slice-links a { border-bottom: 1px solid rgba(255, 255, 255, 0.45); padding-bottom: 1px; }
.slice-links a:hover { border-color: #fff; }

/* 3D harita */
.map3d { position: relative; height: 520px; overflow: hidden; border-radius: 18px; background: #eeece7; border: 1px solid var(--line); opacity: 0; transition: opacity 1s var(--ease); }
.map3d.is-ready { opacity: 1; }
.map3d canvas { display: block; width: 100%; height: 100%; cursor: grab; touch-action: none; }
.map3d canvas:active { cursor: grabbing; }
.m-layer { position: absolute; inset: 0; pointer-events: none; }
.m-pin { position: absolute; left: 0; top: 0; display: flex; flex-direction: column; align-items: center; margin: -15px 0 0 -15px; pointer-events: auto; cursor: pointer; transition: opacity .3s; }
.m-pin .dot { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--c); border: 2.5px solid #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.28); color: #fff; transition: transform .25s var(--ease); }
.m-pin .dot svg { width: 14px; height: 14px; }
.m-pin:hover .dot, .m-pin.on .dot { transform: scale(1.15); }
.m-pin b { margin-top: 4px; white-space: nowrap; font-size: 12px; font-weight: 600; letter-spacing: -0.01em; color: #1d1d1f; text-shadow: 0 0 2px #fff, 0 0 3px #fff, 0 0 4px #fff; }
.m-pin b small { display: block; text-align: center; font-weight: 400; font-size: 11px; color: #6e6e73; }
.m-pin.goal .dot { width: 36px; height: 36px; }
.m-here { position: absolute; left: 0; top: 0; width: 18px; height: 18px; margin: -9px 0 0 -9px; pointer-events: none; }
.m-here i { position: absolute; inset: 0; border-radius: 50%; background: #2f7bf5; border: 3px solid #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35); }
.m-here::before { content: ""; position: absolute; inset: -14px; border-radius: 50%; background: rgba(47, 123, 245, 0.2); animation: ping 2.4s ease-out infinite; }
.m-card { position: absolute; right: 14px; bottom: 14px; z-index: 5; width: 280px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 10px 30px -12px rgba(0, 0, 0, 0.25); transition: opacity .2s; }
.m-card.is-swapping { opacity: .35; }
.m-card small { display: block; font-size: 11px; color: #6e6e73; }
.m-card strong { display: block; margin-top: 2px; font-size: 15px; font-weight: 600; line-height: 1.25; letter-spacing: -0.015em; }
.m-card p { margin-top: 4px; font-size: 13px; color: #6e6e73; }
.m-card .chips { display: flex; gap: 6px; margin-top: 10px; }
.m-card .chips span { padding: 3px 10px; border-radius: 999px; background: #f2f2f0; font-size: 12px; color: #1d1d1f; }
.m-ctrl { position: absolute; left: 14px; top: 62px; z-index: 5; display: flex; flex-direction: column; gap: 8px; }
.m-ctrl div { display: flex; flex-direction: column; overflow: hidden; border-radius: 10px; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(14px); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15); }
.m-ctrl button { display: grid; place-items: center; width: 36px; height: 36px; font-size: 17px; color: #3a3a3c; }
.m-ctrl button + button { border-top: 1px solid rgba(0, 0, 0, 0.06); }
.m-ctrl button:hover { background: #fff; }
.m-ctrl svg { width: 16px; height: 16px; }
.m-badge { position: absolute; left: 14px; top: 14px; z-index: 5; padding: 8px 12px; border-radius: 10px; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(14px); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15); font-size: 13px; font-weight: 500; }
.m-badge span { color: #6e6e73; font-weight: 400; }

/* Alt bilgi: konsolun kendisi */
.console-foot { position: relative; z-index: 3; margin-top: 40px; }
.console-foot .sec-head { margin-bottom: 8px; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-bottom: 6px; font-size: 13px; color: var(--ink-2); }
.foot-links nav { display: flex; flex-wrap: wrap; gap: 18px; }
.foot-links a:hover { color: var(--ink); }
.console-stage { position: relative; width: 100%; max-width: 1240px; margin: 0 auto; }
#console3d { display: block; width: 100%; aspect-ratio: 2.6 / 1; }
.disc-panel { position: absolute; left: 6%; top: 14%; z-index: 4; width: 260px; padding: 16px 18px; border-radius: 14px; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.25); opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .5s var(--ease) .3s, transform .5s var(--ease) .3s; }
.disc-panel.is-on { opacity: 1; transform: none; pointer-events: auto; }
.disc-panel small { font-size: 11px; color: var(--ink-3); }
.disc-panel strong { display: block; margin-top: 2px; font-size: 17px; font-weight: 500; letter-spacing: -0.02em; }
.disc-panel p { margin-top: 6px; font-size: 13px; color: var(--ink-2); }
.disc-panel .row { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; font-size: 13px; }
.disc-panel .row a { border-bottom: 1px solid var(--ink); }
.disc-panel .row button { font-size: 12px; color: var(--ink-3); }
.legal { display: flex; justify-content: center; gap: 16px; padding: 10px 0 18px; font-size: 12px; color: var(--ink-3); }

@media (max-width: 760px) {
    .slices { flex-direction: column; height: auto; }
    .slice { height: 300px; flex: none; }
    .slices:hover .slice, .slices .slice:hover { flex-grow: 0; }
    .slice-more { grid-template-rows: 1fr; opacity: 1; }
    .map3d { height: 460px; }
    /* telefonda bilgi kartı haritanın altında; harita kartın arkasında kalmasın */
    .map3d { height: auto; }
    .map3d canvas { height: 460px; }
    .m-card { position: relative; left: auto; right: auto; bottom: auto; width: auto; margin: 0 10px 10px; }
    .m-layer { bottom: auto; height: 460px; }
    /* uzaktan bütün şehir küçük görünür: simge yerler yakınlaşınca çıkar */
    .map3d:not(.is-near) .m-poi { opacity: 0 !important; pointer-events: none; }
    #console3d { aspect-ratio: 1.6 / 1; }
    .disc-panel { left: 10px; right: 10px; top: 6px; width: auto; }
}

/* ==========================================================================
   v9 — kablo uçları gövdelerin arkasında, disk inceleme ekranı
   ========================================================================== */
.pad-wrap { z-index: 7; }
.console-stage { z-index: 7; }

.viewer { position: fixed; inset: 0; z-index: 100; }
.viewer[hidden] { display: none; }
.v-bg { position: absolute; inset: 0; background: rgba(12, 12, 14, 0); backdrop-filter: blur(0); -webkit-backdrop-filter: blur(0); transition: background-color .5s var(--ease), backdrop-filter .5s var(--ease); }
.viewer.is-open .v-bg { background: rgba(12, 12, 14, 0.78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.viewer canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; touch-action: none; }
.viewer canvas:active { cursor: grabbing; }
.v-ui { opacity: 0; transition: opacity .4s var(--ease) .15s; }
.viewer.is-open .v-ui { opacity: 1; }
.v-close { position: absolute; top: 20px; right: 20px; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, 0.12); color: #fff; font-size: 20px; transition: background-color .2s; }
.v-close:hover { background: rgba(255, 255, 255, 0.22); }
.v-arrow { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 52px; height: 52px; margin-top: -26px; border-radius: 50%; background: rgba(255, 255, 255, 0.12); color: #fff; transition: background-color .2s, transform .2s; }
.v-arrow:hover { background: rgba(255, 255, 255, 0.24); }
.v-arrow svg { width: 20px; height: 20px; }
.v-prev { left: clamp(14px, 6vw, 80px); }
.v-next { right: clamp(14px, 6vw, 80px); }
.v-prev:active { transform: translateX(-3px); }
.v-next:active { transform: translateX(3px); }
.v-info { position: absolute; left: 0; right: 0; bottom: clamp(24px, 7vh, 64px); z-index: 2; text-align: center; color: #fff; pointer-events: none; transition: opacity .25s; }
.v-info.is-swapping { opacity: 0; }
.v-info small { font-size: 12px; color: rgba(255, 255, 255, 0.6); }
.v-info strong { display: block; margin-top: 4px; font-weight: 500; font-size: 24px; letter-spacing: -0.03em; }
.v-info p { margin-top: 2px; font-size: 14px; color: rgba(255, 255, 255, 0.7); }
.v-info a { display: inline-block; margin-top: 14px; padding-bottom: 1px; border-bottom: 1px solid rgba(255, 255, 255, 0.6); font-size: 13px; pointer-events: auto; }
.v-info a:hover { border-color: #fff; }
.v-dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.v-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, 0.3); transition: background-color .25s; }
.v-dots i.on { background: #fff; }
.v-hint { position: absolute; top: 28px; left: 0; right: 0; z-index: 1; text-align: center; font-size: 12px; color: rgba(255, 255, 255, 0.5); pointer-events: none; }
html.viewer-open, html.viewer-open body { overflow: hidden; }

.pad-hint { margin-top: 4px; font-size: 12px; color: var(--ink-3); }

/* ==========================================================================
   v12 — yapım aşamasındaki oyunlar ve ilk projeler
   ========================================================================== */
.slices.four { height: 400px; gap: 10px; }
.soon-card { background: #111; }
.soon-bg { position: absolute; inset: -40px; filter: blur(28px) saturate(115%); transform: scale(1.05); transition: transform 1.2s var(--ease); }
.soon-card:hover .soon-bg { transform: scale(1.12); }
.soon-card::after { background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.55)); }
.soon-when { display: inline-block; margin-top: 12px; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.16); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 12px; white-space: nowrap; }
.soon-card .slice-body h3 { font-size: 19px; }
.early { margin-top: 28px; }
.early-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-bottom: 12px; font-size: 14px; }
.early-head span { color: var(--ink-3); font-size: 13px; }
.early-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.early-card { display: grid; grid-template-columns: 96px 1fr auto; align-items: center; gap: 14px; padding: 10px; border: 1px solid var(--line); border-radius: 14px; transition: border-color .2s, background-color .2s; }
.early-card:hover { border-color: #d6d6d2; background: var(--soft); }
.early-card img { width: 96px; height: 56px; border-radius: 8px; object-fit: cover; }
.early-card b { display: block; font-weight: 500; font-size: 14px; letter-spacing: -0.01em; }
.early-card small { display: block; font-size: 12px; color: var(--ink-3); }
.early-card em { font-style: normal; font-size: 12px; color: var(--ink-2); white-space: nowrap; }
.v-info a[hidden] { display: none; }
@media (max-width: 760px) {
    .slices.four { height: auto; }
    .slices.four .slice { height: 220px; }
    .early-row { grid-template-columns: 1fr; }
}

/* Alt sayfalar (oyunlar) */
.subpage .games { padding: 72px 0 40px; }
.subpage .kicker { margin-bottom: 28px; }
.subpage .kicker a:hover { color: var(--ink); }
.sub-foot { padding: 40px 0 32px; }

/* Alt sayfalar: ekip, pitch, fab, yasal, 404 */
.sub-page { padding: 72px 0 48px; }
.sub-btn {
    display: inline-flex; align-items: center; height: 38px; padding: 0 18px; border-radius: 999px;
    background: var(--ink); color: var(--bg); font-size: 13.5px; font-weight: 500; transition: transform .2s var(--ease);
}
.sub-btn:hover { transform: translateY(-1px); }

.rows { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 200px 1fr; gap: 6px 32px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.row small { grid-row: span 2; font-family: var(--mono); font-size: 12px; color: var(--ink-3); padding-top: 4px; }
.row h2 { font-size: 22px; font-weight: 500; letter-spacing: -0.03em; }
.row p { max-width: 60ch; font-size: 15px; color: var(--ink-2); }

.prose-wrap { display: grid; grid-template-columns: 220px 1fr; gap: 48px; border-top: 1px solid var(--line); padding-top: 32px; }
.prose-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--ink-3); }
.prose-meta .sub-btn { margin-bottom: 8px; }
.prose { max-width: 66ch; }
.prose h2 { font-size: 24px; font-weight: 500; letter-spacing: -0.03em; margin-bottom: 14px; }
.prose h3 { font-size: 17px; font-weight: 500; letter-spacing: -0.02em; margin: 34px 0 8px; }
.prose p { font-size: 15.5px; line-height: 1.75; color: var(--ink-2); }
.prose a { text-decoration: underline; text-underline-offset: .2em; text-decoration-color: var(--line); }

.product-card {
    display: grid; grid-template-columns: 1.25fr 1fr; gap: 0; overflow: hidden;
    border: 1px solid var(--line); border-radius: 20px; background: var(--bg);
}
.product-shot { display: block; background: #111; }
.product-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.product-card:hover .product-shot img { transform: scale(1.02); }
.product-body { display: flex; flex-direction: column; gap: 10px; padding: 28px; }
.product-body small { font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); }
.product-body h2 { font-size: 30px; font-weight: 500; letter-spacing: -0.04em; }
.product-body p { font-size: 15px; color: var(--ink-2); }
.product-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 14px; }
.product-links a { height: 38px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 999px; font-size: 13.5px; border: 1px solid var(--line); transition: border-color .2s var(--ease); }
.product-links a:first-child { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.product-links a:hover { border-color: var(--ink-3); }
.product-list { display: grid; gap: 18px; }
.product-store { margin-top: 18px; font-size: 13.5px; color: var(--ink-2); }
.product-store a:hover { color: var(--ink); }

.sub-hero.nf { min-height: 70vh; display: flex; align-items: center; }
.sub-hero.nf .two-tone { font-size: clamp(34px, 5vw, 56px); margin: 10px 0 28px; }
.sub-code { font-family: var(--mono); font-size: 13px; color: var(--ink-3); }

@media (max-width: 760px) {
    .row, .prose-wrap, .product-card { grid-template-columns: 1fr; }
    .row small { grid-row: auto; }
    .prose-wrap { gap: 24px; }
}

/* Yapım aşamasındaki oyunlar: atmosfer fotoğrafı, seçilebilir ama hafif bulanık */
.soon-img {
    position: absolute; inset: -14px; width: calc(100% + 28px); height: calc(100% + 28px); max-width: none;
    object-fit: cover; filter: blur(5px) saturate(1.08); transform: scale(1.04);
    transition: filter .8s var(--ease), transform 1.2s var(--ease);
}
.soon-card:hover .soon-img, .soon-card:focus-visible .soon-img { filter: blur(2px) saturate(1.1); transform: scale(1.08); }
.soon-card .soon-bg { opacity: .35; mix-blend-mode: soft-light; z-index: 1; }
.soon-card::after { z-index: 1; background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 30%, rgba(0, 0, 0, 0.62)); }
.soon-card .slice-body { z-index: 2; }
.soon-credit { margin-top: 12px; font-size: 11.5px; color: var(--ink-3); }
.soon-credit a { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: .2em; }
.soon-credit a:hover { color: var(--ink-2); }

/* ==========================================================================
   v13 — koyu kimlik
   Oyun stüdyosu: siyaha yakın zemin, tek vurgu rengi (--accent), mono etiketler.
   Parlama ve renk geçişli süs yok; derinlik düz yüzey tonlarından gelir.
   ========================================================================== */

/* Mono, büyük harfli küçük etiketler (oyun arayüzü hissi) */
.kicker { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }

/* Hap menü: koyu buzlu cam */
.pill { background: rgba(22, 22, 24, 0.82); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06); }
.pill-list a:hover { background: var(--soft-2); }
.pill-sep { background: rgba(255, 255, 255, 0.08); }
.pill-cta { background: var(--accent); color: #0b0b0c !important; }
.pill-cta:hover { background: #ff6f3a !important; }

/* Giriş: arkada oyun sinematiği, üstünde düz bir karartma */
.hero { overflow: hidden; }
.hero-video { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-video video, .hero-video img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.14); transform-origin: 35% 65%; } /* sağ üstteki oyun içi yazı kadraj dışında kalsın */
.hero-video::after { content: ""; position: absolute; inset: 0; background: rgba(11, 11, 12, 0.76); }
.hero-video::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; height: 160px; background: linear-gradient(180deg, transparent, var(--bg)); }
.hero h1 { font-size: clamp(44px, 7vw, 84px); letter-spacing: -0.05em; }
.hero h1 span { color: var(--ink-2); }
.hero .lead { color: var(--ink-2); }
.pad-hint { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
@media (prefers-reduced-motion: reduce) { .hero-video video { display: none; } }

/* Oyunlar: stok fotoğraf yerine tipografik kartlar. Her oyunun kendi rengi --c. */
.slices.four { height: 420px; }
.game-card { display: flex; flex-direction: column; justify-content: space-between; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); }
.game-card::after { display: none; }
.game-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--c); }
.game-top { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: flex-start; padding: 22px 24px 0; }
.game-no { font-family: var(--mono); font-size: 46px; line-height: 1; letter-spacing: -0.04em; color: var(--c); }
.game-icon { width: 26px; height: 26px; color: var(--ink-3); transition: color .4s var(--ease); }
.game-card:hover .game-icon, .game-card:focus-visible .game-icon { color: var(--c); }
.game-card .slice-body { position: relative; }
.game-card .slice-body small { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; opacity: 1; color: var(--ink-3); }
.game-card .slice-body h3 { font-size: 21px; }
.game-card .slice-more p { color: var(--ink-2); }
.game-card .soon-when { background: var(--soft-2); backdrop-filter: none; -webkit-backdrop-filter: none; font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; color: var(--ink); }
.game-card:hover { box-shadow: inset 0 0 0 1px #34343a; }
.early-card { background: var(--soft); }
.early-card:hover { border-color: #34343a; background: var(--soft-2); }

/* Yol haritası: koyu harita çerçevesi ve paneller */
.map3d { background: #121214; }
.m-pin .dot { border-color: #0b0b0c; }
.m-pin b { color: var(--ink); text-shadow: 0 0 2px #0b0b0c, 0 0 3px #0b0b0c, 0 0 4px #0b0b0c; }
.m-pin b small { color: var(--ink-2); }
.m-here i { border-color: #0b0b0c; }
.m-card, .m-ctrl div, .m-badge { background: rgba(22, 22, 24, 0.9); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06); }
.m-card small, .m-card p, .m-badge span { color: var(--ink-2); }
.m-card .chips span { background: var(--soft-2); color: var(--ink); }
.m-ctrl button { color: var(--ink-2); }
.m-ctrl button + button { border-top-color: rgba(255, 255, 255, 0.06); }
.m-ctrl button:hover { background: var(--soft-2); color: var(--ink); }
/* Kenardaki bir etikete tıklayınca tarayıcı haritayı yana kaydırmasın */
.map3d { overflow: clip; }
/* Simge yerler (GTA haritası gibi): küçük renkli ikon, ad üzerine gelince */
.m-poi { margin: -11px 0 0 -11px; }
.m-poi .dot { width: 22px; height: 22px; border-width: 2px; }
.m-poi .dot svg { width: 12px; height: 12px; }
.m-poi b { position: absolute; top: 26px; left: 50%; translate: -50% 0; opacity: 0; transition: opacity .2s; pointer-events: none; font-size: 11px; }
.m-poi:hover b, .m-poi.on b { opacity: 1; }
.m-link { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--accent); }
.m-link[hidden] { display: none; }
.m-link:hover { text-decoration: underline; }

/* Konsol: ipucu etiketi koyu zeminde açık */
.disc-tip { background: var(--ink); color: var(--bg); }
.disc-tip small { color: rgba(11, 11, 12, 0.6); }
.disc-panel { background: rgba(22, 22, 24, 0.9); }

/* Alt bilgi: konsolun altında, sayfanın gerçek sonu */
.foot-links { margin: 8px 0 0; padding: 20px 0 32px; border-top: 1px solid var(--line); }
.m-here i { background: var(--accent); }
.m-here::before { background: rgba(255, 90, 31, 0.22); }

/* Disk inceleme ekranı açılınca kaydırma kilitlenir; çubuğun yeri sabit kalsın ki
   arkadaki sayfa (ve diskin döneceği yuva) yana kaymasın. */
html { scrollbar-gutter: stable; }

/* Disk inceleme ekranı: arka plan bulanıklığı (backdrop-filter) canlandırılınca her karede
   bütün sayfa yeniden bulanıklaştırılıyor ve disk animasyonu takılıyordu. Bulanıklık yok;
   yalnızca koyu perde yumuşakça belirir (ucuz bir opaklık geçişi). */
.v-bg, .viewer.is-open .v-bg { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(8, 8, 9, 0.9); }
.v-bg { opacity: 0; transition: opacity .45s var(--ease); will-change: opacity; }
.viewer.is-open .v-bg { opacity: 1; }

/* Stüdyo adı ve "Own Game!": oyun kartlarındaki dört renk (kutup, labirent, Erzurum, uzay) */
.c1 { color: #8fd3ff; }
.c2 { color: #a3c96f; }
.c3 { color: #c3ccd6; }
.c4 { color: #b39cff; }
.kicker.studio b { font-weight: 400; }
.hero h1 .own i { font-style: normal; }
