/* Aptyvia — site stili.
 *
 * Tek koyu tema: marka koyu laciverde oturuyor ve uygulamanın oyun ekranları
 * da koyu. Renkler uygulamanın kendi paletinden (lib/app/theme/app_colors.dart);
 * kategori vurguları game_category_style.dart ile aynı.
 */

@font-face {
  font-family: 'Manrope';
  src: url('../fonts/manrope-variable.woff2') format('woff2-variations'),
       url('../fonts/manrope-variable.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #05060e;
  --bg-2: #0a0c1c;
  --ink: #f5f6ff;
  --muted: rgba(228, 232, 255, .68);
  --faint: rgba(228, 232, 255, .44);
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --glass: rgba(255, 255, 255, .045);
  --glass-2: rgba(255, 255, 255, .075);

  --violet: #8b7cf6;
  --indigo: #6574ff;
  --sky: #5b9bff;
  --cyan: #4ee0cf;
  --grad: linear-gradient(100deg, #c2b8ff 0%, #8fb2ff 42%, #63e6d6 100%);
  --grad-strong: linear-gradient(120deg, #7c6cf5 0%, #4f63e9 50%, #22c7b8 100%);

  /* Kategori vurguları — uygulamadaki accent renkleri. */
  --attention: #22c7b8;
  --memory: #5b9bff;
  --speed: #ff7a72;
  --logic: #c07ae6;
  --math: #ffc65c;

  --r-xl: 34px;
  --r-lg: 26px;
  --r-md: 20px;
  --r-sm: 14px;
  --ease: cubic-bezier(.22, .68, .34, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --hdr: 72px;

  color-scheme: dark;
}

/* ─────────────────────────────────────────────────────────── temel */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--hdr) + 12px);
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1200px 700px at 85% -10%, rgba(101, 116, 255, .13), transparent 60%),
    radial-gradient(900px 600px at -10% 30%, rgba(124, 92, 255, .09), transparent 60%),
    var(--bg);
  color: var(--ink);
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* İnce film greni: düz degradeler bantlaşmasın, yüzey "basılı" görünsün. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 8px;
}

::selection { background: rgba(139, 124, 246, .45); color: #fff; }

/* Önizleme ya da görüntüleyici açıkken arkadaki sayfa kaymasın. */
html.is-locked { overflow: hidden; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff;
  color: #05060e;
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform .2s var(--ease);
}
.skip:focus { transform: none; }

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--faint);
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--violet));
}

h1, h2 {
  font-weight: 800;
  letter-spacing: -.035em;
  text-wrap: balance;
}

h2 {
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.03;
}

.lead, .sec-lead {
  color: var(--muted);
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.65;
  text-wrap: pretty;
}

.sec-head {
  display: grid;
  justify-items: center;
  gap: 18px;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.sec-head--left { justify-items: start; text-align: left; margin: 0; }
.sec-lead { max-width: 560px; }

/* ─────────────────────────────────────────────────────────── düğmeler */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: #fff;
  color: #070818;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.01em;
  box-shadow: 0 10px 30px -10px rgba(139, 124, 246, .7);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 16px 40px -12px rgba(139, 124, 246, .85); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 14px; }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: var(--ink);
  cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.icon-btn:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .24); }
.icon-btn:active { transform: scale(.96); }
.icon-btn:disabled { opacity: .35; cursor: default; }
.icon-btn svg { width: 20px; height: 20px; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: border-color .25s var(--ease), color .25s var(--ease);
}
.pill:hover { border-color: rgba(78, 224, 207, .45); color: var(--ink); }
.pill__dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ee08a;
  box-shadow: 0 0 0 4px rgba(78, 224, 138, .16);
}
.pill__dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(78, 224, 138, .7);
  animation: ping 2.4s var(--ease) infinite;
}

/* Mağaza düğmeleri. Resmî rozet görünümü yerine sitenin cam diline uyan
 * kendi düğmemiz; logolar Apple ve Google'ın işaretleri. */
.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.stores--center { justify-content: center; }

