/* Yazboz tanıtım sitesi — uygulamanın "yazboz" dili: beyaz kâğıt, 1px gri çizgiler,
   yeşil vurgu (#029000), gri ve yeşil puan kutuları, öndeki oyuncuda yeşil şerit. */

:root {
  --paper: #ffffff;
  --cream: #fbf6f0;
  --ink: #2b0d14;
  --ink-soft: #5d4c4f;
  --muted: #8a7f80;
  --line: #e4e0dc;
  --green: #029000;
  --green-dark: #027000;
  --box: #f8f8f8;
  --box-green: #ecffd3;
  --radius: 8px;
  --card-radius: 16px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --round: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--green); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--round); line-height: 1.15; margin: 0 0 12px; letter-spacing: -0.01em; }
h1 { font-size: clamp(36px, 7vw, 60px); font-weight: 800; }
h2 { font-size: clamp(28px, 4.6vw, 40px); font-weight: 800; }
h3 { font-size: 19px; font-weight: 700; }
p { margin: 0 0 14px; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: var(--radius); z-index: 10; }
.skip:focus { left: 8px; }

/* Üst çubuk */
.topbar { position: sticky; top: 0; z-index: 5; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.topbar header { max-width: 1080px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 800 21px var(--round); color: var(--ink); text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
nav { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
nav a { color: var(--ink-soft); text-decoration: none; font-size: 15px; font-weight: 600; padding: 6px 10px; border-radius: var(--radius); }
nav a:hover, nav a[aria-current="page"] { color: var(--ink); background: var(--box); }
@media (max-width: 640px) { nav .hide-sm { display: none; } }

/* Düğmeler */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: var(--radius); background: var(--green); color: #fff; font-weight: 700; font-size: 17px; text-decoration: none; border: 0; cursor: pointer; font-family: var(--font); }
.button:hover { background: var(--green-dark); }
.button:disabled { opacity: .6; cursor: default; }
.button.ghost { background: transparent; color: var(--green); border: 1px solid var(--line); }
.button.ghost:hover { background: var(--box); }
.store { background: #000; }
.store:hover { background: #222; }
.store svg { width: 20px; height: 20px; fill: #fff; }

/* Giriş */
.hero { background: linear-gradient(180deg, var(--cream), var(--paper)); border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green); margin-bottom: 12px; }
.lead { font-size: 20px; color: var(--ink-soft); max-width: 34ch; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 14px; }
.small { font-size: 14px; color: var(--muted); }
.phone { justify-self: center; width: min(300px, 78vw); border-radius: 44px; border: 10px solid #1b1b1d; box-shadow: 0 30px 60px -25px rgba(43,13,20,.35); overflow: hidden; background: #000; }
.phone img { width: 100%; height: auto; }
@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 36px; padding-bottom: 40px; gap: 32px; }
}

/* Bölümler */
.section { padding: 64px 0; border-bottom: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 28px; }
.section-head p { color: var(--ink-soft); font-size: 18px; }

/* Yazboz kâğıdı (uygulamadaki tablo düzeni) */
.sheet { border: 1px solid var(--line); border-radius: var(--card-radius); background: #fff; overflow: hidden; font-variant-numeric: tabular-nums; box-shadow: 0 12px 30px -20px rgba(43,13,20,.25); }
.sheet-title { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--line); font-weight: 700; }
.sheet-title span { font-size: 13px; color: var(--muted); font-weight: 600; }
.sheet table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.sheet th, .sheet td { border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 8px 6px; text-align: center; font-size: 16px; }
.sheet th:first-child, .sheet td:first-child { border-left: 0; width: 44px; color: var(--muted); font-size: 13px; }
.sheet th { font-size: 14px; font-weight: 700; position: relative; }
.sheet th.lead-player::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--green); }
.sheet td .box { display: inline-block; min-width: 54px; padding: 4px 6px; border-radius: 6px; background: var(--box); }
.sheet td .box.neg { color: #c62828; }
.sheet tr.total td { border-bottom: 0; font-weight: 800; }
.sheet tr.total td .box { background: var(--box-green); }

/* Oyunlar */
.games { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--line); border-radius: var(--card-radius); overflow: hidden; background: #fff; }
.game { display: flex; gap: 14px; align-items: center; padding: 16px; border-bottom: 1px solid var(--line); }
.game:nth-child(odd) { border-right: 1px solid var(--line); }
.game img { width: 56px; height: 56px; border-radius: 14px; flex: none; }
.game h3 { margin: 0 0 2px; font-size: 18px; }
.game p { margin: 0; font-size: 15px; color: var(--ink-soft); line-height: 1.4; }
.game .tag { display: inline-block; margin-left: 6px; font: 700 11px var(--font); color: var(--green); background: var(--box-green); padding: 2px 6px; border-radius: 6px; vertical-align: 2px; }
.games .game:nth-last-child(-n+2) { border-bottom: 0; }
@media (max-width: 680px) {
  .games { grid-template-columns: 1fr; }
  .game:nth-child(odd) { border-right: 0; }
  .games .game:nth-last-child(2) { border-bottom: 1px solid var(--line); }
}

/* Özellikler */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--card-radius); overflow: hidden; }
.feature { padding: 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.feature:nth-child(3n) { border-right: 0; }
.feature:nth-last-child(-n+3) { border-bottom: 0; }
.feature .icon { width: 40px; height: 40px; border-radius: 10px; background: var(--box-green); display: grid; place-items: center; margin-bottom: 12px; font-size: 20px; }
.feature p { color: var(--ink-soft); font-size: 16px; margin: 0; }
@media (max-width: 820px) {
  .features { grid-template-columns: 1fr; }
  .feature { border-right: 0; }
  .feature:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
  .feature:last-child { border-bottom: 0; }
}

/* Hesap ve premium */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }
.bill { border: 1px dashed #cfc8c2; border-radius: var(--card-radius); padding: 20px; background: var(--cream); font-variant-numeric: tabular-nums; }
.bill .row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed #d9d2cc; }
.bill .row:last-child { border-bottom: 0; font-weight: 800; }
.bill .who { font-weight: 700; color: var(--green); }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { padding: 10px 0 10px 30px; border-bottom: 1px solid var(--line); position: relative; }
.checks li:last-child { border-bottom: 0; }
.checks li::before { content: ""; position: absolute; left: 4px; top: 16px; width: 12px; height: 7px; border-left: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green); transform: rotate(-45deg); }
.plans { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--card-radius); overflow: hidden; }
.plan { padding: 22px; }
.plan + .plan { border-left: 1px solid var(--line); background: var(--box-green); }
.plan h3 { display: flex; align-items: center; gap: 8px; }
@media (max-width: 680px) { .plans { grid-template-columns: 1fr; } .plan + .plan { border-left: 0; border-top: 1px solid var(--line); } }

