.number-library {
  margin-top: 54px;
  padding: 36px;
  border-radius: 30px;
  background: linear-gradient(135deg, #e9faff 0%, #fff6c9 52%, #fff0f7 100%);
  border: 3px solid #fff;
  box-shadow: var(--shadow);
}
.number-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 25px;
}
.number-heading h3 {
  margin: 0;
  color: var(--navy);
  font: 800 clamp(2rem, 3.5vw, 3rem)/1 "Baloo 2";
}
.number-heading > p {
  max-width: 480px;
  margin: 0;
  color: #536680;
}
.number-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.number-card {
  min-height: 300px;
  padding: 28px;
  border-radius: 26px;
  display: flex;
  flex-direction: column;
  color: var(--navy);
  box-shadow: 0 12px 28px rgba(23,53,110,.12);
  border: 2px solid rgba(255,255,255,.85);
}
.number-card.one-ten { background: #dff8e4; }
.number-card.ten-twenty { background: #e9e0ff; }
.number-card.twenty-thirty { background: #dff7ff; }
.number-card.thirty-forty { background: #e5fff6; }
.number-card.forty-fifty { background: #fff0f0; }
.number-card.fifty-sixty { background: #fff3c9; }
.number-card.sixty-seventy { background: #f1ecff; }
.number-card.seventy-eighty { background: #e6f9ed; }
.number-card.eighty-ninety { background: #fff0f7; }
.number-card.ninety-hundred { background: #e9faff; }
.number-bubbles { display: flex; gap: 9px; }
.number-bubbles span {
  width: 50px;
  height: 50px;
  border-radius: 17px;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--pink);
  font: 800 1.45rem "Baloo 2";
  transform: rotate(-4deg);
  box-shadow: 0 5px 0 rgba(23,53,110,.12);
}
.number-bubbles span:nth-child(2) { color: #147eb9; transform: rotate(3deg); }
.number-bubbles span:nth-child(3) { color: #ad5a00; transform: rotate(-2deg); }
.number-level { margin: 24px 0 2px; letter-spacing: .1em; font-size: .74rem; font-weight: 900; }
.number-card h4 { margin: 0; font: 800 2rem/1.1 "Baloo 2"; }
.number-card > p:last-of-type { margin: 8px 0 24px; color: #536680; }
.number-card a {
  margin-top: auto;
  align-self: flex-start;
  padding: 11px 16px;
  border-radius: 13px;
  background: var(--navy);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 6px 0 #0b204e;
}
.number-card a:hover, .number-card a:focus-visible { transform: translateY(-2px); }
@media (max-width: 760px) {
  .number-library { padding: 24px 18px; }
  .number-heading { align-items: start; flex-direction: column; }
  .number-grid { grid-template-columns: 1fr; }
}
