/* Pawline sitesi: oyunun pastel bahçe görünümü (UiTheme renkleri, Baloo 2, mürekkep konturlu tıknaz kutular) */
/* Baloo 2 (SIL OFL 1.1, fonts/OFL.txt) sitenin kendisinden yüklenir: Google Fonts ziyaretçinin IP adresini
   Google'a gönderirdi. Latin + Türkçe harflere indirilmiş değişken yazı tipi (ağırlık 400-800). */
@font-face {
  font-family: "Baloo 2";
  src: url("fonts/baloo2.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
:root {
  --ink: #5b3a29;
  --ink-soft: #8a6450;
  --cream: #fff4e4;
  --paper: #fbe6cc;
  --peach: #f5a283;
  --coral: #ef8b78;
  --leaf: #7cc06a;
  --leaf-dark: #5ea24d;
  --gold: #eab54d;
  --sky-top: #9fd4ec;
  --sky-mid: #d3ecef;
  --sky-low: #fdf1da;
  --hill: #b7dc9b;
  --grass: #a9d47f;
  --grass-dark: #92c46c;
  --pink: #f6a7b8;
  --lilac: #d9c9ef;
  --radius: 26px;
  --shadow: 0 7px 0 rgba(91, 58, 41, 0.35);
  color-scheme: light;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: "Baloo 2", system-ui, sans-serif;
  font-weight: 500;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* dil: <html data-lang="tr|en">, metinler <span lang="..."> çiftleri */
html[data-lang="tr"] [lang="en"]:not(html),
html[data-lang="en"] [lang="tr"]:not(html) { display: none !important; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* ---------------------------------------------------------------- üst bar */
.bar {
  position: absolute; inset: 0 0 auto 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px;
  width: min(1120px, 100% - 32px); margin-inline: auto; padding-inline: 0;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.25rem; }
.brand img { width: 44px; height: 44px; border-radius: 13px; border: 3px solid var(--ink); }

.langs {
  display: flex; background: var(--cream); border: 3px solid var(--ink); border-radius: 999px;
  box-shadow: 0 4px 0 rgba(91, 58, 41, 0.3); overflow: hidden;
}
.langs button {
  font: inherit; font-weight: 800; color: var(--ink); background: none; border: 0;
  padding: 4px 14px; cursor: pointer; min-height: 40px;
}
.langs button[aria-pressed="true"] { background: var(--peach); color: var(--cream); text-shadow: 0 2px 0 var(--ink); }

/* ---------------------------------------------------------------- kahraman */
.hero {
  position: relative;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 235, 0.55), transparent 40%),
    linear-gradient(var(--sky-top), var(--sky-mid) 55%, var(--sky-low));
  padding: 96px 0 0;
  overflow: hidden;
}
.cloud {
  position: absolute; width: 180px; height: 60px; background: #fff; opacity: 0.85;
  border-radius: 60px; filter: drop-shadow(0 4px 0 rgba(255, 255, 255, 0.4));
  animation: drift 40s linear infinite alternate;
}
.cloud::before, .cloud::after {
  content: ""; position: absolute; background: #fff; border-radius: 50%;
}
.cloud::before { width: 90px; height: 90px; left: 26px; top: -44px; }
.cloud::after { width: 70px; height: 70px; left: 92px; top: -30px; }
.cloud.c1 { left: 4%; top: 120px; }
.cloud.c2 { right: 6%; top: 70px; transform: scale(0.8); animation-duration: 55s; }
.cloud.c3 { left: 46%; top: 210px; transform: scale(0.6); animation-duration: 48s; }
@keyframes drift { to { translate: 60px 0; } }

.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 24px; align-items: end;
}
.hero-copy { padding-bottom: 90px; }
.hero-copy .logo { width: min(560px, 100%); margin-left: -14px; }
.tagline {
  font-size: clamp(1.25rem, 1rem + 1.2vw, 1.75rem); font-weight: 700; margin: 4px 0 6px; max-width: 30ch;
}
.lede { font-size: 1.1rem; color: var(--ink-soft); max-width: 46ch; margin: 0 0 26px; }

.cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* tıknaz buton: oyundaki ChunkyButton */
.chunky {
  --c: var(--leaf);
  display: inline-flex; align-items: center; gap: 12px;
  font: inherit; font-weight: 800; font-size: 1.15rem; text-decoration: none;
  color: var(--cream); text-shadow: 0 2px 0 var(--ink), 0 0 2px var(--ink);
  background: linear-gradient(rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0) 45%), var(--c);
  border: 4px solid var(--ink); border-radius: 22px;
  padding: 12px 24px 12px 18px; min-height: 60px;
  box-shadow: 0 7px 0 color-mix(in srgb, var(--c) 55%, var(--ink));
  transition: transform 0.12s, box-shadow 0.12s;
}
.chunky:hover { transform: translateY(-2px); box-shadow: 0 9px 0 color-mix(in srgb, var(--c) 55%, var(--ink)); }
.chunky:active { transform: translateY(5px); box-shadow: 0 2px 0 color-mix(in srgb, var(--c) 55%, var(--ink)); }
.chunky small { display: block; font-size: 0.78rem; font-weight: 700; line-height: 1.1; text-shadow: 0 1px 0 var(--ink); opacity: 0.95; }
.chunky .t { line-height: 1.15; }
.chunky svg { flex: none; filter: drop-shadow(0 2px 0 var(--ink)); }
.chunky.soon { --c: var(--peach); cursor: default; }
.chunky.soon:hover, .chunky.soon:active { transform: none; box-shadow: 0 7px 0 color-mix(in srgb, var(--c) 55%, var(--ink)); }

