:root {
  --bg: #050607;
  --panel: #0d1013;
  --panel-strong: #14181d;
  --line: rgba(255, 255, 255, .08);
  --text: #f7f7f7;
  --muted: #a8adb5;
  --red: #ff2029;
  --red-deep: #8b0e14;
  --amber: #f6b24a;
  --green: #5bbf88;
  --cyan: #6dcce4;
  --shadow: 0 24px 90px rgba(0, 0, 0, .55);
  --display: Impact, "Arial Black", "Segoe UI Black", system-ui, sans-serif;
  --body: "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
} 

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 77% 18%, rgba(255, 32, 41, .22), transparent 28rem),
    radial-gradient(circle at 18% 80%, rgba(109, 204, 228, .09), transparent 24rem),
    var(--bg);
  font-family: var(--body);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.noise-field {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: .32;
  mix-blend-mode: screen;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(1rem, 3vw, 3rem);
  width: min(100% - 2rem, 1320px);
  min-height: 84px;
  margin: 0 auto;
  padding: .75rem 0;
  backdrop-filter: blur(18px);
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-width: 220px;
  min-height: 74px;
  color: #fff;
}

.brand::after {
  display: none;
}

.brand__logo {
  width: clamp(190px, 17vw, 242px);
  height: auto;
  max-height: 76px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 3vw, 3.6rem);
  color: #c8ccd2;
  font-family: var(--display);
  font-size: .98rem;
  text-transform: uppercase;
}

.main-nav a,
.footer-links a {
  transition: color .2s ease, transform .2s ease;
}

.main-nav a:hover,
.footer-links a:hover {
  color: var(--red);
}

.socials {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.socials a {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #c9cdd2;
  border: 1px solid transparent;
  border-radius: 8px;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}

.socials svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.socials a:hover {
  color: #fff;
  border-color: rgba(255, 32, 41, .55);
  background: rgba(255, 32, 41, .12);
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 5rem);
  width: min(100% - 2rem, 1320px);
  min-height: min(760px, 88svh);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 5.2rem) 0 clamp(2rem, 5vw, 5rem);
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -10vw 0 -10vw;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 32, 41, .55), transparent);
}

.hero__backdrop {
  position: absolute;
  inset: 3rem auto auto 50%;
  z-index: -1;
  color: rgba(255, 32, 41, .09);
  font-family: var(--display);
  font-size: clamp(6rem, 17vw, 15rem);
  line-height: .8;
  text-transform: uppercase;
  transform: translateX(-50%);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: 0;
}

.section-kicker {
  margin: 0 0 1rem;
  color: var(--red);
  font-family: var(--display);
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 1.35rem;
  font-size: clamp(3.35rem, 6.2vw, 6.6rem);
  line-height: .94;
  text-shadow: 0 8px 0 rgba(255, 255, 255, .08), 0 16px 36px rgba(0, 0, 0, .65);
}

h2 {
  margin-bottom: .75rem;
  font-size: clamp(2.1rem, 3.3vw, 3.5rem);
  line-height: 1;
}

h3 {
  margin-bottom: .45rem;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.02;
}

.hero__lead,
.section__header p,
.studio-strip p,
.site-footer p {
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.55;
}

.hero__lead {
  max-width: 650px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 162px;
  min-height: 56px;
  padding: .85rem 1.25rem;
  font-family: var(--display);
  font-size: 1rem;
  text-transform: uppercase;
  border: 1px solid var(--line);
  border-radius: 7px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  background: var(--red);
  border-color: var(--red);
  box-shadow: 0 16px 34px rgba(255, 32, 41, .28);
}

.button--ghost {
  background: rgba(255, 255, 255, .055);
}

.hero__art {
  position: relative;
  display: grid;
  align-items: center;
  min-height: clamp(420px, 52vw, 690px);
  padding: 0;
  background: none;
  border-radius: 8px;
  overflow: visible;
  box-shadow: none;
  transform: translateY(-24px) perspective(1100px) rotateY(-5deg) rotateX(2deg);
}

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

.hero__art::before {
  display: none;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5, 6, 7, .2), transparent 35%),
    radial-gradient(circle at 50% 80%, rgba(255, 32, 41, .16), transparent 45%);
}

.hero__art::after {
  display: none;
}

.hero-showcase {
  position: relative;
  z-index: 2;
  min-height: clamp(390px, 47vw, 620px);
  isolation: isolate;
  perspective: 1200px;
  transform-style: preserve-3d;
}

.hero-game {
  position: absolute;
  left: 50%;
  top: 45%;
  margin: 0;
  width: min(78%, 730px);
  aspect-ratio: 16 / 9;
  background: #020304;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 30px 82px rgba(0, 0, 0, .62), 0 0 36px rgba(255, 32, 41, .16);
  backface-visibility: hidden;
  transform-origin: center;
  transform-style: preserve-3d;
  will-change: transform, opacity;
  transition:
    transform 1.05s cubic-bezier(.22, 1, .36, 1),
    opacity .65s ease;
}

.hero-game::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, .32);
  opacity: .82;
  pointer-events: none;
  transition: opacity .65s ease;
}

.hero-game.is-front {
  z-index: 4;
  transform: translate3d(-50%, -50%, 100px) rotate(0deg) rotateY(0deg) scale(1);
  opacity: 1;
}

