/* Poligato web sitesi — uygulamayla aynı tasarım dili: krem kâğıt, mürekkep laciverti, Pati turuncusu. */

@font-face { font-family: "Gabarito"; src: url("fonts/Gabarito_500Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Gabarito"; src: url("fonts/Gabarito_700Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Gabarito"; src: url("fonts/Gabarito_900Black.ttf") format("truetype"); font-weight: 900; font-display: swap; }

:root {
  --bg: #FBF7F1;
  --surface: #F3EDE4;
  --card: #FFFFFF;
  --text: #231E3D;
  --muted: #6F6886;
  --border: #ECE4D8;
  --primary: #E65A0E;
  --primary-dark: #BF480A;
  --primary-soft: #FFEADB;
  --ink: #2B2554;
  --ink-2: #352E68;
  --ink-dark: #1C1840;
  --on-ink: #FBF7F1;
  --on-ink-muted: #BEB8DA;
  --honey: #FFB52E;
  --mint: #2FA374;
  --sky: #2F8FCB;
  --lilac: #7663D1;
  --berry: #D2496A;
  --radius: 28px;
  --shadow: 0 1px 0 rgba(35, 30, 61, 0.04), 0 18px 40px -18px rgba(35, 30, 61, 0.18);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15131F;
    --surface: #1C1A2A;
    --card: #221F33;
    --text: #F5F1EA;
    --muted: #A39DB8;
    --border: #322D48;
    --primary: #FF7A2E;
    --primary-dark: #C2520F;
    --primary-soft: #3B2519;
    --ink: #262150;
    --ink-2: #2F2960;
    --ink-dark: #17142F;
    --shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.6);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Gabarito", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 500;
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); font-weight: 700; text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 8px; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ---------- Üst çubuk ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.nav.scrolled { border-bottom-color: var(--border); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none !important; }
.brand img { width: 38px; height: 38px; border-radius: 11px; }
.wordmark { font-weight: 900; font-size: 27px; letter-spacing: -1px; line-height: 1; }
.wordmark span { color: var(--primary); }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--muted); font-weight: 700; font-size: 16px; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-cta { background: var(--text); color: var(--bg) !important; padding: 9px 16px; border-radius: 12px; }
.nav-cta:hover { opacity: 0.88; }

/* ---------- Düğmeler ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--primary); color: #fff !important;
  font-weight: 900; font-size: 17px;
  padding: 14px 24px; border-radius: 16px;
  border-bottom: 4px solid var(--primary-dark);
  text-decoration: none !important;
  transition: transform 0.12s ease, filter 0.12s ease;
}
.btn:hover { filter: brightness(1.05); }
.btn:active { transform: translateY(3px); border-bottom-width: 1px; }

.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 12px;
  min-width: 190px;
  background: #0E0C17; color: #fff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px; padding: 10px 18px 10px 14px;
  text-decoration: none !important;
  position: relative;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.store:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, 0.35); }
.store svg { width: 28px; height: 28px; flex-shrink: 0; }
.store small { display: block; font-size: 11.5px; font-weight: 700; opacity: 0.75; line-height: 1.2; letter-spacing: 0.2px; }
.store strong { display: block; white-space: nowrap; font-size: 19px; font-weight: 900; line-height: 1.15; letter-spacing: -0.3px; }
.soon-pill {
  position: absolute; top: -9px; right: 10px;
  background: var(--honey); color: #3A2600; font-size: 11px; font-weight: 900; letter-spacing: 0.6px;
  padding: 2px 8px; border-radius: 999px; text-transform: uppercase;
}
.store.light { background: var(--card); color: var(--text) !important; border-color: var(--border); }

/* ---------- Kahraman ---------- */
.hero { padding: 28px 0 0; }
.hero-card {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(255, 138, 61, 0.22), transparent 60%),
    radial-gradient(700px 400px at -10% 110%, rgba(118, 99, 209, 0.35), transparent 60%),
    linear-gradient(160deg, var(--ink-2), var(--ink) 55%, var(--ink-dark));
  color: var(--on-ink);
  border-radius: 40px;
  padding: 72px 64px 0;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 24px;
  min-height: 640px;
}
.hero-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 24 24'%3E%3Cg fill='%23fff' transform='rotate(-18 12 12) scale(.5) translate(12 12)'%3E%3Cellipse cx='12' cy='16' rx='5' ry='4.3'/%3E%3Ccircle cx='5.4' cy='10' r='2.3'/%3E%3Ccircle cx='9.4' cy='5.8' r='2.3'/%3E%3Ccircle cx='14.6' cy='5.8' r='2.3'/%3E%3Ccircle cx='18.6' cy='10' r='2.3'/%3E%3C/g%3E%3C/svg%3E");
}
.hero-copy { position: relative; z-index: 1; padding-bottom: 72px; align-self: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--on-ink); font-weight: 700; font-size: 14px;
  padding: 6px 14px 6px 8px; border-radius: 999px;
}
.eyebrow .flags { display: inline-flex; }
.eyebrow .flags svg { width: 22px; height: 22px; margin-left: -6px; border-radius: 50%; box-shadow: 0 0 0 2px var(--ink); }
.eyebrow .flags svg:first-child { margin-left: 0; }
.hero h1 { font-weight: 900; font-size: clamp(42px, 5.6vw, 72px); line-height: 1.02; letter-spacing: -2.4px; margin: 22px 0 18px; }
.hero h1 em { font-style: normal; color: #FF8A3D; }
.hero .lead { color: var(--on-ink-muted); font-size: 19.5px; line-height: 1.55; margin: 0 0 32px; max-width: 30em; }
.trust { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 28px; color: var(--on-ink-muted); font-size: 15px; font-weight: 700; }
.trust span { display: inline-flex; align-items: center; gap: 7px; }
.trust svg { width: 18px; height: 18px; color: var(--honey); }

.hero-visual { position: relative; z-index: 1; min-height: 560px; }
.hero-visual .phone.main { position: absolute; left: 50%; bottom: -60px; transform: translateX(-22%) rotate(3deg); width: 290px; }
.hero-visual .phone.back { position: absolute; left: 50%; bottom: -96px; transform: translateX(-88%) rotate(-7deg); width: 250px; opacity: 0.96; }
.hero-pati { position: absolute; right: 8px; top: 40px; width: 140px; animation: float 6s ease-in-out infinite; filter: drop-shadow(0 16px 22px rgba(0, 0, 0, 0.3)); }

.chip-float {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 10px;
  background: var(--card); color: var(--text);
  border-radius: 16px; padding: 10px 14px;
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.45);
  font-weight: 900; font-size: 15px;
  animation: float 7s ease-in-out infinite;
}
.chip-float .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; }
.chip-float small { display: block; color: var(--muted); font-weight: 700; font-size: 12px; line-height: 1.1; }
.chip-streak { left: 4%; top: 120px; animation-delay: -2s; }
.chip-xp { right: 2%; bottom: 150px; animation-delay: -4s; }

