:root {
  color-scheme: dark;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #f7f4ef;
  background: #111a28;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  background: radial-gradient(ellipse at 48% 0%, #27374e 0%, transparent 64%), #111a28;
}
.home { width: min(1050px, 100%); padding: clamp(32px, 7vw, 88px) clamp(18px, 5vw, 56px); }
.home-heading { text-align: center; margin-bottom: clamp(24px, 5vw, 49px); }
.home-heading h1 {
  margin: 0;
  font-size: clamp(3rem, 9.5vw, 6.4rem);
  line-height: .96;
  letter-spacing: -.075em;
  font-weight: 780;
}
.home-heading h1 span { color: #ffc291; }
.home-heading p {
  margin: 16px 0 0;
  color: #d3dce8;
  font-size: clamp(1rem, 2vw, 1.18rem);
}
.catalogues { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 3vw, 26px); }
.catalogue {
  color: inherit;
  background: #1b2637;
  border: 1px solid #53617a;
  border-radius: 22px;
  overflow: hidden;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.catalogue-games { --accent: #bdcfff; }
.catalogue-lego { --accent: #ffd1a9; }
.catalogue:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 16px 32px #0005; }
.catalogue:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.catalogue-art { position: relative; overflow: hidden; aspect-ratio: 1.65; }
.game-covers {
  background: radial-gradient(ellipse at 50% 95%, #7187db, #3e528d 48%, #242e54 94%);
  isolation: isolate;
}
.game-covers img {
  position: absolute;
  width: 29%;
  height: 75%;
  object-fit: cover;
  left: 50%;
  bottom: -3%;
  border-radius: 7px;
  border: 1px solid #ffffff63;
  box-shadow: 0 14px 26px #0e162a99;
}
.game-covers img:first-child { transform: translateX(-119%) rotate(-14deg); }
.game-covers img:nth-child(2) { z-index: 1; bottom: 8%; transform: translateX(-50%) rotate(-3deg); }
.game-covers img:last-child { transform: translateX(25%) rotate(13deg); }
.lego-set {
  display: grid;
  place-items: center;
  background: radial-gradient(ellipse, #fff5e3, #ffd8aa 68%, #f6bc83);
}
.lego-set img {
  width: 88%;
  height: 100%;
  position: absolute;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.catalogue-caption { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px 20px; }
.catalogue-caption h2 { font-size: clamp(1.35rem, 3vw, 2rem); margin: 0; letter-spacing: -.035em; }
.catalogue-caption p { margin: 2px 0 0; color: #c9d4e4; }
.catalogue-arrow {
  display: grid;
  flex: 0 0 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #162033;
  font-size: 1.35rem;
  font-weight: 700;
}
@media (max-width: 720px) {

  .catalogues { grid-template-columns: 1fr; }
  .catalogue-art { aspect-ratio: 2.15; }
  .catalogue-caption { padding: 13px 15px 15px; }
}
@media (prefers-reduced-motion: reduce) { .catalogue { transition: none; } }

.catalogue-map { --accent: #a7e6d7; }
.map-art { background: #d3ebe3; }
.map-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.map-pin {
  position: absolute;
  left: 52%;
  top: 46%;
  width: 30px;
  height: 30px;
  transform: translate(-50%, -50%);
  border: 4px solid white;
  border-radius: 50%;
  background: #087c68;
  box-shadow: 0 0 0 8px #087c6840, 0 3px 8px #173a4180;
}
.map-credit {
  position: absolute;
  right: 7px;
  bottom: 6px;
  padding: 1px 5px;
  border-radius: 4px;
  background: #fffffff0;
  color: #23384a;
  font-size: .68rem;
}
