@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/Inter_28pt-Regular.ttf") format("ttf");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../assets/fonts/Poppins-Regular.ttf") format("ttf");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --navy: #142941;
  --navy-deep: #111d3e;
  --blue: #40599e;
  --blue-bright: #3c75d8;
  --page-bg: #f0f4ff;
  --muted: #777d8c;
  --border: #bac6e4;
  --font-body: "Inter", Arial, sans-serif;
  --font-heading: "Poppins", "Inter", Arial, sans-serif;
  --content-width: 1200px;
  --side-gutter: clamp(22px, 8.333333vw, 120px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 18px;
  background: var(--page-bg);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--page-bg);
  color: #26334d;
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #4286ff;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 14px;
  transform: translateY(-160%);
  border-radius: 8px;
  background: white;
  color: var(--navy);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 20;
  height: 120px;
  background: linear-gradient(110deg, #1c344d 0%, #142941 64%, #172b43 100%);
  border-bottom: 1px solid rgba(151, 179, 224, .36);
}

.header-inner {
  width: min(var(--content-width), calc(100% - (var(--side-gutter) * 2)));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  line-height: 0;
}

.brand img,
.footer-brand img {
  display: block;
  width: 86px;
  height: 86px;
  object-fit: contain;
}

.primary-navigation {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 38px;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 100%;
  color: #748198;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .015em;
  transition: color .22s ease;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: 39px;
  left: 0;
  height: 2px;
  border-radius: 4px;
  background: #3a7bdb;
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .22s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: #f5f7fc;
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  isolation: isolate;
  height: min(50vw, 720px);
  min-height: 500px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: #08142b url("../assets/hero-banner.png") center center / cover no-repeat;
  color: #f8f9fd;
}

.hero-shade {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgba(0, 0, 0, .48);
}

.hero-content {
  width: min(1100px, calc(100% - 36px));
  padding-bottom: clamp(118px, 13.7vw, 198px);
  text-align: center;
  animation: hero-arrive .75s ease-out both;
}

.hero h1 {
  margin: 0;
  color: #f7f8fd;
  font-family: var(--font-body);
  font-size: clamp(27px, 3.08vw, 44px);
  line-height: 1.17;
  font-weight: 800;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.hero p {
  margin: 9px 0 0;
  color: rgba(248, 249, 253, .88);
  font-size: clamp(14px, 1.25vw, 19px);
  line-height: 1.55;
  font-weight: 400;
}

.content-container {
  width: min(var(--content-width), calc(100% - (var(--side-gutter) * 2)));
  margin-inline: auto;
}

.who-section {
  height: 600px;
  padding: 64px 0;
  background: var(--page-bg);
}

.who-layout {
  min-height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 510px);
  align-items: center;
  column-gap: clamp(56px, 7vw, 104px);
}

.who-copy {
  max-width: 540px;
}

.eyebrow {
  margin: 0;
  color: #777c8b;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.35;
}

.blue-heading {
  margin: 5px 0 0;
  color: var(--blue);
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.12;
  text-wrap: balance;
}

.who-copy h2 {
  max-width: 550px;
  font-size: clamp(31px, 2.62vw, 39px);
}

.body-copy {
  margin: 20px 0 0;
  color: #747b8a;
  font-size: 16px;
  line-height: 1.52;
  font-weight: 400;
}

.body-copy+.body-copy {
  margin-top: 13px;
}

.pill-button {
  min-height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 27px;
  padding: 0 30px;
  border: 2px solid rgba(255, 255, 255, 1);
  border-radius: 999px;
  background: linear-gradient(115deg, #435ba2, #13204b);
  box-shadow: 0 10px 18px rgba(45, 61, 122, .18), inset 0 0 0 1px rgba(255, 255, 255, .22);
  color: #fff;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 500;
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}

.pill-button span {
  font-family: var(--font-body);
  font-size: 22px;
  line-height: 1;
}

.pill-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 24px rgba(45, 61, 122, .28), inset 0 0 0 1px rgba(255, 255, 255, .28);
  filter: brightness(1.08);
}

