:root {
  color-scheme: light;
  --blue: #3856ff;
  --ink: #15233c;
  --muted: #536078;
  --line: #dce4f1;
  --ice: #edf3ff;
  font-family: 'Avenir Next', Avenir, 'Segoe UI', sans-serif;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
a:hover {
  color: var(--blue);
}
a:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 5px;
}
img {
  display: block;
  max-width: 100%;
}
h1,
h2,
p {
  margin-top: 0;
}
.wrap {
  width: min(1160px, calc(100% - 80px));
  margin-inline: auto;
}
.skip {
  position: absolute;
  top: -100px;
  left: 20px;
  background: #fff;
  padding: 12px;
  z-index: 2;
}
.skip:focus {
  top: 12px;
}
.header {
  min-height: 106px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -1px;
  text-decoration: none;
}
.brand span {
  font-weight: 500;
  color: var(--muted);
  margin-left: 3px;
}
.header nav {
  display: flex;
  gap: 28px;
  font-size: 15px;
  font-weight: 600;
}
.header nav a {
  text-decoration: none;
}
.intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 58px 0 62px;
}
.intro h1 {
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.065em;
  margin-bottom: 24px;
  font-weight: 800;
}
.intro p {
  font-size: 19px;
  color: var(--muted);
  margin-bottom: 0;
}
.hero-mark {
  width: 180px;
  height: 180px;
  margin-right: 46px;
}
.collection-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.collection-heading p {
  margin: 0;
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.025em;
}
.collection-heading span {
  color: var(--muted);
  font-size: 14px;
}
.games {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.game-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.game-shot {
  height: 270px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  border-radius: 18px;
  background: #e5eafa;
  padding-top: 20px;
}
.dungeon-pins .game-shot {
  background: #e8e1f4;
}
.gravity-flip .game-shot {
  background: #dbeefa;
}
.tower-clash .game-shot {
  background: #e4e7f6;
}
.game-shot img {
  height: 370px;
  width: auto;
  max-width: none;
  box-shadow: 0 2px 22px #15233c18;
  border-radius: 9px 9px 0 0;
}
.game-shot:hover {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}
.game-copy {
  padding: 22px 2px 0;
  flex: 1;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}
.genre {
  font-size: 13px;
  font-weight: 650;
  color: var(--muted);
  margin-bottom: 7px;
}
.game-copy h2 {
  font-size: 29px;
  letter-spacing: -0.045em;
  line-height: 1.15;
  margin-bottom: 12px;
}
.description {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 15px;
  max-width: 34ch;
}
.detail {
  font-size: 13px;
  color: var(--muted);
  margin-top: auto;
  margin-bottom: 17px;
}
.play-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: #fff;
  padding: 11px 20px;
  border-radius: 9px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
}
.play-button:hover {
  color: #fff;
  background: #2443da;
}
.game-copy .play-button {
  width: 100%;
}
.note {
  margin: 62px 0 50px;
  padding: 28px 32px;
  border-radius: 16px;
  background: var(--ice);
}
.note h2 {
  font-size: 22px;
  letter-spacing: -0.035em;
  margin-bottom: 7px;
}
.note p {
  color: var(--muted);
  margin-bottom: 0;
}
.note .storage-note {
  font-size: 13px;
  margin-top: 12px;
  max-width: 80ch;
}
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-block: 26px;
  font-size: 13px;
  color: var(--muted);
}
.footer p {
  margin: 0;
}
.empty {
  padding: 64px 0 100px;
  min-height: 50vh;
}
.empty h1 {
  font-size: clamp(38px, 6vw, 70px);
  line-height: 1.1;
  letter-spacing: -0.05em;
}
.empty p {
  color: var(--muted);
}
@media (max-width: 850px) {
  .wrap {
    width: calc(100% - 48px);
  }
  .hero-mark {
    width: 130px;
    height: 130px;
    margin-right: 0;
  }
  .games {
    gap: 18px;
  }
  .game-shot {
    height: 230px;
  }
  .game-shot img {
    height: 320px;
  }
  .game-copy h2 {
    font-size: 25px;
  }
  .game-copy .play-button {
    padding-inline: 10px;
    font-size: 14px;
  }
  .intro {
    padding: 36px 0 48px;
  }
  .description {
    font-size: 15px;
  }
}
@media (max-width: 650px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .header {
    min-height: 88px;
    gap: 12px;
  }
  .brand {
    font-size: 21px;
    gap: 7px;
  }
  .brand img {
    width: 31px;
    height: 31px;
  }
  .header nav {
    gap: 16px;
    font-size: 13px;
  }
  .header nav a:last-child {
    display: none;
  }
  .intro {
    padding: 28px 0 38px;
  }
  .intro h1 {
    font-size: 48px;
  }
  .intro p {
    font-size: 17px;
  }
  .hero-mark {
    display: none;
  }
  .collection-heading {
    gap: 10px;
    padding: 18px 0;
  }
  .collection-heading p {
    font-size: 16px;
  }
  .collection-heading span {
    font-size: 12px;
  }
  .games {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .game-shot {
    height: 285px;
  }
  .game-shot img {
    height: 400px;
  }
  .game-copy {
    padding-top: 20px;
  }
  .game-copy h2 {
    font-size: 30px;
  }
  .description {
    font-size: 16px;
    max-width: 40ch;
  }
  .game-copy .play-button {
    font-size: 15px;
  }
  .note {
    margin: 44px 0 32px;
    padding: 24px;
  }
  .footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}
