/* Mibboro Valley — styl strony (design: design/MibValley.dc.html). Bez stylow inline: CSP style-src 'self'. */

@font-face {
  font-family: "Baloo 2";
  src: url("../fonts/baloo2.woff2") format("woff2");
  font-weight: 700 800;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("../fonts/nunito.woff2") format("woff2");
  font-weight: 600 900;
  font-display: swap;
}
@font-face {
  font-family: "Unbounded Logo";
  src: url("../fonts/unbounded-logo.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}

:root {
  --ink: #2b2556;
  --soft: #5e5a85;
  --green: #6fcc3f;
  --greend: #4a9a26;
  --cat: #f06c54;
  --bear: #90ccf0;
  --bun: #ccb4e4;
  --chk: #fce484;
  --cream: #fff7e6;
  --night: #120f33;
  --shadow: 0 2px 0 rgba(43, 37, 86, .08), 0 16px 30px -12px rgba(43, 37, 86, .35);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; overflow-x: hidden;
  font-family: "Nunito", system-ui, sans-serif; font-weight: 600; color: var(--ink);
  background: var(--cream); -webkit-font-smoothing: antialiased;
  min-height: 100vh; display: flex; flex-direction: column;
}
body > main { flex: 1 0 auto; }
img { max-width: 100%; height: auto; }
a { color: var(--ink); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--greend); outline-offset: 3px; }

.bl { font-family: "Baloo 2", system-ui, sans-serif; font-weight: 800; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--chk); color: var(--ink); padding: 8px 14px; border: 3px solid #fff; border-radius: 12px;
  font: 800 16px "Baloo 2", sans-serif; text-decoration: none; box-shadow: var(--shadow);
}
.skip:focus { top: 12px; }

/* ── Elementy z designu ─────────────────────────────────────────────── */
.h2 { font: 800 clamp(36px, 4.6vw, 60px)/1 "Baloo 2", sans-serif; margin: 12px 0 0; letter-spacing: -0.01em; }
.lead { font-size: 19px; line-height: 1.55; margin: 14px 0 0; color: var(--soft); }
.center .lead { max-width: 660px; margin-left: auto; margin-right: auto; }

