.kids-demo,
.kids-demo * {
  box-sizing: border-box;
}

.kids-demo.section {
  padding: 0;
  background: #faf7ef;
  color: #08113e;
  font-family: Arial, Helvetica, sans-serif;
}

.kids-demo__inner {
  width: min(100% - 48px, 1060px);
  margin: 0 auto;
  padding: 100px 0 112px;
  text-align: center;
}

.kids-demo__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: #5540b6;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.kids-demo__kicker::before {
  content: '';
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #ff5965;
}

.kids-demo h2 {
  max-width: 820px;
  margin: 0 auto;
  font-size: clamp(46px, 6vw, 76px);
  font-weight: 900;
  letter-spacing: -.065em;
  line-height: 1.02;
}

.kids-demo h2 span {
  color: #ff5965;
}

.kids-demo__description {
  max-width: 670px;
  margin: 24px auto 35px;
  color: #505678;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.5;
}

.kids-demo__stage {
  width: min(100%, 900px);
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  overflow: hidden;
  border: 7px solid #08113e;
  border-radius: 32px;
  background: #08113e;
  box-shadow: 0 26px 62px #08113e29;
}

.kids-demo__poster,
.kids-demo__frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.kids-demo__poster {
  position: relative;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
}

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

.kids-demo__poster::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #08113e76, transparent 37%, #08113e62);
  pointer-events: none;
}

.kids-demo__badge {
  position: absolute;
  z-index: 1;
  top: 22px;
  left: 22px;
  padding: 10px 16px;
  border-radius: 99px;
  background: #d6ff39;
  color: #08113e;
  font-size: 14px;
  font-weight: 900;
}

.kids-demo__play {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: #ff5965;
  color: #fff;
  box-shadow: 0 14px 32px #08113e6b;
  transform: translate(-50%, -50%);
  transition: transform .2s ease, background .2s ease;
}

.kids-demo__play svg {
  width: 35px;
  height: 35px;
  margin-left: 5px;
  fill: currentColor;
}

.kids-demo__poster:hover .kids-demo__play {
  background: #f84c5d;
  transform: translate(-50%, -50%) scale(1.08);
}

.kids-demo__poster:focus-visible {
  outline: 4px solid #d6ff39;
  outline-offset: -8px;
}

.kids-demo__caption {
  margin: 18px auto 0;
  max-width: 680px;
  color: #343b60;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
}

.kids-demo__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  margin-top: 26px;
  padding: 13px 29px;
  border-radius: 999px;
  background: #ff5965;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}

.kids-demo__cta:hover { background: #ed4655; transform: translateY(-2px); }
.kids-demo__cta:focus-visible { outline: 3px solid #6545bd; outline-offset: 3px; }

@media (max-width: 640px) {
  .kids-demo__inner {
    width: min(100% - 32px, 520px);
    padding: 72px 0 78px;
  }

  .kids-demo__kicker {
    margin-bottom: 17px;
    font-size: 11px;
  }

  .kids-demo h2 {
    font-size: clamp(39px, 10vw, 53px);
  }

  .kids-demo__description {
    margin: 18px auto 26px;
    font-size: 16px;
  }

  .kids-demo__stage {
    border-width: 4px;
    border-radius: 20px;
  }

  .kids-demo__badge {
    top: 12px;
    left: 12px;
    padding: 7px 10px;
    font-size: 11px;
  }

  .kids-demo__play {
    width: 64px;
    height: 64px;
  }

  .kids-demo__play svg {
    width: 26px;
    height: 26px;
  }

  .kids-demo__caption {
    margin-top: 20px;
    font-size: 16px;
  }

  .kids-demo__cta { width: 100%; margin-top: 23px; }
}

@media (prefers-reduced-motion: reduce) {
  .kids-demo__play,
  .kids-demo__cta {
    transition: none;
  }
}
