:root {
  color-scheme: dark;
  font-family: system-ui, sans-serif;
  background: #10191c;
  color: #f1f7f5;
}
* { box-sizing: border-box; }
body { margin: 0; }
main { width: min(62rem, 100% - 2rem); margin: clamp(2rem, 8vw, 6rem) auto; }
header { margin-bottom: 2rem; }
.brand { color: #8bd1bb; font-weight: 800; letter-spacing: .22em; margin: 0; }
h1 { margin: .2em 0 0; font-size: clamp(3rem, 8vw, 6rem); line-height: 1; }
.games { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: 1.25rem; }
.game { display: flex; flex-direction: column; overflow: hidden; border: 1px solid #3b5054; border-radius: 1.25rem; background: #18262a; }
.scene { display: grid; place-items: center; aspect-ratio: 2.4; font-size: clamp(3rem, 9vw, 5rem); }
.valley .scene { background: linear-gradient(160deg, #43341d, #695124); }
.island .scene { background: linear-gradient(160deg, #143843, #236670); }
.details { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 1.5rem; }
h2 { margin: 0; font-size: 1.5rem; }
.details p { color: #c3d3d0; line-height: 1.55; margin: .55rem 0 1.3rem; }
a { margin-top: auto; padding: .65rem 1.15rem; border-radius: .6rem; color: #10191c; background: #a9e3cb; font-weight: 750; text-decoration: none; }
.valley a { background: #f5d485; }
a:hover { filter: brightness(1.12); }
a:focus-visible { outline: 2px solid white; outline-offset: 4px; }
