:root {
  color-scheme: dark;
  font-family: Inter, "Segoe UI", sans-serif;
  background: #111411;
  color: #f3f5ed;
  --lime: #d1fa79;
  --muted: #b5bcb0;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #fff; outline-offset: 5px; }
.shell { width: min(100% - 3rem, 76rem); margin-inline: auto; }
.topbar, .footer { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.topbar { min-height: 4.75rem; border-bottom: 1px solid #333a30; }
.brand, .nav-link { text-decoration: none; }
.brand { display: inline-flex; align-items: center; gap: .4rem; font: 750 .88rem ui-monospace, Consolas, monospace; letter-spacing: .08em; }
.brand-icon { width: .8rem; height: .8rem; margin-right: .4rem; background: var(--lime); clip-path: polygon(0 0,100% 0,100% 65%,65% 100%,0 100%); }
.brand-muted, .nav-link { color: var(--muted); }
.nav-link { font-size: .875rem; }
.nav-link:hover { color: #fff; }
.intro { padding-block: clamp(2.6rem, 6vw, 5rem) clamp(2rem, 4vw, 3rem); }
h1, h2, p { margin: 0; }
h1 { font-size: clamp(3rem, 8vw, 7rem); font-weight: 850; line-height: .93; letter-spacing: -.085em; }
h1 span { color: var(--lime); }
.intro p { margin-top: 1.3rem; max-width: 33rem; color: var(--muted); line-height: 1.65; }
.games { display: grid; grid-template-columns: 1.17fr 1fr; gap: 1rem; }
.game { isolation: isolate; position: relative; display: flex; align-items: end; min-height: clamp(26rem, 41vw, 34rem); overflow: hidden; border: 1px solid #424b3e; border-radius: .9rem; background: #1b2923; }
.game img, .game::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.game img { z-index: -2; object-fit: cover; object-position: center 40%; }
.game::after { z-index: -1; content: ""; background: linear-gradient(0deg,#0b100e 1%,#0b100ef2 18%,#0b100e94 47%,transparent 84%); }
.solace { background: #252037; border-color: #494054; }
.solace::after { background: linear-gradient(0deg,#120f1c 1%,#120f1cf2 18%,#120f1c94 47%,transparent 84%); }
.game-content { padding: clamp(1.35rem, 3vw, 2.35rem); }
.genre { color: var(--lime); font: 700 .875rem ui-monospace, Consolas, monospace; text-transform: uppercase; letter-spacing: .1em; }
.solace .genre { color: #e1c9ff; }
h2 { margin-top: .5rem; font-size: clamp(2.4rem, 5vw, 4.5rem); line-height: 1; letter-spacing: -.07em; }
.description { margin-top: .85rem; max-width: 30rem; color: #d8ddd6; line-height: 1.5; }
.play { display: inline-flex; align-items: center; justify-content: center; min-height: 2.85rem; margin-top: 1.4rem; padding: .58rem 1.2rem; border: 1px solid transparent; border-radius: .36rem; background: var(--lime); color: #12180c; text-decoration: none; font-weight: 750; }
.play:hover { background: #e4ffa9; }
.solace .play { color: #1c1428; background: #e1c9ff; }
.solace .play:hover { background: #f1e3ff; }
.footer { margin-top: 2.4rem; padding-block: 1.2rem; border-top: 1px solid #333a30; color: var(--muted); font-size: .875rem; }
@media (max-width: 46rem) {
  .shell { width: calc(100% - 2rem); }
  .games { grid-template-columns: 1fr; }
  .game { min-height: 24rem; }
}
@media (max-width: 22rem) {
  .brand { letter-spacing: 0; }
  .footer { flex-wrap: wrap; }
}
