/* ============ MiniOyunOyna — kurumsal arayüz ============ */
:root {
  --bg: #F5F7FB;
  --surface: #FFFFFF;
  --surface-2: #F1F4F9;
  --text: #0F172A;
  --text-2: #334155;
  --muted: #64748B;
  --line: #E4E9F1;
  --primary: #2563EB;
  --primary-2: #1D4ED8;
  --primary-soft: #EAF1FF;
  --accent: #F97316;
  --dark: #0B1220;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .05);
  --shadow: 0 6px 20px rgba(15, 23, 42, .08);
  --shadow-lg: 0 18px 50px rgba(15, 23, 42, .18);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --nav-h: 64px;
  --gutter: 16px;
  --side-w: 248px;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 15px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
body.lock { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; padding: 0; }
img, svg { display: block; max-width: 100%; }
.ic { width: 20px; height: 20px; flex: none; }
.ic.flip { transform: rotate(180deg); width: 14px; height: 14px; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 8px; }
h1, h2, h3 { font-family: var(--font-head); letter-spacing: -.01em; color: var(--text); }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-mark { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, #6D28D9 100%); box-shadow: 0 4px 12px rgba(37, 99, 235, .35); }
.logo-mark .ic { width: 20px; height: 20px; }
.logo-text { font: 800 19px/1 var(--font-head); color: var(--text); letter-spacing: -.02em; }
.logo-text b { color: var(--primary); font-weight: 800; }

/* ---------- Üst bar ---------- */
.topbar { position: sticky; top: 0; z-index: 30; display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 8px;
  padding: 10px var(--gutter); padding-top: max(10px, env(safe-area-inset-top));
  background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--line); }
.topbar .logo { justify-self: center; }
.top-actions { display: flex; align-items: center; gap: 6px; }
.icon-btn { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: var(--text-2); transition: background .15s; }
.icon-btn:hover { background: var(--surface-2); }
.search { display: none; }
.search input { width: 100%; height: 42px; border: 1px solid var(--line); border-radius: 12px; padding: 0 16px 0 42px; font: 500 15px var(--font);
  color: var(--text); background: var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5 21 21'/%3E%3C/svg%3E") 14px 50% / 18px no-repeat; outline: none; transition: border-color .15s, background-color .15s; }
.search input:focus { border-color: var(--primary); background-color: #fff; box-shadow: 0 0 0 4px var(--primary-soft); }
.topbar.searching .logo { display: none; }
.topbar.searching .search { display: block; }
.lang-switch { display: inline-flex; background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 3px; }
.lang-switch a { font: 700 12px var(--font); padding: 6px 9px; border-radius: 7px; color: var(--muted); letter-spacing: .04em; }
.lang-switch a.active { background: #fff; color: var(--text); box-shadow: var(--shadow-sm); }

/* ---------- Kategori çipleri ---------- */
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 12px var(--gutter) 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--surface);
  border: 1px solid var(--line); font: 600 13.5px var(--font); color: var(--text-2); white-space: nowrap; transition: all .15s; }
.chip:hover { border-color: #CBD5E1; }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.chip.active { background: var(--text); border-color: var(--text); color: #fff; }

/* ---------- İçerik ---------- */
.view { padding: 8px var(--gutter) calc(var(--nav-h) + 28px + var(--safe-b)); outline: none; min-height: 60vh; }
.section { margin: 18px 0 30px; }
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.section-title { margin: 0; font-size: 19px; font-weight: 800; }
.see-all { display: inline-flex; align-items: center; gap: 4px; font: 600 13.5px var(--font); color: var(--primary); padding: 6px 0; }
.page-head { display: flex; align-items: center; gap: 14px; margin: 14px 0 20px; }
.page-head h1 { font-size: 26px; margin: 0; line-height: 1.2; }
.page-head .count { color: var(--muted); font: 500 13.5px var(--font); margin-top: 2px; }
.cat-badge { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: var(--c); box-shadow: var(--shadow-sm); }
.cat-badge .ic { width: 22px; height: 22px; }

/* Vitrin */
.hero { display: grid; margin: 10px 0 26px; background: var(--dark); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); color: #fff; }
.hero-media { display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.hero-media img, .hero-media svg { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.hero:hover .hero-media img { transform: scale(1.03); }
.hero-body { padding: 20px 20px 22px; }
.hero-tag { display: inline-block; font: 700 11px var(--font); letter-spacing: .08em; text-transform: uppercase; color: #93C5FD;
  background: rgba(37, 99, 235, .18); border: 1px solid rgba(147, 197, 253, .25); padding: 5px 10px; border-radius: 999px; }
.hero h1 { color: #fff; font-size: 26px; margin: 12px 0 8px; line-height: 1.15; }
.hero p { color: #CBD5E1; margin: 0 0 18px; font-size: 14.5px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hero .btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .18); box-shadow: none; }
.hero-points { list-style: none; display: flex; gap: 16px; flex-wrap: wrap; padding: 0; margin: 18px 0 0; color: #94A3B8; font: 500 12.5px var(--font); }
.hero-points li::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #22C55E; margin-right: 7px; vertical-align: 2px; }

/* Oyun kartları */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
.card { display: block; background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #D5DDEA; }
.card-thumb { position: relative; aspect-ratio: 1; background: var(--surface-2); overflow: hidden; }
.card-thumb img, .card-thumb svg { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.card:hover .card-thumb img { transform: scale(1.05); }
.card-play { position: absolute; right: 10px; bottom: 10px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .95); color: var(--primary); box-shadow: 0 4px 14px rgba(0, 0, 0, .18); opacity: 0; transform: translateY(6px); transition: all .2s; }
.card-play .ic { width: 16px; height: 16px; margin-left: 2px; }
.card:hover .card-play { opacity: 1; transform: none; }
.badge-new { position: absolute; top: 10px; left: 10px; background: var(--accent); color: #fff; font: 700 10.5px var(--font); letter-spacing: .06em;
  padding: 4px 8px; border-radius: 6px; box-shadow: 0 2px 8px rgba(249, 115, 22, .4); }
.card-body { padding: 10px 12px 12px; }
.card-title { font: 700 14.5px/1.3 var(--font); color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-meta { display: flex; align-items: center; gap: 8px; margin-top: 6px; font: 500 12px var(--font); color: var(--muted); min-width: 0; }
.cat-tag { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cat-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c); flex: none; }

/* Yatay şerit */
.row { display: grid; grid-auto-flow: column; grid-auto-columns: 42%; gap: 12px; overflow-x: auto; padding: 2px var(--gutter) 10px;
  margin: 0 calc(var(--gutter) * -1); scroll-snap-type: x mandatory; scrollbar-width: none; }
.row::-webkit-scrollbar { display: none; }
.row .card { scroll-snap-align: start; }

/* Kategori kutuları */
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.cat-tile { position: relative; overflow: hidden; border-radius: var(--radius); padding: 18px 16px; min-height: 112px; display: flex; flex-direction: column;
  justify-content: flex-end; color: #fff; background: linear-gradient(135deg, var(--c), var(--c2)); box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.cat-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.cat-tile::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 15%, rgba(255, 255, 255, .25), transparent 55%); }
.cat-ic { position: absolute; right: 14px; top: 14px; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .2); z-index: 1; }
.cat-tile strong { font: 800 18px/1.15 var(--font-head); position: relative; z-index: 1; }
.cat-tile span { font: 500 12.5px var(--font); opacity: .9; position: relative; z-index: 1; }

/* Boş durum */
.empty { text-align: center; padding: 56px 20px; color: var(--muted); background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); margin-top: 8px; }
.empty .ic { width: 44px; height: 44px; margin: 0 auto 14px; color: #CBD5E1; }
.empty h3 { margin: 0 0 6px; font-size: 18px; }
.empty p { margin: 0 0 16px; }

/* Düğmeler */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 12px; border: 1px solid transparent;
  font: 700 14.5px var(--font); background: var(--primary); color: #fff; box-shadow: 0 6px 16px rgba(37, 99, 235, .28); transition: background .15s, transform .1s, box-shadow .15s; }
.btn:hover { background: var(--primary-2); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .6; cursor: default; }
.btn .ic { width: 18px; height: 18px; }
.btn-lg { height: 52px; font-size: 16px; padding: 0 24px; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 13.5px; box-shadow: none; }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { background: var(--surface-2); }

/* Reklam alanları */
.ad-wrap { margin: 6px 0 28px; text-align: center; min-height: 90px; }
.ad-label { font: 600 10px var(--font); text-transform: uppercase; letter-spacing: .12em; color: #94A3B8; margin-bottom: 6px; }
.ad-slot { margin: 6px 0 28px; min-height: 100px; border-radius: var(--radius-sm); background: var(--surface); border: 1px dashed #CBD5E1;
  display: grid; place-items: center; text-align: center; color: #94A3B8; font: 600 12px var(--font); }
.ad-slot small { display: block; font-weight: 500; opacity: .8; }
.sidebar-ad { display: none; margin: 16px 12px 0; }
.more-wrap { display: flex; justify-content: center; margin: 4px 0 30px; }

/* Statik sayfalar */
.prose { max-width: 760px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 26px; margin-top: 14px; }
.prose h1 { font-size: 26px; margin: 0 0 14px; }
.prose h2 { font-size: 18px; margin: 24px 0 8px; }
.prose p, .prose li { color: var(--text-2); }
.prose a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
.setting { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.switch { width: 46px; height: 28px; border-radius: 99px; background: #CBD5E1; position: relative; transition: .2s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: .2s; }
.switch[aria-checked="true"] { background: var(--primary); }
.switch[aria-checked="true"]::after { left: 21px; }

/* SSR (JS yüklenmeden önce görünen içerik) */
.ssr { padding-top: 8px; }
.ssr h1 { font-size: 24px; }
.ssr-list { padding-left: 18px; columns: 2; }
.ssr-list small { color: var(--muted); }

/* ---------- Alt bilgi ---------- */
.footer { padding: 28px var(--gutter) calc(var(--nav-h) + 36px + var(--safe-b)); color: var(--muted); font-size: 13.5px; background: var(--surface); border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-direction: column; gap: 16px; }
.footer-brand p { margin: 8px 0 0; }
.footer-logo .logo-mark { width: 28px; height: 28px; border-radius: 8px; }
.footer-logo .logo-text { font-size: 16px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; font-weight: 600; color: var(--text-2); }
.footer-links a:hover { color: var(--primary); }
.copy { margin: 18px 0 0; font-size: 12.5px; color: #94A3B8; }

/* ---------- Alt navigasyon (mobil) ---------- */
.bottom-nav { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; height: calc(var(--nav-h) + var(--safe-b)); padding: 6px 8px var(--safe-b);
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(5, 1fr); }
.bn-item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: #94A3B8; font: 600 10.5px var(--font); white-space: nowrap; min-width: 0; position: relative; }
.bn-item .ic { width: 22px; height: 22px; }
.bn-item.active { color: var(--primary); }
.bn-item.active::before { content: ""; position: absolute; top: -6px; width: 24px; height: 3px; border-radius: 0 0 3px 3px; background: var(--primary); }

/* ---------- Çekmece / yan menü ---------- */
.drawer { position: fixed; inset: 0 auto 0 0; z-index: 60; width: min(82vw, 290px); background: var(--surface); padding: max(18px, env(safe-area-inset-top)) 12px 24px;
  overflow-y: auto; transform: translateX(-102%); transition: transform .28s cubic-bezier(.2, .8, .2, 1); box-shadow: var(--shadow-lg); }
.drawer.open { transform: none; }
.drawer-logo { margin: 4px 10px 20px; }
.drawer-nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; font: 600 14.5px var(--font); color: var(--text-2); margin-bottom: 2px; }
.drawer-nav a .ic { width: 19px; height: 19px; color: var(--muted); }
.drawer-nav a:hover { background: var(--surface-2); }
.drawer-nav a.active { background: var(--primary-soft); color: var(--primary); }
.drawer-nav a.active .ic { color: var(--primary); }
.drawer-nav a em { margin-left: auto; font: 600 11.5px var(--font); font-style: normal; color: var(--muted); background: var(--surface-2); border-radius: 99px; padding: 1px 8px; }
.drawer-nav a.minor { font-size: 13.5px; font-weight: 500; }
.drawer-nav .nav-label { font: 700 11px var(--font); text-transform: uppercase; letter-spacing: .1em; color: #94A3B8; padding: 18px 12px 6px; }
.drawer-nav .cat-dot { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; color: #fff; background: var(--c); }
.drawer-nav .cat-dot .ic { width: 14px; height: 14px; color: #fff; }
.scrim { position: fixed; inset: 0; z-index: 55; background: rgba(15, 23, 42, .45); opacity: 0; pointer-events: none; transition: opacity .25s; }
.scrim.show { opacity: 1; pointer-events: auto; }

/* ---------- Oyun detay paneli ---------- */
.sheet-wrap { position: fixed; inset: 0; z-index: 80; pointer-events: none; }
.sheet-scrim { position: absolute; inset: 0; background: rgba(15, 23, 42, .55); opacity: 0; transition: opacity .25s; }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; max-height: 92vh; max-height: 92dvh; background: var(--surface); border-radius: 22px 22px 0 0;
  padding: 10px 18px calc(16px + var(--safe-b)); display: flex; flex-direction: column; transform: translateY(105%); transition: transform .32s cubic-bezier(.2, .8, .2, 1); box-shadow: var(--shadow-lg); }
.sheet-wrap.open { pointer-events: auto; }
.sheet-wrap.open .sheet-scrim { opacity: 1; }
.sheet-wrap.open .sheet { transform: none; }
.sheet-grip { width: 40px; height: 5px; border-radius: 9px; background: var(--line); margin: 0 auto 12px; flex: none; }
.sheet-close { position: absolute; top: 34px; right: 30px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; background: rgba(15, 23, 42, .55);
  color: #fff; display: grid; place-items: center; backdrop-filter: blur(6px); }
.sheet-close .ic { width: 16px; height: 16px; }
.sheet-body { overflow-y: auto; flex: 1; min-height: 0; padding-bottom: 6px; }
.sheet-hero { border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--surface-2); }
.sheet-hero img, .sheet-hero svg { width: 100%; height: 100%; object-fit: cover; }
.sheet h2 { font-size: 24px; margin: 8px 0 8px; line-height: 1.2; }
.sheet-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tag { display: inline-flex; align-items: center; gap: 6px; font: 600 12.5px var(--font); padding: 5px 11px; border-radius: 999px; color: #fff; background: var(--c); }
.tag .ic { width: 14px; height: 14px; }
.tag.plain { background: var(--surface-2); color: var(--text-2); }
.sheet .desc { margin: 0; color: var(--text-2); overflow-wrap: anywhere; }
.sheet h3 { font-size: 15px; margin: 18px 0 8px; }
.howto { background: var(--surface-2); border-radius: 12px; padding: 12px 14px; color: var(--text-2); font-size: 14px; margin: 0; overflow-wrap: anywhere; }
.sheet .ad-wrap, .sheet .ad-slot { margin: 16px 0 0; }
.sheet-actions { display: flex; gap: 10px; padding-top: 14px; flex: none; border-top: 1px solid var(--line); margin-top: 10px; }
.sheet-actions .btn { flex: 1; }
.fav-btn { width: 52px; height: 52px; border-radius: 12px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--text-2); background: var(--surface); flex: none; }
.fav-btn.on { color: #E11D48; border-color: #FECDD3; background: #FFF1F2; }
.fav-btn.on .ic { animation: pop .35s; }
@keyframes pop { 50% { transform: scale(1.3); } }

/* ---------- Oynatıcı ---------- */
.player { position: fixed; inset: 0; z-index: 100; background: var(--dark); color: #fff; display: none; flex-direction: column; }
.player.open { display: flex; }
.player-bar { display: flex; align-items: center; gap: 6px; padding: 8px 10px; padding-top: max(8px, env(safe-area-inset-top)); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.player-bar .icon-btn { color: #E2E8F0; }
.player-bar .icon-btn:hover { background: rgba(255, 255, 255, .08); }
.player-bar strong { font: 700 16px var(--font-head); flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-stage { flex: 1; display: grid; place-items: center; padding: 16px; position: relative; }
.player-stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.player-placeholder { text-align: center; max-width: 340px; color: #CBD5E1; }
.player-placeholder .thumb { width: 140px; margin: 0 auto 16px; border-radius: 20px; overflow: hidden; }
.player-placeholder h2 { color: #fff; margin: 0 0 6px; }
.preroll { display: flex; flex-direction: column; align-items: center; gap: 18px; width: 100%; max-width: 360px; }
.preroll-ad { width: 100%; }
.preroll-ad .ad-slot, .preroll-ad .ad-wrap { margin: 0; min-height: 250px; background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .2); color: rgba(255, 255, 255, .55); }
.player > .ad-slot, .player > .ad-wrap { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .2); color: rgba(255, 255, 255, .55); margin: 0 12px calc(12px + var(--safe-b)); min-height: 60px; }

/* ---------- Bildirim ---------- */
.toast { position: fixed; left: 50%; bottom: calc(var(--nav-h) + 24px + var(--safe-b)); z-index: 120; transform: translate(-50%, 20px); opacity: 0;
  background: var(--text); color: #fff; font: 600 14px var(--font); padding: 10px 16px; border-radius: 10px; transition: .25s; pointer-events: none; white-space: nowrap; box-shadow: var(--shadow); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.only-desktop { display: none; }

/* ============ Tablet ============ */
@media (min-width: 560px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 16px; }
  .row { grid-auto-columns: 28%; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .sheet { left: 50%; right: auto; width: min(580px, 100%); transform: translate(-50%, 105%); }
  .sheet-wrap.open .sheet { transform: translate(-50%, 0); }
  .footer-inner { flex-direction: row; justify-content: space-between; align-items: flex-start; }
}
@media (min-width: 768px) {
  :root { --gutter: 24px; }
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .row { grid-auto-columns: 21%; }
  .hero { grid-template-columns: 1.15fr 1fr; align-items: center; }
  .hero-media { aspect-ratio: auto; height: 100%; min-height: 300px; }
  .hero-body { padding: 32px; }
  .hero h1 { font-size: 34px; }
  .bottom-nav { left: 50%; right: auto; width: 480px; transform: translateX(-50%); bottom: 14px; height: var(--nav-h); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding-bottom: 6px; }
}

/* ============ Masaüstü ============ */
@media (min-width: 1024px) {
  :root { --gutter: 32px; }
  .app { display: grid; grid-template-columns: var(--side-w) 1fr; min-height: 100vh; }
  .drawer { position: sticky; top: 0; height: 100vh; transform: none; box-shadow: none; width: auto; border-right: 1px solid var(--line); z-index: 1; }
  .scrim, .only-mobile, .bottom-nav { display: none !important; }
  .only-desktop { display: block; }
  .topbar { grid-template-columns: 1fr minmax(260px, 460px) auto; }
  .topbar .logo { display: none; }
  .search { display: block; grid-column: 2; }
  .top-actions { grid-column: 3; }
  #searchBtn { display: none; }
  .view { padding-bottom: 48px; }
  .footer { padding-bottom: 28px; }
  .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px 18px; }
  .row { grid-auto-columns: calc((100% - 4 * 12px) / 5.3); }
  .cat-grid { grid-template-columns: repeat(5, 1fr); }
  .sidebar-ad { display: block; }
  .sidebar-ad .ad-slot { min-height: 250px; }
  .sheet-wrap { display: grid; place-items: center; }
  .sheet { position: relative; left: auto; bottom: auto; border-radius: 22px; width: 560px; max-height: 88vh; transform: scale(.96); opacity: 0; transition: transform .22s, opacity .22s; }
  .sheet-wrap.open .sheet { transform: none; opacity: 1; }
  .sheet-grip { display: none; }
  .sheet-close { top: 22px; }
  .toast { bottom: 32px; }
}
@media (min-width: 1500px) {
  .grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .view, .chips { max-width: 1480px; }
}

/* Dikey oyunlar geniş ekranda telefon oranında ortalanır */
@media (min-aspect-ratio: 3/4) {
  .player-stage iframe.portrait { left: 50%; right: auto; width: auto; height: 100%; aspect-ratio: 9 / 16; max-width: 100%; transform: translateX(-50%); }
}

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