@font-face{font-family:Bricolage;src:url(assets/bricolage.ttf) format('truetype');font-weight:800;font-display:swap}
@font-face{font-family:DM;src:url(assets/dm-sans.ttf) format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:DM;src:url(assets/dm-sans-bold.ttf) format('truetype');font-weight:700;font-display:swap}
:root{--ink:#162e52;--blue:#174b83;--paper:#f7fcff;--line:#c5dcec;--violet:#4a2784;--title:Bricolage,system-ui,sans-serif;--body:DM,system-ui,sans-serif;font-family:var(--body);color:var(--ink);background:var(--paper);line-height:1.5}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:18px}body{margin:0}img{display:block;max-width:100%}a{color:inherit}a,button,summary{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #e7722b;outline-offset:4px}button{font:inherit;cursor:pointer}h1,h2,h3,.brand{font-family:var(--title);font-weight:800}h1,h2,h3,p,figure{margin:0}h2{font-size:clamp(2rem,3.6vw,3.45rem);letter-spacing:-.056em;line-height:1.05}h3{letter-spacing:-.045em}a{text-underline-offset:.2em}.wrap{width:min(1220px,calc(100% - clamp(40px,9vw,148px)));margin-inline:auto}.icon{height:1.25em;width:1.25em;flex-shrink:0}.skip{position:absolute;z-index:8;top:8px;left:10px;transform:translateY(-180%);padding:.7rem 1rem;background:white}.skip:focus{transform:none}
header{background:#fcfeff;border-bottom:1px solid #c9e1f1}.head,.foot{display:flex;align-items:center}.head{min-height:84px;gap:34px}.brand{display:inline-flex;align-items:center;gap:.65rem;color:var(--blue);font-size:1.33rem;line-height:.94;letter-spacing:-.047em;text-decoration:none}.brand img{object-fit:contain}.head nav{display:flex;gap:clamp(20px,3.6vw,58px);margin-left:auto}.head nav a,.download,.store,.card{text-decoration:none}.head nav a{font-size:.94rem;font-weight:700}.head nav a:hover,.foot>a:hover{text-decoration:underline}.download{display:flex;align-items:center;gap:.5em;font-size:.96rem;font-weight:700;background:var(--blue);color:white;border-radius:12px;padding:.72rem 1.2rem}.download:hover{background:#123866}

.hero {
  position:relative;
  isolation:isolate;
  overflow:hidden;
  color:#152f55;
  background-color:#94dfff;
  background-image:linear-gradient(90deg,rgba(214,242,255,.95) 0%,rgba(214,242,255,.88) 33%,rgba(214,242,255,.45) 51%,transparent 74%),url(assets/misko-upelis.jpg);
  background-position:center,center 53%;
  background-size:cover;
  background-repeat:no-repeat;
}
.hero-inner{display:grid;grid-template-columns:.98fr 1.12fr;align-items:center;gap:3%;min-height:clamp(475px,39vw,595px);padding-block:44px 45px}.hero-copy{z-index:1}.eyebrow{font-size:.83rem;font-weight:700;letter-spacing:.105em;text-transform:uppercase}.hero .eyebrow{display:flex;align-items:center;gap:.65em;color:#173c65;margin-bottom:1.05rem}.tricolor{width:22px;height:15px;border-radius:3px;background:linear-gradient(to bottom,#ffc34b 0 33.3%,#47936a 33.3% 66.6%,#dc6452 66.6%)}h1{font-size:clamp(3.1rem,5.7vw,5.45rem);line-height:.99;letter-spacing:-.067em}h1 em{color:var(--violet);font-style:normal}.intro{margin:1.2rem 0 1.55rem;color:#123454;max-width:38ch;font-size:clamp(1.025rem,1.3vw,1.16rem);line-height:1.53}.stores{display:flex;flex-wrap:wrap;gap:10px}.store{display:inline-flex;align-items:center;gap:.58rem;padding:.45rem .95rem .5rem;background:#0f233d;color:#fff;line-height:1.02;border-radius:10px;border:1px solid #54718e;min-height:52px;transition:transform .18s ease}.store:hover{transform:translateY(-2px)}.store svg{width:24px;height:28px}.store small,.store b{display:block}.store small{font-size:.78rem;margin-bottom:.13rem}.store b{font-weight:700;font-size:1.19rem;letter-spacing:-.04em}
.trust{background:#effaff;border-bottom:1px solid #c4e3f3}.trust .wrap{min-height:62px;display:flex;align-items:center;justify-content:center;gap:clamp(28px,7vw,120px)}.trust span{display:flex;align-items:center;gap:.55rem;color:#1a4468;font-size:.94rem;font-weight:700}.trust svg{color:#226c94}
.section{padding-block:clamp(48px,5vw,84px)}.section-title{display:flex;align-items:flex-end;justify-content:space-between;gap:1.3rem;margin-bottom:1.65rem}.section-title p{max-width:31ch;color:#465a71;line-height:1.45}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(14px,2vw,30px)}.card{border-radius:18px;overflow:hidden;border:1px solid #c9dceb;background:white;transition:transform .2s,box-shadow .2s}.card:hover{transform:translateY(-4px);box-shadow:0 10px 20px #273c2811}.card-image{position:relative;aspect-ratio:1.95;background:#d1e9f7}.card-image>img{height:100%;width:100%;object-fit:cover}.matematika .card-image>img{object-position:center 40%}.nuotykiai .card-image>img{object-position:50% 46%}.token{position:absolute;bottom:-13px;left:20px;display:grid;place-items:center;padding:.12rem .55rem;min-width:42px;border:2px solid white;border-radius:9px;color:#302653;background:#e2ceff;font:800 1.15rem var(--title);line-height:1.45;transform:rotate(-4deg)}.matematika .token{background:#ffe375;transform:rotate(3deg)}.nuotykiai .token{background:#b1ebff}.token .icon{width:20px;height:23px}.card-copy{padding:24px 21px 17px}.card-copy h3{font-size:clamp(1.5rem,2.1vw,2.1rem);line-height:1.1}.card-copy p{margin:.45rem 0 1rem;color:#3c526a;min-height:3rem}.explore{display:inline-flex;align-items:center;gap:.5rem;color:var(--blue);font-size:.9rem;font-weight:700}.explore svg{width:15px;height:15px}
.about{background:#dff5ff;border-block:1px solid var(--line);padding-block:clamp(45px,5vw,80px)}.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(32px,6vw,96px);align-items:center}.game-photo{border:6px solid #ffffff;border-radius:15px;box-shadow:0 6px 16px #263b2920;transform:rotate(-1.5deg);overflow:hidden}.game-photo img{aspect-ratio:1.55;width:100%;object-fit:cover}.about .eyebrow,.parents .eyebrow,.spread .eyebrow{color:#245e80;margin-bottom:.65rem}.about-grid p:not(.eyebrow),.spread p:not(.eyebrow){margin-top:1rem;max-width:55ch;color:#344e63}.parents{display:grid;grid-template-columns:.7fr 1.3fr;gap:7%}.faq{border-top:1px solid var(--line)}.faq details{border-bottom:1px solid var(--line)}.faq summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:.8rem;padding:1.04rem 0;font-weight:700;font-size:1.07rem}.faq summary::-webkit-details-marker{display:none}.faq summary .icon{width:19px;height:19px}.faq details[open] summary .icon{transform:rotate(45deg)}.faq details p{padding-bottom:1rem;color:#344e63}.cta{background:#174574;color:white}.cta-row{display:flex;align-items:center;gap:20px;padding-block:32px}.cta-row>img{border-radius:19px}.cta-row h2{font-size:clamp(1.7rem,2.7vw,2.7rem)}.cta-row p{margin-top:.3rem;color:#e5f7ff}.cta-row .stores{margin-left:auto}.foot{min-height:90px;gap:28px;flex-wrap:wrap;padding-block:20px}.foot .brand{margin-right:auto}.foot>a:not(.brand){font-size:.94rem}
.chapter-panel{display:none}.chapter-panel:target{display:block;background:white;margin-top:20px;padding:24px;border:1px solid var(--line);border-radius:16px}.spread{display:grid;grid-template-columns:minmax(0,1fr) minmax(110px,170px);gap:6%;align-items:center}.spread h2{font-size:clamp(1.9rem,3.3vw,2.8rem)}.spread figure img{max-height:47vh;width:auto;max-width:100%;margin:auto;border-radius:13px}.spread figcaption{font-size:.82rem;text-align:center;margin-top:.45rem;color:#4e6256}.back{display:inline-block;margin-top:1rem}dialog{border:1px solid var(--line);border-radius:21px;padding:52px 32px 30px;color:var(--ink);background:var(--paper);width:min(760px,calc(100% - 32px));max-height:90dvh;overflow:auto;box-shadow:0 30px 100px #10271870}dialog::backdrop{background:#0c231fd6}.close{position:absolute;right:10px;top:10px;background:#dceef9;border:0;border-radius:50%;display:grid;place-items:center;width:37px;height:37px;color:var(--blue)}html:has(dialog[open]){overflow:hidden}.gallery-picks{margin:15px 0 0;display:flex;flex-wrap:wrap;gap:6px}.gallery-picks button{padding:6px 10px;background:white;border:1px solid #95b3c9;border-radius:6px;color:var(--ink);font-size:.9rem}.gallery-picks [aria-pressed=true]{background:var(--blue);color:white}
@media(max-width:950px){.head{min-height:72px;gap:20px}.hero-inner{min-height:430px;gap:2%}.section-title{align-items:start}.section-title p{max-width:24ch}.cta-row{flex-wrap:wrap}.cta-row .stores{margin-left:0}.trust .wrap{gap:4vw}.wrap{width:calc(100% - 48px)}.card-copy{padding-inline:16px}}
@media(max-width:700px){.wrap{width:calc(100% - 36px)}.head{min-height:65px}.head nav{display:none}.head .download{margin-left:auto}.brand{font-size:1.12rem;gap:7px}.brand img{width:37px;height:38px}.download{font-size:.9rem;padding:.6rem .8rem}.hero-inner{grid-template-columns:1fr;padding-block:30px 22px;min-height:0;gap:4px}.hero-copy{max-width:520px}.hero .eyebrow{margin-bottom:.7rem}h1{font-size:clamp(3.05rem,9.2vw,4.35rem)}.intro{max-width:45ch;margin:.85rem 0 1rem}.store{min-height:48px;padding:.38rem .75rem}.store svg{width:22px;height:25px}.store b{font-size:1.1rem}.trust .wrap{width:100%;gap:0;min-height:61px;align-items:stretch}.trust span{flex:1;justify-content:center;gap:3px;flex-direction:column;text-align:center;font-size:.8rem}.trust span .icon{width:18px;height:18px}.section-title{display:block}.section-title p{margin:.5rem 0 0;max-width:45ch}.cards{grid-template-columns:1fr}.card{display:grid;grid-template-columns:.85fr 1.15fr}.card-image{height:100%;aspect-ratio:auto;min-height:164px}.card-copy{padding:16px 13px}.card-copy p{min-height:0;font-size:.95rem;margin-bottom:.65rem}.token{left:8px;bottom:8px}.about-grid,.parents{grid-template-columns:1fr;gap:25px}.game-photo{order:2}.parents h2 br{display:none}.cta-row{gap:12px}.cta-row>img{width:60px;height:60px}.cta-row .stores{width:100%;margin-top:6px}.foot{gap:15px}.foot .brand{width:100%}.spread{grid-template-columns:1fr}.spread figure{margin-top:20px}.spread figure img{max-height:34vh}.section{padding-block:40px}.about{padding-block:36px}}
@media(max-width:360px){.wrap{width:calc(100% - 26px)}.card{grid-template-columns:.72fr 1.28fr}.trust span{font-size:.74rem}.foot>a:not(.brand){font-size:.85rem}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}
.hero-stage{position:relative;min-width:0;aspect-ratio:1.42;isolation:isolate}.tablet,.phone{background:#10263e;position:absolute;overflow:hidden;border:2px solid #547897;box-shadow:0 20px 36px -16px #061814aa}.tablet{left:0;top:9%;width:84%;aspect-ratio:1.44;border-radius:21px;padding:7px;transform:rotate(-5deg)}.tablet img,.phone img{width:100%;height:100%;object-fit:cover}.tablet img{border-radius:12px}.phone{width:26%;height:auto;aspect-ratio:.49;right:0;bottom:3%;padding:4px;border-radius:22px;transform:rotate(6deg);z-index:2}.phone img{border-radius:16px}.coin{position:absolute;width:8%;aspect-ratio:1;object-fit:cover;clip-path:polygon(27% 3%,66% 0,92% 21%,100% 56%,88% 82%,63% 99%,29% 96%,5% 73%,0 38%,11% 16%);filter:drop-shadow(0 4px 3px #0004)}.c1{left:86%;top:4%;transform:rotate(15deg)}.c2{left:8%;bottom:1%;width:5%;transform:rotate(-14deg)}.capture{position:absolute;bottom:1%;left:21%;color:#153454;font-size:.8rem;letter-spacing:.02em}
.policy{max-width:820px;margin:auto;padding:60px 24px}.policy h1{color:var(--blue);font-size:clamp(2.8rem,6vw,4.8rem)}.policy h2{font-size:clamp(1.7rem,4vw,2.4rem);margin:2.4rem 0 1rem}.policy h3{font-size:1.28rem;margin:1.2rem 0 .3rem}.policy p{margin:.6rem 0;max-width:75ch}.lang-links{display:flex;gap:14px;margin:18px 0 32px}.lang-links a{font-weight:700;text-decoration:none;background:#dbedfc;padding:.45rem 1rem;border-radius:9px}.policy details{margin-top:2rem;border-block:1px solid var(--line);padding-block:1rem}.policy summary{cursor:pointer;font-weight:700}
@media(max-width:700px){.hero-stage{width:min(92%,440px);margin:8px auto 0;aspect-ratio:1.75}.tablet{width:79%;height:88%;top:3%;left:1%;border-radius:15px;padding:4px}.tablet img{border-radius:9px}.phone{width:23%;bottom:3%;right:2%;border-radius:14px;padding:2px}.phone img{border-radius:10px}.capture{font-size:.75rem;left:21%;bottom:0}.c1{top:0;right:0;left:auto;width:7%}}

.capture { background:#f0fbffeb; border-radius:9px; padding:2px 8px; }
.kalba .card-copy h3 { color:#573885; }
.matematika .card-copy h3 { color:#80510c; }
.nuotykiai .card-copy h3 { color:#105980; }
.about { background-image:url(assets/debeselis.png),linear-gradient(180deg,#cdefff,#eefaff); background-repeat:no-repeat; background-size:135px auto,cover; background-position:right 3% top 6%,center; }
body:has(.policy) { background: url(assets/debesis.png) right 7% top 95px/155px auto no-repeat,linear-gradient(#b5e7ff,#f7fcff 370px); }
@media(max-width:700px) {
  .hero {
    background-image:linear-gradient(180deg,rgba(214,242,255,.97),rgba(214,242,255,.90) 34%,rgba(214,242,255,.26) 62%,transparent 82%),url(assets/misko-upelis.jpg);
    background-position:center,center bottom;
  }
  .hero-inner { padding-bottom:36px; }
}

.next-game {
  background: #fcf6e8;
  color: #372c32;
  border-bottom: 1px solid #e3d5b7;
}
.next-game-layout {
  display: grid;
  grid-template-columns: minmax(0,.88fr) minmax(0,1.12fr);
  align-items: center;
  gap: clamp(30px,6vw,84px);
  padding-block: clamp(45px,5vw,78px);
}
.next-game .eyebrow { margin-bottom: .75rem; color: #775022; }
.next-game-story { margin-top: 1rem; max-width: 44ch; line-height: 1.65; }
.release-status {
  display: inline-block;
  margin-top: 1.2rem;
  padding: .35rem .8rem;
  border-radius: 8px;
  background: #f5dfa4;
  color: #613e13;
  font-weight: 700;
}
.next-game figure img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 7px 20px #49311f24;
}
.next-game figcaption { margin-top: .5rem; font-size: .86rem; color: #685946; }
@media (max-width: 720px) {
  .next-game-layout { grid-template-columns: 1fr; gap: 22px; }
}
.next-game-actions { display:flex; align-items:center; flex-wrap:wrap; gap:12px 20px; margin-top:1.2rem; }
.next-game-actions .release-status { margin:0; }
.next-game-actions a { color:#54360e; font-weight:700; }
/* Keep the player inside the tablet bezel. */
.tablet iframe { display:block; width:100%; height:100%; border:0; border-radius:inherit; }
.next-game-sign { width:min(100%,31rem); }
.next-title-art { width:100%; height:auto; }
.next-subtitle-art { width:min(55%,16rem); height:auto; margin:.55rem auto .9rem; }
.next-game-visuals { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,1fr); gap:clamp(10px,1.5vw,20px); align-items:start; }
.next-game-map { grid-column:2; grid-row:1 / span 2; }

.site-brands { display:flex; align-items:center; gap:clamp(.8rem,2vw,1.55rem); flex-shrink:0; }
.site-brands .brand { width:auto; margin:0; }
.site-brands .brand-amber { color:#a4540b; }
.site-brands .brand-amber img { width:27px; height:45px; mix-blend-mode:multiply; }
.site-brands .brand:hover { text-decoration:underline; }
.foot .site-brands { margin-right:auto; }
@media (min-width:701px) and (max-width:920px) {
  body:not(.voyage) .head { flex-wrap:wrap; padding-block:12px; row-gap:12px; }
  body:not(.voyage) .head nav { order:1; flex-basis:100%; margin-left:0; }
  body:not(.voyage) .head .download { margin-left:auto; }
}
@media (max-width:700px) {
  .site-brands .brand-amber img { width:22px; height:36px; }
  .foot .site-brands { width:100%; }
}
@media (max-width:480px) {
  .head { gap:.6rem; }
  .head .site-brands .brand { font-size:1rem; }
  .head .download span,.voyage .head .game-home { display:none; }
}
@media (min-width:921px) and (max-width:1100px) {
  body:not(.voyage) .head { gap:18px; }
  body:not(.voyage) .head nav { gap:16px; }
  body:not(.voyage) .head nav a { white-space:nowrap; }
}
