:root {
  color-scheme: dark;
  background: #142333;
  color: #fcf8ed;
  font: 100%/1.5 system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: radial-gradient(ellipse at 80% 0%, #273c50, transparent 60%); }
a { color: inherit; text-underline-offset: 0.24em; }
a:focus-visible { outline: 3px solid #f5b85e; outline-offset: 5px; }
.library-shell { width: min(calc(100% - 40px), 1120px); margin-inline: auto; }
header { padding: 26px 0 22px; border-bottom: 1px solid #465666; }
.identity { font-weight: 680; text-decoration: none; }
.intro { padding: clamp(36px, 8vw, 90px) 0 clamp(24px, 4vw, 48px); }
h1, h2 { margin: 0; font-family: Georgia, serif; line-height: 0.98; font-weight: 500; }
h1 { font-size: clamp(4.25rem, 12vw, 8.5rem); letter-spacing: -0.065em; }
.intro p { color: #d0dbe5; font-size: clamp(1rem, 2vw, 1.25rem); margin: 17px 0 0; }
.games { display: grid; gap: 20px; }
.game-card { display: grid; grid-template-columns: 0.9fr 1.1fr; min-height: 335px; overflow: hidden; border-radius: 20px; background: #f7f0df; color: #172b3e; }
.game-copy { align-self: center; padding: clamp(24px, 5vw, 55px); }
.genre { margin: 0 0 14px; font-size: 0.78rem; font-weight: 750; text-transform: uppercase; letter-spacing: 0.11em; color: #345570; }
h2 { font-size: clamp(2.65rem, 6vw, 5.25rem); letter-spacing: -0.05em; }
.game-copy h2 + p { max-width: 36ch; margin: 14px 0 24px; }
.play { display: inline-flex; align-items: center; gap: 18px; padding: 11px 16px; border-radius: 8px; color: #fff; background: #254c82; text-decoration: none; font-weight: 700; }
.play:hover { background: #183762; }
.play:focus-visible { outline-color: #183762; }
.artwork { position: relative; display: grid; place-items: center; isolation: isolate; min-height: 240px; background: radial-gradient(ellipse at 50% 55%, #476a85, #233b56 80%); }
.artwork img { position: absolute; display: block; width: min(40%, 232px); height: auto; border: 5px solid #f9f2dd; border-radius: 14px; box-shadow: 0 12px 28px #10263880; }
.artwork img:first-child { transform: translate(-63%, 9%) rotate(-16deg); }
.artwork img:nth-child(2) { transform: translate(62%, 5%) rotate(15deg); }
.artwork img:last-child { transform: translateY(-5%) rotate(-3deg); }
footer { display: flex; gap: 20px; margin-top: 30px; padding: 18px 0 32px; color: #d0dbe5; border-top: 1px solid #465666; font-size: 0.9rem; }
@media (max-width: 690px) {
  .game-card { grid-template-columns: 1fr; }
  .artwork { grid-row: 1; min-height: clamp(190px, 50vw, 295px); }
}
