@font-face {
  font-family: "Baloo 2";
  src: url("baloo-2.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --background: #130f22;
  --header: #100c1d;
  --surface: #201831;
  --line: #382e4b;
  --ink: #fff8f0;
  --muted: #c7bdd5;
  --violet: #c9b5ff;
  --gold: #ffc478;
  --display: "Baloo 2", ui-rounded, system-ui, sans-serif;
  font-family: system-ui, sans-serif;
  line-height: 1.65;
  color: var(--ink);
  background: var(--background);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; }
p, ul, figure { margin: 0; }

h1, h2, h3 {
  margin: 0;
  font: 800 1rem/0.98 var(--display);
  letter-spacing: -0.045em;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.wrap {
  width: min(calc(100% - 112px), 1200px);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 20;
  left: 16px;
  top: 12px;
  translate: 0 -160%;
  padding: 10px 16px;
  border-radius: 8px;
  color: #24132a;
  background: var(--gold);
}

.skip-link:focus { translate: 0; }

.site-header {
  position: sticky;
  z-index: 5;
  top: 0;
  background: var(--header);
  border-bottom: 1px solid #302340;
}

.header-inner {
  min-height: 74px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 11px;
  font: 800 27px/1 var(--display);
  letter-spacing: -0.035em;
  white-space: nowrap;
  text-decoration: none;
}

.brand img { border-radius: 12px; }
.brand strong { font-weight: inherit; color: var(--gold); }

.desktop-nav, .site-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(16px, 3vw, 36px);
  color: var(--muted);
  font-size: 0.91rem;
  font-weight: 650;
}

.desktop-nav a, .site-footer nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  text-decoration: none;
}

.desktop-nav a:hover, .site-footer nav a:hover { color: var(--ink); }

.availability-link {
  display: inline-flex;
  justify-self: end;
  min-height: 44px;
  align-items: center;
  gap: 9px;
  padding-inline: 15px;
  color: #f0e5ff;
  background: #211631;
  border: 1px solid #503963;
  border-radius: 99px;
  font-weight: 700;
  font-size: 0.83rem;
  text-decoration: none;
  white-space: nowrap;
}

.availability-link:hover { border-color: var(--violet); }
.compact-availability-label { display: none; }

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px #ffc47880;
}

.mobile-menu { display: none; }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(180deg, #160e25 52%, var(--background));
}

.hero-art {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 auto;
  width: min(78%, 1460px);
  overflow: hidden;
}

.hero-art picture, .hero-art img { display: block; width: 100%; height: 100%; }
.hero-art img { object-fit: cover; object-position: 55% 49%; }

.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #160e25 0%, #160e25ec 7%, #160e2566 22%, transparent 37%),
    linear-gradient(0deg, var(--background) 0%, #130f2244 18%, transparent 37%);
}

.hero-inner {
  position: relative;
  min-height: 645px;
  display: grid;
  align-items: center;
  padding-block: 61px 97px;
}

.hero-copy { width: min(100%, 550px); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--violet);
  font-size: 0.76rem;
  font-weight: 780;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.spark { color: var(--gold); font-size: 1.4em; line-height: 1; }

.hero h1 {
  font-size: clamp(4rem, 7.15vw, 6.35rem);
  line-height: 0.84;
  text-wrap: balance;
}

