:root {
  color-scheme: dark;
  font-family: Arial, Helvetica, sans-serif;
  background: #05070a;
  color: #f5f7fa;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
}

body {
  background:
    linear-gradient(rgba(5, 7, 10, 0.72), rgba(5, 7, 10, 0.9)),
    url("assets/games-bg.svg") center / cover fixed,
    #05070a;
}

.page {
  width: min(960px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 56px 0;
}

.hero {
  min-height: 32vh;
  display: grid;
  align-content: end;
  padding-bottom: 32px;
}

.eyebrow {
  margin: 0 0 10px;
  color: #f2512f;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 12px;
  font-size: 48px;
  line-height: 1;
}

.hero p {
  max-width: 620px;
  color: #c9d1d9;
  font-size: 18px;
  line-height: 1.5;
}

.games {
  display: grid;
  gap: 18px;
}

.game-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 24px;
  background: rgba(8, 12, 18, 0.82);
  box-shadow: 0 0 48px rgba(242, 81, 47, 0.14);
}

.game-card h2 {
  margin-bottom: 8px;
  font-size: 30px;
}

.game-card p {
  margin-bottom: 0;
  color: #c9d1d9;
  line-height: 1.5;
}

.game-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  max-width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  background: #f2512f;
  color: #05070a;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.game-card a:focus-visible {
  outline: 3px solid #f5f7fa;
  outline-offset: 4px;
}

@media (max-width: 680px) {
  .page {
    padding-top: 36px;
  }

  h1 {
    font-size: 38px;
  }

  .game-card {
    grid-template-columns: 1fr;
  }

  .game-card a {
    width: 100%;
  }
}
