/* ═══════════════ Mopia Toys — ziyaretçi arayüzü ═══════════════ */

@font-face { font-family: "Baloo 2"; font-weight: 700; font-display: swap;
  src: url(/fonts/baloo-2-latin-ext-700-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Baloo 2"; font-weight: 700; font-display: swap;
  src: url(/fonts/baloo-2-latin-700-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Nunito"; font-weight: 400; font-display: swap; src: url(/fonts/nunito-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02FF, U+1E00-1EFF, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Nunito"; font-weight: 400; font-display: swap; src: url(/fonts/nunito-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215; }
@font-face { font-family: "Nunito"; font-weight: 700; font-display: swap; src: url(/fonts/nunito-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02FF, U+1E00-1EFF, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Nunito"; font-weight: 700; font-display: swap; src: url(/fonts/nunito-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215; }
@font-face { font-family: "Nunito"; font-weight: 800; font-display: swap; src: url(/fonts/nunito-latin-ext-800-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02FF, U+1E00-1EFF, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Nunito"; font-weight: 800; font-display: swap; src: url(/fonts/nunito-latin-800-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215; }

:root {
  --ink: #0E2A88;          /* logodaki lacivert bant */
  --ink-soft: #45568F;
  --red: #E8232C;  --red-d: #A9141B;
  --yellow: #FFC20E; --yellow-d: #C98E00;
  --blue: #1E88E5; --blue-d: #0F5BA8;
  --green: #43B02A; --green-d: #2C7E19;
  --orange: #FF7A00; --orange-d: #B85500;
  --sky: #EEF5FF;
  --paper: #FFFFFF;
  --line: #D6E2F5;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --display: "Baloo 2", system-ui, sans-serif;
  --body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; 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: var(--body);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--sky);
  /* çok hafif molekül deseni */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='104' viewBox='0 0 120 104'%3E%3Cg fill='none' stroke='%230E2A88' stroke-opacity='.05' stroke-width='3'%3E%3Cpath d='M30 26v-14M30 26l12 7M30 26l-12 7M30 26l12-7M30 26l-12-7M30 26v14'/%3E%3Cpath d='M90 78v-14M90 78l12 7M90 78l-12 7M90 78l12-7M90 78l-12-7M90 78v14'/%3E%3C/g%3E%3C/svg%3E");
}

img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: var(--blue-d); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 4px solid var(--yellow); outline-offset: 3px; border-radius: 8px; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.12; margin: 0 0 .4em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }

.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--yellow); color: var(--ink); padding: .6rem 1rem; border-radius: 10px; font-weight: 800; }
.skip:focus { left: 12px; }

/* ───────── üst bar ───────── */
.topbar { background: var(--paper); border-bottom: 4px solid var(--ink); position: sticky; top: 0; z-index: 40; }
.topbar .wrap { display: flex; align-items: center; gap: 1.25rem; min-height: 76px; }
.brand img { height: 56px; width: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: .35rem; }
.nav a {
  font-family: var(--display); font-size: 1.12rem; color: var(--ink); text-decoration: none;
  padding: .5rem .95rem; border-radius: 999px; display: inline-flex; gap: .45rem; align-items: center;
}
.nav a:hover { background: var(--sky); }
.nav a[aria-current="page"] { background: var(--ink); color: #fff; }
.nav .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--c, var(--blue)); box-shadow: inset 0 -2px 0 rgba(0,0,0,.2); }
.btn.nav-toggle { display: none; margin-left: auto; }

@media (max-width: 820px) {
  .topbar .wrap { min-height: 64px; }
  .brand img { height: 44px; }
  .btn.nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); flex-direction: column;
         align-items: stretch; padding: .75rem 1.25rem 1.25rem; border-bottom: 4px solid var(--ink); }
  .nav.open { display: flex; }
  .nav a { font-size: 1.3rem; padding: .8rem 1rem; }
}

