/* Shared shell: replace --hero-image per release; the contrast layers stay shared. */
:root {
  --page-surface: #fff;
  --content-surface: #f6f8fa;
  --content-hover: #eef3f6;
  --content-accent: #f3f7f0;
  --content-line: #e3e9ed;
  --hero-position: center 38%;
  --hero-position-mobile: 56% top;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

html,
body {
  background: var(--page-surface);
}

.toast,
.toast.visible {
  transform: translateX(-50%);
}

.toast {
  transition: opacity .15s;
}

.site-header {
  color: #f5f7f8;
  background: #1b252c;
  border-bottom: 1px solid #344048;
  box-shadow: 0 3px 18px rgba(8, 18, 24, .19);
}

.site-header .brand,
.site-header .primary-nav,
.site-header .header-actions {
  color: #f5f7f8;
}

.site-header .brand-description {
  color: #aab7bf;
  border-left-color: #4b5962;
}

.site-header button:hover,
.site-header a:hover {
  color: var(--lime);
}

.site-header .icon-button:hover {
  background: rgba(255, 255, 255, .11);
}

.site-header .search {
  color: #d9e1e5;
  background: #29353d;
  border-color: #43515b;
}

.site-header .search input {
  color: #fff;
}

.site-header .search input::placeholder,
.site-header .search kbd {
  color: #b2bec6;
}

.site-header .search:focus-within {
  border-color: #a7d563;
  box-shadow: 0 0 0 3px rgba(173, 234, 0, .16);
}

.hero-backdrop {
  height: 600px;
  overflow: hidden;
  background: var(--page-surface);
}

.hero-backdrop::before,
.hero-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-backdrop::before {
  background-image: var(--hero-image);
  background-position: var(--hero-position);
  background-size: cover;
  background-repeat: no-repeat;
  filter: saturate(1.08) contrast(1.03);
}

.hero-backdrop::after {
  background:
    linear-gradient(to bottom,
      transparent 0%,
      transparent 43%,
      rgba(255, 255, 255, .2) 52%,
      rgba(255, 255, 255, .72) 60%,
      rgba(255, 255, 255, .96) 68%,
      var(--page-surface) 76%),
    linear-gradient(to right,
      rgba(255, 255, 255, .97) 0%,
      rgba(255, 255, 255, .87) 25%,
      rgba(255, 255, 255, .65) 49%,
      rgba(255, 255, 255, .1) 71%,
      transparent 86%);
}

.main-column {
  container-type: inline-size;
}

.game-intro {
  position: relative;
  z-index: 2;
  min-height: 390px;
}

.game-intro h1 {
  font-size: clamp(45px, 5.1vw, 76px);
  font-size: clamp(45px, 11cqw, 90px);
  line-height: .96;
  letter-spacing: -.055em;
  white-space: nowrap;
  margin: 13px 0 8px;
  text-shadow: 0 1px 18px rgba(255, 255, 255, .7);
}

.hero-title-break {
  display: none;
}

.game-description {
  max-width: min(100%, 690px);
  margin-top: 13px;
  color: #1b2833;
  font-size: clamp(15px, 2.9cqw, 18px);
  line-height: 1.35;
  white-space: normal;
  text-shadow: 0 1px 12px rgba(255, 255, 255, .85);
}

.hero-utility {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 26px;
  row-gap: 10px;
  margin-top: 18px;
}

.hero-utility .game-meta,
.hero-utility .hero-actions {
  margin-top: 0;
}

.hero-utility .game-meta {
  gap: 11px;
  flex-wrap: nowrap;
}

.hero-utility .hero-genre {
  margin-left: 3px;
  padding-left: 16px;
  border-left: 1px solid #9dacb8;
  color: #4c6171;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .045em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-genre > span {
  margin: 0 5px;
}

.hero-utility .trailer-button {
  gap: 9px;
}

.hero-utility .play-circle {
  width: 32px;
  height: 32px;
}

.hero-utility .play-circle .icon {
  width: 19px;
  height: 19px;
}

.release-content {
  position: relative;
  z-index: 1;
}

.tabs button {
  color: #34415a;
}

@media (max-width: 900px) {
  .hero-backdrop {
    height: 505px;
  }

  .hero-backdrop::before {
    background-position: var(--hero-position-mobile);
  }

  .hero-backdrop::after {
    background:
      linear-gradient(to bottom, transparent 0%, transparent 43%, rgba(255, 255, 255, .5) 59%, var(--page-surface) 78%),
      linear-gradient(to right, rgba(255, 255, 255, .94), rgba(255, 255, 255, .82) 29%, rgba(255, 255, 255, .42) 78%);
  }

  .game-intro {
    min-height: 365px;
  }

  .game-intro h1 {
    font-size: clamp(58px, 7vw, 70px);
  }

  .game-description {
    font-size: 16px;
  }
}

@media (max-width: 700px) {
  .hero-title-break {
    display: block;
  }

  .game-intro h1 {
    font-size: clamp(50px, 9vw, 64px);
    white-space: normal;
  }

  .game-description {
    max-width: min(100%, 480px);
    white-space: normal;
  }
}

@media (max-width: 540px) {
  .hero-utility {
    column-gap: 16px;
  }

  .hero-utility .game-meta {
    gap: 7px;
  }

  .hero-utility .hero-genre {
    margin-left: 0;
    padding-left: 10px;
    font-size: 10px;
    letter-spacing: .02em;
  }

  .site-header .search {
    gap: 0;
    padding: 0 4px;
    background: transparent;
    border-color: transparent;
  }

  .site-header .search:focus-within {
    gap: 12px;
    padding: 0 8px;
    background: #29353d;
    border-color: #a7d563;
  }

  .site-header .search:focus-within + .header-actions {
    margin-left: auto;
  }

  .hero-backdrop {
    height: 465px;
  }

  .game-intro {
    min-height: 357px;
  }

  .game-intro h1 {
    font-size: 55px;
  }

  .game-description {
    font-size: 14px;
    max-width: 100%;
  }

}