.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 182px;
  height: 58px;
  padding: 0 22px 0 18px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03)), #0b0d1d;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 14px 34px -16px rgba(0, 0, 0, .9);
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.store:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, .32);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 22px 44px -18px rgba(101, 116, 255, .65);
}
.store svg { width: 28px; height: 28px; flex: none; fill: #fff; }
.store span { display: grid; line-height: 1.05; text-align: left; }
.store small { font-size: 11px; font-weight: 600; letter-spacing: .02em; color: rgba(255, 255, 255, .72); }
.store strong { font-size: 20px; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }

.stores--sm .store { min-width: 0; height: 50px; padding: 0 18px 0 14px; border-radius: 14px; }
.stores--sm .store svg { width: 24px; height: 24px; }
.stores--sm .store strong { font-size: 17px; }

/* ─────────────────────────────────────────────────────────── üst bar */

.hdr {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--hdr);
  transition: background .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.hdr.is-scrolled {
  background: rgba(6, 7, 16, .72);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
}
.hdr__in {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.02em;
}
.brand img { width: 34px; height: 34px; filter: drop-shadow(0 4px 14px rgba(124, 108, 245, .55)); }

.nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.nav a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav a:hover { color: var(--ink); background: rgba(255, 255, 255, .06); }

.hdr__act {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
}
.lang a {
  min-width: 40px;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--faint);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
  text-align: center;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.lang a:hover { color: var(--ink); }
.lang a[aria-current='true'] { background: rgba(255, 255, 255, .14); color: var(--ink); }

/* ─────────────────────────────────────────────────────────── kahraman */

.hero {
  position: relative;
  isolation: isolate;
  min-height: min(980px, 100svh);
  padding: calc(var(--hdr) + 48px) 0 120px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.aurora {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}
.aurora i {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .55;
  animation: drift 26s ease-in-out infinite alternate;
}
.aurora i:nth-child(1) { width: 52vw; height: 52vw; left: -12vw; top: -18vw; background: radial-gradient(closest-side, rgba(124, 92, 255, .9), transparent); }
.aurora i:nth-child(2) { width: 46vw; height: 46vw; right: -14vw; top: -6vw; background: radial-gradient(closest-side, rgba(34, 199, 184, .55), transparent); animation-duration: 32s; animation-delay: -6s; }
.aurora i:nth-child(3) { width: 42vw; height: 42vw; left: 32vw; bottom: -26vw; background: radial-gradient(closest-side, rgba(79, 99, 233, .75), transparent); animation-duration: 38s; animation-delay: -12s; }
.aurora i:nth-child(4) { width: 22vw; height: 22vw; left: 8vw; bottom: 0; background: radial-gradient(closest-side, rgba(255, 122, 114, .28), transparent); animation-duration: 30s; }

.hero__grid-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 65% 45%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 65% 45%, #000 10%, transparent 75%);
}

.hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  z-index: -1;
  background: linear-gradient(transparent, var(--bg));
}

.hero__in {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  align-items: center;
  gap: 40px;
}

.hero__copy {
  display: grid;
  justify-items: start;
  gap: 26px;
}

.hero h1 {
  font-size: clamp(46px, 6.4vw, 88px);
  line-height: .98;
  letter-spacing: -.045em;
}
.hero .lead { max-width: 520px; }

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  color: var(--faint);
  font-size: 14px;
  font-weight: 700;
}
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 16px; height: 16px; color: #4ee08a; }

/* Sağ taraf: beyin, yörüngeler ve etrafında süzülen oyun kapakları. */
.hero__art {
  --px: 0;
  --py: 0;
  position: relative;
  aspect-ratio: 1;
  width: min(100%, 620px);
  justify-self: center;
}

.brain {
  position: absolute;
  inset: 13%;
  display: grid;
  place-items: center;
  transform: translate3d(calc(var(--px) * -10px), calc(var(--py) * -10px), 0);
  transition: transform .6s var(--ease-out);
}
.brain::before {
  content: '';
  position: absolute;
  inset: 4%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(124, 108, 245, .55), rgba(34, 199, 184, .18) 60%, transparent);
  filter: blur(30px);
  animation: halo 6s ease-in-out infinite;
}
.brain img {
  position: relative;
  width: 100%;
  filter: drop-shadow(0 30px 60px rgba(40, 30, 140, .55));
  animation: float 8s ease-in-out infinite;
}

.ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .07);
}
.ring--1 { inset: 4%; animation: spin 46s linear infinite; }
.ring--2 { inset: 17%; border-color: rgba(139, 124, 246, .16); border-style: dashed; animation: spin 90s linear infinite reverse; }
.ring--3 { inset: -8%; border-color: rgba(255, 255, 255, .04); animation: spin 70s linear infinite; }
/* Yörüngede dönen küçük ışıklar: halka döndükçe tepedeki nokta da döner. */
.ring--1::after, .ring--3::after {
  content: '';
  position: absolute;
  top: -4px;
  left: 50%;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 18px var(--cyan);
}
.ring--3::after { top: auto; bottom: -3px; width: 6px; height: 6px; background: var(--violet); box-shadow: 0 0 16px var(--violet); }

.tile {
  --depth: 1;
  position: absolute;
  width: 31%;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .85), 0 0 0 6px rgba(255, 255, 255, .02);
  transform: translate3d(calc(var(--px) * var(--depth) * 18px), calc(var(--py) * var(--depth) * 18px), 0) rotate(var(--rot, 0deg));
  transition: transform .7s var(--ease-out);
}
.tile img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  animation: float 7s ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}
.tile::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(140deg, rgba(255, 255, 255, .22), transparent 38%);
  pointer-events: none;
}
.tile--1 { left: -4%; top: 6%; --rot: -8deg; --depth: 1.4; --delay: -1s; }
.tile--2 { right: -2%; top: 0%; --rot: 7deg; --depth: .9; --delay: -3s; width: 27%; }
.tile--3 { right: -7%; top: 46%; --rot: -5deg; --depth: 1.6; --delay: -5s; }
.tile--4 { left: 8%; bottom: 2%; --rot: 6deg; --depth: 1.1; --delay: -2s; width: 28%; }
.tile--5 { right: 20%; bottom: -6%; --rot: -3deg; --depth: .7; --delay: -4s; width: 24%; }
.tile--6 { left: -10%; top: 46%; --rot: 4deg; --depth: .8; --delay: -6s; width: 22%; }

/* ─────────────────────────────────────────────────────────── sayılar */

.stats { position: relative; margin-top: -40px; }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015));
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  padding-block: 8px;
}
.stat {
  display: grid;
  gap: 4px;
  padding: 26px 28px;
  text-align: center;
}
.stat + .stat { border-left: 1px solid var(--line); }
.stat b {
  font-size: clamp(36px, 4.4vw, 54px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat span { color: var(--faint); font-size: 14px; font-weight: 700; }

/* ─────────────────────────────────────────────────────────── oyunlar */

.games { padding: 130px 0 40px; }

.abilities {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 40px auto 0;
}
.ability {
  --c: var(--violet);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px 9px 10px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(255, 255, 255, .03);
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  transition: border-color .2s var(--ease), color .2s var(--ease), background .2s var(--ease);
}
.ability:hover {
  border-color: color-mix(in srgb, var(--c) 55%, transparent);
  background: color-mix(in srgb, var(--c) 10%, transparent);
  color: var(--ink);
}
.ability__icon {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--c) 18%, transparent);
  color: var(--c);
}
.ability__icon svg { width: 15px; height: 15px; }

.cat {
  --c: var(--violet);
  margin-top: 72px;
}
.cat__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
}
.cat__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 15px;
  border: 1px solid color-mix(in srgb, var(--c) 35%, transparent);
  background: linear-gradient(145deg, color-mix(in srgb, var(--c) 26%, transparent), color-mix(in srgb, var(--c) 6%, transparent));
  color: var(--c);
  box-shadow: 0 10px 30px -12px color-mix(in srgb, var(--c) 70%, transparent);
}
.cat__icon svg { width: 24px; height: 24px; }
.cat__head h3 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.1;
}
.cat__head p { color: var(--faint); font-size: 15px; font-weight: 600; }
.cat__line {
  flex: 1;
  height: 1px;
  margin-left: 12px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--c) 40%, transparent), transparent);
}

.cat__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.game {
  --c: var(--violet);
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015));
  overflow: hidden;
  cursor: pointer;
  transition: transform .45s var(--ease-out), border-color .3s var(--ease), box-shadow .45s var(--ease-out);
}
.game::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--c) 18%, transparent), transparent 45%);
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.game:hover, .game:focus-visible {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--c) 45%, transparent);
  box-shadow: 0 30px 60px -28px color-mix(in srgb, var(--c) 75%, transparent), 0 18px 40px -20px rgba(0, 0, 0, .9);
}
.game:hover::before { opacity: 1; }

