body, p, h1, h2, h3 {
  margin: 0;
}

html {
  -webkit-text-size-adjust: none;
  -moz-text-size-adjust: none;
}

body {
  min-height: 100vh;
  background: #0e0f11 url("../img/home-texture.jpg") center/cover no-repeat fixed;
  color: #e9e8e4;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

* {
  box-sizing: border-box;
  text-decoration: none;
}
*:focus-visible {
  outline: 2px solid #ff5c5f;
  outline-offset: 2px;
}

a {
  color: #ff5c5f;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

main.container {
  padding-bottom: 24px;
}

section {
  padding: 34px 0 6px;
}
section h2 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #97999e;
  margin-bottom: 16px;
}
section p {
  color: #d6d4cf;
}
section p a {
  text-decoration: underline;
}

.hero {
  text-align: center;
  padding: 64px 0 26px;
}
.hero .mark {
  width: 100%;
  max-width: 340px;
  height: auto;
}
.hero .tagline {
  margin: 22px auto 0;
  color: #97999e;
  font-size: 17px;
  line-height: 1.65;
}

.games .cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.games .card {
  display: flex;
  align-items: stretch;
  gap: 0;
  background: #16171a;
  border: 1px solid #26272b;
  border-radius: 8px;
  overflow: hidden;
  color: #e9e8e4;
  transition: border-color 0.15s ease, transform 0.1s ease;
}
.games .card:hover {
  border-color: #4a4b52;
  transform: translateY(-1px);
}
.games .card .thumb {
  flex: 0 0 42%;
  aspect-ratio: 16/9;
  display: block;
}
.games .card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.games .card .meta {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 20px 24px;
}
.games .card .status {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ff5c5f;
}
.games .card .title {
  font-size: 22px;
  font-weight: 750;
  line-height: 1.2;
  color: #fff;
}
.games .card .blurb {
  font-size: 14.5px;
  color: #97999e;
  line-height: 1.55;
}

@media (max-width: 640px) {
  .hero {
    padding-top: 44px;
  }
  .hero .mark {
    max-width: 260px;
  }
  .games .card {
    flex-direction: column;
  }
  .games .card .thumb {
    flex: none;
  }
}
.press-head {
  padding-top: 48px;
}
.press-head h1 {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #fff;
  margin-bottom: 12px;
}
.press-head p {
  color: #97999e;
}

.press-games .rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.press-games .row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  background: #16171a;
  border: 1px solid #26272b;
  border-radius: 8px;
  padding: 16px 20px;
}
.press-games .row .meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 240px;
  flex: 1 1 auto;
}
.press-games .row .status {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ff5c5f;
}
.press-games .row .title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}
.press-games .row .links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.press-games .row .btn {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: #e9e8e4;
  background: #1d1e22;
  border: 1px solid #26272b;
  border-radius: 6px;
  padding: 8px 14px;
  transition: border-color 0.15s ease;
}
.press-games .row .btn:hover {
  border-color: #4a4b52;
}
.press-games .row .btn.primary {
  background: #c1121f;
  border-color: #c1121f;
  color: #fff;
}

.news-list .items, .latest-news .items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.news-item {
  display: flex;
  align-items: stretch;
  background: #16171a;
  border: 1px solid #26272b;
  border-radius: 8px;
  overflow: hidden;
  color: #e9e8e4;
  transition: border-color 0.15s ease, transform 0.1s ease;
}
.news-item:hover {
  border-color: #4a4b52;
  transform: translateY(-1px);
}
.news-item .thumb {
  flex: 0 0 236px;
  display: block;
}
.news-item .thumb img {
  width: 100%;
  height: 100%;
  min-height: 120px;
  object-fit: cover;
  display: block;
}
.news-item .body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 16px 20px;
}
.news-item .head {
  display: flex;
  gap: 10px;
  align-items: baseline;
  flex-wrap: wrap;
}
.news-item .game {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ff5c5f;
}
.news-item .date {
  font-size: 12px;
  color: #97999e;
  font-variant-numeric: tabular-nums;
}
.news-item .title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}
.news-item .excerpt {
  font-size: 14px;
  color: #97999e;
  line-height: 1.55;
}

.news-list .empty {
  color: #97999e;
}
.news-list .empty a {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .news-item {
    flex-direction: column;
  }
  .news-item .thumb {
    flex: none;
  }
  .news-item .thumb img {
    height: auto;
    aspect-ratio: 16/9;
    min-height: 0;
  }
  .news-item .body {
    padding: 14px 16px;
  }
}
.latest-news h2 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.latest-news h2 .all {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #ff5c5f;
  text-transform: none;
}

.steam-widgets .widgets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.steam-widgets .widgets iframe {
  width: 100%;
  height: 190px;
  display: block;
  border: 0;
  border-radius: 8px;
}

@media (max-width: 860px) {
  .steam-widgets .widgets {
    grid-template-columns: 1fr;
  }
}
.about-timeline {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.about-timeline .row {
  display: flex;
  gap: 18px;
  background: #16171a;
  border: 1px solid #26272b;
  border-radius: 8px;
  padding: 14px 18px;
}
.about-timeline .year {
  flex: 0 0 52px;
  font-weight: 800;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.about-timeline .what {
  color: #d6d4cf;
}

footer {
  border-top: 1px solid #26272b;
  margin-top: 40px;
  padding: 20px 0 24px;
  background: #000;
}

.footer-in {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}
.footer-in p {
  font-size: 13px;
  color: #97999e;
}