/* ───────── oyuncak düğmeler ───────── */
.btn {
  --bg: var(--yellow); --bd: var(--yellow-d); --fg: var(--ink);
  font: 700 1.15rem/1 var(--display); color: var(--fg); background: var(--bg);
  border: 0; border-radius: 999px; padding: .95rem 1.6rem; cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; gap: .55rem;
  box-shadow: 0 6px 0 var(--bd); transform: translateY(0); transition: transform .08s, box-shadow .08s;
}
.btn:hover { color: var(--fg); filter: brightness(1.04); }
.btn:active { transform: translateY(5px); box-shadow: 0 1px 0 var(--bd); }
.btn.red { --bg: var(--red); --bd: var(--red-d); --fg: #fff; }
.btn.blue { --bg: var(--blue); --bd: var(--blue-d); --fg: #fff; }
.btn.green { --bg: var(--green); --bd: var(--green-d); --fg: #fff; }
.btn.ghost { --bg: var(--paper); --bd: var(--line); --fg: var(--ink); }
.btn.small { font-size: 1rem; padding: .65rem 1.1rem; box-shadow: 0 4px 0 var(--bd); }
.btn.small:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--bd); }
.btn svg { width: 1.2em; height: 1.2em; }

/* ───────── hero ───────── */
.hero { padding: clamp(2rem, 5vw, 4rem) 0 clamp(2.5rem, 5vw, 4.5rem); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 2.5rem; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); margin-bottom: .3em; }
.hero .lead { font-size: 1.25rem; color: var(--ink-soft); max-width: 34ch; margin-bottom: 1.6rem; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-art { position: relative; }
.hero-art .logo-big { width: 100%; max-width: 520px; margin-inline: auto; filter: drop-shadow(0 14px 0 rgba(14,42,136,.08)); }
.chain { width: 100%; max-width: 520px; height: auto; margin: -.5rem auto 0; display: block; overflow: visible; }
.chain .m { transform-box: fill-box; transform-origin: center; animation: snap .45s cubic-bezier(.3,1.6,.5,1) both; }
@keyframes snap { from { opacity: 0; transform: translateY(-26px) scale(.6) rotate(-30deg); } to { opacity: 1; transform: none; } }
@media (max-width: 860px) {
  .hero { padding: 1.2rem 0 1.8rem; }
  .hero .wrap { grid-template-columns: 1fr; gap: 1rem; text-align: center; justify-items: center; }
  .hero-art { order: -1; width: 100%; }
  .hero-art .logo-big { width: min(300px, 70vw); }
  .chain { width: min(340px, 86vw); margin-top: .2rem; }
  .hero .lead { margin-inline: auto; }
  .hero .actions { justify-content: center; }
}
@media (max-width: 600px) {
  .hero h1 { font-size: clamp(1.75rem, 8vw, 2.3rem); }
  .hero .lead { font-size: 1.08rem; margin-bottom: 1.1rem; }
  .hero-art .logo-big { width: min(220px, 60vw); filter: none; }
}

/* ───────── bölümler ───────── */
.section { padding: clamp(2.2rem, 5vw, 3.6rem) 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; flex-wrap: wrap; }
.section-head p { margin: 0; color: var(--ink-soft); max-width: 60ch; }
.band { background: var(--paper); border-block: 4px solid var(--ink); }

/* ───────── kategori kutuları (oyuncak kutusu) ───────── */
.boxes { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.box {
  --c: var(--blue);
  position: relative; display: flex; flex-direction: column; text-decoration: none; color: var(--ink);
  background: var(--paper); border: 4px solid var(--ink); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 8px 0 var(--ink); transition: transform .12s, box-shadow .12s;
}
.box:hover { color: var(--ink); transform: translateY(-3px); box-shadow: 0 11px 0 var(--ink); }
.box:active { transform: translateY(5px); box-shadow: 0 3px 0 var(--ink); }
.box .lid { background: var(--c); padding: 1.1rem 1.3rem 1rem; color: #fff; display: flex; align-items: center; gap: .8rem; }
.box .lid .icon { font-size: 2.1rem; line-height: 1; width: 3.3rem; height: 3.3rem; display: grid; place-items: center; background: rgba(255,255,255,.25); border-radius: 50%; }
.box .lid h3 { margin: 0; font-size: 1.6rem; color: #fff; }
.box .lid small { display: block; font-family: var(--body); font-weight: 800; font-size: .95rem; opacity: .95; }
.box .peek { aspect-ratio: 16 / 9; background: #fff; overflow: hidden; border-bottom: 3px dashed var(--line); }
.box .peek img { width: 100%; height: 100%; object-fit: contain; padding: .4rem; }
.box p { padding: 1rem 1.3rem 1.3rem; margin: 0; color: var(--ink-soft); }

/* ───────── kılavuz kartları ───────── */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.4rem; }
.card {
  --c: var(--blue);
  display: flex; flex-direction: column; text-decoration: none; color: var(--ink);
  background: var(--paper); border-radius: var(--radius-md); overflow: hidden;
  border: 3px solid var(--line); transition: border-color .12s, transform .12s;
}
.card:hover { border-color: var(--c); color: var(--ink); transform: translateY(-2px); }
.card .thumb { position: relative; aspect-ratio: 1 / 1; background: #fff; overflow: hidden; border-bottom: 3px solid var(--sky); }
.card .thumb img { width: 100%; height: 100%; object-fit: contain; }
.card .pieces {
  position: absolute; left: .7rem; bottom: .7rem; background: var(--c); color: #fff;
  font: 700 .98rem/1 var(--display); padding: .45rem .7rem; border-radius: 999px; box-shadow: 0 3px 0 rgba(0,0,0,.18);
}
.card .body { padding: .85rem 1rem 1rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.card h3 { margin: 0; font-size: 1.3rem; }
.card .meta { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; margin-top: auto; padding-top: .3rem; }

.level { display: inline-flex; align-items: center; gap: .35rem; font-weight: 800; font-size: .92rem; }
.level i { width: 11px; height: 11px; border-radius: 50%; background: var(--line); display: inline-block; }
.level.easy i:nth-child(-n+1), .level.medium i:nth-child(-n+2), .level.hard i:nth-child(-n+3) { background: currentColor; }
.level.easy { color: var(--green-d); } .level.medium { color: var(--orange-d); } .level.hard { color: var(--red-d); }
.tag { font-size: .85rem; font-weight: 800; padding: .2rem .6rem; border-radius: 999px; background: var(--sky); color: var(--ink-soft); }
.tag.video { background: #FFE9E9; color: var(--red-d); }

/* ───────── kategori sayfası ───────── */
.cat-head { --c: var(--blue); background: var(--c); color: #fff; padding: clamp(2rem, 5vw, 3.2rem) 0; border-bottom: 4px solid var(--ink); }
.cat-head .wrap { display: flex; gap: 1.5rem; align-items: center; }
.cat-head .icon { font-size: 3.2rem; width: 6rem; height: 6rem; flex: none; display: grid; place-items: center; background: rgba(255,255,255,.22); border-radius: 50%; }
.cat-head h1 { color: #fff; margin: 0 0 .15em; }
.cat-head p { margin: 0; font-size: 1.15rem; max-width: 55ch; }
.crumbs { font-weight: 700; font-size: .95rem; margin-bottom: .5rem; }
.crumbs a { color: inherit; }
.cat-head .crumbs { opacity: .9; }

.filters { display: flex; flex-wrap: wrap; gap: .8rem 1.4rem; align-items: center; margin: 1.6rem 0 1.4rem; }
.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip .dot { display: inline-block; width: 11px; height: 11px; border-radius: 50%; background: var(--c, var(--blue)); margin-right: .4rem; vertical-align: 0; }
.chip[aria-pressed="true"] .dot { box-shadow: 0 0 0 2px #fff; }
.chip {
  font: 700 1.02rem/1 var(--display); color: var(--ink); background: var(--paper); border: 3px solid var(--line);
  border-radius: 999px; padding: .6rem 1rem; cursor: pointer;
}
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.search { margin-left: auto; position: relative; }
.search input {
  font: inherit; font-weight: 700; color: var(--ink); background: var(--paper); border: 3px solid var(--line);
  border-radius: 999px; padding: .6rem 1rem .6rem 2.6rem; width: min(280px, 70vw);
}
.search input:focus { border-color: var(--blue); outline: none; }
.search svg { position: absolute; left: .9rem; top: 50%; translate: 0 -50%; width: 20px; height: 20px; color: var(--ink-soft); }
.empty { text-align: center; padding: 2.5rem 1rem; color: var(--ink-soft); font-weight: 700; }

/* ───────── kılavuz sayfası ───────── */
.guide-top { padding: 1.6rem 0 .6rem; }
.guide-top h1 { margin-bottom: .15em; }
.guide-top .sub { color: var(--ink-soft); font-size: 1.15rem; margin: 0 0 .9rem; }
.facts { display: flex; flex-wrap: wrap; gap: .6rem; }
.fact { background: var(--paper); border: 3px solid var(--line); border-radius: 999px; padding: .4rem .9rem; font-weight: 800; display: inline-flex; gap: .45rem; align-items: center; }
.fact.pieces { --c: var(--blue); background: var(--c); border-color: var(--c); color: #fff; font-family: var(--display); font-weight: 700; font-size: 1.05rem; }
.fact.trial { background: #FFF6D6; border-color: #FFE38A; color: #7A5600; }

.guide-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 2rem; align-items: start; padding: 1.2rem 0 2.5rem; }
@media (max-width: 900px) { .guide-grid { grid-template-columns: 1fr; } }

.plan { position: sticky; top: 96px; background: var(--paper); border: 4px solid var(--ink); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 8px 0 var(--ink); }
@media (max-width: 900px) { .plan { position: static; } }
.plan button.zoom { all: unset; display: block; width: 100%; cursor: zoom-in; position: relative; }
.plan button.zoom:focus-visible { outline: 4px solid var(--yellow); outline-offset: -6px; }
.plan img { width: 100%; height: auto; }
.plan .hint { position: absolute; right: .8rem; bottom: .8rem; background: var(--ink); color: #fff; font: 700 .98rem/1 var(--display); padding: .55rem .85rem; border-radius: 999px; display: inline-flex; gap: .4rem; align-items: center; }
.plan .hint svg { width: 18px; height: 18px; }

/* adımlar */
.steps-panel { background: var(--paper); border-radius: var(--radius-lg); border: 3px solid var(--line); padding: 1.4rem; }
.steps-panel h2 { font-size: 1.75rem; margin-bottom: .2em; }
.progress { display: flex; align-items: center; gap: .8rem; margin: .4rem 0 1.2rem; font-weight: 800; }
.progress .bar { flex: 1; height: 16px; background: var(--sky); border-radius: 999px; overflow: hidden; border: 2px solid var(--line); }
.progress .bar span { display: block; height: 100%; width: 0; background: var(--green); border-radius: 999px; transition: width .35s cubic-bezier(.3,1.4,.5,1); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; counter-reset: step; }
.step {
  display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "check title" "check body";
  column-gap: .9rem; padding: 1rem; border-radius: var(--radius-md); background: var(--sky);
  border: 3px solid transparent; transition: background .2s, border-color .2s;
}
.step .check { grid-area: check; }
.step h3 { grid-area: title; align-self: center; }
.step .txt { grid-area: body; min-width: 0; }
.step .check {
  width: 3.4rem; height: 3.4rem; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--paper); color: var(--ink); font: 700 1.5rem/1 var(--display);
  box-shadow: inset 0 0 0 4px var(--ink), 0 5px 0 var(--ink); display: grid; place-items: center;
  transition: transform .08s, box-shadow .08s, background .15s;
}
.step .check:active { transform: translateY(4px); box-shadow: inset 0 0 0 4px var(--ink), 0 1px 0 var(--ink); }
.step .check svg { width: 1.6rem; height: 1.6rem; display: none; }
.step h3 { margin: .25rem 0 .5rem; font-size: 1.3rem; line-height: 1.2; overflow-wrap: anywhere; }
.step .txt p { margin: 0 0 .55rem; line-height: 2.1; }
.step .txt p:last-child { margin-bottom: 0; }
/* sayı dizileri: her grup bir bütün, satır sadece oklardan sonra kırılır */
.step .txt p.seq { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem .55rem; line-height: 1.2; }
.seq .lbl { font-weight: 800; margin-right: .1rem; }
.grp { display: inline-flex; flex-wrap: wrap; align-items: center; row-gap: .4rem; background: #fff; border-radius: 1.1rem; padding: .3rem .45rem; box-shadow: inset 0 0 0 2px var(--line); max-width: 100%; }
.grp .u, .rng, .nw { display: inline-flex; align-items: center; white-space: nowrap; }
.step.done .grp { box-shadow: inset 0 0 0 2px #BFE5B0; }
.step.done { background: #E8F7E2; border-color: var(--green); }
.step.done .check { background: var(--green); color: #fff; box-shadow: inset 0 0 0 4px var(--green-d), 0 5px 0 var(--green-d); animation: pop .3s cubic-bezier(.3,1.8,.5,1); }
.step.done .check span { display: none; }
.step.done .check svg { display: block; }
.step.done h3 { text-decoration: line-through; text-decoration-thickness: 3px; text-decoration-color: var(--green); }
@keyframes pop { 0% { transform: scale(.7); } 100% { transform: scale(1); } }

/* parça numarası = molekül topu */
.num {
  display: inline-grid; place-items: center; min-width: 2em; height: 2em; padding: 0 .35em;
  border-radius: 999px; background: var(--ink); color: #fff; font: 700 .95rem/1 var(--display);
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px #B9C6E3; margin: 0 .12em; vertical-align: middle;
}
.arrow { color: var(--blue); font-size: .9rem; margin: 0 .15em; vertical-align: middle; }
.dots { font-weight: 800; color: var(--ink-soft); margin: 0 .1em; letter-spacing: .05em; vertical-align: middle; }
/* uzun aralık: 26 ━ 48, çizginin üstünde "kadar" */
.thru { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; margin: 0 .2em; vertical-align: middle; line-height: 1; }
.thru small { font: 800 .62rem/1 var(--body); color: var(--ink-soft); letter-spacing: .02em; margin-bottom: 2px; }
.thru::after { content: ""; display: block; width: 1.9em; height: 5px; border-radius: 3px; background: var(--orange); }
.grp .num { margin: 0; }

.steps-actions { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 1.2rem; }

.done-banner { display: none; margin-top: 1.2rem; background: var(--yellow); border-radius: var(--radius-md); padding: 1.1rem 1.2rem; font-family: var(--display); font-size: 1.35rem; box-shadow: 0 6px 0 var(--yellow-d); }
.done-banner.show { display: flex; gap: .8rem; align-items: center; animation: pop .35s cubic-bezier(.3,1.8,.5,1); }
.done-banner .big { font-size: 2.2rem; }

/* nasıl okunur + ipuçları */
.side-boxes { display: grid; gap: 1.2rem; margin-top: 1.4rem; }
.legend, .tips { background: var(--paper); border-radius: var(--radius-lg); border: 3px solid var(--line); padding: 1.3rem 1.4rem; }
.legend h2, .tips h2 { font-size: 1.4rem; }
.legend ul { margin: 0; padding-left: 1.2rem; display: grid; gap: .45rem; }
.legend li::marker { color: var(--blue); }
.legend-img { max-width: 100%; max-height: 220px; width: auto; margin: 0 0 1rem; border-radius: var(--radius-sm); }
.tips { background: #FFF8E1; border-color: #FFE6A0; }
.tips ul { margin: 0; padding-left: 1.2rem; display: grid; gap: .45rem; }
.tips li::marker { color: var(--orange); }

/* video */
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.4rem; }
.video { background: var(--paper); border-radius: var(--radius-md); overflow: hidden; border: 3px solid var(--line); }
.yt { position: relative; aspect-ratio: 16 / 9; background: #000; }
.yt button { all: unset; cursor: pointer; position: absolute; inset: 0; display: grid; place-items: center; }
.yt button:focus-visible { outline: 4px solid var(--yellow); outline-offset: -4px; }
.yt img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.yt .play { position: relative; width: 78px; height: 56px; border-radius: 18px; background: var(--red); display: grid; place-items: center; box-shadow: 0 5px 0 var(--red-d); }
.yt .play::after { content: ""; border-left: 20px solid #fff; border-block: 12px solid transparent; margin-left: 5px; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video .body { padding: .9rem 1.1rem 1.1rem; }
.video h3 { font-size: 1.2rem; margin: 0 0 .3rem; }
.video p { margin: 0; color: var(--ink-soft); font-size: .98rem; }
.yt-note { font-size: .9rem; color: var(--ink-soft); margin-top: .8rem; }

/* önceki / sonraki */
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding-bottom: 3rem; }
.pager a { display: flex; gap: .9rem; align-items: center; background: var(--paper); border: 3px solid var(--line); border-radius: var(--radius-md); padding: .8rem; text-decoration: none; color: var(--ink); }
.pager a:hover { border-color: var(--blue); }
.pager a.next { justify-content: flex-end; text-align: right; grid-column: 2; }
.pager img { width: 64px; height: 64px; object-fit: cover; border-radius: 12px; }
.pager small { display: block; color: var(--ink-soft); font-weight: 800; }
.pager strong { font-family: var(--display); font-weight: 700; font-size: 1.15rem; }
@media (max-width: 600px) { .pager { grid-template-columns: 1fr; } .pager a.next { grid-column: 1; } }

/* nasıl çalışır (ana sayfa) */
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; list-style: none; padding: 0; margin: 0; }
.how li { background: var(--sky); border-radius: var(--radius-lg); padding: 1.4rem; position: relative; }
.how .n { width: 3rem; height: 3rem; border-radius: 50%; display: grid; place-items: center; font: 700 1.5rem/1 var(--display); color: #fff; margin-bottom: .8rem; }
.how li:nth-child(1) .n { background: var(--red); box-shadow: 0 4px 0 var(--red-d); }
.how li:nth-child(2) .n { background: var(--blue); box-shadow: 0 4px 0 var(--blue-d); }
.how li:nth-child(3) .n { background: var(--green); box-shadow: 0 4px 0 var(--green-d); }
.how h3 { margin-bottom: .3em; }
.how p { margin: 0; color: var(--ink-soft); }
@media (max-width: 820px) { .how { grid-template-columns: 1fr; } }

.parents { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
@media (max-width: 820px) { .parents { grid-template-columns: 1fr; } }

/* ───────── yakınlaştırma penceresi ───────── */
.viewer { position: fixed; inset: 0; z-index: 100; background: rgba(10, 24, 80, .94); display: none; touch-action: none; }
.viewer.open { display: block; }
.viewer .stage { position: absolute; inset: 0; overflow: hidden; cursor: grab; }
.viewer .stage.drag { cursor: grabbing; }
.viewer img { position: absolute; left: 50%; top: 50%; max-width: none; transform-origin: 0 0; user-select: none; -webkit-user-drag: none; background: #fff; border-radius: 10px; }
.viewer .tools { position: absolute; left: 50%; bottom: 1.2rem; translate: -50% 0; display: flex; gap: .6rem; background: rgba(255,255,255,.12); padding: .5rem; border-radius: 999px; }
.viewer .tools button, .viewer .close {
  width: 3.2rem; height: 3.2rem; border-radius: 50%; border: 0; cursor: pointer; background: #fff; color: var(--ink);
  font: 700 1.6rem/1 var(--display); display: grid; place-items: center; box-shadow: 0 4px 0 #9fb0d9;
}
.viewer .tools button:active, .viewer .close:active { transform: translateY(3px); box-shadow: 0 1px 0 #9fb0d9; }
.viewer .close { position: absolute; right: 1rem; top: 1rem; background: var(--yellow); box-shadow: 0 4px 0 var(--yellow-d); }
.viewer .tools svg, .viewer .close svg { width: 1.4rem; height: 1.4rem; }

/* ───────── alt bilgi ───────── */
.footer { background: var(--ink); color: #DCE5FF; padding: 2.4rem 0 2rem; margin-top: 2rem; }
.footer .wrap { display: flex; gap: 2rem; align-items: center; flex-wrap: wrap; justify-content: space-between; }
.footer img { height: 64px; width: auto; }
.footer p { margin: 0; max-width: 52ch; }
.footer a { color: #fff; }

/* 404 */
.lost { text-align: center; padding: 4rem 0 5rem; }
.lost .big { font: 700 clamp(5rem, 16vw, 9rem)/1 var(--display); color: var(--red); text-shadow: 0 8px 0 var(--red-d); margin-bottom: .2em; }

/* konfeti */
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 120; }

/* yazdır */
@media print {
  body { background: #fff; font-size: 11pt; }
  .topbar, .footer, .steps-actions, .pager, .plan .hint, .videos-section, .progress, .done-banner, .legend, .skip { display: none !important; }
  .guide-grid { display: block; }
  .plan { position: static; box-shadow: none; border: 0; margin-bottom: 1rem; }
  .step { break-inside: avoid; background: #fff; border: 1px solid #ccc; }
  .step .check { box-shadow: inset 0 0 0 2px #000; }
}

/* ───────── oyuncak sayfası ───────── */
.product-head .cover { width: 9rem; height: 9rem; flex: none; object-fit: cover; border-radius: var(--radius-lg); background: #fff; border: 4px solid #fff; box-shadow: 0 6px 0 rgba(0,0,0,.18); }
.head-actions { margin-top: 1rem !important; }
.head-actions .btn { --bd: rgba(0,0,0,.25); }
@media (max-width: 600px) {
  .cat-head .wrap { flex-direction: column; align-items: flex-start; }
  .product-head .cover { width: 6.5rem; height: 6.5rem; }
}
.box .peek-empty { display: grid; place-items: center; width: 100%; height: 100%; font-size: 4rem; background: color-mix(in srgb, var(--c) 12%, #fff); }
.soon { text-align: center; padding: 3rem 1rem 1rem; max-width: 46ch; margin: 0 auto; }
.soon-icon { font-size: 3.5rem; display: block; margin-bottom: .4rem; }
.soon p { color: var(--ink-soft); }
.narrow-box { max-width: 760px; }
@media (max-width: 600px) {
  .search { margin-left: 0; width: 100%; }
  .search input { width: 100%; }
}

/* ───────── iletişim ───────── */
.contact { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .7rem; }
.contact a {
  --bg: var(--paper); --fg: var(--ink); --bd: var(--line);
  display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--fg); background: var(--bg);
  border-radius: 999px; padding: .6rem 1.1rem .6rem .7rem; box-shadow: inset 0 0 0 3px var(--bd), 0 4px 0 var(--bd);
  transition: transform .08s, box-shadow .08s;
}
.contact a:active { transform: translateY(3px); box-shadow: inset 0 0 0 3px var(--bd), 0 1px 0 var(--bd); }
.contact a:hover { color: var(--fg); }
.contact svg { width: 2.1rem; height: 2.1rem; padding: .4rem; border-radius: 50%; background: var(--ic, var(--blue)); color: #fff; flex: none; }
.contact span { display: grid; line-height: 1.15; }
.contact b { font-family: var(--display); font-weight: 700; font-size: 1.05rem; }
.contact small { color: var(--ink-soft); font-weight: 700; font-size: .9rem; }
.contact .c-wa { --ic: #1FA855; }
.contact .c-phone { --ic: var(--blue); }
.contact .c-mail { --ic: var(--orange); }
.contact .c-ig { --ic: #D6337F; }
.contact.compact { gap: .5rem; }
.contact.compact a { padding: .35rem .85rem .35rem .4rem; gap: .45rem; box-shadow: inset 0 0 0 2px var(--bd); }
.contact.compact svg { width: 1.7rem; height: 1.7rem; padding: .3rem; }
.contact.compact b { font-size: .95rem; }

.help-band { background: #F3FBEF; border-color: var(--green-d); }
.help-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem 2.5rem; align-items: center; }
.help-inner p { margin: 0; color: var(--ink-soft); max-width: 52ch; }
@media (max-width: 860px) { .help-inner { grid-template-columns: 1fr; } }

.stuck { background: #F3FBEF; border: 3px solid #CDEBC1; border-radius: var(--radius-lg); padding: 1.2rem 1.3rem; }
.stuck h2 { font-size: 1.35rem; margin-bottom: .2em; }
.stuck p { color: var(--ink-soft); margin-bottom: .8rem; }

.contact-page { max-width: 760px; }
.contact-hours { margin: 1.3rem 0 .4rem; }
.muted-note { color: var(--ink-soft); font-size: .95rem; margin-top: 1rem; }

.footer .wrap { align-items: flex-start; }
.footer-text { flex: 1 1 320px; display: grid; gap: .5rem; }
.footer-text .copy { opacity: .8; font-size: .95rem; }
.footer-contact { display: grid; gap: .6rem; }
.footer-title { font-family: var(--display); font-size: 1.15rem; text-decoration: none; }
.footer .contact a { --bg: rgba(255,255,255,.08); --fg: #fff; --bd: rgba(255,255,255,.25); }

.howto { background: var(--paper); border: 3px solid var(--line); border-radius: var(--radius-md); margin: 0 0 1.2rem; }
.howto summary { cursor: pointer; padding: .8rem 1.1rem; font-family: var(--display); font-size: 1.1rem; list-style: none; display: flex; align-items: center; gap: .5rem; }
.howto summary::-webkit-details-marker { display: none; }
.howto summary::before { content: "?"; display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--yellow); color: var(--ink); font-size: 1rem; }
.howto summary::after { content: "▾"; margin-left: auto; color: var(--ink-soft); transition: transform .15s; }
.howto[open] summary::after { transform: rotate(180deg); }
.howto ol { margin: 0; padding: 0 1.2rem 1rem 2.6rem; display: grid; gap: .5rem; line-height: 1.9; }

.pick { padding-top: .5rem; }

/* ═══════════════ telefon & tablet ═══════════════ */
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .wrap { width: calc(100% - 1.5rem); }
  .section { padding: 1.8rem 0; }
  .section-head { margin-bottom: 1rem; }
  h2 { font-size: 1.5rem; }

  /* kategori/oyuncak kutuları */
  .box { box-shadow: 0 6px 0 var(--ink); border-width: 3px; }
  .box .lid { padding: .85rem 1rem; }
  .box .lid h3 { font-size: 1.35rem; }
  .box .lid .icon { width: 2.8rem; height: 2.8rem; font-size: 1.7rem; }
  .box .peek { aspect-ratio: 4 / 3; }
  .box p { padding: .8rem 1rem 1rem; }

  /* kılavuz kartları: telefonda yan yana iki tane */
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
  .card { border-width: 2px; border-radius: 14px; }
  .card .body { padding: .6rem .7rem .75rem; gap: .2rem; }
  .card h3 { font-size: 1.05rem; line-height: 1.2; }
  .card .pieces { left: .45rem; bottom: .45rem; font-size: .8rem; padding: .35rem .55rem; }
  .level { font-size: .8rem; gap: .25rem; }
  .level i { width: 8px; height: 8px; }
  .tag { font-size: .72rem; padding: .15rem .45rem; }

  /* süzgeçler: tek satır, yana kaydırılır */
  .filters { gap: .6rem; margin: 1.1rem 0 1rem; }
  .chip-row { flex-wrap: nowrap; overflow-x: auto; width: calc(100% + 1.5rem); margin-inline: -.75rem; padding: .2rem .75rem .35rem;
              scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; }
  .chip-row::-webkit-scrollbar { display: none; }
  .chip { white-space: nowrap; flex: none; font-size: .95rem; padding: .55rem .9rem; scroll-snap-align: start; }

  /* sayfa başlıkları */
  .cat-head { padding: 1.4rem 0; }
  .cat-head .icon { width: 4rem; height: 4rem; font-size: 2.2rem; }
  .cat-head p { font-size: 1rem; }

  /* kılavuz sayfası */
  .guide-top { padding-top: 1.1rem; }
  .guide-top .sub { font-size: 1rem; }
  .fact { padding: .3rem .7rem; font-size: .9rem; border-width: 2px; }
  .guide-grid { gap: 1.2rem; padding-top: .8rem; }
  .plan { border-width: 3px; box-shadow: 0 6px 0 var(--ink); border-radius: 20px; }
  .plan .hint { font-size: .88rem; padding: .45rem .7rem; }
  .steps-panel { padding: 1rem .8rem; border-radius: 20px; }
  .steps-panel h2 { font-size: 1.45rem; }
  .steps { gap: .7rem; }
  /* onay düğmesi başlığın yanında, metin tam genişlikte */
  .step { grid-template-areas: "check title" "body body"; column-gap: .7rem; padding: .8rem .75rem; }
  .step .check { width: 2.8rem; height: 2.8rem; font-size: 1.25rem; }
  .step h3 { font-size: 1.12rem; margin: 0; }
  .step .txt { margin-top: .65rem; }
  .step .txt p { font-size: .98rem; line-height: 2; }
  .num { min-width: 1.85em; height: 1.85em; font-size: .85rem; box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px #B9C6E3; }
  .grp { padding: .25rem .35rem; }
  .legend, .tips { padding: 1rem; border-radius: 20px; }
  .done-banner { font-size: 1.15rem; }

  .videos { grid-template-columns: 1fr; }
  .contact { display: grid; grid-template-columns: 1fr; }
  .contact a { width: 100%; }
  .contact.compact { display: flex; }
  .contact.compact a { width: auto; }
  .stuck { padding: 1rem; border-radius: 20px; }
  .howto summary { font-size: 1rem; padding: .7rem .9rem; }
  .howto ol { padding: 0 .9rem .9rem 2.2rem; font-size: .95rem; }
  .footer { padding: 1.8rem 0 1.5rem; }
  .footer .wrap { gap: 1.2rem; }
}
@media (min-width: 601px) and (max-width: 900px) {
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
  .card h3 { font-size: 1.15rem; }
  .boxes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