.game__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.game__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform .9s var(--ease-out), filter .5s var(--ease);
}
.game:hover .game__media img { transform: scale(1.06); }
.game__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(5, 6, 14, .55));
}

.game__play {
  position: absolute;
  z-index: 2;
  left: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 8px;
  border-radius: 999px;
  background: rgba(8, 9, 22, .62);
  border: 1px solid rgba(255, 255, 255, .18);
  font-size: 13px;
  font-weight: 800;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transform: translateY(6px);
  opacity: .92;
  transition: transform .35s var(--ease-out), opacity .3s var(--ease), background .3s var(--ease);
}
.game__play i {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  color: #070818;
}
.game__play svg { width: 11px; height: 11px; margin-left: 2px; }
.game:hover .game__play { transform: none; opacity: 1; background: rgba(8, 9, 22, .78); }

.game__body {
  display: grid;
  gap: 6px;
  padding: 18px 20px 22px;
}
.game__title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.2;
}
.game__levels {
  flex: none;
  color: var(--c);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
}
.game__desc {
  color: var(--faint);
  font-size: 15px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ─────────────────────────────────────────────────────────── nasıl çalışır */

.daily { padding: 130px 0; }
.daily__in {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: 80px;
}
.daily__copy { display: grid; gap: 44px; }

.steps { display: grid; gap: 14px; counter-reset: step; }
.step {
  display: flex;
  gap: 18px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .025);
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.step:hover { border-color: var(--line-2); background: rgba(255, 255, 255, .045); }
.step__n {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 12px;
  background: var(--grad-strong);
  font-weight: 800;
  font-size: 16px;
  box-shadow: 0 10px 24px -10px rgba(101, 116, 255, .9);
}
.step h3 { font-size: 18px; font-weight: 800; letter-spacing: -.015em; margin-bottom: 4px; }
.step p { color: var(--faint); font-size: 15px; line-height: 1.6; }

/* Uygulamadaki günlük özet kartının sitedeki karşılığı. */
.score { position: relative; justify-self: center; width: min(100%, 440px); }
.score__glow {
  position: absolute;
  inset: 8% -6% -4%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(101, 116, 255, .45), rgba(34, 199, 184, .12) 65%, transparent);
  filter: blur(40px);
}
.score__card {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 34px 30px 30px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, rgba(32, 38, 90, .82), rgba(14, 16, 38, .9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 50px 90px -40px rgba(0, 0, 0, .9);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}
.score__eyebrow, .score__sub {
  color: var(--faint);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
  text-align: center;
}
.score__ring { position: relative; width: 190px; aspect-ratio: 1; }
.score__ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.score__track { fill: none; stroke: rgba(255, 255, 255, .08); stroke-width: 9; }
.score__value {
  fill: none;
  stroke: url(#ring-grad);
  stroke-width: 9;
  stroke-linecap: round;
  stroke-dasharray: 89 100;
  filter: drop-shadow(0 0 10px rgba(139, 124, 246, .6));
}
.score__num {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
}
.score__num b { font-size: 62px; font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.score__num span { margin-top: 4px; color: var(--faint); font-size: 10px; font-weight: 800; letter-spacing: .2em; }
.score__delta {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(78, 224, 138, .12);
  border: 1px solid rgba(78, 224, 138, .28);
  color: #7cf0b0;
  font-size: 13px;
  font-weight: 800;
}
.score__sub { margin-top: 8px; }
.score__bars { display: grid; gap: 10px; width: 100%; }
.bar {
  --c: var(--violet);
  display: grid;
  grid-template-columns: 26px 92px 1fr 30px;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
}
.bar__icon {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--c) 18%, transparent);
  color: var(--c);
}
.bar__icon svg { width: 14px; height: 14px; }
.bar__name { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar__track { height: 7px; border-radius: 99px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.bar__fill {
  display: block;
  height: 100%;
  width: var(--v);
  border-radius: inherit;
  background: linear-gradient(90deg, color-mix(in srgb, var(--c) 55%, transparent), var(--c));
  box-shadow: 0 0 12px color-mix(in srgb, var(--c) 60%, transparent);
  transform-origin: left;
}
.bar__val { text-align: right; font-weight: 800; }

/* ─────────────────────────────────────────────────────────── ekranlar */

.screens { padding: 40px 0 120px; overflow: hidden; }

.rail {
  --shot: clamp(220px, 23vw, 290px);
  display: flex;
  gap: 22px;
  margin-top: 56px;
  padding: 10px max(var(--gutter), calc((100vw - var(--wrap)) / 2)) 30px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
  scrollbar-width: none;
  cursor: grab;
}
.rail::-webkit-scrollbar { display: none; }
.rail.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.rail.is-dragging .shot { pointer-events: none; }

.shot {
  flex: none;
  width: var(--shot);
  margin: 0;
  scroll-snap-align: start;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  background: var(--bg-2);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .3s var(--ease);
}
.shot button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}
.shot img { width: 100%; aspect-ratio: 1320 / 2868; object-fit: cover; }
.shot:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, .26);
  box-shadow: 0 40px 70px -30px rgba(101, 116, 255, .55);
}