.hero h1 span {
  display: inline-block;
  padding-bottom: 0.09em;
  color: var(--gold);
  background: linear-gradient(115deg, #ffe395 2%, #ffc276 55%, #ff9f63 100%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  max-width: 410px;
  margin-top: 20px;
  color: #e3d9ea;
  font-size: clamp(1rem, 1.24vw, 1.13rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 29px;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 11px;
  min-height: 51px;
  padding: 9px 19px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-size: 0.92rem;
  font-weight: 780;
  text-align: center;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, translate 160ms ease;
}

.button:hover { translate: 0 -2px; }
.button-primary { background: var(--gold); color: #26162a; box-shadow: 0 5px 26px #ffb75e25; }
.button-primary:hover { background: #ffd496; }
.button-quiet { color: var(--ink); border-color: #a791b76b; background: #21172e9e; }
.button-quiet:hover { border-color: var(--violet); background: #362747; }
.arrow { font-size: 1.2em; line-height: 1; }

.facts-wrap { position: relative; z-index: 1; margin-top: -21px; }

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0;
  list-style: none;
  border: 1px solid #483556;
  border-radius: 22px;
  background: linear-gradient(108deg, #21172e, #261a3a 53%, #20172f);
  box-shadow: 0 24px 50px #0b071938;
}

.facts li {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 96px;
  padding: 14px 10px;
}

.facts li + li::before {
  content: "";
  position: absolute;
  inset: 25% auto 25% 0;
  border-left: 1px solid #4b3b5b;
}

.facts strong {
  color: var(--gold);
  font: 800 clamp(2.35rem, 4.4vw, 3.65rem)/0.9 var(--display);
  letter-spacing: -0.045em;
}

.facts span { color: var(--muted); font-size: 0.91rem; font-weight: 680; }

.section { padding-block: clamp(70px, 8vw, 114px); }
.section[id], .launch-wrap, #contenu { scroll-margin-top: 92px; }
.section h2, .launch h2 { font-size: clamp(2.9rem, 5vw, 4.75rem); }
.section p:not(.eyebrow, .game-domain), .launch p:not(.eyebrow) { color: var(--muted); }
.lavender { color: var(--violet); }

.adventure, .parents {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(36px, 6vw, 96px);
}

.adventure-copy > p:not(.eyebrow), .parents-copy > p:not(.eyebrow) {
  max-width: 46ch;
  margin-top: 18px;
  font-size: 1.04rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 9px;
  color: var(--violet);
  font-weight: 760;
  text-decoration: none;
  text-underline-offset: 5px;
}

.text-link:hover { text-decoration: underline; }
.adventure-copy .text-link, .faq .text-link { margin-top: 13px; }

.worlds {
  display: grid;
  gap: 12px;
  padding: 13px;
  border: 1px solid #473658;
  border-radius: 23px;
  background: linear-gradient(155deg, #281c3a, #191327 70%);
  box-shadow: 0 24px 75px #0004;
}

.world-tabs { display: flex; flex-wrap: wrap; gap: 5px; }

.world-tabs button {
  flex: 1 0 auto;
  min-height: 44px;
  padding: 5px 9px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: var(--muted);
  background: transparent;
  font-size: 0.84rem;
  font-weight: 680;
  cursor: pointer;
}

.world-tabs button:hover { color: var(--ink); background: #3c2c54; }
.world-tabs button[aria-selected="true"] { color: #27183d; background: var(--violet); }

.world-panel img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center 58%;
  border-radius: 12px;
  background: #211d41;
}

.world-panel figcaption {
  min-height: 50px;
  padding: 10px 8px 3px;
  color: var(--muted);
  font-size: 0.86rem;
}

.games {
  border-block: 1px solid #30243f;
  background: radial-gradient(ellipse at 76% 10%, #2a1b40, transparent 55%), #181225;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr minmax(0, 0.6fr);
  gap: 30px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading > p { max-width: 42ch; margin-bottom: 5px; }

.game-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 21px; }

.game-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #463554;
  border-radius: 21px;
  background: var(--surface);
  --game-accent: #ffd38e;
}

.game-fusee { --game-accent: #c7b0ff; }
.game-music { --game-accent: #a3e1e7; }

.game-shot {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
  border-bottom: 1px solid #4b375d;
  background: #2c2346;
}

.game-shot:focus-visible { z-index: 1; outline-offset: -5px; }

.game-shot img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: scale 220ms ease;
}

.game-shot:hover img { scale: 1.04; }

.expand-icon {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid #ffffff56;
  border-radius: 11px;
  background: #19132ae8;
  color: var(--ink);
  font-size: 1.2rem;
}

.game-copy { padding: 20px 22px 26px; }
.game-domain { color: var(--game-accent); font-size: 0.73rem; font-weight: 760; letter-spacing: 0.11em; text-transform: uppercase; }
.game-copy h3 { margin-block: 8px; font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
.game-description { font-size: 0.95rem; line-height: 1.55; }

.parents-portrait {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  justify-items: center;
  min-height: 435px;
  overflow: hidden;
  border: 1px solid #62457e;
  border-radius: 30px;
  background: radial-gradient(circle at 58% 51%, #714986, #32214f 64%, #251a3b 95%);
}

.parents-portrait::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 8% 14% auto;
  aspect-ratio: 1;
  border: 1px solid #d8b3ff4d;
  box-shadow: 0 0 0 20px #d8b3ff11, 0 0 0 44px #d8b3ff0b;
  border-radius: 50%;
}

.parents-portrait img {
  width: min(73%, 333px);
  margin-top: 32px;
  filter: drop-shadow(0 10px 25px #10071c9c);
  transform: rotate(-7deg) translateY(5%);
}

.portrait-star { position: absolute; color: #ffd397; line-height: 1; }
.portrait-star-one { top: 18%; right: 16%; font-size: 3.3rem; }
.portrait-star-two { bottom: 24%; left: 10%; font-size: 2rem; }
.portrait-star-three { top: 31%; left: 14%; color: #ead5ff; font-size: 1.4rem; }

.parent-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 23px 25px;
  margin-top: 26px;
  padding: 0;
  list-style: none;
}

.parent-list li {
  padding-left: 14px;
  border-left: 2px solid #8d70bd;
}

.parent-list strong { display: block; color: var(--ink); line-height: 1.35; }
.parent-list span { display: block; margin-top: 5px; color: var(--muted); font-size: 0.89rem; line-height: 1.53; }

.faq {
  display: grid;
  grid-template-columns: minmax(0, 0.65fr) minmax(0, 1fr);
  align-items: start;
  gap: 42px;
  border-top: 1px solid var(--line);
  padding-block: clamp(57px, 7vw, 94px);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list details:first-child { border-top: 1px solid var(--line); }

.faq-list summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 57px;
  gap: 15px;
  padding-block: 11px;
  border-radius: 4px;
  color: var(--ink);
  font-weight: 720;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker, .mobile-menu summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--violet); font-size: 1.4rem; line-height: 1; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding: 1px 28px 16px 0; color: var(--muted); }
.faq-list details a, .prose a { color: var(--violet); text-underline-offset: 3px; }

.launch-wrap { padding-bottom: clamp(63px, 7vw, 104px); }

.launch {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr);
  align-items: center;
  gap: 30px;
  padding: clamp(26px, 5vw, 60px);
  border: 1px solid #74558e;
  border-radius: 27px;
  background: radial-gradient(ellipse at 0 0, #4e306b, transparent 74%), #261a3c;
}

.launch h2 { letter-spacing: -0.05em; }
.launch p:not(.eyebrow) { margin-top: 11px; }
.launch .eyebrow { margin-bottom: 10px; }
.store-list { display: grid; gap: 10px; }

.store-card {
  display: flex;
  min-height: 69px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 15px;
  border: 1px solid #674d82;
  border-radius: 13px;
  background: #1b142df0;
  color: var(--ink);
  text-decoration: none;
}

a.store-card:hover { border-color: var(--gold); }
.store-name { display: grid; line-height: 1.3; gap: 4px; }
.store-name span { color: var(--muted); font-size: 0.82rem; }
.store-status { color: var(--gold); font-size: 0.82rem; font-weight: 760; white-space: nowrap; }

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--header);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 24px;
}

.footer-inner .brand { font-size: 23px; }
.footer-inner .brand img { border-radius: 9px; }

.document {
  max-width: 810px;
  min-height: 65vh;
  padding-block: 55px 100px;
}

.back-link { margin-bottom: 16px; }
.document h1 { font-size: clamp(2.75rem, 7vw, 5.2rem); overflow-wrap: break-word; }
.document h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.document-lead { margin-top: 15px; color: var(--muted); font-size: 1.05rem; }
.document-body { margin-top: 33px; }
.document-block { margin-top: 30px; padding: 23px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.document-block > p, .document-block > .button { margin-top: 13px; }
.document-block > p, .prose p { color: var(--muted); }
.prose section + section { margin-top: 29px; }
.prose p { margin-top: 9px; }
.legal-address { white-space: pre-line; overflow-wrap: anywhere; }

.gallery {
  width: min(calc(100% - 26px), 910px);
  max-height: calc(100dvh - 26px);
  padding: 13px;
  border: 1px solid #665181;
  border-radius: 19px;
  background: #21182e;
  color: var(--ink);
}

.gallery::backdrop { background: #0b0718e8; }
body:has(.gallery[open]) { overflow: hidden; }

.gallery-header, .gallery-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 2px 10px;
}

.gallery-header p, .gallery-footer p { color: var(--muted); font-size: 0.88rem; }
.gallery-footer { padding-block: 13px 3px; }
.gallery-footer h2 { font-size: clamp(1.55rem, 4.4vw, 2.2rem); }
.gallery-footer p { margin-top: 3px; }
.gallery-actions { display: flex; gap: 7px; }

.gallery img {
  width: 100%;
  max-height: 66dvh;
  object-fit: contain;
  border-radius: 10px;
  background: #130d21;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #674f81;
  border-radius: 10px;
  background: #2e2142;
  color: var(--ink);
  font-size: 1.3rem;
  cursor: pointer;
}

.icon-button:hover { background: #473159; }

@media (max-width: 1080px) {
  .wrap { width: calc(100% - 72px); }
  .hero-inner { min-height: 592px; }
  .hero-art { width: 78%; }
  .hero-art::after {
    background:
      linear-gradient(90deg, #160e25 0%, #160e25e6 13%, #160e2555 28%, transparent 46%),
      linear-gradient(0deg, var(--background), #130f2244 21%, transparent 39%);
  }
  .parents-portrait { min-height: 370px; }
  .facts span { font-size: 0.82rem; }
}

@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .header-inner { min-height: 64px; display: flex; justify-content: space-between; gap: 10px; }
  .header-inner .brand { margin-right: auto; font-size: 24px; }
  .header-inner .brand img { width: 36px; height: 36px; border-radius: 10px; }
  .desktop-nav { display: none; }
  .availability-link { padding-inline: 11px; font-size: 0.75rem; }
  .mobile-menu { display: block; }

  .mobile-menu summary {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid #4b3b5b;
    border-radius: 10px;
    list-style: none;
    cursor: pointer;
  }

  .menu-icon {
    position: relative;
    display: block;
    width: 17px;
    height: 2px;
    border-radius: 2px;
    background: var(--ink);
    box-shadow: 0 -5px var(--ink), 0 5px var(--ink);
  }

  .mobile-menu[open] .menu-icon { box-shadow: none; rotate: 45deg; }
  .mobile-menu[open] .menu-icon::before { content: ""; position: absolute; inset: 0; background: inherit; rotate: 90deg; }

  .mobile-menu nav {
    position: absolute;
    top: calc(100% + 6px);
    right: 20px;
    left: 20px;
    display: grid;
    padding: 7px 15px;
    border: 1px solid #604879;
    border-radius: 13px;
    background: #21182f;
    box-shadow: 0 20px 40px #080412b3;
  }

  .mobile-menu nav a { display: grid; align-items: center; min-height: 46px; text-decoration: none; }
  .mobile-menu nav a + a { border-top: 1px solid var(--line); }
  .mobile-menu nav a:last-child { color: var(--gold); font-weight: 720; }
  .hero { display: flex; flex-direction: column; }
  .hero-inner { order: -1; min-height: 0; padding-block: 36px 7px; text-align: center; }
  .hero-copy { margin-inline: auto; }
  .hero .eyebrow, .hero-actions { justify-content: center; }
  .hero .eyebrow { margin-bottom: 14px; font-size: 0.72rem; }
  .hero h1 { font-size: clamp(2.6rem, 10.95vw, 4.5rem); line-height: 0.88; }
  .hero-break { display: none; }
  .hero-lead { margin: 12px auto 0; }
  .hero-actions { margin-top: 18px; gap: 8px; }
  .button { min-height: 46px; padding: 8px 13px; font-size: 0.83rem; }

  .hero-art { position: relative; inset: auto; width: 100%; height: clamp(258px, 78vw, 480px); }
  .hero-art img { object-position: 50% 44%; }
  .hero-art::after {
    background: linear-gradient(180deg, #160e25, transparent 17%, transparent 70%, var(--background) 100%);
  }

  .facts-wrap { margin-top: -16px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 16px; }
  .facts li { min-height: 66px; gap: 9px; }
  .facts li:nth-child(3)::before { display: none; }
  .facts li:nth-child(n+3) { border-top: 1px solid #463554; }
  .facts span { font-size: 0.8rem; }

  .adventure, .parents, .faq, .launch, .section-heading { grid-template-columns: 1fr; }
  .adventure, .parents { gap: 23px; }
  .section[id], .launch-wrap, #contenu { scroll-margin-top: 79px; }
  .section-heading { gap: 13px; margin-bottom: 23px; }
  .section h2, .launch h2 { font-size: clamp(2.65rem, 8.4vw, 4.05rem); }
  .game-grid { grid-template-columns: 1fr; gap: 16px; }
  .game-copy { padding: 16px 18px 20px; }
  .game-shot img { aspect-ratio: 16 / 11; }
  .parents-portrait { order: 1; min-height: 0; }
  .parents-portrait img { width: min(67%, 276px); }
  .parent-list { gap: 18px 15px; }
  .faq { gap: 16px; }
  .launch { gap: 21px; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 7px; }
  .site-footer nav { gap: 5px 18px; font-size: 0.82rem; }
  .document { padding-block: 34px 65px; }
}

@media (max-width: 430px) {
  .availability-label { display: none; }
  .compact-availability-label { display: inline; }
}

@media (max-width: 390px) {
  .hero h1 { font-size: clamp(2.1rem, 11.4vw, 2.7rem); }
  .hero .button { font-size: 0.8rem; }
  .worlds { padding: 9px; }
  .world-tabs button { padding-inline: 5px; font-size: 0.78rem; }
  .parent-list { grid-template-columns: 1fr; }
}

@media (max-width: 350px) {
  .availability-link { display: none; }
}

@media (min-width: 761px) and (max-width: 900px) {
  .header-inner { gap: 17px; }
  .desktop-nav { gap: 16px; font-size: 0.8rem; }
  .adventure, .parents { gap: 30px; }
  .game-copy { padding-inline: 13px; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

@media (prefers-reduced-motion: reduce) {
  .button, .game-shot img { transition: none; }
  .button:hover { translate: none; }
  .game-shot:hover img { scale: none; }
}

@media (forced-colors: active) {
  .hero h1 span { background: none; -webkit-text-fill-color: CanvasText; }
}
