/* Yutturmaca web sitesi. Renkler ve yazı tipleri design/tokens.ts ile aynı ("Gece Pazarı"). */

@font-face { font-family: "Rubik"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/Rubik_700Bold.woff2") format("woff2"); }
@font-face { font-family: "Rubik"; font-weight: 900; font-style: normal; font-display: swap; src: url("/fonts/Rubik_900Black.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/Inter_400Regular.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/Inter_600SemiBold.woff2") format("woff2"); }

:root {
  --plum-deep: #140a24;
  --plum: #1e1033;
  --plum-2: #33204f;
  --plum-3: #45306a;
  --line: #4a3868;
  --line-strong: #6a5590;
  --cream: #fff3dc;
  --lilac: #c9b8e8;
  --ink: #1e1033;
  --coral: #ff6b4a;
  --mint: #2ee6c8;
  --amber: #ffb020;
  --lime: #b6f05a;
  --grape: #b98cff;
  --rose: #ff7a66;
  --bark: #6b604a;

  --display: "Rubik", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ledge: 0 4px 0 rgba(0, 0, 0, 0.35);
  --radius: 18px;
  --gutter: 16px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--plum);
  background-image:
    radial-gradient(60rem 30rem at 85% -10%, rgba(255, 107, 74, 0.16), transparent 60%),
    radial-gradient(50rem 30rem at -10% 20%, rgba(46, 230, 200, 0.10), transparent 60%),
    radial-gradient(40rem 30rem at 50% 110%, rgba(185, 140, 255, 0.12), transparent 60%);
  background-repeat: no-repeat;
  color: var(--cream);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.55;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--mint); text-underline-offset: 3px; }
a:hover { color: var(--cream); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); font-weight: 900; line-height: 1.1; margin: 0 0 0.5em; letter-spacing: 0; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--amber); color: var(--ink); padding: 8px 14px; border-radius: 10px; font-weight: 600; z-index: 10; }
.skip:focus { left: 8px; }

/* ── üst çubuk ── */
.top { padding: 18px 0; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--cream); text-decoration: none; font-family: var(--display); font-weight: 900; font-size: 1.25rem; letter-spacing: 0.04em; }
.logo-mark { width: 34px; height: 34px; flex: none; }
.top-link { font-weight: 600; font-size: 0.95rem; color: var(--lilac); text-decoration: none; }
.top-link:hover { color: var(--cream); }

