/* Yasal ve bilgi sayfalarının ortak görünümü (gizlilik, kosullar, mesafeli-satis, hesap-silme, odeme-*).
   Oyunla aynı lacivert/altın renkler; telefonda rahat okunur (16-17px, 1.65 satır aralığı), tablolar dar ekranda kartlaşır.
   Dış kaynak yok (yazı tipi indirilmez): sayfa anında açılır. CSP: 'self' stil dosyası. */
:root {
  color-scheme: dark;
  --zemin: #0d1322;
  --zemin-2: #121a2e;
  --kart: #161f36;
  --cizgi: #2a3654;
  --metin: #e8e2d2;
  --soluk: #a9b0c2;
  --altin: #e8c77d;
  --altin-2: #d6a84c;
  --bag: #9fd0ff;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: radial-gradient(ellipse 120% 60% at 50% -10%, #1c2745 0%, var(--zemin) 60%) no-repeat, var(--zemin);
  color: var(--metin);
  font: 16px/1.65 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  overflow-wrap: break-word;
}
a { color: var(--bag); text-underline-offset: 2px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--altin); outline-offset: 2px; border-radius: 4px; }

/* Üst şerit: marka (oyuna) + "Oyuna dön" */
.ust {
  position: sticky; top: 0; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 16px; padding-top: max(10px, env(safe-area-inset-top));
  background: #0a0f1bf0; border-bottom: 1px solid #d6a84c40;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.marka { display: inline-flex; align-items: center; gap: 8px; color: var(--altin); text-decoration: none; font: 700 1.05rem/1 Georgia, 'Times New Roman', serif; letter-spacing: 0.08em; text-transform: uppercase; }
.marka img { width: 28px; height: 28px; border-radius: 7px; }
.don {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 10px;
  background: linear-gradient(180deg, #ffe29a, #e0a83c); color: #2a1608; font-weight: 700; font-size: 0.92rem; text-decoration: none; white-space: nowrap;
}

/* Belgeler arası gezinme */
.belgeler { max-width: 760px; margin: 0 auto; padding: 12px 16px 0; }
.belgeler ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.belgeler a {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 999px;
  border: 1px solid var(--cizgi); background: var(--zemin-2); color: var(--metin); font-size: 0.85rem; text-decoration: none;
}
.belgeler a[aria-current='page'] { border-color: var(--altin-2); color: var(--altin); background: #1d2236; }

main { max-width: 760px; margin: 0 auto; padding: 8px 16px 48px; }
h1, h2 { font-family: Georgia, 'Times New Roman', serif; color: var(--altin); line-height: 1.25; }
h1 { font-size: clamp(1.5rem, 5.4vw, 2.1rem); margin: 18px 0 12px; }
h2 { font-size: 1.15rem; margin: 2em 0 0.5em; scroll-margin-top: 72px; }
p, li { max-width: 68ch; }
ul, ol { padding-left: 1.3em; }
li { margin: 5px 0; }
b, strong { color: #fff3d6; }
.note { border: 1px solid #6b5636; background: #1d1a1a; padding: 10px 14px; border-radius: 10px; font-size: 0.95rem; }

/* İçindekiler */
.icindekiler { margin: 14px 0 0; padding: 10px 14px; border: 1px solid var(--cizgi); border-radius: 10px; background: #0f1628; font-size: 0.92rem; }
.icindekiler summary { cursor: pointer; color: var(--altin); font-weight: 700; min-height: 32px; display: flex; align-items: center; }
.icindekiler ol { margin: 6px 0 2px; }

/* Tablo: geniş ekranda tablo, dar ekranda her satır bir kart */
table { border-collapse: collapse; width: 100%; font-size: 0.93em; }
td, th { border-bottom: 1px solid #2c3550; padding: 8px 6px; text-align: left; vertical-align: top; }
th { color: var(--altin); font-weight: 700; }
@media (max-width: 560px) {
  table, tbody, tr, td { display: block; width: 100%; }
  tr:first-child { display: none; }
  tr { margin: 0 0 10px; padding: 8px 12px; border: 1px solid var(--cizgi); border-radius: 10px; background: var(--kart); }
  td { border: 0; padding: 3px 0; }
  td::before { content: attr(data-label); display: block; color: var(--soluk); font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
}

/* Alt bilgi: belgeler + şirket */
.alt { border-top: 1px solid #d6a84c33; background: #070a12; color: var(--soluk); font-size: 0.85rem; text-align: center; padding: 18px 16px calc(22px + env(safe-area-inset-bottom)); }
.alt nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; margin-bottom: 8px; }
.alt a { color: #d8d2c2; }
.alt small { display: block; font-size: 0.75rem; opacity: 0.85; line-height: 1.5; }

/* Ödeme dönüş sayfaları */
.ortala { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; }
.ortala main { max-width: 480px; padding: 24px 16px; text-align: center; }
.isaret { width: 72px; height: 72px; margin: 0 auto 6px; border-radius: 50%; display: grid; place-items: center; font-size: 38px; font-weight: 700; }
.isaret.tamam { background: #1f3a2a; color: #8fe0a8; border: 2px solid #4fb873; }
.isaret.hata { background: #3a1f22; color: #f0a0a0; border: 2px solid #c25a5a; }
a.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; margin-top: 12px; padding: 0 26px; border-radius: 12px; background: linear-gradient(180deg, #ffe29a, #e0a83c); color: #2a1608; font-weight: 700; text-decoration: none; }
.muted { color: var(--soluk); font-size: 14px; }

@media print {
  .ust, .belgeler, .alt { display: none; }
  body { background: #fff; color: #000; }
  h1, h2, b, strong { color: #000; }
  a { color: #000; }
}