.pill-button:active {
  transform: translateY(-1px) scale(.99);
}

.who-art {
  width: 100%;
  max-width: 510px;
  justify-self: end;
  line-height: 0;
  transition: transform .4s cubic-bezier(.2, .7, .2, 1);
}

.who-art img {
  display: block;
  width: 100%;
  height: auto;
}

.who-art:hover {
  transform: translateY(-5px);
}

.games-section {
  height: 824px;
  padding-top: 20px;
  overflow: hidden;
  background: var(--page-bg);
}

.section-heading {
  position: relative;
  z-index: 1;
  text-align: center;
}

.section-heading .eyebrow {
  font-size: 15px;
}

.section-heading .blue-heading {
  font-size: clamp(28px, 2.65vw, 39px);
}

.games-heading .blue-heading {
  margin-top: 5px;
}

.games-art {
  position: relative;
  width: 100%;
  margin-top: 8px;
  line-height: 0;
}

.games-art img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 79%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 79%, transparent 100%);
  transition: filter .4s ease;
}

.games-art:hover img {
  filter: saturate(1.04);
}

.stories-section {
  height: 955px;
  padding-top: 40px;
  overflow: hidden;
  background: var(--page-bg);
}

.stories-heading {
  margin-bottom: 20px;
}

.stories-heading .blue-heading,
.ebooks-heading .blue-heading {
  margin-top: 5px;
}

.marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 0;
}

.marquee+.marquee {
  margin-top: 22px;
}

.marquee-track {
  display: flex;
  align-items: stretch;
  width: max-content;
  gap: 16px;
  will-change: transform;
  animation: scroll-left 35s linear infinite;
}

.marquee-right .marquee-track {
  animation-name: scroll-right;
  animation-duration: 38s;
}

.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track {
  animation-play-state: paused;
}

.story-card {
  flex: 0 0 264px;
  width: 264px;
  height: 396px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid #b7c4e4;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 2px 4px rgba(26, 45, 83, .025);
  transition: transform .25s ease, box-shadow .25s ease;
}

.story-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 26px rgba(38, 57, 103, .16);
}

.story-card>img {
  display: block;
  width: 100%;
  height: 340px;
  flex: 0 0 340px;
  object-fit: cover;
  background: #e8edfb;
}

.story-meta {
  min-height: 54px;
  flex: 1 0 54px;
  padding: 7px 9px 5px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  color: #111;
  background: #fff;
  font-family: var(--font-heading);
}

.story-name {
  display: block;
  overflow: hidden;
  color: #1f2634;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.story-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.likes {
  color: #252735;
  font-family: var(--font-body);
  font-size: 10px;
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 8px;
}

.likes>span {
  color: #fa555d;
  font-size: 12px;
}

.likes>span>img {
  width: 11px;
}

.story-actions>img {
  position: relative;
  width: 20px;
  top: -12px;
}

.round-arrow {
  width: 22px;
  height: 22px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin: -2px -1px 0 0;
  border-radius: 50%;
  background: #090b10;
  color: #fff;
  font-family: var(--font-body);
  font-size: 21px;
  line-height: 1;
}

.ebooks-section {
  height: 794px;
  padding-top: 72px;
  overflow: hidden;
  background: var(--page-bg);
}

.ebooks-heading {
  margin-bottom: 32px;
}

.bookshelf {
  position: relative;
  width: min(var(--content-width), calc(100% - (var(--side-gutter) * 2)));
  height: 455px;
  margin-inline: auto;
}

.book-viewport {
  width: 100%;
  height: 455px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 9%, #000 91%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 9%, #000 91%, transparent 100%);
}

.book-viewport::-webkit-scrollbar {
  display: none;
}

.book-track {
  height: 455px;
  display: flex;
  align-items: stretch;
  width: max-content;
  gap: 0;
}