.rail-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
}

/* ─────────────────────────────────────────────────────────── indirme */

.cta { padding: 40px 0 140px; }
.cta__card {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 48px;
  padding: clamp(40px, 6vw, 76px);
  border: 1px solid var(--line-2);
  border-radius: 40px;
  background: linear-gradient(160deg, rgba(40, 46, 110, .55), rgba(10, 12, 30, .85));
  overflow: hidden;
}
.aurora--soft i { opacity: .38; }
.aurora--soft i:nth-child(1) { width: 640px; height: 640px; left: -200px; top: -320px; }
.aurora--soft i:nth-child(2) { width: 560px; height: 560px; right: -160px; top: auto; bottom: -320px; }
.aurora--soft i:nth-child(3) { width: 420px; height: 420px; left: 40%; bottom: -260px; }

.cta__copy { display: grid; justify-items: start; gap: 22px; }
.cta__copy h2 { font-size: clamp(36px, 4.6vw, 58px); }
.cta__copy .stores { justify-content: flex-start; margin-top: 6px; }
.cta__mark { width: 84px; height: 84px; filter: drop-shadow(0 16px 30px rgba(101, 116, 255, .6)); }
.cta__note { max-width: 520px; color: var(--faint); font-size: 13px; line-height: 1.6; }

.qr {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 22px 22px 18px;
  border: 1px solid var(--line-2);
  border-radius: 28px;
  background: rgba(255, 255, 255, .05);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.qr__code {
  width: 172px;
  padding: 16px;
  border-radius: 18px;
  background: #fff;
}
.qr__code svg { width: 100%; height: auto; }
.qr p { color: var(--muted); font-size: 13px; font-weight: 800; }

/* ─────────────────────────────────────────────────────────── alt bilgi */

.ftr {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .02), transparent);
}
.ftr__in {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  padding-block: 56px 36px;
}
.ftr__brand { display: grid; gap: 14px; justify-items: start; max-width: 360px; }
.ftr__brand p { color: var(--faint); font-size: 15px; }
.ftr__links {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 12px 48px;
  align-content: start;
}
.ftr__links a { color: var(--muted); font-size: 15px; font-weight: 700; transition: color .2s var(--ease); }
.ftr__links a:hover { color: var(--ink); }
.ftr__legal {
  display: grid;
  gap: 8px;
  padding-block: 24px 40px;
  border-top: 1px solid var(--line);
  color: rgba(228, 232, 255, .34);
  font-size: 12px;
  line-height: 1.6;
}

/* ─────────────────────────────────────────────────────────── oyun önizlemesi */

dialog {
  padding: 0;
  border: 0;
  color: inherit;
  background: none;
  max-width: none;
  max-height: none;
}
dialog::backdrop {
  background: rgba(3, 4, 10, .72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
dialog[open] { animation: dialog-in .45s var(--ease-out); }
dialog[open]::backdrop { animation: fade-in .35s var(--ease); }
dialog.is-closing { animation: dialog-out .25s var(--ease) forwards; }
dialog.is-closing::backdrop { animation: fade-out .25s var(--ease) forwards; }

.gm {
  --c: var(--violet);
  width: min(1040px, calc(100vw - 32px));
  margin: auto;
}
.gm__panel {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  max-height: min(860px, calc(100svh - 32px));
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--line-2);
  border-radius: 36px;
  background:
    radial-gradient(600px 400px at 0% 0%, color-mix(in srgb, var(--c) 22%, transparent), transparent 70%),
    linear-gradient(180deg, rgba(22, 25, 54, .96), rgba(9, 10, 24, .98));
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .95), inset 0 1px 0 rgba(255, 255, 255, .08);
  overflow: hidden;
}
.gm__close { position: absolute; top: 18px; right: 18px; z-index: 5; }

