.kids-hub-body {
  background: #061428;
}
.kids-home-link {
  display: inline-flex;
  align-items: center;
  padding: 12px 17px;
  background: #eafcff;
  color: #073452;
  border: 1px solid #b8f4f4;
  border-radius: 0;
  font-weight: 800;
  font-size: 0.85rem;
  transition: background .25s, color .25s, border-color .25s, box-shadow .25s;
}
.kids-home-link:hover,
.kids-home-link:focus-visible {
  background: #f241af;
  color: #fff;
  border-color: #f241af;
  box-shadow: 0 10px 28px #f241af48;
}
.kids-hub-shell {
  width: min(1320px, calc(100% - 32px));
  margin: auto;
  padding: 42px 0 90px;
}
.kids-hub-hero {
  min-height: 0;
  padding: 0;
  display: block;
  overflow: hidden;
  border-radius: 30px;
  background: #03070d;
  box-shadow: 0 32px 90px #0007;
}
.kids-hub-hero::before {
  content: "";
  display: block;
  width: 100%;
  aspect-ratio: 2048 / 877;
  background: url("assets/kids-world-entrance.jpg") center/cover no-repeat;
}
.kids-hub-hero > div {
  max-width: none;
  padding: clamp(30px, 5vw, 64px);
  background: #03070d;
}
.kids-hub-hero h1,
.kids-subworld-hero h1 {
  font:
    700 clamp(3.4rem, 8vw, 7.4rem) / 0.91 Georgia,
    serif;
  letter-spacing: -0.055em;
  margin: 12px 0 24px;
}
.kids-hub-hero h1 em,
.kids-subworld-hero h1 em {
  color: var(--kid-pink);
  font-weight: 400;
}
.kids-hub-hero p:last-child,
.kids-subworld-hero p:last-child {
  max-width: 700px;
  color: #e0edf8;
  font-size: 1.15rem;
  line-height: 1.65;
}
.kids-hub-doors {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 18px;
}
.kids-hub-door {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 0;
  padding: clamp(28px, 4vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-position: center;
  background-size: cover;
  border-radius: 0;
  border: 3px solid #69eff2;
  color: #fff;
  box-shadow: 0 25px 65px #0006, inset 0 0 0 1px #d6ffff55;
}
.kids-hub-door::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, #05101df5, #0717288a 62%, transparent);
}
.kids-hub-door > span {
  color: #8df5f5;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.17em;
}
.kids-hub-door h2 {
  font:
    700 clamp(2.5rem, 5vw, 5rem) / 0.95 Georgia,
    serif;
  letter-spacing: -0.045em;
  margin: 0 0 12px;
}
.kids-hub-door p {
  max-width: 630px;
  color: #eef7ff;
  font-size: 1.05rem;
}
.kids-hub-door b {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 14px;
  padding: 12px 18px;
  background: #eafcff;
  color: #073452;
  border: 1px solid #b8f4f4;
  border-radius: 0;
  font-size: 0.9rem;
  transition: background .25s, color .25s, box-shadow .25s;
}
.kids-hub-door:hover b,
.kids-hub-door:focus-visible b {
  background: #f241af;
  color: #fff;
  border-color: #f241af;
  box-shadow: 0 10px 28px #f241af48;
}
.kids-hub-books,
.kids-hub-music,
.kids-hub-films,
.kids-hub-learning {
  aspect-ratio: auto;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  background: #03070d;
}
.kids-hub-books::before,
.kids-hub-music::before,
.kids-hub-films::before,
.kids-hub-learning::before {
  position: relative;
  inset: auto;
  z-index: 0;
  display: block;
  width: 100%;
  aspect-ratio: 2048 / 877;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.kids-hub-books::before {
  background: url("assets/kids-books-door.jpg") center/cover no-repeat;
}
.kids-hub-music::before {
  background-image: url("assets/kids-music-door.jpg");
}
.kids-hub-films::before {
  background-image: url("assets/films-for-kids-door.jpg");
}
.kids-hub-learning::before {
  background-image: url("assets/play-learn-door.jpg");
}
.kids-hub-books > span,
.kids-hub-music > span,
.kids-hub-films > span,
.kids-hub-learning > span {
  padding: clamp(26px, 4vw, 52px) clamp(28px, 4vw, 64px) 0;
  background: #03070d;
}
.kids-hub-books > div,
.kids-hub-music > div,
.kids-hub-films > div,
.kids-hub-learning > div {
  padding: 12px clamp(28px, 4vw, 64px) clamp(28px, 4vw, 58px);
  background: #03070d;
}
.kids-hub-bluepink {
  background-image: url("assets/selected-art/impossible-beauty-door.jpg");
}
.kids-subworld-shell {
  width: min(1180px, calc(100% - 32px));
  margin: auto;
  padding: 42px 0 90px;
}
.kids-subworld-hero {
  min-height: 620px;
  padding: clamp(30px, 7vw, 84px);
  display: flex;
  align-items: flex-end;
  border-radius: 30px;
  background-position: center;
  background-size: cover;
  box-shadow: 0 30px 90px #0008;
}
.kids-subworld-hero > div {
  max-width: 800px;
}
.kids-subworld-books {
  background-image:
    linear-gradient(90deg, #061629b8 0%, #06162956 38%, transparent 72%),
    url("assets/kids-books-door.jpg");
}
.kids-subworld-music {
  background-image:
    linear-gradient(90deg, #061629e8, #0616294c),
    url("assets/music-world-door-approved.jpg");
}
.kids-subworld-films {
  background-image:
    linear-gradient(90deg, #061629e8, #0616294c),
    url("assets/films-for-kids-door.jpg");
}
.kids-subworld-bluepink {
  background-image:
    linear-gradient(90deg, #061629e8, #0616294c),
    url("assets/selected-art/impossible-beauty-door.jpg");
}
.kids-subworld-status {
  margin-top: 18px;
  padding: clamp(28px, 5vw, 62px);
  border-radius: 26px;
  background: #fff;
  color: #10213a;
}
.kids-subworld-status h2 {
  font:
    700 clamp(2.3rem, 5vw, 4.7rem) / 1 Georgia,
    serif;
  margin: 0 0 18px;
}
.kids-subworld-status p {
  max-width: 760px;
  color: #465d70;
  font-size: 1.05rem;
}
.kids-subworld-status b {
  color: #07889a;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
}
.kids-subworld-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.kids-subworld-actions a {
  padding: 13px 18px;
  background: #0b7891;
  color: #fff;
  font-weight: 900;
  border-radius: 8px;
}
.kids-book-collection {
  margin-top: 18px;
  padding: clamp(30px, 5vw, 64px);
  border-radius: 26px;
  background: #edf9fc;
  color: #10213a;
}
.kids-book-collection > header {
  max-width: 780px;
  margin-bottom: 34px;
}
.kids-book-collection h2 {
  margin: 8px 0 12px;
  font: 700 clamp(2.3rem, 5vw, 4.7rem) / 1 Georgia, serif;
}
.kids-book-collection > header p:last-child { color: #465d70; }
.kids-book-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.kids-book-card {
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 38px #1736501a;
}
.kids-book-card img {
  display: block;
  width: 100%;
  aspect-ratio: 2588 / 3375;
  object-fit: cover;
}
.kids-book-card div { padding: 20px; }
.kids-book-card span {
  color: #07889a;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.13em;
}
.kids-book-card h3 {
  margin: 8px 0 6px;
  font: 700 1.45rem/1.05 Georgia, serif;
}
.kids-book-card p { margin: 0; color: #53697a; }
@media (max-width: 760px) {
  .kids-hub-door {
    aspect-ratio: auto;
    min-height: 390px;
  }
  .kids-book-grid { grid-template-columns: 1fr; }
  .kids-hub-hero {
    min-height: 0;
    border-radius: 20px;
  }
  .kids-subworld-hero {
    min-height: 520px;
    border-radius: 20px;
  }
  .kids-home-link {
    font-size: 0.7rem;
  }
}