.book-set {
  height: 455px;
  display: flex;
  flex: 0 0 auto;
  gap: 16px;
}

.book-card {
  position: relative;
  flex: 0 0 318px;
  width: 318px;
  height: 455px;
  overflow: hidden;
  border: 4px solid rgba(157, 163, 186, 1);
  border-radius: 25px;
  background: #e7ecf9;
  box-shadow: 0 5px 13px rgba(37, 48, 90, .08);
  transition: transform .25s ease, box-shadow .25s ease;
}

.book-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 22px rgba(37, 48, 90, .16);
}

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

.book-nav {
  position: absolute;
  z-index: 2;
  top: 50%;
  width: 70px;
  height: 70px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid #3f5ba8;
  border-radius: 50%;
  background: rgba(248, 250, 255, .95);
  color: #35529c;
  cursor: pointer;
  box-shadow: 0 5px 14px rgba(34, 53, 109, .07);
  transform: translateY(-50%);
  transition: background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.book-nav span {
  font-size: 33px;
  font-weight: 300;
  line-height: 1;
}

.book-prev {
  left: 4px;
}

.book-next {
  right: 4px;
}

.book-nav:hover {
  background: #3653a0;
  color: white;
  box-shadow: 0 9px 20px rgba(34, 53, 109, .18);
}

.book-prev:hover {
  transform: translate(-2px, -50%);
}

.book-next:hover {
  transform: translate(2px, -50%);
}

.book-nav:active {
  scale: .96;
}

.site-footer {
  height: 210px;
  border-top: 3px solid #00104d;
  background: linear-gradient(115deg, #405393 0%, #2c3d78 43%, #111d3e 100%);
  color: #8f9bb8;
}

.footer-inner {
  width: min(var(--content-width), calc(100% - (var(--side-gutter) * 2)));
  height: 100%;
  margin: 0 auto;
  padding-top: 38px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.legal-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  padding-top: 8px;
  font-size: 16px;
  font-weight: 600;
}

.legal-heading {
  color: #f2f5ff;
  font-weight: 700;
}

.legal-links a {
  text-decoration: none;
  transition: color .2s ease, transform .2s ease;
}

.legal-links a:hover {
  color: #fff;
  transform: translateX(-3px);
}

.legal-dialog {
  width: min(500px, calc(100% - 36px));
  padding: 0;
  border: 1px solid #c2cce7;
  border-radius: 18px;
  background: #f9fbff;
  color: #25324d;
  box-shadow: 0 24px 70px rgba(8, 20, 50, .35);
}

.legal-dialog::backdrop {
  background: rgba(7, 17, 39, .58);
  backdrop-filter: blur(3px);
}

.dialog-content {
  position: relative;
  padding: 32px;
}

.dialog-content h2 {
  margin: 0 38px 14px 0;
  color: var(--blue);
  font: 700 24px/1.2 var(--font-heading);
}

.dialog-content p {
  margin: 0;
  color: #5f687d;
  font-size: 15px;
  line-height: 1.65;
}

.dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #e8edfb;
  color: var(--navy);
  font-size: 25px;
  cursor: pointer;
}

@keyframes scroll-left {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% + 8px));
  }
}

@keyframes scroll-right {
  from {
    transform: translateX(calc(-50% + 8px));
  }

  to {
    transform: translateX(0);
  }
}