/* SSS */
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--green); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 10px 0 0; color: var(--ink-soft); }

/* Kapanış */
.cta { text-align: center; padding: 64px 0; background: var(--cream); }
.cta img { width: 88px; height: 88px; border-radius: 20px; margin: 0 auto 18px; }

/* Form */
.form { display: grid; gap: 14px; max-width: 560px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.form input, .form textarea, .form select { font: 17px var(--font); padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--box); color: var(--ink); width: 100%; }
.form input:focus, .form textarea:focus, .form select:focus { outline: 2px solid var(--green); outline-offset: 1px; background: #fff; }
.form textarea { min-height: 160px; resize: vertical; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
#form-status { min-height: 1.5em; font-weight: 600; }
#form-status.ok { color: var(--green); }
#form-status.err { color: #c62828; }
.contact-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; }
.contact-card { border: 1px solid var(--line); border-radius: var(--card-radius); padding: 20px; background: var(--box); align-self: start; }
.contact-card p { font-size: 16px; color: var(--ink-soft); }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }

/* Yasal metin */
.legal { padding-top: 40px; padding-bottom: 64px; max-width: 820px; }
.back { display: block; width: fit-content; margin-bottom: 18px; font-weight: 600; text-decoration: none; }
.back::before { content: "‹ "; }
.updated { color: var(--muted); font-size: 14px; }
.legal h2 { font-size: 24px; margin-top: 36px; }
.legal section.summary { background: var(--box-green); border-radius: var(--card-radius); padding: 18px 20px; margin: 24px 0; }
.legal section.summary h2 { margin-top: 0; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 8px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { background: var(--box); }
.legal tr:last-child td { border-bottom: 0; }
@media (max-width: 640px) {
  .legal thead { display: none; }
  .legal tr { display: block; border-bottom: 1px solid var(--line); padding: 6px 0; }
  .legal td { display: block; border: 0; padding: 4px 12px; }
  .legal td::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
}

/* Alt bilgi */
footer { border-top: 1px solid var(--line); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; padding-top: 28px; padding-bottom: 36px; }
footer p { margin: 0; color: var(--muted); font-size: 15px; }
footer .links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
footer .links a { color: var(--ink-soft); text-decoration: none; font-size: 15px; }
footer .links a:hover { color: var(--green); }
footer small { color: var(--muted); width: 100%; }
