@font-face {
  font-family: Onest;
  src: url("onest.woff2") format("woff2"), url("onest.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  font-family: Onest, system-ui, sans-serif;
  background: #0b0a0e;
  color: #f5f3f8;
  --background: #0b0a0e;
  --panel: #131117;
  --muted: #b8b3bf;
  --accent: #b29aff;
  --line: #2c2734;
  --page: 1280px;
  --gutter: clamp(20px, 4.45vw, 76px);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; }
main:focus { outline: none; }
img, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p, figure { margin: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
::selection { color: #100d15; background: var(--accent); }

.wrap {
  width: min(var(--page), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}
.sr-only, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link:focus {
  position: fixed;
  z-index: 10;
  padding: 12px;
  background: #fff;
  color: #17111d;
  inset: 8px auto auto 8px;
}

.header {
  position: relative;
  z-index: 2;
  background: #0d0b10;
  border-bottom: 1px solid #2a252e;
}
.header-inner {
  width: min(1570px, calc(100% - var(--gutter) * 2));
  margin: auto;
  min-height: 73px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 26px;
}
.wordmark { display: inline-flex; width: fit-content; flex-shrink: 0; }
.wordmark img { width: 111px; }
.primary-nav { display: flex; gap: clamp(25px, 3.3vw, 52px); }
.primary-nav a {
  padding: 26px 0;
  position: relative;
  color: #ddd8e3;
  font-size: 14px;
  font-weight: 570;
}
.primary-nav a:hover, .primary-nav [aria-current] { color: #fff; }
.primary-nav a:hover::after, .primary-nav [aria-current]::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px;
  height: 2px;
  background: var(--accent);
}
.header-steam {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 9px 13px;
  border: 1px solid #443b51;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 590;
  white-space: nowrap;
}
.header-steam span { color: var(--accent); }
.header-steam:hover { border-color: var(--accent); }
.menu-toggle { display: none; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 2.22fr) minmax(310px, 1fr);
  background: #100e14;
  border-bottom: 1px solid var(--line);
}
.hero-media {
  display: grid;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(470px, 43vw, 700px);
  background: #17171d;
}
.hero-media img, .hero-media::after { grid-area: 1 / 1; }
.hero-media img {
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
  object-position: center 42%;
  animation: slide-in 380ms ease-out both;
}
.hero-media .hero-panorama { object-fit: contain; object-position: center; }
.hero-media::after {
  content: "";
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 77%, #0e0b1240), linear-gradient(0deg, #0c0a104a, transparent 23%);
}
.hero-panel {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  padding: clamp(27px, 3.65vw, 66px);
  border-left: 1px solid #2b2230;
  background: radial-gradient(ellipse at 10% 0%, #211727 0%, #15111a 45%, #100e14 76%);
}
.hero-copy { align-self: center; padding-bottom: 14px; }
.kicker {
  color: var(--accent);
  font-size: 11px;
  font-weight: 680;
  letter-spacing: .13em;
  line-height: 1.45;
  text-transform: uppercase;
}
.status { display: flex; align-items: center; gap: 8px; }
.status::before {
  content: "";
  flex: 0 0 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.hero-copy h1 { margin: 11px 0 15px -9px; }
.game-logo { width: min(100%, 330px); object-fit: contain; }
.hero-title {
  font-size: clamp(31px, 3.3vw, 62px);
  font-weight: 530;
  letter-spacing: -.035em;
  line-height: .99;
  text-wrap: balance;
}
h2.hero-title { margin-top: 16px; }
.hero-description {
  max-width: 33ch;
  margin-top: 16px;
  color: var(--muted);
  font-size: clamp(14px, 1.16vw, 17px);
  line-height: 1.58;
}
.hero-actions { display: flex; align-items: flex-start; flex-direction: column; gap: 17px; margin-top: 28px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 47px;
  padding: 0 18px;
  width: fit-content;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 670;
  transition: background-color 160ms, color 160ms, border-color 160ms;
}
.button-primary { background: #f4f0fa; color: #141018; }
.button-primary:hover { background: var(--accent); }
.button-outline { border-color: #777080; background: #100e16b0; }
.button-outline:hover { background: #292131; border-color: var(--accent); }
.play-icon {
  width: 0;
  height: 0;
  border-block: 5px solid transparent;
  border-left: 8px solid currentColor;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  font-size: 14px;
  font-weight: 620;
  line-height: 1.45;
}
.text-link span { color: var(--accent); transition: transform 180ms; }
.text-link:hover span { transform: translateX(3px); }
.text-link:hover { color: var(--accent); }
.hero-controls {
  align-self: end;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 10px;
}
.hero-controls > button {
  width: 37px;
  height: 37px;
  border: 1px solid #453a4d;
  background: #19141f;
  border-radius: 4px;
}
.hero-controls > button:hover { border-color: var(--accent); }
.hero-dots { display: flex; gap: 2px; padding: 0 3px; }
.hero-dots button {
  display: grid;
  place-items: center;
  border: 0;
  width: 28px;
  height: 37px;
  padding: 0;
  background: transparent;
}
.hero-dots button::before {
  content: "";
  width: 19px;
  height: 3px;
  border-radius: 2px;
  background: #756983;
}
.hero-dots button[aria-pressed="true"]::before, .hero-dots button:hover::before { background: var(--accent); }
@keyframes slide-in { from { opacity: .55; } to { opacity: 1; } }

.news-section { padding-top: clamp(52px, 6vw, 91px); }
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 15px;
  margin-bottom: 23px;
}
.section-heading h2 {
  font-size: clamp(31px, 4.1vw, 61px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.038em;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(13px, 1.65vw, 24px);
}
.news-card {
  min-width: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: border-color 180ms, background-color 180ms;
}
.news-card:hover { border-color: #63547a; background: #19151f; }
.news-card > a { display: flex; height: 100%; flex-direction: column; border-radius: inherit; }
.card-image {
  aspect-ratio: 16 / 9;
  border-radius: 7px 7px 0 0;
  overflow: hidden;
  background: #211c27;
}
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 350ms; }
.news-card a:hover .card-image img { transform: scale(1.035); }
.card-body {
  position: relative;
  padding: clamp(18px, 2vw, 27px);
  padding-right: clamp(34px, 4vw, 58px);
  padding-bottom: 31px;
}
.card-body h3 { margin-top: 7px; font-size: clamp(20px, 2.25vw, 31px); line-height: 1.12; letter-spacing: -.051em; }
.card-body > p:last-of-type { margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.53; }
.card-arrow { position: absolute; top: 22px; right: 21px; color: var(--accent); font-size: 18px; }

.game-feature { padding-top: clamp(60px, 7vw, 105px); }
.feature-tile {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: clamp(335px, 44vw, 625px);
  overflow: hidden;
  background: #1b1720;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.feature-tile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature-tile > img { object-position: center 54%; transition: transform 400ms; z-index: -2; }
.feature-tile:hover > img { transform: scale(1.025); }
.feature-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #0c0a12f2, #0c0a1250 44%, transparent 75%), linear-gradient(0deg, #0c0a12db, transparent 54%);
}
.feature-content { padding: clamp(22px, 4.3vw, 63px); }
.feature-content .game-logo { width: min(250px, 53vw); margin-left: -7px; }
.feature-content p { color: #e2dbe7; font-size: 15px; margin: 6px 0 18px; }
.feature-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 21px; }

.news-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.news-filters button {
  border: 1px solid #493b58;
  border-radius: 4px;
  background: transparent;
  padding: 9px 12px;
  min-height: 39px;
  color: #d8cfe0;
  font-size: 13px;
  font-weight: 550;
}
.news-filters button:hover, .news-filters button[aria-pressed="true"] {
  background: #2e2240;
  border-color: #a082e8;
  color: #f6f0ff;
}
.footer { border-top: 1px solid var(--line); background: #0d0b10; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  min-height: 106px;
  gap: 15px 22px;
  padding-block: 20px;
}
.footer-inner p { color: var(--muted); font-size: 13px; }
.footer-socials { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.footer-social { display: inline-flex; gap: 7px; align-items: center; min-height: 36px; color: inherit; font-size: 13px; }
.footer-social:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-social svg { width: 20px; height: 20px; }


.interior-section, .article { padding-top: clamp(45px, 6vw, 88px); }
.interior-section, .related-section { padding-bottom: clamp(62px, 8vw, 114px); }
.interior-section h1, .article-heading h1 {
  margin: 9px 0 16px;
  font-size: clamp(48px, 8vw, 110px);
  line-height: .99;
  font-weight: 740;
  letter-spacing: -.075em;
  text-wrap: balance;
}
.page-description { color: var(--muted); max-width: 48ch; font-size: clamp(17px, 2vw, 23px); line-height: 1.55; }
.interior-section .news-grid { margin-top: 26px; }
.news-filters { margin-top: 26px; }
.article { max-width: 1040px; }
.article-heading { margin: 31px 0; }
.article-heading h1 { font-size: clamp(46px, 6vw, 86px); }
.article-image { width: 100%; max-height: 570px; object-fit: cover; border: 1px solid var(--line); border-radius: 8px; }
.article-text { max-width: 68ch; margin: 32px auto 64px; }
.article-text p { font-size: clamp(17px, 1.5vw, 20px); color: #d2cbd7; line-height: 1.76; margin-bottom: 19px; }
.article-text .text-link { margin-top: 9px; }
.related-section { max-width: 1040px; }
.related-section h2 { font-size: clamp(31px, 4vw, 45px); }
.related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.video-dialog {
  padding: 0;
  border: 1px solid #4a3d59;
  border-radius: 8px;
  width: min(94vw, 960px);
  max-height: calc(100dvh - 28px);
  color: #f6f0ff;
  background: #110d17;
}
.video-dialog::backdrop { background: #07050bdc; }
.video-top { display: flex; align-items: center; justify-content: space-between; padding: 9px 12px 9px 17px; gap: 15px; }
.video-top h2 { font-size: 16px; }
.video-top button { border: 1px solid #53435e; border-radius: 5px; width: 38px; height: 38px; background: #1b1424; font-size: 26px; line-height: 1; }
.video-frame video { width: 100%; max-height: calc(100dvh - 90px); background: #060509; }

@media (max-width: 1030px) {
  .hero { grid-template-columns: minmax(0, 1.65fr) minmax(300px, 1fr); }
  .hero-media { min-height: 480px; }
}

@media (max-width: 760px) {
  .header-inner { min-height: 62px; grid-template-columns: 1fr auto auto; gap: 12px; }
  .header-inner .wordmark img { width: 97px; }
  .header-steam { grid-column: 2; grid-row: 1; font-size: 12px; padding: 7px 8px; gap: 5px; }
  .primary-nav { grid-column: 1 / -1; justify-content: center; }
  .primary-nav a { padding: 13px 0; }
  .menu-toggle:not([hidden]) {
    display: flex;
    grid-column: 3;
    grid-row: 1;
    align-items: center;
    gap: 7px;
    padding: 7px 0 7px 5px;
    border: 0;
    background: transparent;
    font-size: 13px;
  }
  .menu-toggle span { width: 12px; height: 8px; border-block: 1px solid currentColor; }
  .menu-toggle:not([hidden]) + .primary-nav { display: none; }
  .menu-toggle:not([hidden]) + .menu-open { display: flex; border-top: 1px solid var(--line); }
  .hero { grid-template-columns: 1fr; }
  .hero-media { min-height: 0; aspect-ratio: 16 / 9; }
  .hero-panel { min-height: 315px; border-left: 0; border-top: 1px solid var(--line); padding: 22px var(--gutter); }
  .hero-copy { padding-bottom: 4px; }
  .hero-copy h1 { margin-block: 5px 8px; }
  .hero-copy .game-logo { width: 185px; }
  .hero-title { font-size: clamp(33px, 8vw, 48px); }
  .hero-description { margin-top: 10px; }
  .hero-actions { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 13px 18px; margin-top: 17px; }
  .hero-controls { margin-top: 19px; }
}

@media (max-width: 640px) {
  .news-grid, .related-grid { grid-template-columns: 1fr; gap: 16px; }
  .section-heading { align-items: flex-end; }
  .section-heading .text-link { flex-shrink: 0; font-size: 13px; }
  .article-text { margin-bottom: 43px; }
}

@media (max-width: 350px) {
  .header-inner { gap: 8px; }
  .header-steam { font-size: 11px; }
  .section-heading { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