@keyframes hero-arrive {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Tablet layouts */
@media (max-width: 1199px) {
  :root {
    --side-gutter: clamp(30px, 5.5vw, 66px);
  }

  .site-header {
    height: 100px;
  }

  .brand img {
    width: 76px;
    height: 76px;
  }

  .nav-link::after {
    bottom: 29px;
  }

  .who-section {
    height: auto;
    min-height: 560px;
    padding: 64px 0;
  }

  .who-layout {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 43%);
    gap: 48px;
  }

  .who-copy h2 {
    font-size: clamp(29px, 3.1vw, 37px);
  }

  .body-copy {
    font-size: 15px;
  }

  .who-art {
    max-width: 460px;
  }

  .games-section {
    height: auto;
    min-height: 0;
    padding-top: 28px;
  }

  .games-art img {
    width: 100%;
  }

  .stories-section {
    height: auto;
    padding-top: 56px;
    padding-bottom: 4px;
  }

  .story-card {
    flex-basis: 236px;
    width: 236px;
    height: 361px;
    border-radius: 20px;
  }

  .story-card>img {
    height: 305px;
    flex-basis: 305px;
  }

  .story-meta {
    min-height: 54px;
    flex-basis: 54px;
  }

  .marquee+.marquee {
    margin-top: 20px;
  }

  .ebooks-section {
    height: auto;
    padding-top: 78px;
    padding-bottom: 120px;
  }

  .bookshelf {
    height: clamp(330px, 37.5vw, 455px);
  }

  .book-viewport,
  .book-track,
  .book-set {
    height: 100%;
  }

  .book-card {
    flex-basis: clamp(230px, 25vw, 300px);
    width: clamp(230px, 25vw, 300px);
    height: 100%;
  }

  .book-nav {
    width: 58px;
    height: 58px;
  }

  .site-footer {
    height: 210px;
  }
}