.gm__media {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 14px;
}
.gm__glow {
  position: absolute;
  inset: 10% -10%;
  border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 45%, transparent), transparent);
  filter: blur(40px);
  opacity: .8;
}
.gm__note { position: relative; color: var(--faint); font-size: 12px; font-weight: 700; letter-spacing: .04em; }

/* Telefon çerçevesi: videonun en-boy oranı (588 × 1266) korunuyor. */
.phone {
  --h: min(680px, calc(100svh - 150px));
  position: relative;
  height: var(--h);
  aspect-ratio: 588 / 1266;
  padding: calc(var(--h) * .016);
  border-radius: calc(var(--h) * .075);
  background: linear-gradient(145deg, #3a3d4f, #14151d 40%, #2a2c38);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, .18),
    inset 0 0 0 calc(var(--h) * .006) #0a0a10,
    0 50px 80px -30px rgba(0, 0, 0, .95),
    0 0 0 1px rgba(0, 0, 0, .6);
}
.phone__screen {
  position: relative;
  height: 100%;
  border-radius: calc(var(--h) * .06);
  overflow: hidden;
  background: #0b1026 center / cover no-repeat;
  isolation: isolate;
}
.phone__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.phone__video.is-ready { opacity: 1; }
.phone__status {
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: calc(var(--h) * .052);
  padding: calc(var(--h) * .012) calc(var(--h) * .05) 0 calc(var(--h) * .06);
  font-size: calc(var(--h) * .021);
  font-weight: 700;
  color: #fff;
  pointer-events: none;
}
.phone__icons svg { height: calc(var(--h) * .016); width: auto; }
.phone__island {
  position: absolute;
  top: calc(var(--h) * .014);
  left: 50%;
  z-index: 3;
  width: 32%;
  height: calc(var(--h) * .036);
  border-radius: 999px;
  background: #000;
  transform: translateX(-50%);
}
.phone__play {
  position: absolute;
  inset: 0;
  z-index: 4;
  margin: auto;
  width: 72px;
  height: 72px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: #070818;
  cursor: pointer;
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, .8);
}
.phone__play svg { width: 26px; height: 26px; margin: 0 auto; transform: translateX(2px); }
.phone__play[hidden] { display: none; }

.gm__info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 0;
  padding: 8px 6px 4px 0;
  overflow-y: auto;
  scrollbar-width: thin;
}
.gm__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.gm__cat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 8px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--c) 40%, transparent);
  background: color-mix(in srgb, var(--c) 14%, transparent);
  color: var(--c);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.gm__cat svg { width: 15px; height: 15px; }