/* ── butonlar ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 22px; border: 0; border-radius: 14px;
  font-family: var(--display); font-weight: 900; font-size: 1.0625rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; box-shadow: var(--ledge);
  transition: transform 120ms ease, box-shadow 120ms ease;
}
.btn:active { transform: translateY(4px); box-shadow: none; }
.btn-primary { background: var(--coral); color: var(--ink); }
.btn-primary:hover { color: var(--ink); background: #ff7f62; }
.btn-alt { background: var(--mint); color: var(--ink); }
.btn-alt:hover { color: var(--ink); background: #55ecd3; }
.btn.is-done { background: var(--lime); }

.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  flex: 1 1 160px; max-width: 260px;
  display: inline-flex; align-items: center; gap: 12px; min-height: 60px;
  padding: 10px 14px; border-radius: 14px; background: var(--cream); color: var(--ink);
  text-decoration: none; box-shadow: var(--ledge); transition: transform 120ms ease, box-shadow 120ms ease;
}
.store:hover { color: var(--ink); background: #fffaf0; }
.store:active { transform: translateY(4px); box-shadow: none; }
.store svg { width: 26px; height: 26px; flex: none; }
.store-text { display: flex; flex-direction: column; line-height: 1.15; }
.store-sub { font-size: 0.75rem; font-weight: 600; color: var(--bark); }
.store-name { font-family: var(--display); font-weight: 900; font-size: 1.15rem; white-space: nowrap; }
.store.is-soon { background: var(--plum-2); color: var(--lilac); box-shadow: none; cursor: default; border: 2px dashed var(--line-strong); }
.store.is-soon .store-sub { color: var(--amber); }
.store.is-soon:active { transform: none; }

/* ── ana sayfa: giriş ── */
.hero { padding: 24px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
.eyebrow { display: inline-block; font-weight: 600; font-size: 0.8rem; letter-spacing: 0.12em; color: var(--amber); margin-bottom: 14px; }
.hero h1 { font-size: clamp(2.6rem, 11vw, 4.6rem); line-height: 0.98; margin-bottom: 18px; }
.hero h1 .hl { color: var(--coral); display: inline-block; transform: rotate(-2deg); }
.lede { font-size: 1.125rem; color: var(--lilac); max-width: 34rem; margin-bottom: 26px; }
.lede strong { color: var(--cream); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 28px; }
.chips li { padding: 7px 14px; border-radius: 999px; background: var(--plum-2); font-weight: 600; font-size: 0.9rem; }
.chips li:nth-child(1) { color: var(--mint); }
.chips li:nth-child(2) { color: var(--lime); }
.chips li:nth-child(3) { color: var(--amber); }
.fineprint { margin-top: 14px; font-size: 0.85rem; color: var(--lilac); }

/* örnek soru kartı (tamamen HTML/CSS, görsel dosyası yok) */
.demo { position: relative; max-width: 420px; width: 100%; margin: 0; justify-self: center; }
.demo-q { background: var(--cream); color: var(--ink); border-radius: var(--radius); padding: 22px 22px 20px; box-shadow: 0 6px 0 rgba(0, 0, 0, 0.35); transform: rotate(-1.5deg); }
.demo-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; color: var(--bark); margin-bottom: 8px; }
.demo-q p { font-family: var(--display); font-weight: 700; font-size: 1.3rem; line-height: 1.3; margin: 0; }
.blank { display: inline-block; width: 64px; height: 4px; background: var(--ink); border-radius: 2px; vertical-align: middle; }
.demo-answers { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.demo-answers li { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 56px; padding: 10px 16px; border-radius: 14px; background: var(--plum-2); font-family: var(--display); font-weight: 700; letter-spacing: 0.03em; }
.demo-answers .by { font-family: var(--body); font-weight: 600; font-size: 0.78rem; color: var(--lilac); letter-spacing: 0; white-space: nowrap; }
.demo-answers .truth { background: var(--amber); color: var(--ink); }
.demo-answers .truth .by { color: var(--ink); }
.stamp { position: absolute; left: 38%; top: -12px; padding: 2px 10px; border: 3px solid currentColor; border-radius: 8px; font-family: var(--display); font-weight: 900; font-size: 1rem; letter-spacing: 0.08em; transform: rotate(9deg); background: var(--plum); }
.stamp-lie { color: var(--coral); }
.stamp-truth { color: var(--ink); background: var(--lime); border-color: var(--ink); }

/* ── bölümler ── */
.section { padding: 56px 0; }
.section-title { font-size: clamp(1.9rem, 7vw, 2.8rem); margin-bottom: 28px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: step; }
.step { position: relative; background: var(--plum-2); border-radius: var(--radius); padding: 24px 22px 22px 22px; }
.step-no { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 14px; font-family: var(--display); font-weight: 900; font-size: 1.5rem; color: var(--ink); margin-bottom: 14px; box-shadow: var(--ledge); }
.step:nth-child(1) .step-no { background: var(--mint); }
.step:nth-child(2) .step-no { background: var(--coral); transform: rotate(-4deg); }
.step:nth-child(3) .step-no { background: var(--amber); transform: rotate(3deg); }
.step h3 { font-size: 1.35rem; margin-bottom: 6px; }
.step p { margin: 0; color: var(--lilac); }

.facts { display: grid; gap: 12px; }
.fact { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--radius); border: 2px solid var(--line); }
.fact-icon { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-family: var(--display); font-weight: 900; color: var(--ink); }
.fact h3 { font-size: 1.1rem; margin: 0 0 2px; }
.fact p { margin: 0; color: var(--lilac); font-size: 0.95rem; }
.bg-mint { background: var(--mint); }
.bg-coral { background: var(--coral); }
.bg-amber { background: var(--amber); }
.bg-grape { background: var(--grape); }

.cta { text-align: center; }
.cta-box { background: var(--plum-2); border-radius: 24px; padding: 40px 22px; }
.cta-box h2 { font-size: clamp(1.8rem, 7vw, 2.6rem); }
.cta-box p { color: var(--lilac); }
.cta .stores { justify-content: center; margin-top: 22px; }

