.kids-page .empty-bismillah {
  display: block;
  max-width: 100%;
  font:
    400 clamp(24px, 3vw, 38px)/2 "Amiri Quran",
    serif !important;
  overflow-wrap: anywhere;
}
.kids-page .reward-button {
  min-height: 52px;
  font-size: 11px;
  font-weight: 800;
  transition: 0.2s;
}
.kids-page .reward-button:not(:disabled):hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px #b98b4326;
}
.kids-page .reward-button.done {
  cursor: default;
}
.kids-page-v3 {
  padding: 0 0 100px;
  background: #fbf9f4;
}
.kids-shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}
.kids-hero-v3 {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #f6efe2, #fffdf8);
}
.kids-hero-grid {
  min-height: 610px;
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  align-items: center;
  gap: 45px;
}
.kids-hero-copy {
  position: relative;
  z-index: 2;
}
.kids-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #a27732;
  font-size: 11px;
  font-weight: 800;
}
.kids-eyebrow:before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}
.kids-hero-copy h1 {
  margin: 13px 0 16px;
  color: #123c35;
  font-size: clamp(41px, 5vw, 63px);
  line-height: 1.4;
  letter-spacing: -0.04em;
}
.kids-hero-copy h1 em {
  color: #b8893f;
  font-style: normal;
}
.kids-hero-copy > p {
  max-width: 510px;
  margin: 0;
  color: #687b75;
  font-size: 13px;
  line-height: 2.1;
}
.kids-hero-points {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin: 23px 0;
}
.kids-hero-points span {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid #e4ddce;
  border-radius: 99px;
  background: #ffffff9c;
  color: #516962;
  font-size: 9px;
  font-weight: 700;
}
.kids-hero-points i {
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #dfece6;
  color: #245e51;
  font-style: normal;
}
.kids-hero-copy > a {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  gap: 30px;
  padding: 10px 19px;
  border-radius: 13px;
  background: #123c35;
  color: #fff;
  text-decoration: none;
  font-size: 10px;
  font-weight: 800;
}
.kids-hero-copy > a i {
  font-style: normal;
}
.kids-hero-visual {
  position: relative;
  align-self: stretch;
  min-width: 0;
}
.kids-hero-visual > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
}
.kids-star-card,
.kids-session-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #ffffffb8;
  border-radius: 16px;
  background: #ffffffdc;
  box-shadow: 0 16px 40px #2a4d421c;
  backdrop-filter: blur(12px);
}
.kids-star-card {
  inset-inline-start: 30px;
  top: 55px;
  padding: 11px 16px;
}
.kids-star-card > span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: #f2e2b9;
  color: #bd8734;
  font-size: 20px;
}
.kids-star-card small,
.kids-star-card strong {
  display: block;
}
.kids-star-card small {
  color: #75837f;
  font-size: 8px;
}
.kids-star-card strong {
  font-size: 20px;
  line-height: 1.2;
}
.kids-session-chip {
  inset-inline-end: 20px;
  bottom: 48px;
  padding: 11px 14px;
}
.kids-session-chip > i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #63a57b;
  box-shadow: 0 0 0 5px #63a57b1f;
}
.kids-session-chip span {
  color: #657872;
  font-size: 8px;
  line-height: 1.6;
}
.kids-session-chip b {
  color: #123c35;
  font-size: 10px;
}
.kids-hero-pattern {
  position: absolute;
  width: 480px;
  height: 480px;
  border: 1px solid #b8893f12;
  border-radius: 50%;
  right: -330px;
  top: -250px;
  box-shadow:
    0 0 0 60px #b8893f08,
    0 0 0 120px #b8893f05;
}
.kids-values {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  transform: translateY(-28px);
  border: 1px solid #e5e7df;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 45px #173f3712;
  overflow: hidden;
}
.kids-values article {
  min-height: 92px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 18px 22px;
  border-inline-end: 1px solid #e5e7df;
}
.kids-values article:last-child {
  border: 0;
}
.kids-values article > span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 13px;
  background: #f1e7d4;
  color: #9d712c;
  font-size: 17px;
}
.kids-values b,
.kids-values small {
  display: block;
}
.kids-values b {
  font-size: 11px;
}
.kids-values small {
  color: #71807b;
  font-size: 8px;
  margin-top: 3px;
}
.lesson-area-v3 {
  padding-top: 55px;
}
.lesson-area-head {
  display: grid;
  grid-template-columns: 1fr 0.65fr;
  align-items: end;
  gap: 50px;
  margin-bottom: 27px;
}
.lesson-area-head > div > span {
  color: #a27732;
  font-size: 10px;
  font-weight: 800;
}
.lesson-area-head h2 {
  margin: 5px 0 0;
  font-size: 31px;
  line-height: 1.6;
}
.lesson-area-head > p {
  margin: 0;
  color: #6f7f7a;
  font-size: 11px;
  line-height: 2;
}
.kids-page-v3 .learning-layout {
  grid-template-columns: 340px 1fr;
}
.kids-page-v3 .lesson-settings,
.kids-page-v3 .lesson-stage {
  box-shadow: 0 15px 45px #173f370a;
}
.kids-page-v3 .lesson-stage {
  background: linear-gradient(180deg, #fff, #fffdf8);
}
.kid-reward {
  position: fixed;
  z-index: 200;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: #0b3029b8;
  opacity: 0;
  visibility: hidden;
  backdrop-filter: blur(7px);
  transition: 0.25s;
}
.kid-reward.show {
  opacity: 1;
  visibility: visible;
}
.reward-card {
  position: relative;
  width: min(440px, 100%);
  padding: 36px 32px 30px;
  overflow: hidden;
  border: 1px solid #ecd39d;
  border-radius: 28px;
  background: #fffdf8;
  text-align: center;
  box-shadow: 0 30px 90px #061b174d;
  transform: translateY(20px) scale(0.96);
  transition: 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.kid-reward.show .reward-card {
  transform: none;
}
.reward-close {
  position: absolute;
  top: 13px;
  inset-inline-end: 13px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #f2efe8;
  color: #5f706c;
  font-size: 18px;
  cursor: pointer;
}
.reward-badge {
  width: 94px;
  height: 94px;
  display: grid;
  place-items: center;
  margin: 0 auto 15px;
  border: 7px solid #f6e8c8;
  border-radius: 50%;
  background: linear-gradient(145deg, #d9a94e, #f0ca78);
  color: #fff;
  font-size: 43px;
  box-shadow: 0 15px 32px #b98b4333;
  animation: rewardPop 0.7s 0.12s both;
}
.reward-card > span {
  color: #a17432;
  font-size: 10px;
  font-weight: 800;
}
.reward-card h2 {
  margin: 5px 0 8px;
  color: #123c35;
  font:
    800 27px/1.5 "Cairo",
    sans-serif;
}
.reward-card p {
  max-width: 330px;
  margin: 0 auto 18px;
  color: #667a75;
  font-size: 11px;
  line-height: 1.9;
}
.reward-gain {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 0 0 20px;
  padding: 11px;
  border-radius: 14px;
  background: #f4ead8;
  color: #8b652b;
}
.reward-gain strong {
  font-size: 20px;
}
.reward-gain span {
  font-size: 9px;
  font-weight: 700;
}
.reward-card .button {
  min-height: 49px;
}
.reward-confetti {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.reward-confetti i {
  position: absolute;
  top: -20px;
  width: 9px;
  height: 16px;
  border-radius: 3px;
  background: #e4b757;
  animation: confettiFall 1.7s ease-out infinite;
}
.reward-confetti i:nth-child(2n) {
  background: #69a58d;
}
.reward-confetti i:nth-child(3n) {
  background: #e07c6b;
}
.reward-confetti i:nth-child(1) {
  left: 8%;
  animation-delay: 0.1s;
}
.reward-confetti i:nth-child(2) {
  left: 16%;
  animation-delay: 0.6s;
}
.reward-confetti i:nth-child(3) {
  left: 25%;
  animation-delay: 0.3s;
}
.reward-confetti i:nth-child(4) {
  left: 34%;
  animation-delay: 0.9s;
}
.reward-confetti i:nth-child(5) {
  left: 43%;
  animation-delay: 0.2s;
}
.reward-confetti i:nth-child(6) {
  left: 51%;
  animation-delay: 0.7s;
}
.reward-confetti i:nth-child(7) {
  left: 59%;
  animation-delay: 0.4s;
}
.reward-confetti i:nth-child(8) {
  left: 68%;
  animation-delay: 1s;
}
.reward-confetti i:nth-child(9) {
  left: 76%;
  animation-delay: 0.15s;
}
.reward-confetti i:nth-child(10) {
  left: 84%;
  animation-delay: 0.75s;
}
.reward-confetti i:nth-child(11) {
  left: 91%;
  animation-delay: 0.35s;
}
.reward-confetti i:nth-child(12) {
  left: 96%;
  animation-delay: 0.85s;
}
@keyframes rewardPop {
  0% {
    transform: scale(0.3) rotate(-20deg);
  }
  70% {
    transform: scale(1.12) rotate(5deg);
  }
  100% {
    transform: none;
  }
}
@keyframes confettiFall {
  0% {
    transform: translateY(-20px) rotate(0);
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  100% {
    transform: translateY(105vh) rotate(540deg);
    opacity: 0;
  }
}
@media (max-width: 850px) {
  .kids-hero-grid {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 50px;
  }
  .kids-hero-copy {
    padding-bottom: 25px;
  }
  .kids-hero-visual {
    min-height: 440px;
  }
  .kids-hero-visual > img {
    border-radius: 24px 24px 0 0;
  }
  .kids-values {
    grid-template-columns: 1fr;
    transform: translateY(-15px);
  }
  .kids-values article {
    min-height: 74px;
    border-inline-end: 0;
    border-bottom: 1px solid #e5e7df;
  }
  .lesson-area-head {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .kids-page-v3 .learning-layout {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .kids-shell {
    width: min(100% - 28px, 1180px);
  }
  .kids-hero-copy h1 {
    font-size: 39px;
  }
  .kids-hero-visual {
    min-height: 340px;
  }
  .kids-star-card {
    inset-inline-start: 12px;
    top: 18px;
  }
  .kids-session-chip {
    inset-inline-end: 10px;
    bottom: 18px;
  }
  .kids-values article {
    padding: 13px 15px;
  }
  .lesson-area-v3 {
    padding-top: 35px;
  }
  .lesson-area-head h2 {
    font-size: 26px;
  }
  .reward-card {
    padding: 31px 20px 22px;
    border-radius: 23px;
  }
  .reward-badge {
    width: 80px;
    height: 80px;
    font-size: 36px;
  }
  .reward-card h2 {
    font-size: 23px;
  }
}