.hero-art { position: relative; justify-self: center; width: min(340px, 100%); padding-top: 92px; isolation: isolate; }
.phone {
  position: relative; background: var(--cream); border: 5px solid var(--ink);
  border-radius: 46px 46px 0 0; border-bottom: 0; padding: 12px 12px 0;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.35);
}
.phone img { border-radius: 34px 34px 0 0; border: 2px solid rgba(91, 58, 41, 0.5); border-bottom: 0; aspect-ratio: 9 / 13; object-fit: cover; object-position: top; width: 100%; }
.hero-art .peek { position: absolute; width: 50%; right: 3%; top: 0; z-index: -1; }
.hero-art .paws { position: absolute; right: 14.5%; top: 80px; display: flex; gap: 22px; z-index: 2; }
.hero-art .paws i {
  width: 34px; height: 22px; border-radius: 50%; background: #fff6ec; border: 4px solid var(--ink);
}

/* çayır: kahramanın altındaki tepe */
.meadow { position: relative; z-index: 3; margin-top: -2px; display: block; width: 100%; height: 70px; }
.meadow-band { background: var(--grass); }

/* ---------------------------------------------------------------- bölümler */
section { padding: 72px 0; position: relative; }
.green { background: var(--grass); }
.green h2 { color: var(--cream); text-shadow: 0 3px 0 var(--ink), 0 0 3px var(--ink), 0 0 3px var(--ink); }

h2 {
  font-size: clamp(1.9rem, 1.4rem + 2vw, 2.8rem); font-weight: 800; line-height: 1.1;
  margin: 0 0 10px; text-align: center;
  color: var(--cream);
  -webkit-text-stroke: 0;
  text-shadow:
    0 4px 0 var(--ink), 3px 0 0 var(--ink), -3px 0 0 var(--ink), 0 -3px 0 var(--ink),
    2px 2px 0 var(--ink), -2px 2px 0 var(--ink), 2px -2px 0 var(--ink), -2px -2px 0 var(--ink);
}
.sub { text-align: center; color: var(--ink-soft); margin: 0 auto 40px; max-width: 52ch; font-size: 1.1rem; }
.green .sub { color: var(--ink); }

/* nasıl oynanır: üç kart */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--cream); border: 4px solid var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 22px 22px 18px; position: relative;
}
.card h3 { margin: 6px 0 4px; font-size: 1.35rem; font-weight: 800; line-height: 1.2; }
.card p { margin: 0; color: var(--ink-soft); }
.card .num {
  position: absolute; top: -18px; left: 18px;
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold); color: var(--cream); font-weight: 800; border: 4px solid var(--ink);
  text-shadow: 0 2px 0 var(--ink);
}
.ico { width: 64px; height: 64px; }