/* ── alt bilgi ── */
.foot { padding: 40px 0 48px; border-top: 1px solid var(--line); margin-top: 24px; font-size: 0.92rem; color: var(--lilac); }
.foot nav ul { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot nav a { color: var(--cream); text-decoration: none; font-weight: 600; }
.foot nav a:hover { color: var(--mint); text-decoration: underline; }
.foot p { margin: 0 0 6px; }

/* ── davet sayfası ── */
.invite { padding: 16px 0 40px; text-align: center; }
.invite .wrap { max-width: 520px; }
.invite h1 { font-size: clamp(1.9rem, 8vw, 2.5rem); margin-bottom: 10px; }
.invite .lede { margin: 0 auto 26px; }
.code-card { background: var(--plum-2); border-radius: 24px; padding: 22px 18px 24px; margin-bottom: 22px; }
.code-label { font-family: var(--body); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; color: var(--lilac); margin-bottom: 12px; }
.code { display: flex; justify-content: center; gap: 10px; margin: 0 0 20px; font-family: var(--display); font-weight: 900; font-size: clamp(2.6rem, 14vw, 3.6rem); line-height: 1; color: var(--ink); }
.code span { display: grid; place-items: center; width: 1.45em; height: 1.6em; border-radius: 14px; background: var(--amber); box-shadow: var(--ledge); }
.code span:nth-child(2) { transform: rotate(-3deg); }
.code span:nth-child(4) { transform: rotate(2deg); }
.invite .btn { width: 100%; }
.invite-actions { display: grid; gap: 14px; margin-bottom: 30px; }
.invite-help { background: transparent; border: 2px dashed var(--line-strong); border-radius: var(--radius); padding: 20px 18px; text-align: left; }
.invite-help h2 { font-size: 1.25rem; margin-bottom: 8px; }
.invite-help ol { margin: 0 0 18px; padding-left: 1.3em; color: var(--lilac); }
.invite-help ol strong { color: var(--cream); }
.invite-help .stores { justify-content: center; }

/* ── yasal sayfalar ve destek ── */
.doc { padding: 8px 0 32px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(2rem, 8vw, 2.8rem); margin-bottom: 8px; }
.doc .meta { color: var(--lilac); font-size: 0.92rem; margin-bottom: 28px; }
.doc h2 { font-size: 1.4rem; margin: 2em 0 0.6em; color: var(--cream); }
.doc h3 { font-family: var(--body); font-weight: 600; font-size: 1.05rem; margin: 1.5em 0 0.4em; line-height: 1.35; }
.doc p, .doc li { color: #eadfcb; }
.doc ul, .doc ol { padding-left: 1.3em; margin: 0 0 1em; }
.doc li { margin-bottom: 0.4em; }
.doc strong { color: var(--cream); }
.doc .table-wrap { overflow-x: auto; margin: 0 0 1.2em; border-radius: 14px; border: 1px solid var(--line); }
.doc table { width: 100%; border-collapse: collapse; font-size: 0.92rem; min-width: 520px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.doc th { background: var(--plum-2); font-weight: 600; color: var(--cream); }
.doc tr:last-child td { border-bottom: 0; }
.ph { background: rgba(255, 176, 32, 0.18); color: var(--amber); padding: 0 4px; border-radius: 4px; font-weight: 600; }
.callout { background: var(--plum-2); border-left: 4px solid var(--mint); border-radius: 12px; padding: 16px 18px; margin: 0 0 1.2em; }
.callout p:last-child { margin-bottom: 0; }
.mail { font-family: var(--display); font-weight: 900; font-size: clamp(1.25rem, 6vw, 1.6rem); color: var(--mint); word-break: break-all; }
.toc { background: var(--plum-2); border-radius: 14px; padding: 14px 18px; margin-bottom: 8px; }
.toc ol { margin: 0; }
.doc details { background: var(--plum-2); border-radius: 14px; padding: 0 18px; margin-bottom: 10px; }
.doc summary { cursor: pointer; padding: 16px 0; font-weight: 600; color: var(--cream); list-style-position: outside; }
.doc details[open] summary { padding-bottom: 8px; }
.doc details > :last-child { padding-bottom: 16px; }

/* Taslak uyarısı. Hukuki inceleme bitince HTML'deki işaretli öğe silinir. */
.draft-banner { background: var(--amber); color: var(--ink); text-align: center; font-weight: 600; font-size: 0.92rem; padding: 10px var(--gutter); }

/* ── 404 ── */
.lost { padding: 40px 0 72px; text-align: center; }
.lost .big { font-family: var(--display); font-weight: 900; font-size: clamp(5rem, 30vw, 9rem); line-height: 1; color: var(--coral); transform: rotate(-4deg); margin-bottom: 12px; }
.lost p { color: var(--lilac); max-width: 30rem; margin-left: auto; margin-right: auto; }
.lost .btn { margin-top: 12px; }

/* ── geniş ekranlar ── */
@media (min-width: 720px) {
  .hero { padding: 40px 0 80px; }
  .hero .wrap { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 72px 0; }
  .cta-box { padding: 56px 40px; }
}

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