
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,Arial,sans-serif;background:#06123b;color:#10244f}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}
:root{--orange:#ff781f;--gold:#ffd83e;--blue:#1162ff;--navy:#071745;--cream:#fff3c8;--sky:#7bd7ff}

.gateway{
min-height:100vh;display:grid;place-items:center;padding:44px 18px;position:relative;overflow:hidden;
background:
radial-gradient(circle at 10% 8%,rgba(255,231,80,.7),transparent 25%),
radial-gradient(circle at 90% 10%,rgba(105,225,255,.75),transparent 30%),
linear-gradient(180deg,#63caff 0%,#eaf9ff 54%,#79d45a 100%);
}
.gateway:before{content:"";position:absolute;inset:0;background:url('assets/hero-kids-ip.png') center/cover no-repeat;opacity:.22;filter:blur(2px) saturate(1.1);transform:scale(1.03)}
.gateway:after{content:"";position:absolute;inset:auto 0 0;height:35vh;background:linear-gradient(180deg,transparent,rgba(44,164,56,.65))}
.gateway-shell{position:relative;z-index:1;width:min(1160px,94vw);background:rgba(255,255,255,.96);border-radius:38px;padding:34px;text-align:center;box-shadow:0 36px 110px rgba(13,53,120,.28);border:1px solid rgba(255,255,255,.86)}
.gateway-logo{width:min(380px,76vw);margin:-86px auto 5px;filter:drop-shadow(0 16px 22px rgba(0,0,0,.2))}
.gateway h1{font-size:clamp(2.4rem,5vw,4.8rem);line-height:.94;margin:0;color:#09295f;font-weight:1000}
.gateway-sub{font-size:1.16rem;line-height:1.55;max-width:880px;margin:16px auto 30px}
.choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:26px}
.choice-card{border:2px solid #dce5f5;border-radius:30px;overflow:hidden;background:white;text-align:center;box-shadow:0 12px 32px rgba(8,41,95,.1);transition:.25s ease}
.choice-card:hover{transform:translateY(-8px);box-shadow:0 24px 58px rgba(8,41,95,.21)}
.choice-art{min-height:270px;display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-start;text-align:left;color:white;font-weight:1000;font-size:2rem;padding:28px;background-size:cover;background-position:center;position:relative}
.choice-art:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.05),rgba(0,0,0,.62))}
.choice-art>*{position:relative;z-index:1}
.kid-art{background-image:url('assets/hero-story-world.png')}
.parent-art{background-image:url('assets/gigglebox-main-toy.png')}
.choice-emoji{font-size:4rem;margin-bottom:12px}
.choice-copy{padding:28px}
.choice-copy h2{margin:0 0 8px;color:#09295f;font-size:2rem}
.choice-copy p{font-size:1.05rem;line-height:1.5}
.choice-button{display:inline-flex;margin-top:12px;background:var(--orange);color:white;text-transform:uppercase;font-weight:1000;padding:15px 34px;border-radius:15px;box-shadow:0 6px 0 #a84308}
.choice-button.blue{background:#1260c9;box-shadow:0 6px 0 #082d69}

.topbar{position:fixed;z-index:30;top:0;left:0;right:0;height:92px;padding:0 5vw;display:flex;align-items:center;gap:28px;background:linear-gradient(180deg,rgba(0,0,0,.78),rgba(0,0,0,.28));color:white;backdrop-filter:blur(14px)}
.brand img{width:178px}
nav{display:flex;gap:24px;margin-left:auto;font-weight:1000;text-transform:uppercase;font-size:.86rem}
nav a:hover{color:var(--gold)}
.nav-pill{background:linear-gradient(135deg,#ff9b24,#ff5d20);color:white;padding:15px 25px;border-radius:999px;font-weight:1000;box-shadow:0 7px 0 rgba(0,0,0,.25)}

.hero{min-height:100vh;position:relative;display:grid;place-items:center;text-align:center;overflow:hidden;color:white;padding:135px 22px 80px}
.hero-media{position:absolute;inset:0;background-image:url('assets/hero-story-world.png');background-size:cover;background-position:center;filter:saturate(1.12) contrast(1.02);transform:scale(1.02)}
.hero-media:after{content:"";position:absolute;inset:0;background:radial-gradient(circle at center,rgba(0,0,0,.05),rgba(0,0,0,.55)),linear-gradient(180deg,rgba(0,0,0,.25),transparent 30%,rgba(0,0,0,.45))}
.hero-content{position:relative;z-index:1;max-width:980px;text-shadow:0 8px 28px rgba(0,0,0,.48)}
.eyebrow{display:inline-flex;align-items:center;gap:8px;font-weight:1000;letter-spacing:.1em;text-transform:uppercase;color:var(--gold);margin-bottom:16px}
.eyebrow.dark{color:var(--orange);text-shadow:none}
.hero h1{font-size:clamp(3.6rem,8vw,7.8rem);line-height:.88;margin:0 0 20px;font-weight:1000}
.hero h1 span{color:var(--gold)}
.hero p{font-size:1.28rem;line-height:1.55;max-width:790px;margin:0 auto 28px}
.actions{display:flex;gap:18px;justify-content:center;flex-wrap:wrap}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;border-radius:18px;padding:18px 32px;font-weight:1000;text-transform:uppercase;transition:.2s ease}
.btn.primary,.youtube-btn{background:linear-gradient(135deg,#ff9b24,#ff4d20);color:white;box-shadow:0 12px 0 rgba(102,37,0,.38)}
.btn.secondary{background:white;color:#5a2a08;box-shadow:0 12px 0 rgba(0,0,0,.18)}
.btn:hover,.youtube-btn:hover{transform:translateY(-5px)}

.youtube-strip{display:flex;align-items:center;justify-content:space-between;gap:28px;flex-wrap:wrap;background:linear-gradient(135deg,#ffe55e,#ff7b1d);padding:44px 7vw;color:#402100}
.youtube-strip span{font-weight:1000;text-transform:uppercase}
.youtube-strip h2{font-size:clamp(1.8rem,3.2vw,3.1rem);margin:5px 0 0}
.youtube-btn{padding:18px 32px;border-radius:18px;font-weight:1000;text-transform:uppercase;color:white}

.section{padding:100px 7vw}
.cream{background:linear-gradient(180deg,#fff8d8,#fff1ad)}
.white{background:white}
.blue{background:linear-gradient(135deg,#10266e,#06123b);color:white}
.section-head{max-width:930px;margin:0 auto 44px;text-align:center}
.section-head h2{font-size:clamp(2.5rem,5vw,5rem);line-height:.95;margin:0 0 14px;color:#09295f}
.blue .section-head h2,.blue .section-head p{color:white}
.section-head p{font-size:1.18rem;line-height:1.6}
.card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(215px,1fr));gap:22px;max-width:1200px;margin:auto}
.card{background:white;border-radius:28px;padding:28px;box-shadow:0 16px 42px rgba(20,50,100,.12);border:2px solid rgba(255,255,255,.7);transition:.2s ease}
.card:hover{transform:translateY(-7px)}
.card .icon{font-size:3rem}
.card h3{font-size:1.55rem;margin:12px 0 8px;color:#5a2a08}
.card p{line-height:1.5}
.blue .card{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);color:white;backdrop-filter:blur(10px)}
.blue .card h3{color:var(--gold)}

.image-showcase{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:22px;max-width:1220px;margin:auto}
.image-tile{border-radius:30px;overflow:hidden;background:white;box-shadow:0 18px 50px rgba(8,41,95,.14)}
.image-tile img{width:100%;height:260px;object-fit:cover}
.image-tile div{padding:22px}
.image-tile h3{margin:0 0 8px;color:#09295f;font-size:1.45rem}

.activity-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:22px;max-width:1220px;margin:auto}
.activity{border-radius:30px;padding:28px;background:linear-gradient(180deg,#fff,#fff4ce);box-shadow:0 16px 42px rgba(8,41,95,.12);border:2px solid #fff}
.activity span{font-size:3rem}
.activity h3{font-size:1.5rem;margin:12px 0 8px;color:#09295f}

.ecosystem{background:linear-gradient(180deg,#fff,#eaf5ff)}
.flow{max-width:1150px;margin:auto;display:grid;grid-template-columns:repeat(5,1fr);gap:16px;align-items:stretch}
.flow-step{background:white;border-radius:26px;padding:26px;text-align:center;box-shadow:0 16px 44px rgba(8,41,95,.1);position:relative}
.flow-step strong{display:block;font-size:1.25rem;color:#09295f;margin-top:10px}
.flow-step span{font-size:2.8rem}
.flow-step:not(:last-child):after{content:"→";position:absolute;right:-17px;top:42%;font-size:2rem;color:var(--orange);font-weight:1000;z-index:2}

.toy-section{background:linear-gradient(135deg,#fff8d8,#fff)}
.toy-wrap{max-width:1180px;margin:auto;display:grid;grid-template-columns:.9fr 1.1fr;gap:48px;align-items:center}
.toy-visual{background:linear-gradient(135deg,#fff3bd,#fff);border-radius:42px;padding:24px;box-shadow:0 24px 70px rgba(8,41,95,.14)}
.toy-visual img{border-radius:28px}
.toy-copy h2{font-size:clamp(2.5rem,5vw,5rem);line-height:.95;margin:0 0 20px;color:#09295f}
.feature-list{display:grid;gap:14px;margin-top:26px}
.feature{display:flex;gap:14px;align-items:flex-start;background:white;border-radius:20px;padding:16px;box-shadow:0 10px 28px rgba(8,41,95,.08)}
.feature b{color:#09295f}
.parent-hero{padding:150px 7vw 90px;display:grid;grid-template-columns:1.05fr .95fr;gap:44px;align-items:center;background:linear-gradient(180deg,#f6fbff,#e9f4ff)}
.parent-hero h1{font-size:clamp(2.8rem,5vw,5.6rem);line-height:.95;margin:0 0 22px;color:#09295f}
.parent-hero p{font-size:1.2rem;line-height:1.6}
.parent-visual{min-height:450px;border-radius:38px;background-image:url('assets/gigglebox-main-toy.png');background-size:contain;background-repeat:no-repeat;background-position:center;background-color:white;box-shadow:0 30px 80px rgba(10,39,91,.18)}
.product-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:18px;max-width:1100px;margin:auto}
.product-row div{background:#fff4cf;border-radius:24px;padding:26px;text-align:center;font-size:2rem;box-shadow:0 14px 30px rgba(0,0,0,.08)}
.product-row strong{display:block;font-size:1.1rem;margin-top:12px;color:#09295f}
.updates{padding:90px 7vw;text-align:center;background:linear-gradient(135deg,#ffdc4e,#ff7a1a);color:#3c2100}
.updates h2{font-size:clamp(2.4rem,5vw,4.8rem);margin:0 0 10px}
.updates form{display:flex;gap:12px;max-width:650px;margin:30px auto 0;background:white;padding:10px;border-radius:20px;box-shadow:0 15px 40px rgba(0,0,0,.16)}
.updates input{flex:1;border:0;padding:16px;font-size:1rem;outline:0}
.updates button{border:0;background:#0e56c8;color:white;font-weight:1000;border-radius:14px;padding:0 28px;text-transform:uppercase}
footer{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:30px 7vw;background:#06123b;color:white;flex-wrap:wrap}
footer img{width:150px}
@media(max-width:900px){
.choice-grid,.toy-wrap,.parent-hero{grid-template-columns:1fr}
.flow{grid-template-columns:1fr}
.flow-step:not(:last-child):after{content:"↓";right:50%;top:auto;bottom:-24px;transform:translateX(50%)}
.topbar{position:absolute;height:auto;flex-wrap:wrap;padding:18px}
nav{order:3;width:100%;justify-content:center;flex-wrap:wrap;margin-left:0}
.brand img{width:140px}
.hero h1{font-size:3.5rem}
.updates form{flex-direction:column}
}

/* --- Embedded toy demo / itch.io game frame --- */
.demo-section{
  background:
    radial-gradient(circle at top, rgba(255,230,92,.55), transparent 35%),
    linear-gradient(180deg,#fff7d8,#e9f7ff);
}

.demo-wrap{
  max-width:1200px;
  margin:auto;
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:40px;
  align-items:center;
}

.toy-frame{
  position:relative;
  background:linear-gradient(135deg,#ffcf43,#ff7b1d);
  border:10px solid #0c3d98;
  border-radius:58px;
  padding:98px 34px 34px;
  box-shadow:
    0 36px 90px rgba(8,41,95,.28),
    inset 0 4px 0 rgba(255,255,255,.45);
}

.toy-ears{
  position:absolute;
  left:0;
  right:0;
  top:-52px;
  display:flex;
  justify-content:space-between;
  padding:0 58px;
  pointer-events:none;
}

.toy-ears span{
  width:118px;
  height:118px;
  background:radial-gradient(circle at 60% 45%,#5da8ff,#0c49c7 70%);
  border:9px solid #083174;
  border-radius:50%;
  box-shadow:inset 0 10px 16px rgba(255,255,255,.22),0 14px 30px rgba(0,0,0,.22);
}

.toy-face{
  position:absolute;
  left:50%;
  top:20px;
  transform:translateX(-50%);
  width:190px;
  height:82px;
  background:linear-gradient(180deg,#ffe76a,#ffb72b);
  border:7px solid #083174;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:24px;
}

.toy-eye{
  width:18px;
  height:18px;
  border-radius:50%;
  background:#09306d;
  box-shadow:58px 0 0 #09306d;
}

.toy-smile{
  position:absolute;
  width:74px;
  height:34px;
  border-bottom:8px solid #09306d;
  border-radius:0 0 60px 60px;
  bottom:15px;
}

.toy-screen{
  position:relative;
  overflow:hidden;
  border-radius:30px;
  background:#06123b;
  border:8px solid #062e78;
  box-shadow:inset 0 0 0 4px rgba(255,255,255,.18),0 14px 35px rgba(0,0,0,.22);
  aspect-ratio:16/10;
}

.toy-screen iframe{
  width:100%;
  height:100%;
  border:0;
  display:block;
  background:#06123b;
}

.toy-buttons{
  display:flex;
  justify-content:center;
  gap:18px;
  margin-top:24px;
}

.toy-buttons span{
  color:white;
  font-weight:1000;
  padding:12px 20px;
  border-radius:999px;
  box-shadow:0 6px 0 rgba(0,0,0,.24);
}

.toy-buttons span:nth-child(1){background:#ff415f;}
.toy-buttons span:nth-child(2){background:#1367ff;}
.toy-buttons span:nth-child(3){background:#24c052;}

.demo-helper{
  background:white;
  border-radius:34px;
  padding:38px;
  box-shadow:0 22px 70px rgba(8,41,95,.14);
}

.helper-badge{
  display:inline-flex;
  background:linear-gradient(135deg,#ffdf58,#ff8a1c);
  color:#482600;
  font-weight:1000;
  text-transform:uppercase;
  letter-spacing:.08em;
  padding:10px 16px;
  border-radius:999px;
  margin-bottom:18px;
}

.demo-helper h3{
  font-size:clamp(2rem,4vw,3.2rem);
  line-height:1;
  color:#09295f;
  margin:0 0 16px;
}

.demo-helper p{
  font-size:1.08rem;
  line-height:1.55;
}

.helper-steps{
  display:grid;
  gap:14px;
  margin:26px 0;
}

.helper-steps div{
  display:flex;
  align-items:center;
  gap:14px;
  background:#fff4cf;
  border-radius:18px;
  padding:14px;
  font-weight:800;
}

.helper-steps b{
  width:34px;
  height:34px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#1162ff;
  color:white;
}

.helper-note{
  font-size:.95rem!important;
  color:#53617f;
}

@media(max-width:900px){
  .demo-wrap{
    grid-template-columns:1fr;
  }

  .toy-frame{
    padding:86px 18px 24px;
    border-radius:42px;
  }

  .toy-ears{
    padding:0 36px;
  }

  .toy-ears span{
    width:92px;
    height:92px;
  }
}

/* --- Demo preview image + click-to-load itch frame --- */
.toy-screen{
  position:relative;
  background:#07153f;
}

.toy-screen iframe{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
  opacity:0;
  pointer-events:none;
  transition:opacity .25s ease;
  background:#07153f;
}

.toy-screen.is-playing iframe{
  opacity:1;
  pointer-events:auto;
}

.demo-cover{
  position:absolute;
  inset:0;
  z-index:3;
  overflow:hidden;
  background:#07153f;
}

.demo-cover img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.demo-cover:after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at center, transparent 30%, rgba(0,0,0,.32)),
    linear-gradient(180deg, rgba(0,0,0,.03), rgba(0,0,0,.2));
}

.play-demo-button{
  position:absolute;
  z-index:4;
  left:50%;
  bottom:24px;
  transform:translateX(-50%);
  border:0;
  background:linear-gradient(135deg,#ffdf4f,#ff781f);
  color:#442200;
  font-weight:1000;
  font-size:1.05rem;
  padding:16px 26px;
  border-radius:999px;
  box-shadow:0 10px 0 rgba(87,34,0,.45), 0 20px 35px rgba(0,0,0,.25);
  cursor:pointer;
  text-transform:uppercase;
}

.play-demo-button:hover{
  transform:translateX(-50%) translateY(-4px);
}

.toy-screen.is-playing .demo-cover{
  display:none;
}

.demo-helper .helper-note{
  background:#eef6ff;
  padding:14px 16px;
  border-radius:16px;
}

.toy-frame{
  max-width:760px;
  margin:auto;
}

/* --- Image-based GiggleBox demo shell: swap this image later --- */
.demo-wrap{
  max-width:1280px;
  grid-template-columns:1.18fr .82fr;
}

.toy-image-frame{
  position:relative;
  width:100%;
  max-width:780px;
  margin:auto;
  filter:drop-shadow(0 34px 55px rgba(8,41,95,.24));
}

.toy-image-frame img{
  width:100%;
  height:auto;
  display:block;
  border-radius:26px;
}

.demo-launch-card{
  position:absolute;
  left:50%;
  bottom:18px;
  transform:translateX(-50%);
  display:flex;
  align-items:center;
  gap:14px;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(12px);
  border:2px solid rgba(255,255,255,.9);
  box-shadow:0 14px 38px rgba(0,0,0,.22);
  padding:12px 14px 12px 18px;
  border-radius:999px;
  color:#09295f;
}

.demo-launch-card strong{
  white-space:nowrap;
  font-weight:1000;
}

.demo-launch-card span{
  white-space:nowrap;
  font-size:.9rem;
  opacity:.7;
}

.demo-launch-card button{
  border:0;
  background:linear-gradient(135deg,#ffdf4f,#ff781f);
  color:#442200;
  font-weight:1000;
  padding:12px 18px;
  border-radius:999px;
  cursor:pointer;
  box-shadow:0 6px 0 rgba(87,34,0,.35);
}

.demo-launch-card button:hover{
  transform:translateY(-2px);
}

.toy-frame{
  display:none!important;
}

@media(max-width:900px){
  .demo-wrap{
    grid-template-columns:1fr;
  }
  .demo-launch-card{
    position:relative;
    left:auto;
    bottom:auto;
    transform:none;
    margin:14px auto 0;
    width:fit-content;
    flex-wrap:wrap;
    justify-content:center;
    border-radius:24px;
  }
}

/* --- Corrected in-site itch modal demo --- */
.demo-section{
  background:
    radial-gradient(circle at top, rgba(255,230,92,.48), transparent 34%),
    linear-gradient(180deg,#fff7d8,#eaf7ff);
}

.demo-wrap{
  max-width:1280px;
  margin:auto;
  display:grid;
  grid-template-columns:1.18fr .82fr;
  gap:40px;
  align-items:center;
}

.toy-image-frame{
  position:relative;
  width:100%;
  max-width:860px;
  margin:auto;
  filter:drop-shadow(0 34px 55px rgba(8,41,95,.24));
}

.toy-image-frame img{
  width:100%;
  height:auto;
  display:block;
  border-radius:26px;
}

.big-play-hotspot{
  position:absolute;
  left:50%;
  bottom:9%;
  transform:translateX(-50%);
  border:0;
  background:linear-gradient(135deg,#ffdf4f,#ff781f);
  color:#442200;
  font-weight:1000;
  font-size:1.08rem;
  padding:16px 26px;
  border-radius:999px;
  cursor:pointer;
  box-shadow:0 9px 0 rgba(87,34,0,.42),0 20px 35px rgba(0,0,0,.24);
  text-transform:uppercase;
  z-index:5;
}

.big-play-hotspot:hover{
  transform:translateX(-50%) translateY(-4px);
}

.demo-helper{
  background:white;
  border-radius:34px;
  padding:38px;
  box-shadow:0 22px 70px rgba(8,41,95,.14);
}

.helper-badge{
  display:inline-flex;
  background:linear-gradient(135deg,#ffdf58,#ff8a1c);
  color:#482600;
  font-weight:1000;
  text-transform:uppercase;
  letter-spacing:.08em;
  padding:10px 16px;
  border-radius:999px;
  margin-bottom:18px;
}

.demo-helper h3{
  font-size:clamp(2rem,4vw,3.2rem);
  line-height:1;
  color:#09295f;
  margin:0 0 16px;
}

.demo-helper p{
  font-size:1.08rem;
  line-height:1.55;
}

.helper-steps{
  display:grid;
  gap:14px;
  margin:26px 0;
}

.helper-steps div{
  display:flex;
  align-items:center;
  gap:14px;
  background:#fff4cf;
  border-radius:18px;
  padding:14px;
  font-weight:800;
}

.helper-steps b{
  width:34px;
  height:34px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#1162ff;
  color:white;
}

.helper-note{
  background:#eef6ff;
  padding:14px 16px;
  border-radius:16px;
  color:#53617f;
  font-size:.95rem!important;
}

.game-modal{
  position:fixed;
  inset:0;
  z-index:1000;
  display:none;
}

.game-modal.is-open{
  display:block;
}

.game-modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(4,11,38,.88);
  backdrop-filter:blur(14px);
}

.game-modal-panel{
  position:absolute;
  inset:4vh 4vw;
  background:#07153f;
  border:6px solid #ffcf35;
  border-radius:32px;
  overflow:hidden;
  box-shadow:0 34px 100px rgba(0,0,0,.55);
  display:flex;
  flex-direction:column;
}

.game-modal-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:16px 20px;
  background:linear-gradient(135deg,#ffdf4f,#ff781f);
  color:#3b2000;
  font-weight:1000;
}

.game-modal-top button{
  border:0;
  background:#071f72;
  color:white;
  border-radius:999px;
  padding:12px 18px;
  font-weight:1000;
  cursor:pointer;
}

.game-modal-panel iframe{
  flex:1;
  width:100%;
  border:0;
  background:#07153f;
}

@media(max-width:900px){
  .demo-wrap{grid-template-columns:1fr}
  .game-modal-panel{inset:2vh 2vw;border-radius:22px}
  .game-modal-top{flex-direction:column;align-items:flex-start}
}

/* --- Kid-side copy polish and play section styling --- */
.demo-section .section-head h2{
  color:#09295f;
}

.demo-helper{
  border:3px solid rgba(255,216,62,.35);
}

.helper-badge{
  background:linear-gradient(135deg,#ffef78,#ff8a1c)!important;
}

.helper-note{
  background:linear-gradient(135deg,#eaf6ff,#fff7d8)!important;
  border:2px solid rgba(255,216,62,.3);
}

.big-play-hotspot,
.open-game-modal{
  font-size:1.15rem!important;
  letter-spacing:.02em;
}

.activity h3,
.card h3{
  letter-spacing:-.02em;
}

/* --- KIDS HOMEPAGE RESTRUCTURE: story-first, episode-first --- */

.kids-page-v2 .hero{
  min-height:88vh;
}

.kids-hero-updated .hero-media{
  background-image:url('assets/poster-heroes-collectors.png')!important;
  background-position:center 34%!important;
}

.kids-hero-updated .hero-content{
  max-width:1040px;
}

.kids-hero-updated h1{
  font-size:clamp(4rem,8vw,8rem);
}

.spin-story-section{
  background:linear-gradient(180deg,#fff9db,#fff2ad);
}

.spin-comic-wrap{
  max-width:1120px;
  margin:0 auto 30px;
  background:white;
  border-radius:34px;
  padding:18px;
  box-shadow:0 24px 70px rgba(8,41,95,.16);
}

.spin-comic-wrap img{
  width:100%;
  border-radius:24px;
}

.spin-steps{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(210px,1fr));
  gap:18px;
  max-width:1120px;
  margin:auto;
}

.spin-steps article{
  background:white;
  border-radius:26px;
  padding:24px;
  box-shadow:0 14px 34px rgba(8,41,95,.1);
}

.spin-steps b{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:linear-gradient(135deg,#ffdf4f,#ff781f);
  color:#422000;
  font-size:1.2rem;
  margin-bottom:14px;
}

.spin-steps h3{
  color:#09295f;
  margin:0 0 8px;
  font-size:1.4rem;
}

.episodes-section{
  background:
    radial-gradient(circle at top,rgba(255,221,70,.28),transparent 35%),
    linear-gradient(135deg,#10266e,#06123b);
  color:white;
}

.episode-grid{
  max-width:1220px;
  margin:auto;
  display:grid;
  grid-template-columns:1.6fr 1fr 1fr 1fr;
  gap:22px;
}

.episode-card,
.episode-mini{
  border-radius:30px;
  overflow:hidden;
  background:rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.18);
  box-shadow:0 20px 60px rgba(0,0,0,.22);
}

.hero-episode{
  grid-row:span 2;
}

.hero-episode img{
  width:100%;
  height:390px;
  object-fit:cover;
  object-position:center;
}

.hero-episode div{
  padding:26px;
}

.hero-episode span{
  color:#ffdf4f;
  font-weight:1000;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.hero-episode h3{
  font-size:2rem;
  margin:8px 0;
}

.hero-episode a{
  display:inline-flex;
  margin-top:10px;
  background:#ff781f;
  color:white;
  padding:13px 20px;
  border-radius:999px;
  font-weight:1000;
}

.episode-mini{
  padding:28px;
  min-height:220px;
}

.episode-mini span{
  font-size:3rem;
}

.episode-mini h3{
  font-size:1.55rem;
  color:#ffdf4f;
  margin:12px 0 8px;
}

.characters-showcase{
  background:linear-gradient(180deg,#fff,#fff6d8);
}

.character-feature-grid{
  max-width:1250px;
  margin:auto;
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:22px;
}

.character-feature{
  grid-column:span 3;
  min-height:330px;
  border-radius:34px;
  overflow:hidden;
  display:grid;
  grid-template-columns:.75fr 1.25fr;
  background:white;
  box-shadow:0 18px 55px rgba(8,41,95,.13);
  border:2px solid rgba(255,255,255,.9);
}

.character-feature.bop{
  grid-column:span 6;
  min-height:380px;
  background:linear-gradient(135deg,#fff4c8,#ffe074);
}

.character-art{
  display:grid;
  place-items:center;
  font-size:7rem;
  background:
    radial-gradient(circle at center,rgba(255,255,255,.55),transparent 62%),
    linear-gradient(135deg,#ffce3e,#ff7922);
}

.character-feature.luma .character-art{background:linear-gradient(135deg,#ffb5e4,#8a66ff)}
.character-feature.dash .character-art{background:linear-gradient(135deg,#ffe55e,#ff8a1c)}
.character-feature.tink .character-art{background:linear-gradient(135deg,#8ae7ff,#1260ff)}
.character-feature.patch .character-art{background:linear-gradient(135deg,#b5ff8a,#21b96f)}

.character-copy{
  padding:32px;
}

.character-copy span{
  display:inline-flex;
  color:#ff781f;
  font-weight:1000;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.character-copy h3{
  font-size:clamp(2.4rem,4vw,4.2rem);
  line-height:.9;
  color:#09295f;
  margin:10px 0 16px;
}

.character-copy p{
  font-size:1.12rem;
  line-height:1.55;
}

.character-copy ul{
  display:grid;
  gap:8px;
  padding-left:20px;
  font-weight:800;
  color:#5a2a08;
}

.demo-section{
  background:
    radial-gradient(circle at top, rgba(255,230,92,.48), transparent 34%),
    linear-gradient(180deg,#fff7d8,#eaf7ff);
}

.demo-wrap{
  max-width:1280px;
  margin:auto;
  display:grid;
  grid-template-columns:1.18fr .82fr;
  gap:40px;
  align-items:center;
}

.toy-image-frame{
  position:relative;
  width:100%;
  max-width:860px;
  margin:auto;
  filter:drop-shadow(0 34px 55px rgba(8,41,95,.24));
}

.toy-image-frame img{
  width:100%;
  height:auto;
  display:block;
  border-radius:26px;
}

.big-play-hotspot{
  position:absolute;
  left:50%;
  bottom:9%;
  transform:translateX(-50%);
  border:0;
  background:linear-gradient(135deg,#ffdf4f,#ff781f);
  color:#442200;
  font-weight:1000;
  font-size:1.08rem;
  padding:16px 26px;
  border-radius:999px;
  cursor:pointer;
  box-shadow:0 9px 0 rgba(87,34,0,.42),0 20px 35px rgba(0,0,0,.24);
  text-transform:uppercase;
  z-index:5;
}

.big-play-hotspot:hover{
  transform:translateX(-50%) translateY(-4px);
}

.demo-helper{
  background:white;
  border-radius:34px;
  padding:38px;
  box-shadow:0 22px 70px rgba(8,41,95,.14);
  border:3px solid rgba(255,216,62,.35);
}

.helper-badge{
  display:inline-flex;
  background:linear-gradient(135deg,#ffef78,#ff8a1c);
  color:#482600;
  font-weight:1000;
  text-transform:uppercase;
  letter-spacing:.08em;
  padding:10px 16px;
  border-radius:999px;
  margin-bottom:18px;
}

.demo-helper h3{
  font-size:clamp(2rem,4vw,3.2rem);
  line-height:1;
  color:#09295f;
  margin:0 0 16px;
}

.helper-steps{
  display:grid;
  gap:14px;
  margin:26px 0;
}

.helper-steps div{
  display:flex;
  align-items:center;
  gap:14px;
  background:#fff4cf;
  border-radius:18px;
  padding:14px;
  font-weight:800;
}

.helper-steps b{
  width:34px;
  height:34px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#1162ff;
  color:white;
}

.helper-note{
  background:linear-gradient(135deg,#eaf6ff,#fff7d8)!important;
  border:2px solid rgba(255,216,62,.3);
  padding:14px 16px;
  border-radius:16px;
}

.comic-section{
  background:linear-gradient(180deg,#fff,#fff7dd);
}

.world-card-grid{
  margin-top:20px;
}

.game-modal{
  position:fixed;
  inset:0;
  z-index:1000;
  display:none;
}

.game-modal.is-open{
  display:block;
}

.game-modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(4,11,38,.88);
  backdrop-filter:blur(14px);
}

.game-modal-panel{
  position:absolute;
  inset:4vh 4vw;
  background:#07153f;
  border:6px solid #ffcf35;
  border-radius:32px;
  overflow:hidden;
  box-shadow:0 34px 100px rgba(0,0,0,.55);
  display:flex;
  flex-direction:column;
}

.game-modal-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:16px 20px;
  background:linear-gradient(135deg,#ffdf4f,#ff781f);
  color:#3b2000;
  font-weight:1000;
}

.game-modal-top button{
  border:0;
  background:#071f72;
  color:white;
  border-radius:999px;
  padding:12px 18px;
  font-weight:1000;
  cursor:pointer;
}

.game-modal-panel iframe{
  flex:1;
  width:100%;
  border:0;
  background:#07153f;
}

@media(max-width:1050px){
  .episode-grid{
    grid-template-columns:1fr 1fr;
  }

  .hero-episode{
    grid-column:span 2;
  }

  .character-feature,
  .character-feature.bop{
    grid-column:span 6;
  }
}

@media(max-width:760px){
  .episode-grid,
  .demo-wrap{
    grid-template-columns:1fr;
  }

  .hero-episode{
    grid-column:span 1;
  }

  .character-feature{
    grid-template-columns:1fr;
  }

  .character-art{
    min-height:190px;
  }

  .game-modal-panel{
    inset:2vh 2vw;
    border-radius:22px;
  }

  .game-modal-top{
    flex-direction:column;
    align-items:flex-start;
  }
}

/* ============================================================
   STORY SPINNERS KIDS V3 - story-first homepage update
   ============================================================ */

.kids-page-v3 .hero{min-height:88vh}
.kids-hero-updated .hero-media{
  background-image:url('assets/poster-heroes-collectors.png')!important;
  background-position:center 34%!important;
}
.kids-hero-updated .hero-content{max-width:1040px}
.kids-hero-updated h1{font-size:clamp(4rem,8vw,8rem)}

.story-flow-section{
  background:
    radial-gradient(circle at top,rgba(255,226,92,.38),transparent 34%),
    linear-gradient(180deg,#fff9db,#fff2ad);
  overflow:hidden;
}

.story-road{
  max-width:1200px;
  margin:0 auto;
  position:relative;
  display:grid;
  gap:34px;
}

.story-road:before{
  content:"";
  position:absolute;
  left:50%;
  top:40px;
  bottom:40px;
  width:8px;
  transform:translateX(-50%);
  background:linear-gradient(180deg,#ffdf4f,#ff781f,#1162ff);
  border-radius:999px;
  box-shadow:0 0 28px rgba(255,140,0,.35);
}

.story-step{
  position:relative;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:34px;
  align-items:center;
  background:rgba(255,255,255,.72);
  border:2px solid rgba(255,255,255,.9);
  border-radius:38px;
  padding:24px;
  box-shadow:0 20px 60px rgba(8,41,95,.14);
  backdrop-filter:blur(10px);
}

.story-step.reverse .step-image{order:2}
.story-step.reverse .step-copy{order:1}

.story-step.wide{
  grid-template-columns:1.25fr .75fr;
}

.story-step.finale{
  background:linear-gradient(135deg,#fff,#fff0b8);
  border-color:#ffe46a;
}

.step-image{
  overflow:hidden;
  border-radius:28px;
  box-shadow:0 14px 34px rgba(8,41,95,.15);
  background:#fff;
}

.step-image img{
  width:100%;
  aspect-ratio:16/10;
  object-fit:cover;
  object-position:center;
}

.story-step:nth-child(1) .step-image img,
.story-step:nth-child(2) .step-image img{
  aspect-ratio:4/3;
}

.step-copy{
  padding:18px;
}

.step-copy span{
  display:inline-flex;
  background:linear-gradient(135deg,#ffdf4f,#ff781f);
  color:#422000;
  font-weight:1000;
  text-transform:uppercase;
  letter-spacing:.08em;
  padding:10px 16px;
  border-radius:999px;
  margin-bottom:16px;
}

.step-copy h3{
  font-size:clamp(2rem,4vw,4.2rem);
  color:#09295f;
  line-height:.92;
  margin:0 0 16px;
}

.step-copy p{
  font-size:1.18rem;
  line-height:1.55;
}

.become-next{
  max-width:1050px;
  margin:46px auto 0;
  text-align:center;
  background:#fff;
  border-radius:34px;
  padding:34px;
  box-shadow:0 18px 48px rgba(8,41,95,.12);
}

.become-next h3{
  font-size:clamp(2rem,4vw,3.8rem);
  color:#09295f;
  margin:0 0 22px;
}

.become-next div{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  justify-content:center;
  margin-bottom:28px;
}

.become-next span{
  background:#fff4cf;
  border:2px solid #ffdf4f;
  color:#5a2a08;
  font-weight:1000;
  padding:12px 18px;
  border-radius:999px;
}

.characters-showcase{background:linear-gradient(180deg,#fff,#fff6d8)}
.character-feature-grid{
  max-width:1250px;
  margin:auto;
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:22px;
}
.character-feature{
  grid-column:span 3;
  min-height:330px;
  border-radius:34px;
  overflow:hidden;
  display:grid;
  grid-template-columns:.75fr 1.25fr;
  background:white;
  box-shadow:0 18px 55px rgba(8,41,95,.13);
  border:2px solid rgba(255,255,255,.9);
}
.character-feature.bop{
  grid-column:span 6;
  min-height:380px;
  background:linear-gradient(135deg,#fff4c8,#ffe074);
}
.character-art{
  display:grid;
  place-items:center;
  font-size:7rem;
  background:radial-gradient(circle at center,rgba(255,255,255,.55),transparent 62%),linear-gradient(135deg,#ffce3e,#ff7922);
}
.character-feature.luma .character-art{background:linear-gradient(135deg,#ffb5e4,#8a66ff)}
.character-feature.dash .character-art{background:linear-gradient(135deg,#ffe55e,#ff8a1c)}
.character-feature.tink .character-art{background:linear-gradient(135deg,#8ae7ff,#1260ff)}
.character-feature.patch .character-art{background:linear-gradient(135deg,#b5ff8a,#21b96f)}
.character-copy{padding:32px}
.character-copy span{
  display:inline-flex;
  color:#ff781f;
  font-weight:1000;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.character-copy h3{
  font-size:clamp(2.4rem,4vw,4.2rem);
  line-height:.9;
  color:#09295f;
  margin:10px 0 16px;
}
.character-copy p{font-size:1.12rem;line-height:1.55}
.character-copy ul{
  display:grid;
  gap:8px;
  padding-left:20px;
  font-weight:800;
  color:#5a2a08;
}

.episodes-section{
  background:radial-gradient(circle at top,rgba(255,221,70,.28),transparent 35%),linear-gradient(135deg,#10266e,#06123b);
  color:white;
}
.episode-grid{
  max-width:1220px;
  margin:auto;
  display:grid;
  grid-template-columns:1.6fr 1fr 1fr 1fr;
  gap:22px;
}
.episode-card,.episode-mini{
  border-radius:30px;
  overflow:hidden;
  background:rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.18);
  box-shadow:0 20px 60px rgba(0,0,0,.22);
}
.hero-episode{grid-row:span 2}
.hero-episode img{
  width:100%;
  height:390px;
  object-fit:cover;
  object-position:center;
}
.hero-episode div{padding:26px}
.hero-episode span{
  color:#ffdf4f;
  font-weight:1000;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.hero-episode h3{font-size:2rem;margin:8px 0}
.hero-episode a{
  display:inline-flex;
  margin-top:10px;
  background:#ff781f;
  color:white;
  padding:13px 20px;
  border-radius:999px;
  font-weight:1000;
}
.episode-mini{padding:28px;min-height:220px}
.episode-mini span{font-size:3rem}
.episode-mini h3{font-size:1.55rem;color:#ffdf4f;margin:12px 0 8px}

.demo-section{
  background:radial-gradient(circle at top, rgba(255,230,92,.48), transparent 34%),linear-gradient(180deg,#fff7d8,#eaf7ff);
}
.demo-wrap{
  max-width:1280px;
  margin:auto;
  display:grid;
  grid-template-columns:1.18fr .82fr;
  gap:40px;
  align-items:center;
}
.toy-image-frame{
  position:relative;
  width:100%;
  max-width:860px;
  margin:auto;
  filter:drop-shadow(0 34px 55px rgba(8,41,95,.24));
}
.toy-image-frame img{
  width:100%;
  height:auto;
  display:block;
  border-radius:26px;
}
.big-play-hotspot{
  position:absolute;
  left:50%;
  bottom:9%;
  transform:translateX(-50%);
  border:0;
  background:linear-gradient(135deg,#ffdf4f,#ff781f);
  color:#442200;
  font-weight:1000;
  font-size:1.08rem;
  padding:16px 26px;
  border-radius:999px;
  cursor:pointer;
  box-shadow:0 9px 0 rgba(87,34,0,.42),0 20px 35px rgba(0,0,0,.24);
  text-transform:uppercase;
  z-index:5;
}
.big-play-hotspot:hover{transform:translateX(-50%) translateY(-4px)}
.demo-helper{
  background:white;
  border-radius:34px;
  padding:38px;
  box-shadow:0 22px 70px rgba(8,41,95,.14);
  border:3px solid rgba(255,216,62,.35);
}
.helper-badge{
  display:inline-flex;
  background:linear-gradient(135deg,#ffef78,#ff8a1c);
  color:#482600;
  font-weight:1000;
  text-transform:uppercase;
  letter-spacing:.08em;
  padding:10px 16px;
  border-radius:999px;
  margin-bottom:18px;
}
.demo-helper h3{
  font-size:clamp(2rem,4vw,3.2rem);
  line-height:1;
  color:#09295f;
  margin:0 0 16px;
}
.helper-steps{display:grid;gap:14px;margin:26px 0}
.helper-steps div{
  display:flex;
  align-items:center;
  gap:14px;
  background:#fff4cf;
  border-radius:18px;
  padding:14px;
  font-weight:800;
}
.helper-steps b{
  width:34px;
  height:34px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#1162ff;
  color:white;
}
.helper-note{
  background:linear-gradient(135deg,#eaf6ff,#fff7d8)!important;
  border:2px solid rgba(255,216,62,.3);
  padding:14px 16px;
  border-radius:16px;
}

.comic-section{background:linear-gradient(180deg,#fff,#fff7dd)}

.game-modal{
  position:fixed;
  inset:0;
  z-index:1000;
  display:none;
}
.game-modal.is-open{display:block}
.game-modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(4,11,38,.88);
  backdrop-filter:blur(14px);
}
.game-modal-panel{
  position:absolute;
  inset:4vh 4vw;
  background:#07153f;
  border:6px solid #ffcf35;
  border-radius:32px;
  overflow:hidden;
  box-shadow:0 34px 100px rgba(0,0,0,.55);
  display:flex;
  flex-direction:column;
}
.game-modal-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:16px 20px;
  background:linear-gradient(135deg,#ffdf4f,#ff781f);
  color:#3b2000;
  font-weight:1000;
}
.game-modal-top button{
  border:0;
  background:#071f72;
  color:white;
  border-radius:999px;
  padding:12px 18px;
  font-weight:1000;
  cursor:pointer;
}
.game-modal-panel iframe{
  flex:1;
  width:100%;
  border:0;
  background:#07153f;
}

@media(max-width:1050px){
  .episode-grid{grid-template-columns:1fr 1fr}
  .hero-episode{grid-column:span 2}
  .character-feature,.character-feature.bop{grid-column:span 6}
  .story-road:before{left:26px}
}

@media(max-width:760px){
  .story-step,
  .story-step.wide,
  .demo-wrap,
  .episode-grid{grid-template-columns:1fr}
  .story-step.reverse .step-image,
  .story-step.reverse .step-copy{order:initial}
  .story-road:before{display:none}
  .hero-episode{grid-column:span 1}
  .character-feature{grid-template-columns:1fr}
  .character-art{min-height:190px}
  .game-modal-panel{inset:2vh 2vw;border-radius:22px}
  .game-modal-top{flex-direction:column;align-items:flex-start}
}

/* ============================================================
   STORY SPINNERS V4 - hero artwork + next 5 upgrades
   ============================================================ */

.kids-page-v4 .hero{min-height:92vh}
.kids-hero-v4 .hero-media{
  background-image:url('assets/hero-main-storyspinners-v3.png')!important;
  background-position:center center!important;
  background-size:cover!important;
  filter:saturate(1.18) contrast(1.03)!important;
}
.kids-hero-v4 .hero-media:after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at center, rgba(0,0,0,.05), rgba(0,0,0,.42)),
    linear-gradient(180deg,rgba(0,0,0,.18),rgba(0,0,0,.34) 55%,rgba(0,0,0,.65));
}
.kids-hero-v4 .hero-content{
  max-width:1080px;
  padding-top:16vh;
}
.kids-hero-v4 h1{
  font-size:clamp(3.6rem,7.5vw,8rem);
  text-shadow:0 12px 34px rgba(0,0,0,.48);
}
.kids-hero-v4 p{
  font-size:1.32rem;
  font-weight:800;
}

.episodes-first{
  margin-top:0;
}

.episode-hub-layout{
  max-width:1280px;
  margin:auto;
  display:grid;
  grid-template-columns:1.25fr .75fr;
  gap:28px;
}

.episode-spotlight{
  overflow:hidden;
  border-radius:36px;
  background:white;
  color:#09295f;
  box-shadow:0 26px 70px rgba(0,0,0,.25);
}

.episode-spotlight img{
  width:100%;
  height:460px;
  object-fit:cover;
}

.episode-spotlight div{
  padding:30px;
}

.episode-spotlight span,
.episode-list span,
.collector-main span,
.toy-ladder span{
  color:#ff781f;
  font-weight:1000;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.episode-spotlight h3{
  font-size:clamp(2rem,4vw,3.6rem);
  line-height:.95;
  margin:10px 0 14px;
}

.episode-spotlight a{
  display:inline-flex;
  margin-top:12px;
  background:#ff781f;
  color:white;
  padding:14px 22px;
  border-radius:999px;
  font-weight:1000;
}

.episode-list{
  display:grid;
  gap:18px;
}

.episode-list article{
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.18);
  border-radius:28px;
  padding:24px;
  color:white;
  box-shadow:0 18px 44px rgba(0,0,0,.18);
}

.episode-list h3{
  color:#ffdf4f;
  font-size:1.45rem;
  margin:8px 0;
}

/* Story flow */
.story-flow-section{
  background:
    radial-gradient(circle at top,rgba(255,226,92,.38),transparent 34%),
    linear-gradient(180deg,#fff9db,#fff2ad);
  overflow:hidden;
}
.story-road{
  max-width:1200px;
  margin:0 auto;
  position:relative;
  display:grid;
  gap:34px;
}
.story-road:before{
  content:"";
  position:absolute;
  left:50%;
  top:40px;
  bottom:40px;
  width:8px;
  transform:translateX(-50%);
  background:linear-gradient(180deg,#ffdf4f,#ff781f,#1162ff);
  border-radius:999px;
  box-shadow:0 0 28px rgba(255,140,0,.35);
}
.story-step{
  position:relative;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:34px;
  align-items:center;
  background:rgba(255,255,255,.72);
  border:2px solid rgba(255,255,255,.9);
  border-radius:38px;
  padding:24px;
  box-shadow:0 20px 60px rgba(8,41,95,.14);
  backdrop-filter:blur(10px);
}
.story-step.reverse .step-image{order:2}
.story-step.reverse .step-copy{order:1}
.story-step.wide{grid-template-columns:1.25fr .75fr}
.story-step.finale{background:linear-gradient(135deg,#fff,#fff0b8);border-color:#ffe46a}
.step-image{
  overflow:hidden;
  border-radius:28px;
  box-shadow:0 14px 34px rgba(8,41,95,.15);
  background:#fff;
}
.step-image img{
  width:100%;
  aspect-ratio:16/10;
  object-fit:cover;
  object-position:center;
}
.story-step:nth-child(1) .step-image img,
.story-step:nth-child(2) .step-image img{aspect-ratio:4/3}
.step-copy{padding:18px}
.step-copy span{
  display:inline-flex;
  background:linear-gradient(135deg,#ffdf4f,#ff781f);
  color:#422000;
  font-weight:1000;
  text-transform:uppercase;
  letter-spacing:.08em;
  padding:10px 16px;
  border-radius:999px;
  margin-bottom:16px;
}
.step-copy h3{
  font-size:clamp(2rem,4vw,4.2rem);
  color:#09295f;
  line-height:.92;
  margin:0 0 16px;
}
.step-copy p{font-size:1.18rem;line-height:1.55}
.become-next{
  max-width:1050px;
  margin:46px auto 0;
  text-align:center;
  background:#fff;
  border-radius:34px;
  padding:34px;
  box-shadow:0 18px 48px rgba(8,41,95,.12);
}
.become-next h3{
  font-size:clamp(2rem,4vw,3.8rem);
  color:#09295f;
  margin:0 0 22px;
}
.become-next div{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  justify-content:center;
  margin-bottom:28px;
}
.become-next span{
  background:#fff4cf;
  border:2px solid #ffdf4f;
  color:#5a2a08;
  font-weight:1000;
  padding:12px 18px;
  border-radius:999px;
}

/* Character hub */
.characters-showcase{background:linear-gradient(180deg,#fff,#fff6d8)}
.character-feature-grid{
  max-width:1250px;
  margin:auto;
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:22px;
}
.character-feature{
  grid-column:span 3;
  min-height:330px;
  border-radius:34px;
  overflow:hidden;
  display:grid;
  grid-template-columns:.75fr 1.25fr;
  background:white;
  box-shadow:0 18px 55px rgba(8,41,95,.13);
  border:2px solid rgba(255,255,255,.9);
}
.character-feature.bop{
  grid-column:span 6;
  min-height:380px;
  background:linear-gradient(135deg,#fff4c8,#ffe074);
}
.character-art{
  display:grid;
  place-items:center;
  font-size:7rem;
  background:radial-gradient(circle at center,rgba(255,255,255,.55),transparent 62%),linear-gradient(135deg,#ffce3e,#ff7922);
}
.character-feature.luma .character-art{background:linear-gradient(135deg,#ffb5e4,#8a66ff)}
.character-feature.dash .character-art{background:linear-gradient(135deg,#ffe55e,#ff8a1c)}
.character-feature.tink .character-art{background:linear-gradient(135deg,#8ae7ff,#1260ff)}
.character-feature.patch .character-art{background:linear-gradient(135deg,#b5ff8a,#21b96f)}
.character-copy{padding:32px}
.character-copy span{
  display:inline-flex;
  color:#ff781f;
  font-weight:1000;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.character-copy h3{
  font-size:clamp(2.4rem,4vw,4.2rem);
  line-height:.9;
  color:#09295f;
  margin:10px 0 16px;
}
.character-copy p{font-size:1.12rem;line-height:1.55}
.character-copy ul{
  display:grid;
  gap:8px;
  padding-left:20px;
  font-weight:800;
  color:#5a2a08;
}

/* World pages */
.worlds-section{
  background:
    radial-gradient(circle at top left,rgba(255,223,79,.38),transparent 30%),
    linear-gradient(180deg,#fff,#eaf7ff);
}
.worlds-map{
  max-width:1220px;
  margin:auto;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(245px,1fr));
  gap:22px;
}
.world-card{
  min-height:330px;
  border-radius:32px;
  padding:30px;
  color:white;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  box-shadow:0 22px 60px rgba(8,41,95,.16);
  overflow:hidden;
  position:relative;
}
.world-card:before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(0,0,0,.05),rgba(0,0,0,.5));
}
.world-card>*{position:relative;z-index:1}
.world-card span{font-size:3.4rem}
.world-card h3{font-size:1.8rem;margin:12px 0 8px}
.world-card p{line-height:1.5}
.world-card a{
  display:inline-flex;
  width:max-content;
  margin-top:12px;
  background:white;
  color:#09295f;
  padding:11px 16px;
  border-radius:999px;
  font-weight:1000;
}
.world-card.chef{background:linear-gradient(135deg,#ff7b1d,#ffd744)}
.world-card.book{background:linear-gradient(135deg,#1162ff,#72ddff)}
.world-card.pirate{background:linear-gradient(135deg,#172660,#6b39ff)}
.world-card.paint{background:linear-gradient(135deg,#ff4bb8,#ffdf4f)}

/* Collectors */
.collectors-section{
  background:
    radial-gradient(circle at 80% 15%,rgba(174,67,255,.45),transparent 32%),
    linear-gradient(135deg,#10113e,#301056 55%,#08091f);
  color:white;
}
.collector-grid{
  max-width:1240px;
  margin:auto;
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:26px;
}
.collector-main{
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.16);
  border-radius:34px;
  overflow:hidden;
  box-shadow:0 24px 70px rgba(0,0,0,.3);
}
.collector-main img{
  width:100%;
  height:420px;
  object-fit:cover;
}
.collector-main div{padding:28px}
.collector-main h3{
  color:#ffdf4f;
  font-size:2rem;
  margin:10px 0;
}
.collector-cards{
  display:grid;
  gap:18px;
}
.collector-cards article{
  background:rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.15);
  border-radius:26px;
  padding:24px;
}
.collector-cards span{font-size:2.7rem}
.collector-cards h3{
  color:#ffdf4f;
  font-size:1.6rem;
  margin:10px 0 6px;
}

/* Demo/game */
.demo-section{
  background:radial-gradient(circle at top, rgba(255,230,92,.48), transparent 34%),linear-gradient(180deg,#fff7d8,#eaf7ff);
}
.demo-wrap{
  max-width:1280px;
  margin:auto;
  display:grid;
  grid-template-columns:1.18fr .82fr;
  gap:40px;
  align-items:center;
}
.toy-image-frame{
  position:relative;
  width:100%;
  max-width:860px;
  margin:auto;
  filter:drop-shadow(0 34px 55px rgba(8,41,95,.24));
}
.toy-image-frame img{
  width:100%;
  height:auto;
  display:block;
  border-radius:26px;
}
.big-play-hotspot{
  position:absolute;
  left:50%;
  bottom:9%;
  transform:translateX(-50%);
  border:0;
  background:linear-gradient(135deg,#ffdf4f,#ff781f);
  color:#442200;
  font-weight:1000;
  font-size:1.08rem;
  padding:16px 26px;
  border-radius:999px;
  cursor:pointer;
  box-shadow:0 9px 0 rgba(87,34,0,.42),0 20px 35px rgba(0,0,0,.24);
  text-transform:uppercase;
  z-index:5;
}
.big-play-hotspot:hover{transform:translateX(-50%) translateY(-4px)}
.demo-helper{
  background:white;
  border-radius:34px;
  padding:38px;
  box-shadow:0 22px 70px rgba(8,41,95,.14);
  border:3px solid rgba(255,216,62,.35);
}
.helper-badge{
  display:inline-flex;
  background:linear-gradient(135deg,#ffef78,#ff8a1c);
  color:#482600;
  font-weight:1000;
  text-transform:uppercase;
  letter-spacing:.08em;
  padding:10px 16px;
  border-radius:999px;
  margin-bottom:18px;
}
.demo-helper h3{
  font-size:clamp(2rem,4vw,3.2rem);
  line-height:1;
  color:#09295f;
  margin:0 0 16px;
}
.helper-steps{display:grid;gap:14px;margin:26px 0}
.helper-steps div{
  display:flex;
  align-items:center;
  gap:14px;
  background:#fff4cf;
  border-radius:18px;
  padding:14px;
  font-weight:800;
}
.helper-steps b{
  width:34px;
  height:34px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#1162ff;
  color:white;
}
.helper-note{
  background:linear-gradient(135deg,#eaf6ff,#fff7d8)!important;
  border:2px solid rgba(255,216,62,.3);
  padding:14px 16px;
  border-radius:16px;
}

.toy-integration-section{
  background:linear-gradient(180deg,#fff,#fff6d8);
}
.toy-ladder{
  max-width:1220px;
  margin:auto;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(285px,1fr));
  gap:24px;
}
.toy-ladder article{
  overflow:hidden;
  border-radius:32px;
  background:white;
  box-shadow:0 22px 60px rgba(8,41,95,.14);
}
.toy-ladder img{
  width:100%;
  height:310px;
  object-fit:cover;
  background:#fff7dd;
}
.toy-ladder div{
  padding:24px;
}
.toy-ladder h3{
  color:#09295f;
  font-size:1.7rem;
  margin:8px 0;
}

/* Modal */
.game-modal{position:fixed;inset:0;z-index:1000;display:none}
.game-modal.is-open{display:block}
.game-modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(4,11,38,.88);
  backdrop-filter:blur(14px);
}
.game-modal-panel{
  position:absolute;
  inset:4vh 4vw;
  background:#07153f;
  border:6px solid #ffcf35;
  border-radius:32px;
  overflow:hidden;
  box-shadow:0 34px 100px rgba(0,0,0,.55);
  display:flex;
  flex-direction:column;
}
.game-modal-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:16px 20px;
  background:linear-gradient(135deg,#ffdf4f,#ff781f);
  color:#3b2000;
  font-weight:1000;
}
.game-modal-top button{
  border:0;
  background:#071f72;
  color:white;
  border-radius:999px;
  padding:12px 18px;
  font-weight:1000;
  cursor:pointer;
}
.game-modal-panel iframe{
  flex:1;
  width:100%;
  border:0;
  background:#07153f;
}

.v3-parent-upgrade{
  background:linear-gradient(180deg,#fff,#eaf7ff)!important;
}

@media(max-width:1050px){
  .episode-hub-layout,
  .collector-grid{grid-template-columns:1fr}
  .character-feature,.character-feature.bop{grid-column:span 6}
  .story-road:before{left:26px}
}

@media(max-width:760px){
  .story-step,
  .story-step.wide,
  .demo-wrap{grid-template-columns:1fr}
  .story-step.reverse .step-image,
  .story-step.reverse .step-copy{order:initial}
  .story-road:before{display:none}
  .character-feature{grid-template-columns:1fr}
  .character-art{min-height:190px}
  .episode-spotlight img,
  .collector-main img{height:280px}
  .game-modal-panel{inset:2vh 2vw;border-radius:22px}
  .game-modal-top{flex-direction:column;align-items:flex-start}
}

/* --- FIX: separate top hero artwork from featured episode artwork --- */
.kids-hero-v4 .hero-media,
.kids-hero-updated .hero-media{
  background-image:url('assets/hero-main-storyspinners-v4.png')!important;
}

.episode-spotlight img,
.hero-episode img{
  object-fit:cover;
  object-position:center;
}