/* Phones and compact tablets */
@media (max-width: 760px) {
  :root {
    --side-gutter: 24px;
  }

  html {
    scroll-padding-top: 12px;
  }

  .site-header {
    height: 78px;
  }

  .header-inner {
    width: calc(100% - 40px);
  }

  .brand img {
    width: 62px;
    height: 62px;
  }

  .menu-toggle {
    position: relative;
    z-index: 3;
    width: 44px;
    height: 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid rgba(209, 221, 249, .28);
    border-radius: 12px;
    background: rgba(255, 255, 255, .04);
    cursor: pointer;
  }

  .menu-toggle span {
    width: 19px;
    height: 2px;
    display: block;
    border-radius: 3px;
    background: #f2f5ff;
    transition: transform .2s ease, opacity .2s ease;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-7px) rotate(-45deg);
  }

  .primary-navigation {
    position: absolute;
    top: 77px;
    right: 0;
    left: 0;
    height: auto;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 10px 20px 18px;
    border-top: 1px solid rgba(213, 225, 249, .12);
    background: #142941;
    box-shadow: 0 16px 28px rgba(7, 18, 39, .22);
  }

  .primary-navigation.is-open {
    display: flex;
  }

  .nav-link {
    min-height: 46px;
    height: auto;
    padding: 0 8px;
    font-size: 14px;
  }

  .nav-link::after {
    right: auto;
    left: auto;
    bottom: 5px;
    width: 34px;
  }

  .hero {
    height: clamp(440px, 126vw, 600px);
    min-height: 0;
    background-position: center center;
  }

  .hero-shade {
    background: rgba(0, 0, 0, .48);
  }

  .hero-content {
    width: calc(100% - 34px);
    padding-bottom: clamp(96px, 24vw, 148px);
  }

  .hero h1 {
    max-width: 560px;
    margin-inline: auto;
    font-size: clamp(25px, 7vw, 36px);
    line-height: 1.16;
    letter-spacing: -.03em;
  }

  .hero p {
    max-width: 420px;
    margin: 12px auto 0;
    font-size: 14px;
    line-height: 1.55;
  }

  .content-container {
    width: calc(100% - 48px);
  }

  .who-section {
    min-height: 0;
    padding: 54px 0 58px;
  }

  .who-layout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 38px;
  }

  .who-copy {
    max-width: 560px;
  }

  .eyebrow,
  .section-heading .eyebrow {
    font-size: 13px;
  }

  .who-copy h2 {
    margin-top: 8px;
    font-size: clamp(28px, 7.5vw, 36px);
  }

  .desktop-break {
    display: none;
  }

  .body-copy {
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.62;
  }

  .body-copy+.body-copy {
    margin-top: 12px;
  }

  .pill-button {
    min-height: 52px;
    margin-top: 24px;
    padding: 0 24px;
    font-size: 14px;
  }

  .who-art {
    width: min(100%, 480px);
    max-width: none;
    align-self: center;
  }

  .games-section {
    padding-top: 38px;
  }

  .section-heading {
    padding-inline: 18px;
  }

  .section-heading .blue-heading {
    font-size: clamp(24px, 6.4vw, 34px);
    line-height: 1.18;
  }

  .games-heading .blue-heading {
    max-width: 560px;
    margin: 7px auto 0;
  }

  .games-art {
    width: 118%;
    margin: 12px 0 0 -9%;
  }

  .games-art img {
    width: 100%;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 10%, #000 85%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 10%, #000 85%, transparent 100%);
  }

  .stories-section {
    padding-top: 36px;
    padding-bottom: 6px;
  }

  .stories-heading {
    margin-bottom: 22px;
  }

  .stories-heading .blue-heading {
    max-width: 500px;
    margin: 7px auto 0;
  }

  .marquee-track {
    gap: 12px;
    animation-duration: 30s;
  }

  .marquee-right .marquee-track {
    animation-duration: 32s;
  }

  .story-card {
    flex-basis: clamp(190px, 58vw, 236px);
    width: clamp(190px, 58vw, 236px);
    height: auto;
    min-height: 0;
    border-radius: 18px;
  }

  .story-card>img {
    width: 100%;
    height: auto;
    aspect-ratio: 264 / 340;
    flex: 0 0 auto;
    object-fit: cover;
  }

  .story-meta {
    min-height: 54px;
    flex-basis: 54px;
    padding: 7px 8px 5px;
  }

  .story-name {
    font-size: 12px;
  }

  .marquee+.marquee {
    margin-top: 16px;
  }

  .ebooks-section {
    padding-top: 58px;
    padding-bottom: 72px;
  }

  .ebooks-heading {
    margin-bottom: 24px;
  }

  .ebooks-heading .blue-heading {
    max-width: 560px;
    margin: 7px auto 0;
  }

  .bookshelf {
    width: calc(100% - 18px);
    height: calc((100vw - 30px) * 0.71541);
  }

  .book-viewport {
    height: 100%;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .book-track {
    height: 100%;
    gap: 0;
  }

  .book-set {
    height: 100%;
    gap: 12px;
  }

  .book-card {
    flex: 0 0 calc((100vw - 30px) / 2);
    width: calc((100vw - 30px) / 2);
    height: 100%;
    min-width: 0;
    border-radius: 16px;
  }

  .book-nav {
    width: 46px;
    height: 46px;
  }

  .book-nav span {
    font-size: 25px;
  }

  .book-prev {
    left: 14px;
  }

  .book-next {
    right: 14px;
  }

  .site-footer {
    height: 160px;
  }

  .footer-inner {
    width: calc(100% - 48px);
    padding-top: 28px;
  }

  .footer-brand img {
    width: 64px;
    height: 64px;
  }

  .legal-links {
    gap: 10px;
    font-size: 13px;
    padding-top: 5px;
  }
}

@media (max-width: 390px) {
  :root {
    --side-gutter: 18px;
  }

  .header-inner {
    width: calc(100% - 32px);
  }

  .hero {
    height: 465px;
  }

  .hero h1 {
    font-size: 25px;
  }

  .content-container {
    width: calc(100% - 36px);
  }

  .who-copy h2 {
    font-size: 27px;
  }

  .games-art {
    width: 132%;
    margin-left: -16%;
  }

  .story-card {
    flex-basis: 190px;
    width: 190px;
  }

  .bookshelf {
    width: calc(100% - 8px);
  }

  .book-card {
    flex-basis: 172px;
    width: 172px;
  }

  .book-nav {
    width: 42px;
    height: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}