/* Zeka Adaları · Denkinseln · Thinking Islands — site styles */
:root {
  --cream: #FFF6E8;
  --cream-2: #FFEBD0;
  --paper: #FFFFFF;
  --ink: #2A2340;
  --ink-2: #4A4262;
  --muted: #6E6787;
  --line: #F0DFC4;
  --coral: #FF6B4A;
  --coral-ink: #C8401F;
  --sun: #FFC83D;
  --sky: #3E9BF2;
  --mint: #7FE3B4;
  --pink: #FFC6DF;
  --lav: #C9B8FF;
  --peach: #FFD3B0;
  --night: #1E1A33;
  --radius: 28px;
  --shadow: 0 10px 30px rgba(42, 35, 64, .10);
  --font-head: "Baloo 2", "Nunito", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 17px/1.6 var(--font-body);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--coral-ink); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.12; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- buttons & chips ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: 999px; border: 0;
  font: 800 16px/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
.btn-dark { background: var(--night); color: #fff; box-shadow: 0 6px 0 #000; }
.btn-dark:hover { box-shadow: 0 8px 0 #000; }
.btn-coral { background: var(--coral); color: #fff; box-shadow: 0 6px 0 var(--coral-ink); }
.btn-ghost { background: transparent; color: var(--ink); padding-inline: 8px; text-decoration: underline; text-underline-offset: 4px; }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn .small { display: block; font-size: 11px; font-weight: 700; opacity: .8; margin-bottom: 3px; }
.btn .stack { display: flex; flex-direction: column; align-items: flex-start; }

.eyebrow {
  display: inline-block; padding: 5px 14px; border-radius: 999px;
  background: var(--paper); border: 2px dashed var(--line);
  font: 800 13px/1.2 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--coral-ink);
}
.lead { font-size: 19px; color: var(--ink-2); }
.center { text-align: center; }
.section { padding: 88px 0; }
.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; display: grid; gap: 14px; justify-items: center; }
.section-head h2 { font-size: clamp(32px, 5vw, 50px); }

/* ---------- top bar ---------- */
.topbar { position: sticky; top: 0; z-index: 20; padding: 12px 0; }
.nav {
  display: flex; align-items: center; gap: 16px;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 2px solid var(--line); border-radius: 999px; padding: 8px 8px 8px 12px;
  box-shadow: var(--shadow);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 800 21px/1 var(--font-head); white-space: nowrap; }
.brand img { width: 40px; height: 40px; border-radius: 12px; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { padding: 8px 12px; border-radius: 999px; text-decoration: none; color: var(--ink-2); font-weight: 700; font-size: 15px; }
.nav-links a:hover { background: var(--cream); color: var(--ink); }
.lang { display: flex; background: var(--cream); border-radius: 999px; padding: 3px; }
.lang button {
  border: 0; background: transparent; padding: 7px 10px; border-radius: 999px; cursor: pointer;
  font: 800 13px/1 var(--font-body); color: var(--muted);
}
.lang button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.nav .btn { padding: 11px 18px; font-size: 15px; box-shadow: none; }
@media (max-width: 900px) { .nav-links { display: none; } .lang { margin-left: auto; } }
@media (max-width: 560px) {
  .nav .btn { display: none; }
  .brand span { font-size: 18px; }
  .brand img { width: 34px; height: 34px; }
}

/* ---------- hero ---------- */
.hero { position: relative; padding: 40px 0 0; text-align: center; }
.hero h1 { font-size: clamp(40px, 7vw, 76px); max-width: 900px; margin: 18px auto 0; }
.hero h1 em { font-style: normal; color: var(--coral); position: relative; white-space: nowrap; }
.hero h1 em::after {
  content: ""; position: absolute; left: 2%; right: 2%; bottom: .02em; height: .18em;
  background: var(--sun); border-radius: 99px; z-index: -1; transform: rotate(-1.5deg);
}
.hero .lead { max-width: 640px; margin: 20px auto 0; }
.hero-cta { display: flex; gap: 14px; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 30px; }
.ticks { display: flex; gap: 8px 20px; justify-content: center; flex-wrap: wrap; margin-top: 22px; font-weight: 700; color: var(--ink-2); font-size: 15px; }
.ticks span::before { content: "✓"; display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 6px; border-radius: 50%; background: var(--mint); color: #0B5B3A; font-size: 12px; }

.hero-art { position: relative; width: min(760px, 100%); margin: 48px auto 0; }
.hero-blob {
  position: relative; aspect-ratio: 16 / 11; overflow: hidden;
  border-radius: 46% 54% 42% 58% / 58% 46% 54% 42%;
  border: 6px solid #fff; box-shadow: 0 0 0 3px var(--coral), var(--shadow);
  background: #49A6F5;
}
.hero-blob img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.sticker { position: absolute; width: clamp(70px, 14vw, 130px); filter: drop-shadow(0 8px 10px rgba(42, 35, 64, .18)); animation: bob 5s ease-in-out infinite; }
.sticker.s1 { left: -4%; top: 8%; animation-delay: -1s; }
.sticker.s2 { right: -5%; top: 2%; animation-delay: -2.5s; }
.sticker.s3 { left: 4%; bottom: -6%; animation-delay: -.5s; }
.sticker.s4 { right: 2%; bottom: -8%; animation-delay: -3.5s; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-12px) rotate(3deg); } }
@media (prefers-reduced-motion: reduce) { .sticker { animation: none; } html { scroll-behavior: auto; } }

.wave { display: block; width: 100%; height: 90px; margin-top: -40px; position: relative; z-index: -1; }

/* ---------- stats ---------- */
.stats-band { background: var(--paper); padding: 26px 0 10px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { text-align: center; padding: 16px 8px; border-radius: 22px; }
.stat b { display: block; font: 800 clamp(34px, 5vw, 48px)/1 var(--font-head); }
.stat span { font-weight: 700; color: var(--ink-2); }
.stat:nth-child(1) { background: #FFF1C9; }
.stat:nth-child(2) { background: #DDF8EA; }
.stat:nth-child(3) { background: #FFE3EF; }
.stat:nth-child(4) { background: #E6EEFF; }
@media (max-width: 640px) { .stats { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

/* ---------- games ---------- */
.games-bg { background: var(--paper); }
.games { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.game {
  position: relative; border-radius: 24px; padding: 20px 18px 22px; min-height: 190px;
  display: flex; flex-direction: column; gap: 8px; overflow: hidden;
  transition: transform .2s ease;
}
.game:hover { transform: translateY(-4px) rotate(-.6deg); }
.game .num {
  width: 40px; height: 40px; border-radius: 14px; display: grid; place-items: center;
  background: #fff; font: 800 20px/1 var(--font-head); box-shadow: 0 3px 0 rgba(0, 0, 0, .12);
}
.game h3 { font-size: 22px; margin-top: 8px; }
.game p { font-size: 15px; color: var(--ink-2); line-height: 1.45; }
.game:nth-child(5n+1) { background: #C9F2DE; }
.game:nth-child(5n+2) { background: #FFD9E8; }
.game:nth-child(5n+3) { background: #D6E6FF; }
.game:nth-child(5n+4) { background: #FFEBB3; }
.game:nth-child(5n+5) { background: #E5DCFF; }
.game::after { content: ""; position: absolute; width: 120px; height: 120px; right: -40px; bottom: -50px; border-radius: 50%; background: rgba(255, 255, 255, .45); }
@media (max-width: 1050px) { .games { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .games { grid-template-columns: repeat(2, 1fr); gap: 10px; } .game { min-height: 0; padding: 16px 14px 18px; } .game h3 { font-size: 19px; } }

.age-note { margin: 36px auto 0; max-width: 820px; display: flex; gap: 18px; align-items: center; background: var(--cream); border: 2px dashed var(--line); border-radius: 24px; padding: 18px 22px; }
.age-note img { width: 86px; flex: none; }
.age-note p { color: var(--ink-2); }
@media (max-width: 560px) { .age-note { flex-direction: column; text-align: center; } }

/* ---------- worlds ---------- */
.worlds { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.world {
  position: relative; border-radius: 26px; padding: 18px 14px 20px; text-align: center;
  background: #fff; border: 3px solid transparent; box-shadow: var(--shadow);
  display: grid; justify-items: center; gap: 6px; transition: transform .2s ease;
}
.world:hover { transform: translateY(-6px); border-color: var(--ink); }
.world .pic { width: 100%; aspect-ratio: 1; display: grid; place-items: center; border-radius: 20px; }
.world .pic img { width: 82%; }
.world h3 { font-size: 19px; margin-top: 6px; }
.world span { font-size: 14px; color: var(--muted); font-weight: 700; }
.w-dino .pic { background: #E3F3D6; }
.w-unicorn .pic { background: #FBE2F2; }
.w-space .pic { background: #1E2659; }
.w-ocean .pic { background: #D3EEFC; }
.w-dragon .pic { background: #FFE2CC; }
.w-robot .pic { background: #E4E8F2; }
@media (max-width: 1050px) { .worlds { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .worlds { grid-template-columns: repeat(2, 1fr); gap: 10px; } .world h3 { font-size: 17px; } }

.grow { margin-top: 30px; display: flex; justify-content: center; align-items: flex-end; gap: 6px; flex-wrap: wrap; color: var(--ink-2); font-weight: 700; }
.grow img { width: 64px; }
.grow .arrow { font-size: 24px; color: var(--coral); padding-bottom: 18px; }

/* ---------- screenshots ---------- */
.shots-bg { background: linear-gradient(180deg, var(--cream) 0%, #E8F3FF 100%); }
.shots { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 16px 24px; margin: 0 -16px; scrollbar-width: thin; }
.shots img {
  flex: none; width: min(212px, 62vw); aspect-ratio: 520 / 1130; object-fit: cover;
  border-radius: 26px; scroll-snap-align: center; box-shadow: 0 12px 28px rgba(30, 60, 110, .22);
}
.shots img:first-child { margin-left: auto; }
.shots img:last-child { margin-right: auto; }

/* ---------- parents ---------- */
.parents {
  position: relative; background: var(--coral); color: #fff; border-radius: 40px;
  padding: 64px clamp(20px, 5vw, 64px); overflow: hidden;
}
.parents::before, .parents::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.parents::before { width: 420px; height: 420px; left: -140px; top: -160px; }
.parents::after { width: 300px; height: 300px; right: -90px; bottom: -120px; }
.parents .section-head { position: relative; z-index: 1; }
.parents .eyebrow { background: #fff; border-color: #fff; }
.parents .section-head p { color: #FFE9E2; font-size: 19px; }
.perks { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.perk { background: #fff; color: var(--ink); border-radius: 24px; padding: 22px 20px; }
.perk .ico { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; font-size: 24px; margin-bottom: 12px; }
.perk h3 { font-size: 20px; margin-bottom: 6px; }
.perk p { font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.perk:nth-child(1) .ico { background: #DDF8EA; }
.perk:nth-child(2) .ico { background: #FFF1C9; }
.perk:nth-child(3) .ico { background: #E6EEFF; }
.perk:nth-child(4) .ico { background: #FFE3EF; }
.parents .peek { position: absolute; z-index: 1; width: 120px; right: 4%; top: 22px; transform: rotate(8deg); }
@media (max-width: 1000px) { .perks { grid-template-columns: repeat(2, 1fr); } .parents .peek { display: none; } }
@media (max-width: 560px) { .perks { grid-template-columns: 1fr; } .parents { border-radius: 28px; padding-top: 48px; } }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1000px; margin-inline: auto; }
.plan { background: #fff; border: 3px solid var(--line); border-radius: var(--radius); padding: 28px 24px; display: flex; flex-direction: column; gap: 12px; }
.plan .tag { align-self: flex-start; padding: 4px 12px; border-radius: 999px; font: 800 13px/1.4 var(--font-body); background: var(--cream); }
.plan h3 { font-size: 28px; }
.plan ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.plan li { padding-left: 28px; position: relative; color: var(--ink-2); }
.plan li::before { content: "★"; position: absolute; left: 0; color: var(--sun); }
.plan.plus { background: var(--night); color: #fff; border-color: var(--night); transform: translateY(-10px); box-shadow: 0 18px 40px rgba(30, 26, 51, .3); }
.plan.plus li { color: #DCD6F5; }
.plan.plus .tag { background: var(--sun); color: var(--night); }
.plan-note { text-align: center; color: var(--muted); font-size: 15px; margin-top: 26px; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; max-width: 480px; } .plan.plus { transform: none; } }

/* ---------- faq ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 2px solid var(--line); border-radius: 22px; padding: 0 22px; }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 36px 18px 0; position: relative;
  font: 700 19px/1.3 var(--font-head);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; font: 800 20px/1 var(--font-body); }
.faq details[open] summary::after { content: "–"; background: var(--sun); }
.faq details p { padding: 0 0 18px; color: var(--ink-2); }

/* ---------- cta ---------- */
.cta {
  position: relative; background: var(--sky); color: #fff; border-radius: 40px;
  padding: 56px 24px; text-align: center; overflow: hidden;
  background-image: radial-gradient(circle at 15% 20%, rgba(255, 255, 255, .18) 0 80px, transparent 81px), radial-gradient(circle at 85% 90%, rgba(255, 255, 255, .14) 0 110px, transparent 111px);
}
.cta h2 { font-size: clamp(32px, 5vw, 52px); }
.cta p { margin: 12px auto 26px; max-width: 520px; color: #E6F2FF; font-size: 18px; }
.cta .c1, .cta .c2 { position: absolute; width: clamp(90px, 14vw, 160px); bottom: 10px; }
.cta .c1 { left: 3%; }
.cta .c2 { right: 3%; }
@media (max-width: 720px) { .cta .c1, .cta .c2 { position: static; display: inline-block; width: 90px; margin: 18px 6px 0; } }

/* ---------- footer ---------- */
.footer { margin-top: 88px; background: var(--night); color: #CFC8EA; padding: 48px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer .brand { color: #fff; }
.footer p { font-size: 15px; margin-top: 12px; max-width: 360px; }
.footer h4 { margin: 0 0 10px; color: #fff; font: 800 15px/1.3 var(--font-body); text-transform: uppercase; letter-spacing: .06em; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { color: #CFC8EA; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer .legal-line { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 36px; padding-top: 20px; font-size: 14px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- legal / doc pages ---------- */
.doc-hero { padding: 36px 0 24px; text-align: center; display: grid; gap: 12px; justify-items: center; }
.doc-hero h1 { font-size: clamp(34px, 6vw, 56px); }
.doc-hero p { color: var(--ink-2); max-width: 600px; }
.doc { width: min(820px, 100% - 32px); margin: 0 auto; }
.doc section { background: #fff; border: 2px solid var(--line); border-radius: var(--radius); padding: 12px clamp(20px, 4vw, 40px) 30px; margin-bottom: 24px; }
.doc h2 { font-size: 30px; margin: 22px 0 6px; }
.doc h3 { font-size: 21px; margin: 26px 0 6px; }
.doc p { margin: 6px 0 10px; color: var(--ink-2); }
.doc ul { padding-left: 22px; color: var(--ink-2); }
.doc .muted { color: var(--muted); font-size: 15px; }
.js [data-lang-block]:not(.on) { display: none; }
.todo { background: #FFE9A8; color: #3A2C00; padding: 0 4px; border-radius: 4px; }
.contact-card { display: flex; gap: 18px; align-items: center; background: #FFF1C9; border-radius: 22px; padding: 18px 22px; margin: 14px 0 6px; }
.contact-card img { width: 80px; flex: none; }
@media (max-width: 520px) { .contact-card { flex-direction: column; text-align: center; } }
.doc h1 { font-size: clamp(30px, 5vw, 42px); margin: 24px 0 6px; }
.doc-hero .chars { display: flex; gap: 6px; justify-content: center; }
.doc-hero .chars img { width: 72px; }
.hero { overflow-x: clip; }
.game > * { position: relative; z-index: 1; }
