:root {
  --ink: #0b0b0d;
  --paper: #f3ecdd;
  --red: #ff4e38;
  --yellow: #ffd43b;
  --blue: #3972ff;
  --lime: #b9f05a;
  --muted: #7d776e;
  --line: rgba(11, 11, 13, .18);
  --radius: 10px;
}

body {
  background-color: var(--paper);
  background-image:
    radial-gradient(rgba(11, 11, 13, .045) .7px, transparent .8px),
    linear-gradient(90deg, rgba(255, 255, 255, .12), transparent 35%, rgba(11, 11, 13, .018));
  background-size: 5px 5px, 100% 100%;
}

.hero {
  min-height: 680px;
  height: 82svh;
  max-height: 820px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0 0 0 52%;
  pointer-events: none;
  opacity: .18;
  background-image: radial-gradient(rgba(255, 255, 255, .34) 1px, transparent 1.3px);
  background-size: 9px 9px;
  mask-image: linear-gradient(115deg, transparent 8%, #000 54%, transparent 94%);
}

.hero h1 {
  letter-spacing: -.045em;
}

.hero-intro {
  max-width: 500px;
}

.hero .button,
.spotlight-actions .button,
.game-links .button,
.catalog-card__actions .button {
  border-radius: 4px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.marquee {
  height: 54px;
}

.section {
  padding-block: 105px;
}

.section-heading,
.catalog-heading {
  position: relative;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.section-heading::after,
.catalog-heading::after {
  content: "+";
  position: absolute;
  right: 0;
  top: -17px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  font-weight: 900;
}

.section-heading h2,
.catalog-heading h3,
.studio-copy h2,
.next-card h2,
.contact-row h2 {
  letter-spacing: -.035em;
}

.eyebrow {
  letter-spacing: .2em;
}

.release-spotlight {
  --game-accent: var(--yellow);
  --game-accent-ink: var(--ink);
  min-height: 680px;
  border-block: 1px solid rgba(255, 255, 255, .14);
  background-color: #0b0b0d;
  background-image: radial-gradient(rgba(255, 255, 255, .055) .8px, transparent 1px);
  background-size: 8px 8px;
}

.release-spotlight__media,
.release-spotlight__media > img,
.release-spotlight__media > video {
  min-height: 600px;
}

.release-spotlight__copy {
  padding-block: 64px;
}

.release-spotlight__copy h2 {
  letter-spacing: -.045em;
}

.release-spotlight .eyebrow span,
.spotlight-role {
  background: transparent;
  color: var(--game-accent);
}

.release-spotlight .eyebrow span {
  background: var(--game-accent);
}

.release-spotlight .button-primary,
.spotlight-play,
.spotlight-tabs button.active {
  background: var(--game-accent);
  color: var(--game-accent-ink);
}

.spotlight-play span {
  background: var(--game-accent-ink);
  color: var(--game-accent);
}

.spotlight-status {
  border: 1px solid var(--game-accent);
  border-radius: 3px;
  background: rgba(11, 11, 13, .82);
  color: var(--game-accent);
}

.spotlight-controls button {
  border-radius: 3px;
}

.spotlight-controls button:hover,
.spotlight-controls button:focus-visible {
  border-color: var(--game-accent);
  color: var(--game-accent);
}

.spotlight-tabs {
  border-bottom: 5px solid var(--game-accent);
}

.spotlight-tabs button {
  transition: background-color .3s, color .3s;
}

.featured-game {
  border-radius: var(--radius);
  box-shadow: 0 18px 45px rgba(20, 16, 8, .08);
}

.game-label,
.status-pill {
  border-radius: 3px;
}

.catalog-heading {
  margin-top: 110px;
}

.catalog-heading h3 {
  max-width: 900px;
  font-size: clamp(3rem, 6.4vw, 6rem);
}

.game-catalog {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 45px;
}

.catalog-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(11, 11, 13, .22);
  border-radius: 12px;
  background-color: rgba(255, 255, 255, .72);
  background-image: radial-gradient(rgba(11, 11, 13, .032) .7px, transparent .8px);
  background-size: 5px 5px;
  box-shadow: 7px 8px 0 rgba(11, 11, 13, .08);
  transition: transform .25s ease, box-shadow .25s ease;
}

.catalog-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: 4;
  height: 7px;
  background: var(--card-accent);
}

.catalog-card::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 34px;
  height: 34px;
  opacity: .1;
  background: conic-gradient(var(--ink) 25%, transparent 0 50%, var(--ink) 0 75%, transparent 0) 0 0 / 10px 10px;
  pointer-events: none;
}