.gm__levels { color: var(--faint); font-size: 13px; font-weight: 800; }
.gm h2 { font-size: clamp(30px, 3.4vw, 44px); padding-right: 52px; }
.gm__desc { color: var(--muted); font-size: 16px; line-height: 1.65; }
.gm__label {
  margin-top: 10px;
  color: var(--faint);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.gm__steps { display: grid; gap: 10px; counter-reset: gm; }
.gm__steps li {
  position: relative;
  padding: 14px 16px 14px 54px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, .03);
  font-size: 15px;
  line-height: 1.55;
  counter-increment: gm;
}
.gm__steps li::before {
  content: counter(gm);
  position: absolute;
  left: 14px;
  top: 12px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: color-mix(in srgb, var(--c) 20%, transparent);
  color: var(--c);
  font-size: 14px;
  font-weight: 800;
}
.gm__skills { display: flex; flex-wrap: wrap; gap: 8px; }
.gm__skills li {
  padding: 7px 13px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.gm__cta {
  display: grid;
  gap: 10px;
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.gm__cta-label { color: var(--faint); font-size: 13px; font-weight: 800; }
.gm__nav {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  padding-top: 10px;
}
.gm__count { color: var(--faint); font-size: 13px; font-weight: 800; letter-spacing: .08em; min-width: 54px; text-align: center; }

.gm.is-switching .gm__info > *, .gm.is-switching .phone__screen { animation: swap .38s var(--ease-out); }

/* ─────────────────────────────────────────────────────────── ekran görüntüsü görüntüleyici */

.lb {
  width: 100vw;
  height: 100svh;
  margin: 0;
}
.lb[open] { display: grid; place-items: center; }
.lb__fig {
  display: grid;
  justify-items: center;
  gap: 14px;
  margin: 0;
}
.lb__fig img {
  height: min(86svh, 980px);
  width: auto;
  border-radius: 34px;
  border: 1px solid var(--line-2);
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .95);
}
.lb__fig figcaption { color: var(--muted); font-size: 14px; font-weight: 700; }
.lb__close { position: fixed; top: 20px; right: 20px; }
.lb__prev, .lb__next { position: fixed; top: 50%; margin-top: -23px; }
.lb__prev { left: 20px; }
.lb__next { right: 20px; }

/* ─────────────────────────────────────────────────────────── mağaza sayfası (/download) */

.sp {
  /* Kendi istif bağlamı: arkadaki aurora gövdenin zemininin altında kalmasın. */
  isolation: isolate;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow-x: hidden;
}
.sp .aurora { position: fixed; }
.sp__main {
  display: grid;
  justify-items: center;
  gap: 22px;
  width: min(100%, 560px);
  padding: 40px 20px;
}
.sp__card {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 16px;
  width: 100%;
  padding: 34px clamp(22px, 6vw, 48px) 32px;
  border: 1px solid var(--line-2);
  border-radius: 36px;
  background: linear-gradient(180deg, rgba(28, 32, 74, .72), rgba(9, 10, 24, .86));
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .95), inset 0 1px 0 rgba(255, 255, 255, .08);
  text-align: center;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}
.sp__brand { font-size: 17px; }
.sp__brand img { width: 30px; height: 30px; }
.sp h1 { font-size: clamp(30px, 7vw, 40px); line-height: 1.08; letter-spacing: -.035em; }
.sp__lede { color: var(--muted); }
.sp__foot { margin-top: 6px; color: var(--faint); font-size: 13px; font-weight: 700; }
.sp__home { color: var(--faint); font-size: 14px; font-weight: 700; transition: color .2s var(--ease); }
.sp__home:hover { color: var(--ink); }

.sp__signal {
  position: relative;
  display: grid;
  place-items: center;
  width: 150px;
  aspect-ratio: 1;
  margin: 6px 0 4px;
}
.sp__signal img { position: relative; width: 74%; animation: float 6s ease-in-out infinite; }
.sp__signal i {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 1px solid rgba(139, 124, 246, .45);
  animation: ripple 3.2s var(--ease) infinite;
}
.sp__signal i:nth-child(2) { animation-delay: 1.05s; }
.sp__signal i:nth-child(3) { animation-delay: 2.1s; }
.sp[data-mode='choose'] .sp__signal i { animation-duration: 4.8s; border-color: rgba(78, 224, 207, .3); }

.sp__progress {
  width: min(100%, 300px);
  height: 6px;
  margin-top: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .08);
  overflow: hidden;
}
.sp__progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--grad-strong);
  transform-origin: left;
  animation: progress 1.1s var(--ease) forwards;
}
.sp__continue { margin-top: 6px; }
.sp .stores { justify-content: center; margin-top: 6px; }
.sp__qr {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin-top: 10px;
}
.sp__qr .qr__code { width: 148px; padding: 14px; }
.sp__qr p { color: var(--faint); font-size: 13px; font-weight: 800; }
@media (hover: none) { .sp__qr { display: none; } }