.hero-game.is-front::after {
  opacity: 0;
}

.hero-game.is-back-left {
  z-index: 2;
  transform: translate3d(-86%, -47%, -80px) rotate(-8deg) rotateY(13deg) scale(.78);
  opacity: .92;
}

.hero-game.is-back-right {
  z-index: 1;
  transform: translate3d(-14%, -47%, -90px) rotate(8deg) rotateY(-13deg) scale(.78);
  opacity: .9;
}

.hero-game img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.section,
.values,
.studio-strip,
.site-footer {
  width: min(100% - 2rem, 1320px);
  margin: 0 auto;
}

.section {
  padding: clamp(2.3rem, 5vw, 5rem) 0 1.35rem;
}

.section__header {
  max-width: 760px;
  margin-bottom: 1.35rem;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.game-card,
.value-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .025));
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.game-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
}

.game-card__cover {
  aspect-ratio: 16 / 9;
  background-color: var(--panel-strong);
  overflow: hidden;
}

.game-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.08) contrast(1.08);
  transition: transform .35s ease, filter .35s ease;
}

.game-card:hover .game-card__cover img {
  transform: scale(1.04);
  filter: saturate(1.15) contrast(1.1);
}

.game-card__body {
  display: flex;
  min-width: 0;
  min-height: 245px;
  flex-direction: column;
  padding: clamp(1.1rem, 2vw, 1.65rem);
}

.game-card__body p {
  color: var(--muted);
  line-height: 1.48;
}

.game-card__genre {
  margin-bottom: .9rem;
  color: var(--red) !important;
  font-weight: 800;
}

.game-card a {
  width: fit-content;
  margin-top: auto;
  color: #fff;
  font-weight: 800;
}

.game-card a span {
  color: var(--red);
  margin-left: .25rem;
}

.values {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding: 1rem 0 clamp(2.5rem, 6vw, 5rem);
}

.value-card {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 1rem;
  align-items: center;
  min-height: 126px;
  padding: 1.35rem;
}

.value-card svg {
  width: 52px;
  height: 52px;
  color: var(--red);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.value-card h3 {
  margin-bottom: .35rem;
  font-size: 1.05rem;
}

.value-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.45;
}

.studio-strip {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 520px) auto;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 3rem);
  padding: clamp(1.4rem, 3vw, 2.25rem);
  margin-bottom: clamp(2rem, 5vw, 4rem);
  background:
    linear-gradient(120deg, rgba(255, 32, 41, .16), rgba(109, 204, 228, .08)),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.studio-strip h2 {
  margin-bottom: 0;
  font-size: clamp(1.8rem, 2.8vw, 3rem);
}

.studio-strip p {
  margin-bottom: 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.4rem 0 2.2rem;
  border-top: 1px solid var(--line);
}

.brand--footer {
  min-width: 158px;
  min-height: 58px;
}

.brand--footer .brand__logo {
  width: 168px;
  max-height: 60px;
}

.site-footer p {
  margin: .85rem 0 0;
  font-size: .96rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  color: #dfe2e7;
  font-weight: 700;
  text-align: right;
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .main-nav {
    order: 3;
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: .35rem;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 1.5rem;
  }

  .hero__art {
    min-height: min(60vw, 520px);
    transform: none;
  }

  .hero-showcase {
    min-height: min(55vw, 480px);
  }

  .games-grid,
  .values {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .studio-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: auto;
  }

  .brand {
    min-width: 170px;
    min-height: 58px;
  }

  .brand__logo {
    width: 178px;
    max-height: 62px;
  }

  .socials {
    gap: .35rem;
  }

  .socials a {
    width: 32px;
    height: 32px;
  }

  .socials svg {
    width: 20px;
    height: 20px;
  }

  .main-nav {
    gap: 1.2rem;
    font-size: .86rem;
  }

  .hero {
    min-height: auto;
    padding-bottom: 2.5rem;
  }

  .hero__actions {
    gap: .75rem;
  }

  .button {
    width: 100%;
    min-width: 0;
  }

  .hero__art {
    min-height: auto;
  }

  .hero-showcase {
    display: grid;
    grid-template-columns: 1fr;
    gap: .75rem;
    min-height: 0;
  }

  .hero-game,
  .hero-game.is-front,
  .hero-game.is-back-left,
  .hero-game.is-back-right {
    position: relative;
    inset: auto;
    width: 100%;
    transform: none;
    opacity: 1;
  }

  .hero-game::after {
    opacity: 0;
  }

  .games-grid,
  .values {
    grid-template-columns: 1fr;
  }

  .game-card__body {
    min-height: auto;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    text-align: left;
  }
}

@media (max-width: 420px) {
  .brand {
    min-width: 154px;
    min-height: 54px;
  }

  .brand__logo {
    width: 158px;
    max-height: 56px;
  }

  .socials {
    gap: .2rem;
  }

  .socials a {
    width: 28px;
    height: 28px;
  }

  .socials svg {
    width: 18px;
    height: 18px;
  }

  h1 {
    font-size: 3rem;
  }

  .value-card {
    grid-template-columns: 46px 1fr;
    padding: 1rem;
  }

  .value-card svg {
    width: 42px;
    height: 42px;
  }
}