@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

/* ---------- Telefon çerçevesi ---------- */
.phone {
  position: relative;
  aspect-ratio: 720 / 1560;
  border-radius: 46px;
  background: #0E0C17;
  padding: 11px;
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.08) inset, 0 40px 80px -30px rgba(10, 8, 30, 0.65), 0 18px 30px -18px rgba(10, 8, 30, 0.5);
}
.phone .screen {
  position: relative; width: 100%; height: 100%;
  border-radius: 36px; overflow: hidden; background: #FBF7F1;
  display: flex; flex-direction: column;
}
.phone .screen.dark { background: #15131F; }
.phone .status { height: 7.2%; flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 9% 0 11%; font: 800 clamp(9px, 1.1vw, 13px)/1 "Gabarito", system-ui; color: #231E3D; }
.phone .screen.dark .status { color: #F5F1EA; }
.phone .status i { display: inline-flex; gap: 4px; align-items: center; }
.phone .status i b { display: inline-block; width: 15px; height: 8px; border: 1.5px solid currentColor; border-radius: 3px; position: relative; }
.phone .status i b::after { content: ""; position: absolute; inset: 1px; background: currentColor; border-radius: 1px; }
.phone .island { position: absolute; top: 2.1%; left: 50%; transform: translateX(-50%); width: 30%; height: 3.2%; background: #0E0C17; border-radius: 999px; z-index: 2; }
.phone .screen img { width: 100%; flex: 1; object-fit: cover; object-position: top; }

/* ---------- Diller şeridi ---------- */
.langs { padding: 56px 0 8px; text-align: center; }
.langs p { color: var(--muted); font-weight: 700; margin: 0 0 18px; }
.lang-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.lang-pill {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--card); border: 1.5px solid var(--border); border-bottom-width: 4px;
  border-radius: 999px; padding: 8px 20px 8px 8px; font-weight: 900; font-size: 18px;
}
.lang-pill svg { width: 40px; height: 40px; }
.lang-pill small { color: var(--muted); font-weight: 700; font-size: 14px; margin-left: 2px; }

/* ---------- Bölümler ---------- */
section { scroll-margin-top: 84px; }
.block { padding: 96px 0 0; }
.block-head { max-width: 700px; margin: 0 auto 48px; text-align: center; }
.kicker { color: var(--primary); font-weight: 900; font-size: 13px; letter-spacing: 1.8px; text-transform: uppercase; }
h2.title { font-weight: 900; font-size: clamp(32px, 4vw, 48px); line-height: 1.08; letter-spacing: -1.4px; margin: 10px 0 14px; }
.block-head p, .feature-copy > p { color: var(--muted); font-size: 18.5px; margin: 0; }

.feature {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
  padding: 72px 0 0;
}
.feature.flip .feature-copy { order: 2; }
.feature-copy h3 { font-weight: 900; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.1; letter-spacing: -1.1px; margin: 10px 0 16px; }
.points { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.points li { display: flex; gap: 14px; align-items: flex-start; }
.points .dot { width: 38px; height: 38px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; }
.points .dot svg { width: 20px; height: 20px; }
.points b { display: block; font-weight: 900; font-size: 17.5px; }
.points span { color: var(--muted); font-size: 16px; }

.stage {
  position: relative; border-radius: 36px; padding: 48px 32px 0; overflow: hidden;
  display: flex; justify-content: center; gap: 18px; align-items: flex-end; min-height: 520px;
}
.stage .phone { width: 46%; max-width: 270px; margin-bottom: -70px; }
.stage .phone:nth-child(2) { transform: translateY(-36px); }
.stage.orange { background: linear-gradient(160deg, #FFE4CF, #FFD3B3); }
.stage.lilac { background: linear-gradient(160deg, #E8E3FA, #D6CEF4); }
.stage.mint { background: linear-gradient(160deg, #DDF3E9, #C3EBD8); }
.stage.honey { background: linear-gradient(160deg, #FFF0D2, #FFE1A6); }
@media (prefers-color-scheme: dark) {
  .stage.orange { background: linear-gradient(160deg, #3B2519, #2C1D16); }
  .stage.lilac { background: linear-gradient(160deg, #2C2652, #221D42); }
  .stage.mint { background: linear-gradient(160deg, #173528, #12291F); }
  .stage.honey { background: linear-gradient(160deg, #3A2E15, #2B2210); }
}
.stage .sticker { position: absolute; z-index: 3; width: 120px; filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.2)); }

.game-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.game-tags span { background: var(--card); border: 1.5px solid var(--border); border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: 15px; }

/* ---------- Rakamlar ---------- */
.stats {
  margin-top: 110px;
  background: var(--ink); color: var(--on-ink);
  border-radius: 36px; padding: 48px 32px;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; text-align: center;
  position: relative; overflow: hidden;
}
.stats div { position: relative; }
.stats strong { display: block; font-weight: 900; font-size: clamp(34px, 4vw, 52px); letter-spacing: -1.5px; line-height: 1; }
.stats strong em { font-style: normal; color: #FF8A3D; }
.stats span { color: var(--on-ink-muted); font-weight: 700; font-size: 15px; }

/* ---------- Nasıl çalışır ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step {
  background: var(--card); border: 1.5px solid var(--border); border-bottom-width: 5px;
  border-radius: var(--radius); padding: 28px; position: relative;
}
.step .num { width: 44px; height: 44px; border-radius: 14px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; font-weight: 900; font-size: 20px; }
.step h4 { font-weight: 900; font-size: 21px; letter-spacing: -0.4px; margin: 18px 0 6px; }
.step p { margin: 0; color: var(--muted); font-size: 16px; }
.step img { position: absolute; right: 16px; top: -34px; width: 84px; }

/* ---------- Pati galerisi ---------- */
.moods { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.moods figure { margin: 0; width: 130px; text-align: center; }
.moods img { width: 120px; margin: 0 auto; transition: transform 0.25s cubic-bezier(.3, 1.6, .5, 1); }
.moods figure:hover img { transform: translateY(-8px) rotate(-4deg); }
.moods figcaption { color: var(--muted); font-weight: 700; font-size: 14px; }

/* ---------- SSS ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq { background: var(--card); border: 1.5px solid var(--border); border-bottom-width: 4px; border-radius: 20px; padding: 2px 22px; margin: 12px 0; }
.faq summary { cursor: pointer; font-weight: 900; font-size: 18px; padding: 16px 32px 16px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 0; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 3px solid var(--primary); border-bottom: 3px solid var(--primary); transform: rotate(45deg); transition: transform 0.2s;
}
.faq[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq p { margin: 0 0 18px; color: var(--muted); }

/* ---------- Son çağrı ---------- */
.cta {
  margin: 110px 0 0;
  background:
    radial-gradient(800px 400px at 100% 0%, rgba(255, 138, 61, 0.25), transparent 60%),
    linear-gradient(160deg, var(--ink-2), var(--ink-dark));
  color: var(--on-ink); border-radius: 40px; padding: 64px;
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; overflow: hidden; position: relative;
}
.cta h2 { font-weight: 900; font-size: clamp(32px, 4vw, 50px); letter-spacing: -1.4px; line-height: 1.05; margin: 0 0 14px; }
.cta p { color: var(--on-ink-muted); font-size: 18.5px; margin: 0 0 28px; }
.cta .notify { margin-top: 18px; color: var(--on-ink-muted); font-size: 15px; }
.cta .notify a { color: #FF8A3D; }
.cta img { width: 100%; max-width: 320px; margin: 0 auto -24px; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.35)); }

/* ---------- Alt bilgi ---------- */
.footer { margin-top: 96px; border-top: 1.5px solid var(--border); padding: 40px 0 48px; color: var(--muted); font-size: 15px; }
.footer .wrap { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 32px; }
.footer h5 { color: var(--text); font-weight: 900; font-size: 15px; margin: 0 0 12px; }
.footer a { display: block; color: var(--muted); font-weight: 700; margin: 6px 0; }
.footer .brand { display: flex; margin: 0; }
.footer a:hover { color: var(--text); text-decoration: none; }
.footer .legal { grid-column: 1 / -1; border-top: 1px solid var(--border); padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 14px; }

/* ---------- Metin sayfaları (gizlilik, destek) ---------- */
.doc { max-width: 780px; margin: 0 auto; padding: 40px 24px 0; }
.doc h1 { font-weight: 900; font-size: clamp(36px, 5vw, 50px); letter-spacing: -1.5px; line-height: 1.05; margin: 8px 0 8px; }
.doc .date { color: var(--muted); margin: 0 0 32px; }
.doc h2 { font-weight: 900; font-size: 25px; letter-spacing: -0.5px; margin: 40px 0 10px; }
.doc ul { padding-left: 22px; }
.doc li { margin: 8px 0; }
.doc .summary { background: var(--card); border: 1.5px solid var(--border); border-bottom-width: 5px; border-radius: 24px; padding: 8px 26px; }
.note { background: var(--surface); border-radius: 16px; padding: 14px 18px; color: var(--muted); font-size: 15px; }
.contact {
  background: linear-gradient(160deg, var(--ink-2), var(--ink-dark)); color: var(--on-ink); border-radius: 32px;
  padding: 36px; display: flex; gap: 28px; align-items: center; margin: 28px 0;
}
.contact img { width: 120px; flex-shrink: 0; }
.contact h2 { margin: 0 0 6px; }
.contact p { margin: 0 0 18px; color: var(--on-ink-muted); }

/* ---------- Girişte beliren öğeler ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2, .8, .2, 1); }
.reveal.in, .no-reveal .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-pati, .chip-float { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Duyarlı ---------- */
@media (max-width: 980px) {
  .hero-card { grid-template-columns: 1fr; padding: 48px 32px 0; min-height: 0; }
  .hero-copy { padding-bottom: 8px; }
  .hero-visual { min-height: 480px; }
  .hero-visual .phone.main { width: 250px; bottom: -70px; }
  .hero-visual .phone.back { width: 220px; bottom: -100px; }
  .feature { grid-template-columns: 1fr; gap: 36px; padding-top: 64px; }
  .feature.flip .feature-copy { order: 0; }
  .stats { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .cta { grid-template-columns: 1fr; padding: 44px 32px 0; text-align: center; }
  .cta .stores { justify-content: center; }
  .footer .wrap { grid-template-columns: 1fr 1fr; }
  .footer .wrap > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .hero { padding-top: 12px; }
  .hero-card { border-radius: 30px; padding: 36px 22px 0; }
  .hero .lead { font-size: 17.5px; }
  .hero h1 { letter-spacing: -1.6px; }
  .store { min-width: 0; flex: 1 1 0; padding: 10px 12px; gap: 9px; }
  .store strong { font-size: 16.5px; }
  .store small { font-size: 11px; }
  .store svg { width: 24px; height: 24px; }
  .hero-visual { min-height: 420px; }
  .hero-visual .phone.main { width: 210px; transform: translateX(-18%) rotate(3deg); }
  .hero-visual .phone.back { width: 176px; transform: translateX(-92%) rotate(-7deg); }
  .hero-pati { width: 96px; top: 0; right: -6px; }
  .chip-streak { left: 0; top: 70px; }
  .chip-xp { right: 0; bottom: 120px; }
  .block { padding-top: 72px; }
  .stage { padding: 32px 14px 0; min-height: 400px; border-radius: 28px; }
  .stage .phone { width: 47%; }
  .stage .sticker { width: 84px; }
  .stats { grid-template-columns: repeat(2, 1fr); padding: 36px 20px; }
  .stats div:last-child { grid-column: 1 / -1; }
  .cta { border-radius: 30px; padding: 36px 22px 0; }
  .contact { flex-direction: column; text-align: center; padding: 28px 22px; }
  .moods figure { width: 100px; }
  .moods img { width: 92px; }
}