@keyframes ripple { 0% { transform: scale(.7); opacity: 0; } 30% { opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
@keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ─────────────────────────────────────────────────────────── belirme */

/* Yalnızca betik çalışıyorsa gizlenip belirir; betiksiz sayfa olduğu gibi
 * okunur. `js` sınıfını <head> içindeki tek satır ekliyor. */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js .reveal.is-in { opacity: 1; transform: none; }

.js .score__value { stroke-dasharray: 0 100; transition: stroke-dasharray 1.8s var(--ease-out) .3s; }
.js .score.is-in .score__value { stroke-dasharray: 89 100; }
.js .bar__fill { transform: scaleX(0); transition: transform 1.4s var(--ease-out); transition-delay: calc(.5s + var(--i, 0) * 110ms); }
.js .score.is-in .bar__fill { transform: none; }

@keyframes drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(4vw, 3vw, 0) scale(1.08); }
  100% { transform: translate3d(-3vw, 5vw, 0) scale(.96); }
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes halo { 0%, 100% { opacity: .75; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes ping { 0% { transform: scale(.6); opacity: 1; } 80%, 100% { transform: scale(1.9); opacity: 0; } }
@keyframes dialog-in { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes dialog-out { to { opacity: 0; transform: translateY(16px) scale(.98); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes fade-out { to { opacity: 0; } }
@keyframes swap { from { opacity: 0; transform: translateY(10px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

/* ─────────────────────────────────────────────────────────── duyarlı */

@media (max-width: 1080px) {
  .nav { display: none; }
  .hdr__act { margin-left: auto; }
  .daily__in { gap: 56px; }
}

@media (max-width: 960px) {
  .hero { padding: calc(var(--hdr) + 36px) 0 70px; min-height: 0; }
  .hero__in { grid-template-columns: 1fr; gap: 28px; }
  .hero__copy { justify-items: center; text-align: center; }
  .hero .lead { margin-inline: auto; }
  .stores { justify-content: center; }
  .trust { justify-content: center; }
  /* Telefonda önce vaat ve mağaza düğmeleri, görsel altında. */
  .hero__art { width: min(88%, 440px); }

  .stats { margin-top: 0; }
  .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }

  .games { padding-top: 110px; }
  .cat__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .daily { padding: 100px 0; }
  .daily__in { grid-template-columns: 1fr; }
  .daily__copy .sec-head--left { justify-items: center; text-align: center; margin-inline: auto; }

  .cta__card { grid-template-columns: 1fr; text-align: center; }
  .cta__copy { justify-items: center; }
  .cta__copy .stores { justify-content: center; }
  .qr { display: none; }

  .gm__panel {
    grid-template-columns: 1fr;
    max-height: calc(100svh - 24px);
    overflow-y: auto;
    gap: 22px;
  }
  .gm__info { overflow: visible; padding: 0; }
  .phone { --h: min(560px, 62svh); }
}

@media (max-width: 640px) {
  :root { --hdr: 64px; }
  body { font-size: 16px; }
  .hdr__in { gap: 12px; }
  .brand span { display: none; }
  .hdr .btn--sm { padding: 0 14px; }

  .hero h1 { font-size: clamp(40px, 11.5vw, 56px); }
  .store { min-width: 0; flex: 1 1 150px; justify-content: center; gap: 9px; height: 54px; padding: 0 12px; }
  .store svg { width: 23px; height: 23px; }
  .store small { font-size: 10px; }
  .store strong { font-size: 17px; }

  .stat { padding: 20px 14px; }

  .cat { margin-top: 64px; }
  .cat__head { align-items: flex-start; }
  .cat__line { display: none; }
  /* Telefonda her kategori yatay kaydırılan bir şerit: üç kart alt alta
   * dizilince sayfa gereğinden uzuyordu. */
  .cat__grid {
    display: flex;
    gap: 14px;
    margin-inline: calc(var(--gutter) * -1);
    padding: 4px var(--gutter) 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .cat__grid::-webkit-scrollbar { display: none; }
  .game { flex: 0 0 78%; scroll-snap-align: start; }
  .game:hover, .game:focus-visible { transform: none; }

  .rail { --shot: 66vw; gap: 14px; }
  .rail-nav { display: none; }

  .gm { width: 100vw; max-width: 100vw; margin: auto 0 0; }
  .gm__panel {
    max-height: 94svh;
    padding: 22px 18px 28px;
    border-radius: 30px 30px 0 0;
  }
  dialog.gm[open] { animation-name: sheet-in; }
  .gm h2 { padding-right: 44px; }
  .phone { --h: min(500px, 58svh); }

  .lb__prev, .lb__next { display: none; }
  .lb__fig img { height: auto; width: min(88vw, 420px); border-radius: 26px; }

  .ftr__links { grid-template-columns: 1fr 1fr; gap: 12px 24px; }
}

@keyframes sheet-in { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