.catalog-card:hover {
  transform: translateY(-5px);
  box-shadow: 10px 13px 0 rgba(11, 11, 13, .11);
}

.catalog-card__image {
  width: 100%;
  min-height: 0;
  aspect-ratio: 616 / 353;
  border-bottom: 1px solid var(--line);
}

.catalog-card__image img {
  object-fit: contain;
}

.catalog-card__body {
  flex: 1;
  min-height: 340px;
  justify-content: flex-start;
  padding: 34px;
}

.catalog-card h4 {
  max-width: 520px;
  font: clamp(2rem, 3.3vw, 3.25rem)/.92 Impact, "Arial Black", sans-serif;
  letter-spacing: -.025em;
  text-transform: uppercase;
}

.catalog-card__genre {
  color: var(--card-accent);
}

.catalog-card__role {
  border-top-color: var(--line);
}

.catalog-card .status-pill {
  background: var(--card-accent);
  color: var(--card-accent-ink);
}

.catalog-card__actions {
  margin-top: auto;
  padding-top: 20px;
}

.studio-section {
  position: relative;
  overflow: hidden;
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(11, 11, 13, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 11, 13, .045) 1px, transparent 1px);
  background-size: 34px 34px;
  border-block: 1px solid var(--line);
}

.studio-section::after {
  content: "MD";
  position: absolute;
  right: -3vw;
  bottom: -7vw;
  color: transparent;
  -webkit-text-stroke: 2px rgba(11, 11, 13, .07);
  font: 38vw/.7 Impact, "Arial Black", sans-serif;
  pointer-events: none;
}

.studio-section > * {
  position: relative;
  z-index: 1;
}

.platform-credentials {
  border-radius: 6px;
  background: rgba(255, 255, 255, .38);
}

.platform-credentials li {
  border-radius: 3px;
}

.gallery-section {
  background-color: #ded8cb;
  background-image: repeating-linear-gradient(135deg, transparent 0 13px, rgba(11, 11, 13, .025) 13px 14px);
}

.gallery-card,
.gallery-focus,
.gallery-previews button {
  border-radius: 6px;
}

.article-grid {
  gap: 16px;
}

.article-card {
  border-radius: 6px;
  box-shadow: none;
}

.next-section {
  background: var(--blue);
}

.next-card {
  border-radius: 8px;
  background: repeating-linear-gradient(135deg, transparent 0 38px, rgba(255, 255, 255, .055) 38px 40px);
}

.newsletter-form input,
.newsletter-form button {
  border-radius: 4px;
}

.contact-section,
footer {
  background: var(--ink);
}

.email-link {
  border-color: var(--blue);
}

@media (max-width: 1000px) {
  .catalog-card__body {
    min-height: 320px;
    padding: 30px;
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: 820px;
    height: auto;
    max-height: none;
  }

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

  .catalog-card__body {
    min-height: 0;
  }
}

@media (max-width: 600px) {
  .hero {
    min-height: 780px;
  }

  .section {
    padding-block: 78px;
  }

  .release-spotlight__copy h2 {
    font-size: 3.45rem;
  }

  .catalog-heading {
    margin-top: 80px;
  }

  .catalog-heading h3 {
    font-size: 2.9rem;
  }

  .catalog-card h4 {
    font-size: 2.35rem;
  }

  .catalog-card__body {
    padding: 28px 20px 32px;
  }
}
