:root {
  --navy: #07345b;
  --blue: #075fb0;
  --yellow: #ffbf18;
  --orange: #f26821;
  --cream: #fff8e6;
  --ink: #102d45;
  --white: #fff;
  --shadow: 0 18px 45px rgba(7, 52, 91, .14);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fffdf8;
  font-family: "Nunito", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
body::before { content: ""; position: fixed; z-index: -1; inset: 0; pointer-events: none; background: radial-gradient(circle at 12% 28%, rgba(255,191,24,.14) 0 6%, transparent 6.2%), radial-gradient(circle at 88% 58%, rgba(0,162,168,.1) 0 7%, transparent 7.2%); }
a { color: inherit; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 99; padding: .7rem 1rem; background: white; border-radius: .6rem; }
.skip-link:focus { top: 1rem; }
.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: .55rem clamp(1rem, 5vw, 5rem);
  background: rgba(255, 253, 248, .94);
  border-bottom: 1px solid rgba(7, 52, 91, .1);
  backdrop-filter: blur(12px);
}
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; font: 800 1.25rem/1 "Baloo 2", sans-serif; color: var(--navy); }
.brand img { width: 58px; height: 58px; object-fit: contain; }
nav { display: flex; align-items: center; gap: clamp(.75rem, 2vw, 1.8rem); font-weight: 800; }
nav a { text-decoration: none; padding: .65rem .25rem; }
nav a:hover { color: var(--orange); }
.nav-youtube { color: white; background: #df1f26; border-radius: 999px; padding: .55rem 1.05rem; }
.nav-youtube:hover { color: white; background: #bb1017; }
.menu-button { display: none; }
.hero {
  position: relative;
  min-height: min(720px, 82vh);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 8px; background: linear-gradient(90deg, var(--yellow), var(--orange), #5dccbe, var(--blue)); }
.hero-image { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,38,68,.98) 0%, rgba(4,38,68,.88) 30%, rgba(4,38,68,.12) 68%), url("hero-jungle.png") center/cover no-repeat; }
.hero-copy { position: relative; z-index: 2; width: min(620px, 90%); margin-left: clamp(1.2rem, 7vw, 7.5rem); color: white; padding: 6rem 0; }
.eyebrow { margin: 0 0 .55rem; color: #d94e12; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; font-size: .82rem; }
.hero .eyebrow { color: #ffd560; }
h1, h2, h3 { font-family: "Baloo 2", sans-serif; line-height: 1.05; margin-top: 0; }
h1 { max-width: 590px; margin-bottom: 1rem; font-size: clamp(3.1rem, 6.2vw, 6rem); letter-spacing: -.04em; }
.hero-copy > p:not(.eyebrow) { max-width: 560px; font-size: clamp(1.05rem, 1.8vw, 1.3rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 50px; padding: .75rem 1.25rem; border-radius: 999px; font-weight: 900; text-decoration: none; transition: transform .2s, box-shadow .2s; }
a.button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.button-primary { background: var(--yellow); color: var(--navy); }
.button-light { color: white; border: 2px solid rgba(255,255,255,.7); }
.hero-logo { position: absolute; z-index: 2; right: clamp(1rem, 3vw, 3rem); bottom: 1.5rem; width: clamp(105px, 13vw, 180px); filter: drop-shadow(0 10px 18px rgba(0,0,0,.25)); }
.section { padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 6vw, 6rem); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 2rem; max-width: 1320px; margin: 0 auto 2.2rem; }
.section-heading > p { max-width: 480px; margin: 0; color: #557084; }
.section-heading.centered { justify-content: center; text-align: center; }
h2 { margin-bottom: .45rem; color: var(--navy); font-size: clamp(2.25rem, 4vw, 3.8rem); }
.book-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.35rem; max-width: 1320px; margin: auto; }
.center-action { display: flex; justify-content: center; margin-top: 2.2rem; }
.adventure-gates { background: linear-gradient(180deg, #fff8dd, #fffdf8); }
.gate-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; max-width: 1220px; margin: auto; }
.gate { position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 1rem; min-height: 210px; padding: 1.5rem; color: white; border: 5px solid white; border-radius: 2rem; text-decoration: none; box-shadow: var(--shadow); transform: rotate(-1deg); transition: transform .2s, box-shadow .2s; }
.gate:nth-child(2) { transform: rotate(1deg); }
.gate:hover { transform: translateY(-8px) rotate(0); box-shadow: 0 24px 48px rgba(7,52,91,.22); }
.gate::after { content: ""; position: absolute; width: 180px; height: 180px; right: -55px; top: -70px; border: 24px solid rgba(255,255,255,.14); border-radius: 50%; }
.gate-icon { display: grid; place-items: center; width: 90px; height: 90px; border-radius: 1.5rem; background: rgba(255,255,255,.2); font-size: 3.4rem; transform: rotate(-6deg); }
.gate small { display: block; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; opacity: .84; }
.gate strong { display: block; font: 800 2rem/1.05 "Baloo 2", sans-serif; }
.gate b { grid-column: 2; font-size: 1rem; }
.gate-books { background: linear-gradient(135deg, #f28a18, #ef4e1c); }
.gate-watch { background: linear-gradient(135deg, #ef3340, #b80f3a); }
.gate-games { background: linear-gradient(135deg, #08a89d, #087467); }
.home-books { position: relative; }
.home-books::before, .home-books::after { position: absolute; font-size: 3rem; opacity: .18; transform: rotate(-15deg); }
.home-books::before { content: "★"; left: 2%; top: 8%; color: var(--orange); }
.home-books::after { content: "●"; right: 3%; bottom: 9%; color: #08a89d; }
.book-card { overflow: hidden; background: white; border: 1px solid #dfe8ee; border-radius: 1.25rem; box-shadow: 0 8px 24px rgba(7,52,91,.07); transition: transform .2s, box-shadow .2s; }
.book-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.book-cover { position: relative; aspect-ratio: 2/3; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; padding: 1.4rem; color: white; isolation: isolate; }
.book-cover.real-cover { padding: 0; background: #eaf0f3; }
.book-cover.real-cover::before { display: none; }
.book-cover.real-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.book-cover::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 80% 18%, rgba(255,255,255,.42), transparent 24%), repeating-linear-gradient(-35deg, rgba(255,255,255,.08) 0 8px, transparent 8px 18px); }
.book-cover small { font-weight: 900; line-height: 1.25; }
.book-cover strong { font: 800 clamp(1.65rem, 2.5vw, 2.4rem)/.98 "Baloo 2", sans-serif; text-shadow: 0 3px 0 rgba(0,0,0,.12); }
.book-icon { position: absolute; top: 16%; left: 50%; transform: translateX(-50%) rotate(-5deg); font-size: clamp(4.5rem, 8vw, 7rem); filter: drop-shadow(0 10px 6px rgba(0,0,0,.15)); }
.cover-adventure { margin-top: .8rem; width: max-content; border-radius: 999px; background: rgba(255,255,255,.9); color: var(--navy); padding: .2rem .65rem; font-size: .75rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.sun { background: #f5aa0b; } .sky { background: #268ad4; } .aqua { background: #00a2a8; } .deep { background: #075fb0; }
.leaf { background: #43a33c; } .orange { background: #ef6c22; } .berry { background: #d6406d; } .grape { background: #7354b8; }
.book-info { padding: 1.15rem; }
.book-category { color: #657e90; font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.book-info h3 { min-height: 2.3em; margin: .3rem 0 .85rem; color: var(--navy); font-size: 1.3rem; }
.book-actions { display: grid; gap: .45rem; }
.book-action { display: flex; justify-content: space-between; align-items: center; min-height: 43px; padding: .5rem .75rem; border-radius: .65rem; text-decoration: none; font-size: .88rem; font-weight: 900; }
.buy { color: #704700; background: #fff0bd; }
.listen { color: #8d1015; background: #ffe0e2; }
.disabled { color: #607282; background: #eaf0f3; cursor: default; }
.watch { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 7vw, 7rem); align-items: center; color: white; background: var(--navy); }
.watch h2 { color: white; }
.watch-copy { max-width: 600px; justify-self: end; }
.watch-copy .eyebrow { color: #ffd560; }
.button-youtube { margin-top: 1rem; background: #df1f26; color: white; }
.video-card { max-width: 570px; overflow: hidden; background: white; border-radius: 1.6rem; color: var(--ink); box-shadow: 0 25px 60px rgba(0,0,0,.28); }
.video-card > div:last-child { padding: 1.3rem 1.5rem 1.5rem; }
.video-card h3 { margin: .35rem 0; color: var(--navy); font-size: 1.65rem; }
.video-card p { margin: 0; color: #61798a; }
.status { color: #b5161d; font-size: .78rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.video-visual { position: relative; aspect-ratio: 16/9; display: grid; place-items: center; background: radial-gradient(circle at center, #ffe27c, #ffad15); }
.play { display: grid; place-items: center; width: 78px; height: 78px; padding-left: 5px; border-radius: 50%; background: #df1f26; color: white; font-size: 2rem; box-shadow: 0 12px 24px rgba(124,12,17,.3); }
.banana { position: absolute; font-size: 3rem; transform: rotate(-24deg); }.banana-one { left: 13%; top: 17%; }.banana-two { right: 12%; bottom: 12%; transform: rotate(22deg); }
.games { background: #eaf8f4; }
.game-card { display: grid; grid-template-columns: 1.05fr .95fr; max-width: 1160px; margin: auto; overflow: hidden; border-radius: 2rem; color: white; background: #126c62; box-shadow: var(--shadow); }
.game-art { min-height: 410px; display: flex; align-items: center; justify-content: center; gap: clamp(1rem, 3vw, 2.5rem); background: radial-gradient(circle at 50% 110%, #f7c938 0 24%, transparent 25%), linear-gradient(#52b8e4 0 62%, #70bd50 62%); font-size: clamp(3rem, 7vw, 6rem); }
.game-art span { filter: drop-shadow(0 12px 8px rgba(0,0,0,.18)); }
.game-art span:nth-child(2) { transform: translateY(55px) rotate(15deg); }.game-art span:nth-child(3) { transform: translateY(-40px) rotate(-10deg); }
.game-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem, 5vw, 4rem); }
.game-copy h2 { color: white; margin-bottom: .5rem; }
.game-copy .eyebrow { color: #ffe16a; }
.button-coming { margin-top: .7rem; align-self: flex-start; background: white; color: #34655f; }
.parent-note { display: grid; grid-template-columns: 190px minmax(0, 650px); justify-content: center; align-items: center; gap: clamp(1.5rem, 5vw, 4rem); }
.parent-note img { width: 100%; }
.parent-note p:last-child { margin-bottom: 0; color: #557084; }
footer { display: flex; justify-content: space-between; gap: 1rem; padding: 2rem clamp(1rem, 6vw, 6rem); color: white; background: #052943; }
footer p { margin: 0; }
footer div { display: flex; gap: 1.25rem; }
footer a { text-decoration: none; font-weight: 800; }
@media (max-width: 1050px) {
  .book-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .book-info h3 { min-height: auto; }
  .gate-grid { grid-template-columns: 1fr; max-width: 700px; }
  .gate { min-height: 150px; }
}
@media (max-width: 760px) {
  .site-header { min-height: 68px; }
  .brand img { width: 48px; height: 48px; }
  .brand span { font-size: 1.05rem; }
  .menu-button { display: block; border: 0; border-radius: 999px; padding: .55rem .8rem; color: white; background: var(--navy); font: 800 .9rem "Nunito", sans-serif; }
  nav { display: none; position: absolute; top: 68px; left: 0; right: 0; align-items: stretch; flex-direction: column; gap: .2rem; padding: .7rem 1rem 1rem; background: white; box-shadow: 0 15px 24px rgba(7,52,91,.15); }
  nav.open { display: flex; }
  nav a { padding: .7rem .8rem; border-radius: .6rem; }
  .nav-youtube { text-align: center; }
  .hero { min-height: 690px; align-items: end; }
  .hero-image { background: linear-gradient(0deg, rgba(4,38,68,.98) 0%, rgba(4,38,68,.86) 45%, rgba(4,38,68,.08) 75%), url("hero-jungle.png") 68% center/cover no-repeat; }
  .hero-copy { width: auto; margin: 0; padding: 15rem 1.2rem 4rem; }
  h1 { font-size: clamp(2.7rem, 14vw, 4.5rem); }
  .hero-logo { top: 1rem; bottom: auto; right: 1rem; width: 105px; }
  .section-heading { align-items: start; flex-direction: column; gap: .5rem; }
  .watch { grid-template-columns: 1fr; }
  .watch-copy { justify-self: start; }
  .game-card { grid-template-columns: 1fr; }
  .game-art { min-height: 300px; }
  .parent-note { grid-template-columns: 110px 1fr; }
  footer { flex-direction: column; align-items: center; text-align: center; }
}
@media (max-width: 520px) {
  .book-grid { grid-template-columns: 1fr; }
  .book-card { display: grid; grid-template-columns: 42% 58%; }
  .book-cover { aspect-ratio: 2/3; padding: .8rem; }
  .book-cover strong { font-size: 1.25rem; }
  .book-icon { font-size: 3.6rem; }
  .book-info { display: flex; flex-direction: column; justify-content: center; padding: .85rem; }
  .book-action { font-size: .76rem; padding: .45rem .55rem; }
  .parent-note { grid-template-columns: 1fr; text-align: center; }
  .parent-note img { width: 125px; margin: auto; }
  .gate { grid-template-columns: 70px 1fr; min-height: 130px; border-radius: 1.5rem; padding: 1rem; }
  .gate-icon { width: 68px; height: 68px; font-size: 2.4rem; }
  .gate strong { font-size: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
.page-hero { position: relative; overflow: hidden; min-height: 470px; display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 2rem; padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 7vw, 7rem); color: white; }
.page-hero h1 { margin-bottom: 1rem; }
.page-hero p:not(.eyebrow) { max-width: 620px; font-size: 1.15rem; }
.page-hero img { justify-self: center; width: min(330px, 80%); filter: drop-shadow(0 18px 22px rgba(0,0,0,.25)); transform: rotate(4deg); }
.books-hero { background: radial-gradient(circle at 80% 20%, rgba(255,255,255,.18), transparent 22%), linear-gradient(130deg, #0a548c, #082d51); }
.games-hero { min-height: min(620px, 72vw); grid-template-columns: minmax(280px, .72fr) 1.28fr; background: #073d68 url("game-room-hero.png") center/cover no-repeat; isolation: isolate; }
.games-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(4,39,72,.96) 0%, rgba(4,47,82,.84) 28%, rgba(4,47,82,.16) 53%, transparent 72%); }
.games-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 18px; z-index: 2; background: linear-gradient(90deg, var(--yellow), var(--orange), #e82d38, #3ec2dd, #6bc34b); }
.games-hero-copy { max-width: 590px; position: relative; z-index: 1; }
.games-hero h1 { font-size: clamp(4.1rem, 8vw, 7.3rem); line-height: .77; letter-spacing: -.045em; text-shadow: 0 6px 0 rgba(4,38,69,.6), 0 14px 30px rgba(0,0,0,.35); }
.games-hero h1 span { color: var(--yellow); }
.hero-play { display: inline-block; margin-top: 1.25rem; padding: .78rem 1.15rem; border: 3px solid white; border-radius: 999px; background: var(--yellow); color: var(--navy); font-weight: 900; text-decoration: none; box-shadow: 0 6px 0 #c9800b, 0 12px 22px rgba(0,0,0,.25); transition: transform .2s ease; }
.hero-play:hover, .hero-play:focus-visible { transform: translateY(-3px) rotate(-1deg); }
.series-note { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; align-items: center; max-width: 900px; margin: 4rem auto 0; padding: 1.6rem 2rem; background: #fff0bd; border-radius: 1.5rem; }
.series-note > span { font-size: 3.5rem; }.series-note h2 { font-size: 1.8rem; margin: 0 0 .25rem; }.series-note p { margin: 0; }
.series-note a { display: inline-block; margin-top: .45rem; color: #7d4800; font-weight: 900; }
.series-button { margin-top: 1rem; }
.game-library { background: #effbf8; }
.featured-game { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; max-width: 1160px; margin: auto; }
.game-preview { position: relative; min-height: 430px; display: flex; align-items: center; justify-content: center; gap: 1.5rem; overflow: hidden; border: 7px solid white; border-radius: 2rem; background: radial-gradient(circle at 50% 110%, #f7c938 0 24%, transparent 25%), linear-gradient(#52b8e4 0 62%, #70bd50 62%); box-shadow: var(--shadow); font-size: clamp(3.2rem, 7vw, 6rem); }
.game-preview b { position: absolute; top: 1.2rem; left: 1.2rem; padding: .35rem .75rem; border-radius: 999px; background: var(--navy); color: white; font-size: .9rem; }
.game-preview.game-poster { display: block; padding: 0; color: white; text-decoration: none; isolation: isolate; cursor: pointer; }
.game-poster::after { content: ""; position: absolute; inset: 38% 0 0; z-index: 1; background: linear-gradient(transparent, rgba(5,31,52,.9)); pointer-events: none; }
.game-poster img { width: 100%; height: 100%; min-height: 430px; object-fit: cover; display: block; transition: transform .35s ease, filter .35s ease; }
.game-poster:hover img, .game-poster:focus-visible img { transform: scale(1.045); filter: saturate(1.08); }
.game-poster:focus-visible { outline: 5px solid var(--yellow); outline-offset: 4px; }
.game-poster .game-poster-title { position: absolute; left: clamp(1.1rem, 4vw, 2rem); bottom: 1.3rem; z-index: 2; color: white; font: 900 clamp(2rem, 5vw, 3.7rem)/.88 "Baloo 2", sans-serif; text-transform: uppercase; text-shadow: 0 4px 0 #082f50, 0 9px 20px rgba(0,0,0,.4); }
.game-poster .game-poster-cta { position: absolute; right: 1.3rem; bottom: 1.4rem; z-index: 2; padding: .7rem 1rem; border-radius: 999px; background: var(--yellow); color: var(--navy); font: 900 1rem "Baloo 2", sans-serif; box-shadow: 0 6px 0 #ca8610; transition: transform .2s ease; }
.game-poster:hover .game-poster-cta { transform: translateY(-3px) rotate(-2deg); }
.game-poster b { z-index: 2; }
.new-badge { display: inline-block; padding: .25rem .65rem; border-radius: 999px; background: var(--yellow); color: var(--navy); font-weight: 900; text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; }
.featured-game h2 { margin-top: .7rem; }
.coming-games { max-width: 900px; margin: 6rem auto 0; text-align: center; }
.empty-game-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.6rem; }
.empty-game-row span { display: grid; place-items: center; aspect-ratio: 1.5; border: 4px dashed #9ac9c0; border-radius: 1.3rem; color: #65a99d; background: rgba(255,255,255,.7); font: 800 2.5rem "Baloo 2", sans-serif; }
nav .active { color: var(--orange); }
@media (max-width: 760px) {
  .page-hero { grid-template-columns: 1fr; min-height: auto; text-align: center; }
  .page-hero p:not(.eyebrow) { margin-left: auto; margin-right: auto; }
  .page-hero img { width: 190px; }
  .games-hero { min-height: 620px; display: flex; align-items: flex-end; text-align: left; background-position: 63% center; padding-bottom: 3.7rem; }
  .games-hero::before { background: linear-gradient(0deg, rgba(4,39,72,.98) 0%, rgba(4,39,72,.78) 40%, rgba(4,39,72,.08) 72%); }
  .games-hero-copy { max-width: 430px; }
  .games-hero h1 { font-size: clamp(3.7rem, 18vw, 5.5rem); }
  .games-hero p:not(.eyebrow) { margin-left: 0; margin-right: 0; }
  .featured-game { grid-template-columns: 1fr; }
  .game-preview, .game-poster img { min-height: 300px; }
  .game-poster .game-poster-title { bottom: 1rem; }
  .game-poster .game-poster-cta { right: 1rem; bottom: 1rem; padding: .55rem .8rem; font-size: .85rem; }
}