.clock {
  display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px 0 8px; border-radius: 999px;
  background: rgba(255, 255, 255, .75); font: 800 15px "Baloo 2", sans-serif; color: var(--ink);
}
.clock b { display: inline-flex; width: 22px; height: 22px; border-radius: 50%; align-items: center; justify-content: center; }
.clock.dark { background: rgba(255, 255, 255, .14); color: #fff; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 58px; padding: 0 28px;
  border-radius: 999px; border: 4px solid #fff; font: 800 20px "Baloo 2", sans-serif; text-decoration: none;
  cursor: pointer; white-space: nowrap; transition: transform .12s;
}
.btn:hover { transform: translateY(-2px) rotate(-1deg); }
.btn.g {
  background: linear-gradient(#97da75, #6fcc3f 60%); color: #fff;
  box-shadow: 0 6px 0 var(--greend), 0 14px 24px -8px rgba(43, 37, 86, .35); text-shadow: 0 2px 0 rgba(40, 90, 20, .5);
}
.btn.w { background: #fff; color: var(--ink); box-shadow: 0 6px 0 rgba(43, 37, 86, .18), 0 14px 24px -8px rgba(43, 37, 86, .25); }
.btn.sm { height: 42px; padding: 0 16px; font-size: 16px; border-width: 3px; }
.btn svg { flex: none; }

.stk { background: #fff; border-radius: 26px; padding: 8px; box-shadow: var(--shadow); }
.stk img { display: block; width: 100%; border-radius: 19px; }

.chip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; font: 800 14px "Baloo 2", sans-serif; }

.wig { animation: wig 3.4s ease-in-out infinite; }
@keyframes wig {
  0%, 100% { transform: rotate(var(--r, 0deg)); }
  50% { transform: rotate(calc(var(--r, 0deg) * -1)) translateY(-6px); }
}
.r-6 { --r: -6deg; } .r-4 { --r: -4deg; } .r-3 { --r: -3deg; } .r4 { --r: 4deg; } .r6 { --r: 6deg; }

/* Gwiazdy na nocnym niebie */
.stars { position: relative; isolation: isolate; }
.stars::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    radial-gradient(1.6px 1.6px at 20px 30px, #fff, transparent),
    radial-gradient(1.2px 1.2px at 90px 80px, #fff, transparent),
    radial-gradient(2px 2px at 160px 20px, #fff8c9, transparent),
    radial-gradient(1.2px 1.2px at 230px 110px, #fff, transparent),
    radial-gradient(1.6px 1.6px at 300px 60px, #fff, transparent);
  background-size: 340px 140px;
}

/* ── Hero: 7:00 ─────────────────────────────────────────────────────── */
.hero {
  position: relative; padding: 24px 0 90px;
  background: linear-gradient(180deg, #8fd6ff 0%, #bee8ff 38%, #e8f7ff 62%, var(--cream) 100%);
}
.cloud { position: absolute; background: #fff; border-radius: 999px; opacity: .9; animation: drift 38s linear infinite; }
.cloud::before, .cloud::after { content: ""; position: absolute; background: #fff; border-radius: 50%; }
.cloud::before { width: 55%; height: 160%; left: 15%; bottom: 20%; }
.cloud::after { width: 40%; height: 120%; right: 12%; bottom: 25%; }
.cloud.c1 { left: 6%; top: 120px; width: 150px; height: 44px; }
.cloud.c2 { right: 8%; top: 80px; width: 200px; height: 54px; animation-duration: 46s; }
.cloud.c3 { left: 38%; top: 34px; width: 110px; height: 34px; opacity: .7; animation-duration: 30s; }
@keyframes drift { from { transform: translateX(-30px); } 50% { transform: translateX(30px); } to { transform: translateX(-30px); } }

.topbar { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.top-logo { display: block; height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font: 800 16px "Baloo 2", sans-serif; }
.nav-link { color: var(--ink); text-decoration: none; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .6); }
.nav-link:hover { background: #fff; }
.lang {
  display: inline-flex; height: 40px; margin-left: 6px; border-radius: 999px; border: 3px solid #fff; overflow: hidden;
  background: rgba(255, 255, 255, .6); font: 800 15px "Baloo 2", sans-serif;
}
.lang a, .lang span { display: flex; align-items: center; padding: 0 12px; text-decoration: none; }
.lang a { color: var(--soft); }
.lang a:hover { color: var(--ink); background: #fff; }
.lang [aria-current] { background: var(--ink); color: #fff; }

.hero-copy { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; padding-top: 30px; }
.hero-logo { width: min(560px, 90%); margin-top: 18px; filter: drop-shadow(0 10px 14px rgba(43, 37, 86, .18)); }
.hero h1 { margin: 14px 0 0; font-size: clamp(40px, 5.4vw, 72px); line-height: .98; letter-spacing: -0.015em; max-width: 900px; }
.hero .lead { max-width: 640px; }
.cta-row { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; justify-content: center; }
.hero-note { margin-top: 18px; font-size: 15px; color: var(--soft); }

/* Domek na drzewie z kropkami do stukania */
.scene-wrap { position: relative; margin-top: 54px; }
.scene { position: relative; max-width: 1040px; margin: 0 auto; transform: rotate(-1.2deg); padding: 10px; }
.scene-inner { position: relative; }
.scene-pic { position: relative; }
.hs {
  position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; border: 0; padding: 0;
  cursor: pointer; background: rgba(255, 255, 255, .95); box-shadow: 0 4px 12px rgba(43, 37, 86, .35);
  display: flex; align-items: center; justify-content: center; z-index: 3;
}
.hs::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 3px solid #fff; animation: ping 1.8s ease-out infinite; }
.hs span { width: 16px; height: 16px; border-radius: 50%; }
.hs[aria-pressed="true"] { box-shadow: 0 0 0 4px var(--ink), 0 4px 12px rgba(43, 37, 86, .35); }
@keyframes ping { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.4); opacity: 0; } }
.hs.p0 { left: 31%; top: 50%; } .hs.p1 { left: 27%; top: 76%; } .hs.p2 { left: 68%; top: 63%; } .hs.p3 { left: 83%; top: 62%; } .hs.p4 { left: 68%; top: 41%; }
.dot-bun { background: var(--bun); } .dot-cat { background: var(--cat); } .dot-bear { background: var(--bear); }
.dot-green { background: var(--green); } .dot-chk { background: var(--chk); }
.bub {
  position: absolute; z-index: 4; width: 260px; background: #fff; border-radius: 20px; padding: 14px 16px;
  box-shadow: 0 16px 30px -10px rgba(43, 37, 86, .45);
}
.bub[hidden] { display: none; }
.bub b { display: block; font-size: 22px; line-height: 1.1; }
.bub span { display: block; margin-top: 4px; font-size: 15px; line-height: 1.45; color: var(--soft); }
.b0 { left: calc(31% + 34px); top: calc(50% - 18px); }
.b1 { left: calc(27% + 34px); top: calc(76% - 18px); }
.b2 { right: calc(32% + 34px); top: calc(63% - 18px); }
.b3 { right: calc(17% + 34px); top: calc(62% - 18px); }
.b4 { right: calc(32% + 34px); top: calc(41% - 18px); }
.scene-tag {
  position: absolute; left: max(24px, calc(50% - 600px)); bottom: -38px; transform: rotate(-4deg);
  background: var(--chk); color: var(--ink); padding: 8px 18px; border-radius: 14px; border: 4px solid #fff;
  font-size: 18px; box-shadow: 0 10px 20px -8px rgba(43, 37, 86, .35);
}

/* ── Stworki: 10:00 ─────────────────────────────────────────────────── */
.critters-sec { background: var(--cream); padding: 100px 0 90px; }
.critters { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 36px 20px; margin-top: 50px; }
.critter { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.blob {
  position: relative; width: 210px; height: 230px; border-radius: 48% 52% 46% 54% / 55% 50% 50% 45%;
  display: flex; align-items: center; justify-content: center; border: 6px solid #fff; box-shadow: 0 18px 30px -14px rgba(43, 37, 86, .4);
}
.blob img { width: 72%; filter: drop-shadow(0 6px 0 rgba(255, 255, 255, .8)); }
.blob.cat { background: var(--cat); } .blob.bear { background: var(--bear); } .blob.bun { background: var(--bun); } .blob.chk { background: var(--chk); }
.critter .name { margin: 0; font-size: 32px; line-height: 1; }
.critter .desc { font-size: 16px; color: var(--soft); max-width: 220px; }

/* ── Kazdy dotyk cos robi: 12:00 ────────────────────────────────────── */
.touch-sec { background: linear-gradient(180deg, var(--cream), #fff1d2); padding: 20px 0 110px; }
.notebook {
  position: relative; border-radius: 34px; background-color: #fffdf8;
  background-image: radial-gradient(#e9dfc9 1.4px, transparent 1.6px); background-size: 22px 22px;
  padding: clamp(28px, 4vw, 56px); box-shadow: 0 30px 60px -30px rgba(43, 37, 86, .35);
}
.notebook::before {
  content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px;
  background: linear-gradient(#efe5d0, #e2d5b8, #efe5d0);
}
.split-head { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 40px; }
.split-head > div { max-width: 520px; }
.split-head .lead { max-width: 460px; margin: 0; }
.features { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 44px 40px; margin-top: 48px; }
.feature { display: flex; flex-direction: column; gap: 10px; }
.feature:nth-child(4n+1) { transform: rotate(-2deg); }
.feature:nth-child(4n+2) { transform: rotate(1.5deg); }
.feature:nth-child(4n+3) { transform: rotate(-1.5deg); }
.feature:nth-child(4n) { transform: rotate(1.5deg); }
.feature .ico {
  align-self: flex-start; width: 104px; height: 104px; border-radius: 50%; background: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 0 rgba(43, 37, 86, .06), 0 12px 22px -10px rgba(43, 37, 86, .4);
}
.feature .ico img { max-width: 70px; max-height: 70px; width: auto; }
.feature h3 { margin: 0; font-size: 23px; line-height: 1.05; }
.feature p { margin: 0; font-size: 15px; line-height: 1.45; color: var(--soft); }

/* ── Krainy: 15:00 ──────────────────────────────────────────────────── */
.lands-sec { background: linear-gradient(180deg, #fff1d2, #ffe0b0); padding: 100px 0 110px; }
.lands-sec .split-head > div { max-width: none; }
.map-frame { padding: 10px; border-radius: 34px; margin-top: 40px; }
.map {
  position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: 1344 / 700;
  background: #9fd56b url("../img/scenes/map.webp") center / cover;
}
.pin {
  position: absolute; transform: translate(-50%, -80%); border: 0; background: none; padding: 0; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 2px; font: inherit;
}
.pin img { width: 104px; transition: width .2s; filter: drop-shadow(0 6px 6px rgba(43, 37, 86, .35)); }
.pin.on img { width: 132px; filter: drop-shadow(0 0 0 #fff) drop-shadow(0 8px 10px rgba(43, 37, 86, .45)); }
.pin em {
  font: 800 14px "Baloo 2", sans-serif; font-style: normal; white-space: nowrap; padding: 2px 10px; border-radius: 999px;
  background: #fff; color: var(--ink); box-shadow: 0 3px 8px rgba(43, 37, 86, .25);
}
.pin.valley { left: 52%; top: 50%; } .pin.bay { left: 83%; top: 62%; } .pin.castle { left: 19%; top: 40%; }
.pin.town { left: 33%; top: 76%; } .pin.ice { left: 66%; top: 20%; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 22px; }
.tab {
  height: 42px; padding: 0 18px; border-radius: 999px; cursor: pointer; border: 3px solid #fff; color: var(--ink);
  background: rgba(255, 255, 255, .6); font: 800 16px "Baloo 2", sans-serif;
}
.tab:hover { background: #fff; }
.tab.on { box-shadow: 0 6px 14px -6px rgba(43, 37, 86, .45); }
.valley-c, .tab.valley.on { background: #95e566; }
.bay-c, .tab.bay.on { background: #5fd3e6; }
.castle-c, .tab.castle.on { background: #f7a8c8; }
.town-c, .tab.town.on { background: #ff9a6b; }
.ice-c, .tab.ice.on { background: #8fd3ff; }
.land {
  margin-top: 26px; display: flex; flex-wrap: wrap; gap: 28px 44px; align-items: center; background: #fff;
  border-radius: 30px; padding: clamp(22px, 3vw, 36px); box-shadow: 0 24px 48px -24px rgba(43, 37, 86, .35);
}
.land[hidden] { display: none; }
.land-info { flex: 1 1 320px; min-width: 0; }
.land-info .chip { color: var(--ink); }
.land h3 { margin: 10px 0 0; font-size: 40px; line-height: 1; }
.land p { margin: 12px 0 0; font-size: 17px; line-height: 1.55; color: var(--soft); }
.free { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; font-size: 15px; }
.free .chip { background: #e6f7da; color: #2f7a16; height: 26px; }
.shots { flex: 1.4 1 460px; min-width: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.shots .stk { padding: 6px; border-radius: 18px; }
.shots .stk img { aspect-ratio: 16 / 10; object-fit: cover; border-radius: 13px; }
.shots .stk:nth-child(1) { transform: rotate(-2.5deg); }
.shots .stk:nth-child(2) { transform: rotate(1.5deg); }
.shots .stk:nth-child(3) { transform: rotate(-1deg); }

/* ── Salon gier: 18:00 ──────────────────────────────────────────────── */
.games-sec { background: linear-gradient(180deg, #ffe0b0 0%, #ffc59a 35%, #f2909e 100%); padding: 100px 0 110px; }
.games-sec .lead { color: #6b3f55; }
.games { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 44px 36px; margin-top: 54px; }
.pol { position: relative; margin: 0; background: #fff; padding: 10px 10px 12px; border-radius: 6px; box-shadow: 0 14px 28px -10px rgba(60, 20, 40, .45); }
.pol img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 3px; }
.pol figcaption { margin-top: 8px; text-align: center; font-size: 18px; color: var(--ink); }
.pol::before {
  content: ""; position: absolute; top: -12px; left: 50%; width: 84px; height: 26px; margin-left: -42px;
  background: rgba(255, 255, 255, .55); border-radius: 3px; transform: rotate(-4deg); box-shadow: 0 1px 2px rgba(0, 0, 0, .08);
}
.pol:nth-child(1) { transform: rotate(-4deg); } .pol:nth-child(2) { transform: rotate(3deg); }
.pol:nth-child(3) { transform: rotate(-2deg); } .pol:nth-child(4) { transform: rotate(4deg); }
.pol:nth-child(5) { transform: rotate(-3deg); } .pol:nth-child(6) { transform: rotate(2deg); }

/* ── Dla rodzicow: 20:00 ────────────────────────────────────────────── */
.parents-sec { background: linear-gradient(180deg, #f2909e 0%, #a77bc4 30%, #5b4ba0 75%, #3a3080 100%); padding: 100px 0 110px; color: #fff; }
.parents { display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: flex-start; }
.parents-copy { flex: 1 1 360px; min-width: 0; }
.parents-copy .h2 { color: #fff; }
.quote { margin: 24px 0 0; font-size: 28px; line-height: 1.2; color: var(--chk); }
.parents-copy .wig { display: block; width: 120px; margin-top: 30px; }
.checks { flex: 1.3 1 480px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px 32px; margin: 0; padding: 0; list-style: none; }
.checks li { display: flex; gap: 14px; align-items: flex-start; font-size: 17px; line-height: 1.45; color: #e4ddf7; }
.checks .tick { flex: none; width: 34px; height: 34px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; }
.checks b { color: #fff; font-size: 20px; }

/* ── Ceny: 20:30 ────────────────────────────────────────────────────── */
.prices-sec { background: linear-gradient(180deg, #3a3080, #2a2566); padding: 100px 0 90px; color: #fff; }
.prices-sec .h2 { color: #fff; }
.prices-sec .lead { color: #d9d3f2; }
.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; margin: 44px auto 0; padding: 0 24px; list-style: none; max-width: 1200px; }
.price {
  position: relative; border-radius: 22px; padding: 22px 20px 20px; background: rgba(255, 255, 255, .1); color: #fff;
  border: 3px dashed rgba(255, 255, 255, .35); display: flex; flex-direction: column; gap: 6px;
}
.price b { font-size: 22px; line-height: 1.1; }
.price .what { font-size: 14px; line-height: 1.4; opacity: .85; }
.price .cost { margin-top: auto; padding-top: 10px; font-size: 32px; line-height: 1; }
.price .cost.txt { font-size: 20px; }
.price.best { background: var(--chk); color: var(--ink); border-color: #fff; }
.price.best .chip { position: absolute; top: -16px; right: 16px; background: var(--green); color: #fff; border: 3px solid #fff; }
.price-note { margin-top: 16px; font-size: 14px; color: #b3aae0; }

/* ── Pytania: 21:00 ─────────────────────────────────────────────────── */
.faq-sec { background: linear-gradient(180deg, #2a2566, #1b1847); padding: 90px 0; color: #fff; }
.faq-sec .wrap { max-width: 860px; }
.faq-sec .h2 { color: #fff; }
.faq-list { display: flex; flex-direction: column; gap: 10px; margin-top: 40px; }
.faq { background: rgba(255, 255, 255, .08); border-radius: 20px; }
.faq:hover { background: rgba(255, 255, 255, .13); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font: 800 21px/1.2 "Baloo 2", sans-serif; border-radius: 20px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq .ico {
  flex: none; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 24px; transition: transform .2s;
}
.faq[open] .ico { background: var(--chk); color: var(--ink); transform: rotate(45deg); }
.faq p { margin: 0; padding: 0 22px 18px; font-size: 16px; line-height: 1.55; color: #d9d3f2; }
.faq p a { color: #fff; }

/* ── Na koniec dnia + stopka ────────────────────────────────────────── */
.end-sec { position: relative; background: linear-gradient(180deg, #1b1847, var(--night)); padding: 100px 0 80px; color: #fff; text-align: center; }
.end-sec .wrap { display: flex; flex-direction: column; align-items: center; }
.moon { position: absolute; right: 12%; top: 60px; }
.sleepers { position: relative; display: flex; align-items: flex-end; gap: 6px; }
.sleepers img { display: block; }
.sleepers .s-cat { width: 84px; transform: rotate(-8deg); }
.sleepers .s-bear { width: 92px; }
.sleepers .s-bun-box { position: relative; }
.sleepers .s-bun { width: 82px; transform: rotate(6deg); }
.sleepers .s-chk { width: 80px; transform: rotate(-4deg); }
.zz { position: absolute; color: var(--chk); animation: tw 3s ease-in-out infinite; }
.zz.z1 { right: 6%; top: -6px; font-size: 34px; }
.zz.z2 { right: -6%; top: -36px; font-size: 26px; animation-delay: -1s; }
@keyframes tw { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
.end-sec .h2 { color: #fff; margin-top: 24px; }
.end-sec .lead { color: #c9c2ea; }
.end-sec .btn { margin-top: 26px; }
.end-sec .small { margin-top: 12px; font-size: 14px; color: #8f88bf; }

.site-footer { background: var(--night); color: #a9a2d6; }
.footer-inner {
  padding-top: 24px; padding-bottom: 30px; border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex; flex-wrap: wrap; gap: 12px 26px; align-items: center; font-size: 14px;
}
.footer-logo { height: 36px; width: auto; display: block; }
.by { display: flex; align-items: center; gap: 10px; color: #a9a2d6; text-decoration: none; }
.by:hover { color: #fff; }
/* Logo Dareia jak w stopce Gobthrottle: litery na kafelkach, IA w kolorze marki */
.dareia { display: flex; gap: 2px; font-family: "Unbounded Logo", sans-serif; font-weight: 800; font-size: 10px; line-height: 1; }
.dareia span {
  width: 18px; height: 18px; border-radius: 4px; background: #fff; color: var(--night);
  display: flex; align-items: center; justify-content: center; transition: transform .15s;
}
.dareia .acc { background: #ff5a36; color: #15131c; }
.by:hover .dareia span:nth-child(odd) { transform: translateY(-3px); }
.by:hover .dareia span:nth-child(even) { transform: translateY(3px); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-links a { color: #fff; }
.footer-links a[aria-current] { text-decoration: none; }
.fonts-note { margin-left: auto; }
.legal-note { flex-basis: 100%; font-size: 13px; color: #8f88bf; }

/* ── Strony tekstowe (polityka, regulamin, 404) ─────────────────────── */
.page-head { background: linear-gradient(180deg, #8fd6ff, #e8f7ff); padding: 18px 0; }
.page-head .topbar { flex-wrap: nowrap; }
.brand img { display: block; height: 46px; width: auto; }
.doc { max-width: 860px; padding-top: 40px; padding-bottom: 80px; }
.doc-card { background: #fff; border-radius: 30px; box-shadow: 0 24px 48px -24px rgba(43, 37, 86, .35); padding: clamp(22px, 4vw, 44px); }
.doc h1 { margin: 0 0 6px; font: 800 clamp(36px, 5vw, 54px)/1.05 "Baloo 2", sans-serif; }
.doc .meta { color: var(--soft); margin: 0 0 24px; }
.doc h2 { font: 800 clamp(24px, 3vw, 30px)/1.15 "Baloo 2", sans-serif; margin: 34px 0 10px; }
.doc p, .doc li { font-size: 17px; line-height: 1.6; }
.doc p { margin: 0 0 14px; }
.doc ul { margin: 0 0 14px; padding-left: 24px; }
.doc li { margin-bottom: 6px; }
.doc li::marker { color: var(--greend); }
.doc strong { font-weight: 800; }
.summary { background: #fff7e6; border: 3px dashed #f0dcb4; border-radius: 16px; padding: 16px 20px; margin: 0 0 8px; }
.summary ul { margin: 0; }
.back { margin-top: 32px; }

.notfound { text-align: center; padding-top: 48px; padding-bottom: 96px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.notfound .big { font: 800 clamp(90px, 20vw, 170px)/.9 "Baloo 2", sans-serif; }
.notfound .pic { width: 120px; }
.notfound h1 { margin: 8px 0 0; font: 800 clamp(30px, 5vw, 44px)/1.1 "Baloo 2", sans-serif; }
.notfound p { margin: 0; font-size: 19px; color: var(--soft); }

/* ── Waski ekran ────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-link { display: none; }
}
@media (max-width: 760px) {
  .wrap, .prices { padding-left: 16px; padding-right: 16px; }
  .topbar { justify-content: center; }
  .lead { font-size: 17px; }
  .notebook::before { display: none; }
  /* Na telefonie dymek pod obrazkiem, kropki mniejsze */
  .scene { transform: none; padding: 8px; }
  .hs { width: 34px; height: 34px; margin: -17px 0 0 -17px; }
  .hs span { width: 12px; height: 12px; }
  .bub { position: static; width: auto; margin-top: 8px; box-shadow: none; background: var(--cream); }
  .scene-tag { position: static; display: inline-block; margin-top: 18px; font-size: 16px; }
  .scene-wrap { text-align: center; }
  .pin img { width: 52px; }
  .pin.on img { width: 66px; }
  .pin em { font-size: 11px; padding: 1px 6px; }
  .critters-sec, .lands-sec, .games-sec, .parents-sec, .prices-sec, .end-sec { padding-top: 64px; padding-bottom: 64px; }
  .touch-sec { padding-bottom: 64px; }
  .faq-sec { padding: 56px 0; }
  .scene-wrap { margin-top: 36px; }
  .hero { padding-bottom: 40px; }
  .critters { grid-template-columns: 1fr 1fr; gap: 28px 12px; margin-top: 32px; }
  .critter .blob { width: 140px; height: 154px; border-width: 5px; }
  .critter .name { font-size: 26px; }
  .critter .desc { font-size: 15px; }
  .features { grid-template-columns: 1fr 1fr; gap: 28px 18px; margin-top: 32px; }
  .feature .ico { width: 76px; height: 76px; }
  .feature .ico img { max-width: 52px; max-height: 52px; }
  .feature h3 { font-size: 20px; }
  .shots { grid-template-columns: 1fr 1fr; }
  .shots .stk:nth-child(3) { display: none; }
  .land h3 { font-size: 32px; }
  .games { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
  .pol figcaption { font-size: 15px; }
  .moon { right: 6%; top: 30px; width: 70px; height: 70px; }
  .fonts-note { margin-left: 0; }
}
@media (max-width: 480px) {
  .pin em { display: none; }
  .games { grid-template-columns: 1fr; }
  .btn { height: 54px; padding: 0 22px; font-size: 18px; }
  .critter .blob { width: 180px; height: 196px; }
  .quote { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cloud, .hs::before, .wig, .zz { animation: none !important; }
  .btn, .pin img, .faq .ico, .dareia span { transition: none !important; }
}
