@font-face{font-family:'Paytone One';src:url(paytone.woff2) format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Nunito';src:url(nunito.woff2) format('woff2');font-weight:400 900;font-style:normal;font-display:swap}
:root{--paper:#ffffff;--ink:#151a3d;--muted:#4a5078;--line:#e3e5f2;--brand:#5a3fd6;--brand-deep:#4a2fc4;--brand-ink:#ffffff;--accent:#ff7a2f;--accent-ink:#151a3d;--tint:#f4f2ff;--tint-2:#e6e1ff;--link:#5a3fd6;--focus:#5a3fd6;--stage:radial-gradient(120% 95% at 12% 4%, #ffd65c 0%, #ffb52e 42%, #ff7a2f 100%);--stage-ink:#151a3d;--font-display:'Paytone One', 'Nunito', system-ui, sans-serif;--font-body:'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;--display-weight:400;--display-tracking:-0.01em}
/* Uygulama tanıtım siteleri — ortak stil.
 * Tema değişkenleri (:root) ve @font-face kuralları derlemede uygulamaya göre
 * bu dosyanın önüne eklenir (build.js). Sayfa sakin ve açık; renk uygulamanın
 * kendisinde: sahne, ekran görüntüleri, ikon. */

*, *::before, *::after { box-sizing: border-box; }
:root { --gutter: 20px; --wrap: 1160px; color-scheme: light; }
@media (min-width: 720px) { :root { --gutter: 32px; } }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
p { margin: 0; }
a { color: var(--link); text-underline-offset: 3px; }
h1, h2, h3 {
  margin: 0; color: var(--ink); font-family: var(--font-display);
  font-weight: var(--display-weight); letter-spacing: var(--display-tracking);
  line-height: 1.1; text-wrap: balance;
}
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 8px; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 8px; }
.skip:focus { left: 12px; z-index: 20; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }

/* ---------- Üst şerit ---------- */
.hd-in { display: flex; align-items: center; gap: 12px; min-height: 76px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px; min-width: 0;
  color: var(--ink); text-decoration: none; font-family: var(--font-display);
  font-weight: var(--display-weight); letter-spacing: var(--display-tracking); font-size: 1.1875rem;
}
.brand span { white-space: nowrap; }
.app-icon { flex: none; border-radius: 22.37%; box-shadow: 0 0 0 1px rgb(15 23 42 / .07), 0 2px 6px -2px rgb(15 23 42 / .25); }
.nav { display: none; }
.hd-end { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.lang {
  display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 8px;
  color: var(--muted); text-decoration: none; font-weight: 700; font-size: .875rem; border-radius: 12px;
}
.lang:hover { color: var(--ink); background: var(--tint); }
@media (min-width: 880px) {
  .nav { display: flex; gap: 2px; margin-left: auto; }
  .nav a {
    padding: 10px 14px; border-radius: 12px; color: var(--muted); text-decoration: none;
    font-weight: 600; font-size: .9375rem;
  }
  .nav a:hover { color: var(--ink); background: var(--tint); }
  .hd-end { margin-left: 10px; }
}

/* ---------- Düğmeler ve rozetler ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 0;
  font: 700 1rem/1.1 var(--font-body); text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn-sm { min-height: 44px; padding: 10px 18px; font-size: .9375rem; }
.btn-brand { background: var(--brand); color: var(--brand-ink); }
.btn-brand:hover { background: var(--brand-deep); }
.btn-play { background: var(--ink); color: #fff; min-height: 48px; border-radius: 12px; }
.btn-play:hover { background: var(--brand-deep); }
.i-play { width: 18px; height: 18px; fill: currentColor; }

.badges { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 32px; }
.badges--center { justify-content: center; margin-top: 12px; }
.badge { display: block; border-radius: 10px; line-height: 0; }
.badge img { height: 50px; width: auto; }
.store-note { margin-top: 12px; color: var(--muted); font-size: .9375rem; }

/* ---------- Açılış ---------- */
.hero { padding: 8px 0 clamp(40px, 5vw, 72px); }
.hero-in { display: grid; gap: 44px; align-items: center; }
.hero-app { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.hero-app b { display: block; font-family: var(--font-display); font-weight: var(--display-weight); font-size: 1.25rem; letter-spacing: var(--display-tracking); line-height: 1.2; }
.hero-app small { display: block; color: var(--muted); font-size: .9375rem; line-height: 1.35; }
.hero h1 { font-size: clamp(2.35rem, 1.2rem + 4.4vw, 4.4rem); line-height: 1.02; letter-spacing: calc(var(--display-tracking) - .01em); }
.lede { margin-top: 22px; max-width: 33em; color: var(--muted); font-size: clamp(1.0625rem, 1rem + .4vw, 1.25rem); line-height: 1.55; }
.chips { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 26px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .9375rem; font-weight: 600; }
.chips li { display: inline-flex; align-items: center; gap: 6px; }
.i-check { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--brand); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* Sahne: rengin yaşadığı tek büyük alan. İçindeki telefonlar kenardan taşar ve kesilir. */
.stage {
  position: relative; container-type: inline-size; overflow: hidden; isolation: isolate;
  aspect-ratio: 1 / .96; border-radius: 36px;
  background: var(--stage);
}
.stage::after { /* üstten yumuşak ışık */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(70% 55% at 30% 0%, rgb(255 255 255 / .28), transparent 70%);
}
.stage .phone { position: absolute; --bz: 1.35cqi; --r: 5.4cqi; }
.stage .phone--front { z-index: 2; width: 47cqi; left: 12cqi; top: 9cqi; }
.stage .phone--back { z-index: 1; width: 41cqi; right: 7cqi; top: 21cqi; }
.stage--solo .phone--front { width: 52cqi; left: 24cqi; top: 8cqi; }
.stage-art { position: absolute; z-index: 3; pointer-events: none; filter: drop-shadow(0 18px 24px rgb(0 0 0 / .25)); }
.stage-art--left { width: 34cqi; left: -3cqi; bottom: 2cqi; }
.stage-art--right { width: 34cqi; right: -3cqi; bottom: 2cqi; }
.stage-art--top { width: 26cqi; right: 6cqi; top: 5cqi; z-index: 0; }

@media (min-width: 960px) {
  .hero { padding-top: 24px; }
  .hero-in { grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr); gap: 64px; }
  .stage { aspect-ratio: 1 / 1.06; }
}
@media (prefers-reduced-motion: no-preference) {
  .stage .phone { animation: rise 1s cubic-bezier(.2, .75, .25, 1) both; }
  .stage .phone--back { animation-delay: .12s; }
  .stage-art { animation: rise 1s cubic-bezier(.2, .75, .25, 1) .2s both; }
  @keyframes rise { from { transform: translateY(7cqi); } }
}

/* ---------- Telefon çerçevesi ---------- */
.phone {
  --bz: 8px; --r: 30px;
  margin: 0; padding: var(--bz); border-radius: calc(var(--r) + var(--bz));
  background: linear-gradient(150deg, #3a404b, #0f1217 45%, #1d2129);
  box-shadow:
    inset 0 0 0 1px rgb(255 255 255 / .12),
    0 2px 4px rgb(10 20 35 / .18),
    0 24px 48px -16px rgb(10 20 35 / .45);
}
.phone img { width: 100%; border-radius: var(--r); background: #0f1217; }

/* ---------- Bölümler ---------- */
.sec { padding: clamp(56px, 8vw, 104px) 0; }
/* Aynı zeminli iki bölüm art arda gelince boşluk ikiye katlanmasın. */
.hero + .sec, .sec:not(.sec--tint) + .sec:not(.sec--tint), .sec:not(.sec--tint) + .cta { padding-top: 0; }
.sec--tint { background: var(--tint); }
.sec-head { max-width: 720px; margin-bottom: clamp(32px, 4.5vw, 52px); }
.sec-head h2 { font-size: clamp(1.9rem, 1.25rem + 2.4vw, 3rem); }
.sec-head p { margin-top: 14px; color: var(--muted); font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); }

.highlights { display: grid; gap: 30px 44px; margin: 0; padding: 0; list-style: none; }
.highlights li { display: flex; gap: 16px; align-items: flex-start; }
.hl-ico {
  flex: none; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 16px;
  background: var(--tint); color: var(--brand-deep);
}
.hl-ico svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.highlights h3 { margin-top: 4px; font-size: 1.1875rem; letter-spacing: -.01em; }
.highlights p { margin-top: 6px; color: var(--muted); font-size: 1rem; line-height: 1.55; }
@media (min-width: 640px) { .highlights { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .highlights { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Ekran + açıklama satırları */
.rows { display: grid; gap: clamp(64px, 9vw, 112px); }
.row { display: grid; gap: 36px; align-items: center; }
.row-art { position: relative; display: grid; place-items: center; isolation: isolate; padding: 24px 0; }
.row-art::before {
  content: ""; position: absolute; z-index: -1; top: 50%; left: 50%; width: min(400px, 86%); aspect-ratio: 1;
  border-radius: 50%; background: var(--paper); transform: translate(-50%, -50%);
  box-shadow: 0 0 0 18px rgb(255 255 255 / .45);
}
.row-art .phone { width: min(290px, 66%); --bz: 9px; --r: 34px; }
.row-text h3 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); }
.row-text p { margin-top: 16px; max-width: 32em; color: var(--muted); font-size: 1.0625rem; }
.ticks { display: grid; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.ticks .i-check { margin-top: 4px; }
@media (min-width: 860px) {
  .row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; }
  .row--flip .row-art { order: 2; }
}

/* Uygulamanın kendi çizimiyle madde (oyun karakterleri, nesneler) */
.hl-art { flex: none; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; background: var(--tint); }
.hl-art img { width: 46px; height: 46px; object-fit: contain; }
.highlights.highlights--dense { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 20px; }
.highlights--dense li { flex-direction: column; gap: 12px; }
.highlights--dense .hl-art { width: 76px; height: 76px; border-radius: 22px; }
.highlights--dense .hl-art img { width: 62px; height: 62px; }
.highlights--dense h3 { margin-top: 0; font-size: 1.0625rem; }
.highlights--dense p { font-size: .9375rem; }
@media (min-width: 860px) { .highlights.highlights--dense { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Uygulamaya özel ek bölüm (ör. abonelik) */
.extra { border-radius: 32px; background: var(--extra-bg, var(--tint)); padding: clamp(32px, 5vw, 64px) clamp(22px, 5vw, 64px); }
.extra-label { display: inline-block; margin-bottom: 14px; padding: 6px 12px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: .875rem; }
.extra .hl-ico, .extra .hl-art { background: var(--paper); }
.extra.extra--plain { padding: 0; border-radius: 0; background: none; }
.extra--plain .hl-ico, .extra--plain .hl-art { background: var(--tint); }
.sec--tint .extra--plain .hl-ico, .sec--tint .extra--plain .hl-art { background: var(--paper); }
.extra-note { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); max-width: 60em; }

/* Ekran galerisi: yatay kaydırma, JS yok */
.sec--gallery { padding-bottom: clamp(48px, 7vw, 88px); }
.gallery {
  --pad: max(var(--gutter), (100% - var(--wrap)) / 2);
  display: flex; gap: 22px; margin: 0; padding: 12px var(--pad) 32px; list-style: none;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad);
  scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.gallery li { flex: 0 0 auto; width: clamp(176px, 44vw, 236px); scroll-snap-align: start; }
/* Geniş ekranda hepsi sığıyorsa sığdır ve ortala (taşarsa yine kayar). */
@media (min-width: 1000px) {
  .gallery li { width: clamp(180px, (min(var(--wrap), 100vw - 2 * var(--gutter)) - (var(--n, 5) - 1) * 22px) / var(--n, 5), 250px); }
  .gallery li:first-child { margin-left: auto; }
  .gallery li:last-child { margin-right: auto; }
}
.gallery .phone { --bz: 7px; --r: 26px; }
.gallery p { margin-top: 14px; text-align: center; font-weight: 700; font-size: .9375rem; line-height: 1.35; }
.gallery:focus-visible { outline-offset: -3px; }

/* SSS */
.faq-wrap { display: grid; gap: 28px; }
.faq-wrap h2 { font-size: clamp(1.9rem, 1.25rem + 2.4vw, 3rem); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  position: relative; padding: 20px 44px 20px 0; list-style: none; cursor: pointer;
  font-weight: 700; font-size: 1.0625rem; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px;
  border-right: 2.5px solid var(--brand); border-bottom: 2.5px solid var(--brand);
  transform: translateY(-75%) rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq details p { max-width: 62ch; padding-bottom: 22px; color: var(--muted); }
@media (min-width: 960px) { .faq-wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr); gap: 72px; } }

/* Kapanış çağrısı */
.cta { padding: clamp(56px, 8vw, 104px) 0; }
.cta-in {
  display: grid; justify-items: center; gap: 14px; text-align: center;
  padding: clamp(44px, 6vw, 80px) 22px; border-radius: 36px;
  background: var(--stage); color: var(--stage-ink);
}
.cta-in h2 { max-width: 18em; color: inherit; font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3rem); }
.cta-in > p { max-width: 36em; opacity: .92; font-size: 1.0625rem; }
.cta-in .store-note { color: inherit; opacity: .85; }
.cta-icon { margin-bottom: 6px; box-shadow: 0 0 0 1px rgb(255 255 255 / .15), 0 16px 32px -10px rgb(0 0 0 / .45); }

/* ---------- Alt bilgi ---------- */
.ft { padding: 44px 0 52px; border-top: 1px solid var(--line); font-size: .9375rem; }
.ft-in { display: grid; gap: 22px; }
.ft-brand p { margin-top: 6px; color: var(--muted); }
.ft-links { display: flex; flex-wrap: wrap; gap: 0 4px; margin-left: -8px; }
.ft-links a { padding: 10px 8px; color: var(--muted); text-decoration: none; font-weight: 600; overflow-wrap: anywhere; }
.ft-links a:hover { color: var(--ink); }
.ft-by { color: var(--muted); }
.ft-by a { color: var(--ink); font-weight: 700; }
@media (min-width: 880px) {
  .ft-in { grid-template-columns: minmax(0, 1fr) auto; align-items: start; }
  .ft-links { justify-content: flex-end; margin-left: 0; margin-right: -8px; }
  .ft-by { grid-column: 1 / -1; }
}

/* ---------- Yasal / destek sayfaları ---------- */
.docpage { padding: clamp(28px, 5vw, 64px) 0 clamp(64px, 9vw, 104px); }
.doc-wrap { max-width: 780px; }
.doc-wrap h1 { font-size: clamp(2.1rem, 1.5rem + 2.4vw, 3.1rem); line-height: 1.08; margin-bottom: 14px; }
.doc-wrap h2 { font-size: clamp(1.35rem, 1.2rem + .6vw, 1.65rem); margin: 44px 0 12px; }
.doc-wrap h3 { font-size: 1.1875rem; margin: 30px 0 8px; }
.doc-wrap p { margin: 0 0 14px; }
.doc-wrap ul, .doc-wrap ol { margin: 0 0 18px; padding-left: 1.35em; }
.doc-wrap li { margin: 7px 0; }
.doc-wrap li::marker { color: var(--brand); }
.doc-wrap a { color: var(--link); overflow-wrap: anywhere; }
.doc-wrap strong { font-weight: 700; }
.doc-wrap hr { margin: 44px 0; border: 0; border-top: 1px solid var(--line); }
.doc-wrap code { padding: 2px 6px; border-radius: 6px; background: var(--tint); font-size: .92em; }
.doc-wrap .updated, .doc-wrap .meta { color: var(--muted); font-size: .9375rem; }
.doc-wrap .lead { font-size: 1.1875rem; color: var(--muted); margin-bottom: 26px; }
.doc-wrap .note, .doc-wrap .box, .doc-wrap .callout {
  margin: 0 0 20px; padding: 18px 22px; border-radius: 18px; background: var(--tint);
}
.doc-wrap .note > :last-child, .doc-wrap .box > :last-child, .doc-wrap .callout > :last-child { margin-bottom: 0; }
.doc-wrap .contact-card {
  display: grid; gap: 6px; margin: 8px 0 24px; padding: 22px 24px; border-radius: 20px;
  background: var(--tint);
}
.doc-wrap .contact-card a { font-weight: 700; font-size: 1.125rem; }
.doc-wrap .btn { color: var(--brand-ink); text-decoration: none; }
.table-scroll { margin: 8px 0 22px; overflow-x: auto; }
.doc-wrap table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: .9375rem; }
.doc-wrap th, .doc-wrap td { padding: 10px 14px 10px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.doc-wrap th { font-weight: 700; }
.doc-wrap details { border-bottom: 1px solid var(--line); }
.doc-wrap summary { padding: 16px 0; font-weight: 700; cursor: pointer; }
.doc-wrap section + section { margin-top: 8px; }
.lang-split { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }

@media (max-width: 559px) {
  .is-home .hero-app { display: none; } /* üst şeritte ikon + ad zaten var */
}
@media (max-width: 379px) {
  .badges { gap: 10px; }
  .badge img { height: 42px; } /* iki rozet 360 px'te tek satıra sığsın (Apple alt sınırı 40 px) */
}
@media (min-width: 380px) and (max-width: 479px) {
  .badge img { height: 46px; }
}
@media (max-width: 479px) {
  .hero-app { margin-bottom: 20px; }
  .stage { border-radius: 28px; }
  .cta-in { border-radius: 28px; }
}

/* kapisma */
/* Yatay oyun: ekranlar yatay telefon çerçevesinde. */
.stage { aspect-ratio: 1 / .92; }
.stage .phone--back { width: 74cqi; left: auto; right: 5cqi; top: 7cqi; }
.stage .phone--front { width: 82cqi; left: 4cqi; top: 38cqi; }
.stage-art--right { width: 46cqi; right: -3cqi; bottom: -4cqi; }
@media (min-width: 960px) {
  .stage { aspect-ratio: 1 / .98; }
  .stage .phone--front { top: 41cqi; }
}
.row-art .phone { width: min(560px, 100%); --r: 24px; }
.row-art::before { width: min(330px, 62%); }
.gallery li { width: clamp(270px, 76vw, 430px); }
@media (min-width: 1000px) { .gallery li { width: 430px; } }
/* 2. satır: oda kurma panelinin gerçek ekrandan büyütülmüş kesiti, telefon çerçevesi yok. */
.rows .row:nth-of-type(2) .phone { width: min(270px, 70%); padding: 0; border-radius: 24px; background: none; box-shadow: 0 2px 4px rgb(10 20 35 / .18), 0 28px 56px -18px rgb(10 20 35 / .5); }
.rows .row:nth-of-type(2) .phone img { border-radius: 24px; }
/* Dar ekranda rozet + "Tarayıcıda oyna" tek satıra sığsın. */
@media (max-width: 479px) { .btn-play { min-height: 46px; padding: 0 14px; gap: 6px; font-size: .9375rem; } .badges { gap: 10px; } }
@media (max-width: 379px) { .btn-play { min-height: 42px; } .btn-play .i-play { display: none; } }
/* Birincil düğme oyundaki gibi sarı, yazı lacivert. */
.btn-brand { background: #ffc431; color: #151a3d; }
.btn-brand:hover { background: #ffb300; }
/* Eski yasal sayfaların iç sınıfları. */
.doc-wrap .date { margin-bottom: 22px; color: var(--muted); font-size: .9375rem; }
.doc-wrap .warn { margin: 8px 0 26px; padding: 20px 22px; border-radius: 18px; background: #fff4d6; border: 1px solid #ffe08a; }
.doc-wrap .warn h2 { margin-top: 0; }
.doc-wrap .warn p:last-child, .doc-wrap .card > :last-child { margin-bottom: 0; }
.doc-wrap .contact { display: grid; gap: 6px; margin: 8px 0 28px; padding: 20px 22px; border-radius: 18px; background: var(--tint); }
.doc-wrap .contact p { margin: 0; }
.doc-wrap .mail a { display: inline-block; padding: 8px 0; font-weight: 800; font-size: 1.125rem; }
.doc-wrap .muted { color: var(--muted); }