/* ekran görüntüleri: yatay kaydırma */
.gallery {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 260px); gap: 22px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 14px 16px 28px;
  margin-inline: calc((100vw - min(1120px, 100vw - 32px)) / -2);
  padding-inline: calc((100vw - min(1120px, 100vw - 32px)) / 2);
  scrollbar-width: thin; scrollbar-color: var(--ink-soft) transparent;
}
.shot { scroll-snap-align: center; margin: 0; }
.shot .frame {
  background: var(--cream); border: 4px solid var(--ink); border-radius: 34px; padding: 8px;
  box-shadow: var(--shadow);
}
.shot img { border-radius: 26px; aspect-ratio: 9 / 16; width: 100%; height: auto; }
.shot figcaption { text-align: center; font-weight: 800; margin-top: 14px; font-size: 1.05rem; line-height: 1.25; }

/* özellikler */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature .badge {
  flex: none; width: 62px; height: 62px; border-radius: 20px; display: grid; place-items: center;
  border: 4px solid var(--ink); box-shadow: 0 5px 0 rgba(91, 58, 41, 0.35);
}
.feature h3 { margin: 0 0 2px; font-size: 1.2rem; font-weight: 800; line-height: 1.2; }
.feature p { margin: 0; color: var(--ink-soft); }

/* kapalı test çağrısı */
.invite {
  display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center;
  background: var(--cream); border: 4px solid var(--ink); border-radius: 32px; box-shadow: var(--shadow);
  padding: 26px 30px;
}
.invite img { width: 170px; }
.invite h2 { text-align: left; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); }
.invite p { margin: 0 0 16px; color: var(--ink-soft); }

/* ---------------------------------------------------------------- alt bilgi */
footer {
  background: var(--ink); color: var(--paper); padding: 44px 0 36px; text-align: center;
}
footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font-weight: 700; margin-bottom: 10px; }
footer a { color: var(--paper); text-decoration-thickness: 2px; text-underline-offset: 4px; }
footer small { opacity: 0.75; }
footer .sleepy { width: 150px; margin: -96px auto 14px; }

/* ---------------------------------------------------------------- belge sayfası (gizlilik) */
.doc-top {
  background: linear-gradient(var(--sky-top), var(--sky-low)); padding: 96px 0 40px; text-align: center;
}
.doc-top h1 { margin: 0; font-size: clamp(2rem, 1.5rem + 2vw, 3rem); font-weight: 800; color: var(--cream);
  text-shadow: 0 4px 0 var(--ink), 3px 0 0 var(--ink), -3px 0 0 var(--ink), 0 -3px 0 var(--ink),
    2px 2px 0 var(--ink), -2px 2px 0 var(--ink), 2px -2px 0 var(--ink), -2px -2px 0 var(--ink); }
.doc-top p { margin: 8px 0 0; font-weight: 700; }
.doc { padding: 40px 0 80px; }
.doc .card { max-width: 820px; margin-inline: auto; padding: 30px clamp(20px, 4vw, 44px); }
.doc h2 { text-align: left; font-size: 1.5rem; color: var(--ink); text-shadow: none; margin: 28px 0 6px; }
.doc h2:first-child { margin-top: 0; }
.doc p, .doc li { color: var(--ink); }
.doc ul { padding-left: 1.2em; }
.doc li { margin: 4px 0; }
.doc .note { background: var(--paper); border: 3px dashed var(--ink-soft); border-radius: 18px; padding: 12px 16px; }

/* ---------------------------------------------------------------- dar ekran */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { padding-bottom: 20px; }
  .hero-copy .logo { margin-inline: auto; }
  .tagline, .lede { margin-inline: auto; }
  .cta { justify-content: center; }
  .hero-art { width: min(300px, 80%); margin-top: 70px; }
  .steps { grid-template-columns: 1fr; gap: 34px; }
  .invite { grid-template-columns: 1fr; text-align: center; }
  .invite img { margin-inline: auto; width: 130px; }
  .invite h2 { text-align: center; }
}
@media (max-width: 420px) {
  .brand span { display: none; }
  .chunky { font-size: 1.05rem; padding-inline: 16px; }
}

.table-wrap { overflow-x: auto; margin: 12px 0; }
.doc table { border-collapse: collapse; width: 100%; font-size: .92em; min-width: 560px; }
.doc th, .doc td { border: 1px solid rgba(90, 60, 40, .25); padding: 8px 10px; text-align: left; vertical-align: top; color: var(--ink); }
.doc th { background: rgba(90, 60, 40, .08); }
