:root {
  --pad: clamp(22px, 5.3vw, 96px);
  --max: 1600px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 95px;
}

body {
  margin: 0;
  min-width: 320px;
  font:
    400 15px/1.65 "Inter",
    sans-serif;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

button,
a {
  font: inherit;
}

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

button {
  cursor: pointer;
}

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

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}

.shell {
  max-width: var(--max);
  margin: auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.site {
  position: relative;
  isolation: isolate;
}

.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  gap: 30px;
}

.overline {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 800;
}

.overline:before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.hero-title {
  font-family: "Inter", sans-serif;
  font-weight: 600;
}

.hero-title .italic {
  font-weight: 500;
  letter-spacing: -0.065em;
  font-style: italic;
  white-space: nowrap;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 27px;
  flex-wrap: wrap;
}

.pill {
  display: inline-flex;
  gap: 21px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--accent);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.01em;
  transition:
    transform 0.3s,
    background 0.3s;
}

.pill svg {
  width: 16px;
  height: 16px;
}

.text-action {
  background: transparent;
  border: 0;
  padding: 0;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  gap: 13px;
  align-items: center;
}

.text-action .text-arrow {
  transition: transform 0.2s;
}

.text-action:hover .text-arrow {
  transform: translateX(5px);
}

.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}

.hero-orbit {
  position: absolute;
  aspect-ratio: 1;
  border-radius: 50%;
}

.hero-orbit:after {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  transform: rotate(-27deg) scaleX(0.76);
}

.art-card {
  position: absolute;
  transition:
    transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.6s;
  display: block;
}

.art-card:hover {
  z-index: 10;
}

.art-card img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.art-card:before {
  content: attr(data-title);
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 25px;
  background: radial-gradient(circle at 80% 20%, #405746, #182420 70%);
  font:
    italic 500 26px/1.1 "Playfair Display",
    serif;
  color: #d3eac4;
  letter-spacing: -0.02em;
}

.divider-line {
  height: 1px;
  background: var(--line);
}

.section-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 40px;
}

.section-index {
  font:
    800 10px "Inter",
    sans-serif;
  text-transform: uppercase;
  margin-bottom: 25px;
}

.section-title {
  font:
    600 clamp(42px, 4.2vw, 68px)/1.1 "Inter",
    sans-serif;
  letter-spacing: -0.07em;
  margin: 0;
}

.section-title em {
  font:
    italic 500 1.03em "Playfair Display",
    serif;
  color: var(--accent);
  letter-spacing: -0.045em;
}

.section-aside {
  font-size: 12px;
  max-width: 290px;
  line-height: 1.8;
  margin: 0 0 3px;
}

.filters {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.filter {
  padding: 10px 18px;
  border-radius: 40px;
  border: 1px solid var(--line);
  background: none;
  font-size: 11px;
  font-weight: 700;
  transition: all 0.25s;
}

.filtercount {
  margin-left: 5px;
  font-size: 9px;
}

.grid-games {
  display: grid;
}

.game {
  min-width: 0;
  display: block;
  position: relative;
  outline-offset: 7px;
}

.game-image {
  height: auto;
  position: relative;
}

.game-image:before {
  content: "";
  position: absolute;
  inset: 0;
}

.game-image .visual-art img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.65s cubic-bezier(0.2, 0.7, 0.2, 1),
    filter 0.6s;
}

.game:hover .game-image .visual-art img {
  transform: scale(1.09);
  filter: brightness(1.05);
}

.game-image:after {
  content: attr(data-title);
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  padding: 45px 30px 20px;
  background: radial-gradient(circle at 80% 25%, #405a4c44, transparent 65%);
  font:
    italic 500 clamp(23px, 2.6vw, 35px)/1.2 "Playfair Display",
    serif;
  color: #d9ecd1;
  letter-spacing: -0.03em;
  text-align: center;
  pointer-events: none;
}

.game-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font:
    700 10px "Inter",
    sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.game-title {
  font:
    600 clamp(21px, 2vw, 29px)/1.2 "Inter",
    sans-serif;
  letter-spacing: -0.045em;
  margin: 7px 0 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.game-title .arr {
  font:
    400 24px "Inter",
    sans-serif;
  transform: rotate(-45deg);
  transition: transform 0.3s;
}

.game:hover .arr {
  transform: translate(4px, -4px) rotate(-45deg);
}

.game-desc {
  margin: 0;
  line-height: 1.8;
}

.statement {
  position: relative;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.statement:before {
  content: "✳";
  font-family: serif;
  font-size: 540px;
  line-height: 1;
  position: absolute;
  right: -4%;
  top: -16%;
  pointer-events: none;
}

.statement-in {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 50px;
  align-items: end;
}

.statement-head {
  font:
    600 clamp(48px, 5.7vw, 85px)/1.13 "Inter",
    sans-serif;
  letter-spacing: -0.075em;
  max-width: 990px;
  margin: 0;
}

.statement-head em {
  font:
    italic 500 1.1em "Playfair Display",
    serif;
  color: var(--accent);
  letter-spacing: -0.055em;
}

.statement-right {
  min-width: 200px;
  max-width: 240px;
  font-size: 12px;
  line-height: 1.9;
}

.small-round {
  border: 1px solid var(--line);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 23px;
  margin-top: 20px;
  transition:
    transform 0.35s,
    border-color 0.3s;
}

.small-round:hover {
  transform: rotate(45deg);
}

.connect {
  display: grid;
  gap: 70px;
}

.connect-text {
  font:
    600 clamp(44px, 5vw, 77px)/1.12 "Inter",
    sans-serif;
  letter-spacing: -0.075em;
  max-width: 670px;
  margin: 0;
}

.connect-text em {
  font:
    italic 500 1.06em "Playfair Display",
    serif;
  color: var(--accent);
}

.connect-aside {
  max-width: 370px;
  line-height: 1.9;
  margin: 0 0 28px;
}

.social {
  font:
    700 12px "Inter",
    sans-serif;
  padding-bottom: 9px;
  border-bottom: 1px solid #56665b;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  transition: color 0.2s;
}

.social:hover {
  color: var(--accent);
}

.inner-header {
  padding-top: 47px;
}

.crumb {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 700;
}

.crumb b {
  color: #4a5a51;
  font-weight: 500;
}

.project-hero {
  display: grid;
  align-items: center;
}

.project-text h1 {
  font:
    650 clamp(55px, 5.5vw, 88px)/1.05 "Inter",
    sans-serif;
  letter-spacing: -0.085em;
  margin: 25px 0;
}

.project-text .summary {
  max-width: 460px;
  margin-bottom: 31px;
}

.next-project {
  margin: 35px 0 100px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  display: flex;
  align-items: center;
  gap: 23px;
  transition: background 0.25s;
}

.next-thumb {
  height: 96px;
  width: 150px;
  object-fit: cover;
  border-radius: 8px;
}

.next-meta {
  flex: 1;
}

.next-meta small {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 9px;
}

.next-meta strong {
  font:
    600 clamp(20px, 2.4vw, 30px) "Inter",
    sans-serif;
  letter-spacing: -0.05em;
}

.next-arrow {
  font-size: 26px;
}

.reveal {
  opacity: 0;
  transform: translateY(17px);
  transition:
    opacity 0.65s,
    transform 0.65s;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1130px) {
  .hero {
    grid-template-columns: 1fr 1fr;
  }

  .hero-art {
    height: 490px;
  }

  .art-1 {
    width: 290px;
    height: 211px;
  }

  .art-2 {
    width: 240px;
    height: 174px;
    transform: translate(92px, -125px) rotate(12deg);
  }

  .art-3 {
    width: 240px;
    height: 174px;
    transform: translate(96px, 125px) rotate(10deg);
  }

  .hero-title {
    font-size: clamp(54px, 6.2vw, 90px);
  }

  .statement-in {
    flex-direction: column;
    align-items: start;
  }

  .statement-right {
    max-width: 520px;
  }

  .grid-games {
    gap: 30px 17px;
  }
}

@media (max-width: 850px) {

  .hero {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: auto;
    padding-top: 82px;
    padding-bottom: 95px;
  }

  .hero-title {
    font-size: clamp(59px, 10.6vw, 88px);
  }

  .hero-art {
    height: 410px;
    margin: 8px 0 0;
  }

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

  .section {
    padding-top: 98px;
    padding-bottom: 95px;
  }

  .project-hero {
    grid-template-columns: 1fr;
    padding-top: 43px;
    gap: 30px;
  }

  .project-text h1 {
    font-size: clamp(50px, 8vw, 76px);
  }

  .connect {
    gap: 30px;
  }

  .statement {
    padding-top: 95px;
    padding-bottom: 100px;
  }
}

@media (max-width: 570px) {
  :root {
    --pad: 22px;
  }

  .hero {
    padding-top: 67px;
  }

  .hero-title {
    font-size: clamp(54px, 12vw, 69px);
  }

  .hero-desc {
    font-size: 13px;
  }

  .hero-art {
    height: 330px;
    margin-top: 5px;
  }

  .art-1 {
    width: 240px;
    height: 176px;
    transform: translate(-33px, 0) rotate(-7deg);
  }

  .art-1:hover {
    transform: translate(-33px, -8px) rotate(-3deg);
  }

  .art-2 {
    width: 185px;
    height: 140px;
    transform: translate(86px, -100px) rotate(11deg);
  }

  .art-2:hover {
    transform: translate(86px, -110px) rotate(7deg);
  }

  .art-3 {
    width: 185px;
    height: 140px;
    transform: translate(84px, 106px) rotate(10deg);
  }

  .art-3:hover {
    transform: translate(84px, 98px) rotate(7deg);
  }

  .section-top {
    display: block;
  }

  .section-aside {
    margin-top: 18px;
  }

  .section-title {
    font-size: 44px;
  }

  .grid-games {
    grid-template-columns: 1fr;
    gap: 27px;
  }

  .game-image {
    aspect-ratio: 1.56;
  }

  .game-title {
    font-size: 25px;
  }

  .game-desc {
    font-size: 12px;
  }

  .section {
    padding-top: 85px;
    padding-bottom: 85px;
  }

  .statement {
    padding-top: 88px;
    padding-bottom: 100px;
  }

  .statement-head {
    font-size: 43px;
  }

  .connect {
    grid-template-columns: 1fr;
    padding-top: 83px;
    padding-bottom: 85px;
  }

  .connect-text {
    font-size: 50px;
  }

  .project-text h1 {
    font-size: 53px;
  }

  .project-hero {
    padding-top: 28px;
  }

  .next-project {
    padding: 15px;
    margin: 18px 0 70px;
  }

  .next-thumb {
    width: 96px;
    height: 76px;
  }

  .next-arrow {
    font-size: 19px;
  }

  .next-meta strong {
    font-size: 17px;
  }

  .next-meta small {
    font-size: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
*:before,
*:after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

:root {
  --bg: #090a15;
  --panel: #141428;
  --panel2: #1a1a31;
  --text: #f1effb;
  --muted: #b3b0c5;
  --muted2: #86859e;
  --accent: #c7b9ff;
  --ice: #9abdfc;
  --rose: #e7afd7;
  --line: rgba(210, 205, 255, 0.15);
  --radius: 22px;
}

html,
body {
  scrollbar-color: #52466f #0b0b17;
}

body {
  background: var(--bg);
  color: var(--text);
}

::selection {
  color: #140f2e;
  background: #c7b9ff;
}

.site {
  background:
    radial-gradient(ellipse 68% 36% at 73% 7%, rgba(80, 77, 157, 0.07), transparent 73%),
    radial-gradient(ellipse 75% 50% at 16% 84%, rgba(110, 56, 120, 0.035), transparent 70%);
}

.ambient {
  background:
    radial-gradient(ellipse 40% 38% at 75% 9%, rgba(90, 88, 188, 0.14), transparent 72%),
    radial-gradient(ellipse 46% 50% at -10% 43%, rgba(69, 102, 183, 0.09), transparent 70%),
    radial-gradient(ellipse 58% 42% at 90% 92%, rgba(168, 84, 139, 0.08), transparent 78%);
}

.overline {
  color: #c6bcff;
  letter-spacing: 0.24em;
}

.overline:before {
  background: #d0b7ff;
  box-shadow: 0 0 16px rgba(166, 143, 255, 0.5);
}

.hero {
  grid-template-columns: 1.02fr 0.98fr;
}

.hero > div:first-child {
  position: relative;
  z-index: 3;
}

.hero-title {
  font-size: clamp(62px, 6.5vw, 115px);
  letter-spacing: -0.086em;
  line-height: 1.07;
  margin: 37px 0 23px;
  text-wrap: balance;
}

.hero-title .italic {
  color: transparent;
  background: linear-gradient(104deg, #c6c8ff 1%, #d2b3ee 54%, #ebb5ce 94%);
  -webkit-background-clip: text;
  background-clip: text;
  font-family: "Playfair Display", serif;
  text-shadow: none;
}

.hero-desc {
  color: #b1aec6;
  max-width: 480px;
  font-size: 15px;
  line-height: 1.95;
  margin-bottom: 35px;
}

.pill {
  background: #cabfff;
  color: #131025;
  border-color: #cabfff;
  border-radius: 999px;
  padding: 17px 23px;
  font-size: 12px;
  box-shadow: 0 7px 36px rgba(134, 115, 234, 0.13);
}

.pill:hover {
  background: #e2dbff;
  border-color: #e2dbff;
  transform: translateY(-3px);
  box-shadow: 0 13px 44px rgba(134, 115, 234, 0.21);
}

.pill.outline {
  color: #eeeaff;
  background: #171526;
  border-color: rgba(221, 210, 255, 0.25);
  box-shadow: none;
}

.pill.outline:hover {
  background: #292340;
  border-color: #a69af3;
}

.text-action {
  color: #e4dbfb;
}

.text-action .text-arrow {
  color: #c1affe;
}

.hero-art {
  height: 585px;
  isolation: isolate;
}

.hero-orbit {
  width: 106%;
  background: radial-gradient(
    circle at 57% 48%,
    rgba(118, 103, 219, 0.2) 0%,
    rgba(54, 57, 127, 0.13) 33%,
    transparent 66%
  );
  filter: blur(3px);
  animation: aura 11s ease-in-out infinite alternate;
}

.hero-orbit:after {
  border: 1px solid rgba(183, 171, 255, 0.19);
}

.hero-orbit:before {
  content: "";
  position: absolute;
  inset: 15%;
  border-radius: 50%;
  border: 1px dashed rgba(168, 165, 233, 0.17);
  transform: rotate(32deg) scaleX(0.92);
}

@keyframes aura {
  from {
    transform: scale(0.97) rotate(-4deg);
  }

  to {
    transform: scale(1.045) rotate(4deg);
  }
}

.art-card {
  border: 1px solid rgba(225, 217, 255, 0.26);
  border-radius: 16px;
  background: #121326;
  box-shadow:
    0 23px 70px #000b,
    0 0 45px rgba(112, 88, 195, 0.09);
  padding: 6px;
  overflow: visible;
  will-change: transform;
}

.art-card:hover {
  box-shadow:
    0 36px 90px #000c,
    0 0 55px rgba(150, 124, 235, 0.21);
}

.art-card:before {
  display: none;
}

.art-card:after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 10px;
  background: linear-gradient(180deg, transparent 62%, rgba(8, 8, 19, 0.35));
  pointer-events: none;
  z-index: 3;
}

.art-card .visual-art {
  border-radius: 10px;
  height: 100%;
  width: 100%;
  overflow: hidden;
}

.art-card .art-badge {
  position: absolute;
  bottom: 19px;
  left: 18px;
  color: #f5f1ff;
  z-index: 4;
  font:
    800 10px "Inter",
    sans-serif;
  letter-spacing: 0.16em;
  text-shadow: 0 2px 10px #000;
}

.art-1 {
  width: min(79%, 450px);
  height: 300px;
  z-index: 5;
  transform: translate(-28px, 12px) rotate(-7deg);
}

.art-1:hover {
  transform: translate(-28px, -4px) rotate(-4deg);
}

.art-2 {
  width: min(61%, 323px);
  height: 232px;
  z-index: 4;
  transform: translate(142px, -167px) rotate(10deg);
}

.art-2:hover {
  transform: translate(142px, -183px) rotate(7deg);
}

.art-3 {
  width: min(61%, 325px);
  height: 228px;
  z-index: 3;
  transform: translate(147px, 170px) rotate(10deg);
}

.art-3:hover {
  transform: translate(147px, 155px) rotate(7deg);
}

.section-index {
  color: #b9aafd;
  letter-spacing: 0.18em;
}

.section-title em,
.statement-head em,
.connect-text em {
  background: linear-gradient(100deg, #bcbdfb, #f0b9d7);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

.section-aside {
  color: #9f9bb7;
}

.filters {
  border-bottom-color: var(--line);
}

.filter {
  color: #9591af;
}

.filter.active {
  color: #ede5ff;
  border-bottom-color: #d1b2fa;
}

.filter:hover {
  color: #ede5ff;
}

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

.game {
  cursor: default;
}

.game.is-first {
  grid-column: span 2;
}

.game.is-first .game-image {
  aspect-ratio: 1.72;
}

.game.is-first .game-title {
  font-size: clamp(28px, 2.8vw, 40px);
}

.game-image {
  border-radius: 18px;
  background: #1b1932;
  aspect-ratio: 1.4;
  overflow: hidden;
  border: 1px solid rgba(233, 224, 255, 0.1);
}

.game-image:before {
  z-index: 1;
  background:
    radial-gradient(ellipse at 70% 25%, rgba(211, 174, 255, 0.12), transparent 55%),
    linear-gradient(0deg, rgba(7, 8, 21, 0.42), transparent 47%);
}

.game-image:after {
  display: none;
}

.visual-art {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #17192c;
}

.visual-art img {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  object-fit: cover;
}

.visual-art .illustration {
  z-index: 0;
  filter: saturate(1.02);
}

.visual-art .art-official {
  z-index: 1;
  opacity: 0;
  transition: opacity 0.5s ease;
  object-fit: cover;
}

.visual-art .art-official.loaded {
  opacity: 1;
}

.visual-art:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 9, 25, 0.28), transparent 70%);
  pointer-events: none;
  z-index: 2;
}

.game:hover .visual-art img {
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.game-image .image-spark {
  position: absolute;
  z-index: 4;
  bottom: 19px;
  right: 19px;
  color: #eee0ff;
  font-size: 12px;
  border: 1px solid #ffffff38;
  border-radius: 100px;
  padding: 6px 13px;
  background: #14112b91;
}

.game-data {
  padding: 21px 2px 0;
}

.game-topline {
  color: #a39fba;
}

.game-title {
  margin-top: 9px;
  font-size: clamp(23px, 2.1vw, 30px);
  color: #f3efff;
}

.game-title a:hover {
  color: #d8bcff;
}

.game-title .arr {
  color: #d5bafc;
}

.game-desc {
  color: #a8a3bb;
  max-width: 490px;
  font-size: 12.5px;
}

.card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 18px;
  align-items: center;
}

.card-action {
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.012em;
  border: 1px solid rgba(215, 200, 255, 0.25);
  color: #d9d3eb;
  padding: 8px 12px;
  border-radius: 100px;
  transition:
    background 0.2s,
    border 0.2s,
    transform 0.2s;
}

.card-action:hover {
  background: rgba(194, 172, 255, 0.1);
  border-color: #b2a3e5;
  transform: translateY(-2px);
}

.card-action.primary {
  color: #e5d6ff;
  background: rgba(190, 151, 255, 0.08);
  border-color: rgba(208, 180, 255, 0.38);
}

.statement:before {
  color: #8a7ee7;
  opacity: 0.07;
}

.statement-right {
  color: #b4aac7;
}

.small-round {
  border-color: #b6a5e5;
  color: #cbb7ff;
}

.connect {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
}

.connect-aside {
  color: #b4acc4;
  font-size: 14px;
}

.connect-note {
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #968fb5;
  margin: 26px 0 14px;
}

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

.social-card {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
  min-height: 65px;
  padding: 15px 14px;
  border: 1px solid rgba(207, 190, 252, 0.15);
  background: linear-gradient(120deg, rgba(32, 29, 55, 0.82), rgba(20, 19, 39, 0.55));
  border-radius: 14px;
  transition:
    transform 0.22s,
    border 0.22s,
    background 0.22s;
}

.social-card:hover {
  transform: translateY(-3px);
  border-color: rgba(205, 175, 255, 0.43);
  background: linear-gradient(130deg, rgba(66, 49, 93, 0.68), rgba(35, 30, 60, 0.67));
}

.social-name {
  font-weight: 750;
  font-size: 12px;
  white-space: nowrap;
  color: #e4dcf4;
}

.social-arr {
  color: #baa4d8;
  opacity: 0.8;
}

.project-hero {
  gap: 60px;
  padding-top: 75px;
  padding-bottom: 85px;
}

.project-text h1 {
  color: #f4f0fe;
}

.project-text .summary {
  color: #b3aec4;
}

.next-project {
  background: rgba(27, 24, 47, 0.55);
  border-color: rgba(213, 199, 255, 0.2);
}

.next-project:hover {
  background: #26203f;
}

.next-meta small {
  color: #aea0d1;
}

.next-arrow {
  color: #d7bdff;
}

.crumb {
  color: #a69ebb;
}

.crumb a:hover {
  color: #f2e4ff;
}

.filter:hover,
.filter.active {
  background: rgba(193, 168, 252, 0.13);
  border-color: rgba(199, 170, 255, 0.5);
  color: #e7dbff;
}

.filtercount {
  color: #c2aeec;
}

@media (max-width: 640px) {
  .hero-art {
    margin-top: 17px;
  }
}

@media (max-width: 1150px) {
  .hero-art {
    height: 490px;
  }

  .art-1 {
    width: 335px;
    height: 252px;
  }

  .art-2 {
    width: 260px;
    height: 195px;
    transform: translate(102px, -143px) rotate(10deg);
  }

  .art-3 {
    width: 260px;
    height: 195px;
    transform: translate(110px, 143px) rotate(10deg);
  }

  .connect {
    gap: 35px;
  }

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

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 92px;
  }

  .hero-art {
    height: 470px;
    margin-top: 30px;
  }

  .hero-title {
    font-size: clamp(67px, 8vw, 95px);
  }

  .grid-games {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 35px 17px;
  }

  .game.is-first {
    grid-column: span 2;
  }

  .game.is-first .game-image {
    aspect-ratio: 2.1;
  }

  .connect {
    grid-template-columns: 1fr;
  }

  .social-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .project-hero {
    grid-template-columns: 1fr;
    padding-top: 55px;
  }
}

@media (max-width: 640px) {

  .hero {
    padding-top: 65px;
    padding-bottom: 74px;
  }

  .hero-title {
    font-size: clamp(52px, 12.5vw, 77px);
    line-height: 1.06;
    margin-top: 27px;
  }

  .hero-desc {
    font-size: 13px;
  }

  .hero-art {
    height: 330px;
    margin-top: 0;
  }

  .art-1 {
    width: 245px;
    height: 180px;
    transform: translate(-30px, 0) rotate(-7deg);
  }

  .art-1:hover {
    transform: translate(-30px, -8px) rotate(-5deg);
  }

  .art-2 {
    width: 183px;
    height: 138px;
    transform: translate(84px, -103px) rotate(11deg);
  }

  .art-2:hover {
    transform: translate(84px, -108px) rotate(8deg);
  }

  .art-3 {
    width: 185px;
    height: 139px;
    transform: translate(85px, 108px) rotate(9deg);
  }

  .art-3:hover {
    transform: translate(85px, 98px) rotate(6deg);
  }

  .art-card .art-badge {
    font-size: 7px;
    bottom: 12px;
    left: 13px;
  }

  .section {
    padding-top: 90px;
    padding-bottom: 87px;
  }

  .grid-games {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .game.is-first {
    grid-column: span 1;
  }

  .game.is-first .game-image {
    aspect-ratio: 1.5;
  }

  .game.is-first .game-title {
    font-size: 28px;
  }

  .game-image {
    aspect-ratio: 1.47;
  }

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

  .social-card {
    min-height: 58px;
    padding: 10px;
    gap: 3px;
  }

  .social-name {
    font-size: 11px;
    gap: 7px;
  }

  .connect {
    padding-top: 92px;
    padding-bottom: 90px;
  }

  .statement {
    padding-top: 95px;
    padding-bottom: 105px;
  }

  .project-text h1 {
    font-size: clamp(46px, 10vw, 67px);
  }

  .project-hero {
    padding-top: 32px;
    gap: 30px;
  }

  .pill {
    padding: 16px 20px;
  }

  .hero-actions {
    gap: 16px;
  }
}

@media (max-width: 385px) {
  .hero-title {
    font-size: 50px;
  }

  .social-grid {
    grid-template-columns: 1fr 1fr;
  }

  .art-1 {
    width: 214px;
    height: 160px;
  }

  .art-2,
.art-3 {
    width: 168px;
    height: 126px;
  }
}

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

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
[hidden] {
  display: none !important;
}
[data-locale][hidden] {
  display: none !important;
}
.hero-title br,
.hero-title .italic:empty {
  display: none;
}
.project-hero {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.3fr);
}
.screenshot-gallery {
  align-self: center;
}
.screenshot-stage {
  border: 1px solid #403959;
  border-radius: 18px;
  display: grid;
  place-items: center;
}
.screenshot-stage > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: absolute;
  inset: 0;
}
#screenshotEmpty {
  padding: 28px;
  text-align: center;
  color: #aaa0bf;
}
.screenshot-thumbs img {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.game-image,
.game.is-first .game-image {
  aspect-ratio: 460/215;
}
.game-image .art-official {
  object-fit: contain;
}
#gamePrivacy {
  align-self: center;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.hero-title {
  overflow-wrap: anywhere;
}
@media (max-width: 900px) {
  .project-hero {
    grid-template-columns: 1fr;
  }
  .project-text {
    min-width: 0;
  }
}
@media (max-width: 640px) {
  .shell {
    width: calc(100% - 32px);
  }
  .project-text h1 {
    overflow-wrap: anywhere;
  }
  .game-image,
.game.is-first .game-image {
    aspect-ratio: 460/215;
  }
  .screenshot-thumbs button {
    flex-basis: 90px;
  }
  .hero-art {
    max-width: 100%;
  }
  .project-buttons {
    flex-wrap: wrap;
  }
}
@media (max-width: 360px) {
  .hero-art {
    transform: scale(0.86);
    transform-origin: center;
  }
}
html {
  scrollbar-gutter: stable;
}
#gameLogo {
  display: block;
  object-fit: contain;
  object-position: left center;
  margin: 0 0 24px;
}
.project-text h1 {
  font-size: clamp(36px, 4.4vw, 72px);
  line-height: 1.08;
  margin-top: 16px;
}
.project-text .summary {
  font-size: 15px;
  line-height: 1.8;
  margin: 24px 0;
}
#gameOverline {
  font-size: 10px;
  letter-spacing: 0.12em;
}
.project-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.project-buttons .pill {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 13px 20px;
  font:
    700 13px/1.3 "Inter",
    sans-serif;
  letter-spacing: 0;
  text-transform: none;
}
.project-buttons .pill svg {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
}
#gameSteam,
#gameSteam span {
  color: #19132c;
}
#gamePlay,
#gamePlay span {
  color: #eeeaff;
}
.screenshot-stage video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0b0b14;
}
.screenshot-stage:has(video:not([hidden])) .gallery-controls {
  bottom: auto;
  top: 12px;
}
.screenshot-thumbs {
  scrollbar-color: #62577b transparent;
}
.trailer-thumb {
  color: #ded1ff;
  font:
    700 12px/1.4 "Inter",
    sans-serif;
  min-height: 60px;
  background: #242037 !important;
}
.game-title .arr {
  display: none;
}
.game-image .image-spark {
  opacity: 0;
  transform: translateY(5px);
  transition:
    opacity 0.24s ease,
    transform 0.24s ease;
  pointer-events: none;
}
.game-cover:hover .image-spark,
.game-cover:focus-visible .image-spark {
  opacity: 1;
  transform: translateY(0);
}
@media (hover: none) {
  .game-image .image-spark {
    display: none;
  }
}
.game-cover,
.game-image,
.art-card {
  isolation: isolate;
  background-clip: padding-box;
}
.game-image,
.art-card .visual-art {
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}
.card-action,
.image-spark,
.pill {
  background-clip: padding-box;
  -webkit-tap-highlight-color: transparent;
  border-color: rgba(194, 172, 232, 0.22);
}
.game-image {
  border-color: rgba(194, 172, 232, 0.12);
}
.game .visual-art img {
  transition:
    transform 0.4s ease,
    opacity 0.4s ease;
}
.game:hover .visual-art img {
  transform: scale(1.015);
}
@media (max-width: 640px) {
  #gameLogo {
    max-width: 260px;
    height: 100px;
  }
  .project-buttons .pill {
    max-width: 100%;
    font-size: 12px;
  }
  .project-text h1 {
    font-size: clamp(34px, 8vw, 48px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .screenshot-thumbs {
    scroll-behavior: auto;
  }
  .game-image .image-spark,
.game .visual-art img {
    transition: none;
  }
}
#gameLogo {
  width: min(100%, 430px);
  height: 180px;
}
.card-action,
.image-spark,
.pill,
.filter {
  background-image: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 1px solid #49405c;
}
.card-action {
  background-color: #171425;
}
.game-cover,
.game-image,
.art-card,
.art-card .visual-art {
  -webkit-mask-image: none;
  mask-image: none;
}
.game .visual-art img,
.game:hover .visual-art img {
  transform: none;
}
.screenshot-gallery {
  position: relative;
}
.screenshot-stage:hover .gallery-controls,
.screenshot-stage:focus-within .gallery-controls {
  opacity: 1;
}
.gallery-controls button {
  font-size: 25px;
}
.gallery-controls button:last-child {
  border-radius: 10px 0 0 10px;
}
.gallery-tools button {
  font: 22px/1 system-ui;
}
.gallery-tools button:hover,
.gallery-tools button[aria-pressed="true"] {
  background: #342943;
}
.gallery-scrollbar {
  align-items: center;
  gap: 8px;
}
.gallery-scrollbar button {
  width: 30px;
  height: 24px;
  border: 0;
  border-radius: 5px;
  background: #251f35;
  color: #d8cbea;
  cursor: pointer;
}
.gallery-scrollbar input {
  appearance: none;
  -webkit-appearance: none;
  min-width: 0;
}
.gallery-scrollbar input::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 48px;
  height: 12px;
  border-radius: 5px;
  background: #847298;
}
.gallery-scrollbar input::-moz-range-thumb {
  width: 48px;
  height: 12px;
  border: 0;
  border-radius: 5px;
  background: #847298;
}
.screenshot-gallery:fullscreen {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px;
  background: #0c0a13;
  overflow: auto;
}
.screenshot-gallery:fullscreen .screenshot-stage {
  width: 100%;
  flex: 1;
  min-height: 0;
  aspect-ratio: auto;
}
.screenshot-gallery:fullscreen .screenshot-thumbs {
  flex-shrink: 0;
}
@media (hover: none) {
  .gallery-controls {
    opacity: 1;
  }
}
@media (max-width: 640px) {
  #gameLogo {
    width: min(100%, 330px);
    height: 140px;
  }
}

body.media-viewer-open {
  overflow: hidden;
}

.screenshot-gallery {
  min-width: 0;
  width: 100%;
}

.screenshot-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0d0b15;
  overflow: hidden;
  touch-action: pan-y;
}

#screenshotMain {
  cursor: zoom-in;
}

#screenshotMain,
#galleryVideo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.screenshot-thumbs {
  display: flex;
  position: relative;
  width: 100%;
  min-width: 0;
  gap: 10px;
  padding: 10px 2px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: none;
  scroll-behavior: auto;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}

.screenshot-thumbs::-webkit-scrollbar {
  display: none;
}

.screenshot-thumbs button {
  position: relative;
  flex: 0 0 112px;
  width: 112px;
  min-width: 112px;
  height: 66px;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 7px;
  background: #211b30;
  cursor: pointer;
  scroll-snap-align: none;
  transition:
    border-color 0.18s ease,
    opacity 0.18s ease;
}

.screenshot-thumbs button img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
}

.screenshot-thumbs button[aria-pressed="true"] {
  border-color: #c8b5ef;
}

.screenshot-thumbs button:hover {
  border-color: #87749e;
}

.trailer-play {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  background: rgba(12, 8, 20, 0.25);
  color: #fff;
  font: 20px/1 system-ui;
  text-shadow: 0 2px 8px #000;
}

.gallery-scrollbar {
  display: flex;
  padding: 2px 0 8px;
}

.gallery-scrollbar button {
  display: none;
}

.gallery-scrollbar input {
  width: 100%;
  margin: 0;
  height: 8px;
  flex: 1;
  background: #282131;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
}

.gallery-scrollbar input:disabled {
  opacity: 0.3;
  cursor: default;
}

.gallery-controls {
  position: absolute;
  inset: 0 !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.screenshot-stage:hover .gallery-controls,
.screenshot-stage:focus-within .gallery-controls {
  opacity: 1;
}

.gallery-controls button {
  display: grid;
  place-items: center;
  pointer-events: auto;
  width: 40px;
  height: 60px;
  margin: 0 10px;
  padding: 0;
  border: 1px solid rgba(223, 207, 249, 0.15);
  border-radius: 12px !important;
  background: rgba(21, 15, 32, 0.76);
  color: #f1e9ff;
  cursor: pointer;
  transition: background 0.18s ease;
}

.gallery-controls button:hover {
  background: #483455;
}

.gallery-controls svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gallery-tools {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  padding: 7px 0 0;
}

.gallery-tools button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 32px;
  padding: 7px;
  border: 1px solid #42354f;
  border-radius: 7px;
  background: #191321;
  color: #d9cbe8;
  cursor: pointer;
}

.gallery-tools svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.media-viewer {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 42px 24px 16px;
  background: rgba(5, 4, 10, 0.94);
}

.media-viewer-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.media-viewer .screenshot-gallery,
.screenshot-gallery:fullscreen {
  display: flex;
  flex-direction: column;
  width: min(1500px, 100%);
  height: 100%;
  min-height: 0;
  padding: 0;
  background: #0d0b15;
}

.media-viewer .screenshot-stage,
.screenshot-gallery:fullscreen .screenshot-stage {
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  aspect-ratio: auto;
  border: 0;
  border-radius: 10px;
}

.media-viewer .screenshot-thumbs,
.screenshot-gallery:fullscreen .screenshot-thumbs {
  flex: 0 0 auto;
}

.media-viewer .gallery-tools,
.media-viewer .gallery-scrollbar {
  flex: 0 0 auto;
}

.media-viewer #screenshotMain {
  cursor: default;
}

@media (max-width: 640px) {
  .project-hero {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .project-text,
.screenshot-gallery {
    width: 100%;
    min-width: 0;
  }

  .screenshot-thumbs {
    gap: 7px;
  }

  .screenshot-thumbs button {
    flex-basis: 86px;
    width: 86px;
    min-width: 86px;
    height: 51px;
  }

  .gallery-controls button {
    width: 34px;
    height: 48px;
    margin: 0 6px;
  }

  .media-viewer {
    padding: 44px 8px max(10px, env(safe-area-inset-bottom));
  }

  .gallery-tools button {
    width: 42px;
    height: 36px;
  }

  .gallery-scrollbar {
    display: none;
  }
}

@media (hover: none) {
  .gallery-controls {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-controls,
.gallery-controls button,
.screenshot-thumbs button {
    transition: none;
  }
}

.social-name {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.social-icon {
  display: block;
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
  flex-shrink: 0;
  object-fit: contain;
}
.button-icon {
  display: block;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.card-action {
  align-items: center;
  gap: 8px;
}

.card-action {
  display: inline-flex;
}

#gameSteam .button-icon {
  filter: brightness(0);
}
.ui-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  object-fit: contain;
  vertical-align: middle;
  pointer-events: none;
  filter: brightness(0) invert(1);
}

.pill:not(.outline) .ui-icon {
  filter: brightness(0);
}

#gameSteam .ui-icon {
  filter: brightness(0);
}

#gamePlay .ui-icon {
  filter: brightness(0) invert(1);
}

.social-arr,
.text-arrow,
.next-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.crumb a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.small-round {
  align-items: center;
  justify-content: center;
}

.small-round {
  display: inline-flex;
}

.gallery-controls .ui-icon,
.gallery-tools .ui-icon {
  display: block;
  width: 22px;
  height: 22px;
  flex-basis: 22px;
}

.trailer-play .ui-icon {
  width: 24px;
  height: 24px;
}
.game .game-image .ui-icon,
.game:hover .game-image .ui-icon {
  position: static;
  inset: auto;
  display: inline-block;
  width: 20px;
  height: 20px;
  min-width: 20px;
  max-width: 20px;
  flex: 0 0 20px;
  object-fit: contain;
  transform: none;
  transition: none;
  filter: brightness(0) invert(1);
}

.screenshot-thumbs .trailer-play-icon {
  display: block;
  width: 24px;
  height: 24px;
  color: #fff;
  filter: none;
}

.game-image .image-spark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.card-action,
.pill,
.filter,
.card-action:hover,
.pill:hover,
.filter:hover,
.card-action:active,
.pill:active {
  transform: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background-clip: padding-box;
  box-shadow: none;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.card-action,
.filter {
  border-color: #49405c;
}

.card-action:hover,
.filter:hover {
  border-color: #a99ac8;
  background-color: #292238;
}

.pill:hover {
  background-color: #e2dbff;
}

.pill.outline:hover {
  background-color: #292340;
}

.hero-art .art-card {
  height: auto;
  aspect-ratio: 3 / 2;
  border-color: #353044;
}

.hero-art .art-card .visual-art {
  position: absolute;
  inset: 6px;
  width: auto;
  height: auto;
}

.hero-art .art-card .art-official {
  object-fit: contain;
}

#gameEpic,
#gameEpic span {
  color: #eeeaff;
}

#gameEpic .button-icon,
#gameEpic .ui-icon {
  filter: brightness(0) invert(1);
}

#gameEpic[hidden] {
  display: none;
}

.small-round,
.small-round:hover {
  border: 2px solid #a99ac8;
  transform: none;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.small-round:hover {
  background-color: #292238;
  border-color: #d2c4ef;
}

.game-facts {
  display: grid;
  gap: 10px;
  margin: 24px 0;
  font-size: 13px;
  line-height: 1.6;
}

.game-facts > div {
  display: grid;
  grid-template-columns: minmax(100px, 130px) minmax(0, 1fr);
  gap: 16px;
}

.game-facts dt {
  color: #a59bb7;
}

.game-facts dd {
  margin: 0;
  color: #eeeaff;
  overflow-wrap: anywhere;
}
#gameView .project-hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.45fr);
  align-items: start;
  gap: 32px 48px;
  padding-top: 28px;
}

.project-heading {
  grid-column: 1 / -1;
  min-width: 0;
}

.project-heading .overline {
  margin: 0 0 10px;
}

#gameView .project-heading h1 {
  max-width: none;
  margin: 0;
  font-size: clamp(32px, 3.6vw, 54px);
  line-height: 1.12;
  letter-spacing: -0.045em;
  overflow-wrap: anywhere;
}

#gameView .project-text {
  min-width: 0;
  padding-top: 0;
}

#gameView #gameLogo {
  display: block;
  width: min(100%, 300px);
  max-width: 100%;
  height: 126px;
  object-fit: contain;
  object-position: left center;
  margin: 0 0 22px;
}

#gameView #gameLogo[hidden] {
  display: none;
}

#gameView .summary {
  margin: 0 0 22px;
  max-width: none;
  font-size: 14px;
  line-height: 1.85;
}

#gameView .game-facts {
  gap: 12px;
  margin: 0 0 26px;
  padding: 20px 0;
  border-top: 1px solid #2d273b;
  border-bottom: 1px solid #2d273b;
}

#gameView .game-facts > div {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 16px;
}

#gameView .project-buttons {
  gap: 10px;
}

#gameView .project-buttons .pill {
  min-height: 44px;
  padding: 11px 16px;
  gap: 8px;
  font-size: 12px;
}

#gamePrivacy {
  flex-basis: 100%;
  margin-top: 6px;
  font-size: 12px;
  color: #aaa1b9;
}

#gamePrivacy[hidden] {
  display: none;
}

#gameView .screenshot-gallery {
  align-self: start;
  margin-top: 0;
}

.screenshot-gallery .gallery-tools {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 6;
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 0;
  opacity: 0;
  transition: opacity 0.18s ease;
}

.screenshot-gallery:hover .gallery-tools,
.screenshot-gallery:focus-within .gallery-tools {
  opacity: 1;
}

.screenshot-gallery .gallery-tools button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid #5c526e;
  border-radius: 8px;
  background: #15111fed;
}

.screenshot-gallery .gallery-tools .ui-icon {
  width: 18px;
  height: 18px;
  flex-basis: 18px;
}

.screenshot-gallery .screenshot-stage {
  border-radius: 12px;
}

.screenshot-gallery .screenshot-thumbs {
  padding-top: 12px;
}

.screenshot-gallery .gallery-tools[hidden] {
  display: none;
}

@media (hover: none) {
  .screenshot-gallery .gallery-tools {
    opacity: 1;
  }
}

@media (max-width: 900px) {
  #gameView .project-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  #gameView .project-heading {
    grid-row: 1;
  }
  #gameView .screenshot-gallery {
    grid-row: 2;
  }
  #gameView .project-text {
    grid-row: 3;
  }
}

@media (prefers-reduced-motion: reduce) {
  .screenshot-gallery .gallery-tools {
    transition: none;
  }
}
.statement {
  background:
    radial-gradient(ellipse at 28% 50%, rgba(120, 100, 175, 0.09), transparent 65%),
    linear-gradient(115deg, #0c0b15, #10101c 55%, #0b0b14);
  border-top-color: rgba(165, 148, 195, 0.1);
  border-bottom-color: rgba(165, 148, 195, 0.1);
}

.statement::before,
.statement::after {
  content: none;
  display: none;
}

.screenshot-gallery .gallery-tools .gallery-close {
  position: static;
  inset: auto;
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  padding: 0;
  color: #eeeaff;
}

.screenshot-gallery .gallery-tools .gallery-close[hidden] {
  display: none;
}

.media-viewer .screenshot-gallery .gallery-tools,
.screenshot-gallery:fullscreen .gallery-tools {
  opacity: 1;
  top: 12px;
  right: 12px;
  bottom: auto;
}
#gamesGrid {
  align-items: stretch;
}

#gamesGrid .game {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

#gamesGrid .game[hidden] {
  display: none;
}

#gamesGrid .game-cover {
  display: block;
  flex: 0 0 auto;
}

#gamesGrid .game-data {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
}

#gamesGrid .game-data .card-actions {
  margin-top: auto;
  padding-top: 18px;
}

#gamesGrid .game-topline {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 12px;
}
.hero {
  min-height: 680px;
  padding-top: 56px;
  padding-bottom: 64px;
}

.section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.statement {
  padding-top: 80px;
  padding-bottom: 84px;
}

.connect {
  padding-top: 80px;
  padding-bottom: 80px;
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    padding-top: 44px;
    padding-bottom: 48px;
  }
  .section,
.connect {
    padding-top: 56px;
    padding-bottom: 56px;
  }
  .statement {
    padding-top: 56px;
    padding-bottom: 60px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 32px;
    padding-bottom: 36px;
  }
  .section,
.connect,
.statement {
    padding-top: 44px;
    padding-bottom: 44px;
  }
}
.screenshot-thumbs .trailer-thumb {
  isolation: isolate;
}

.screenshot-thumbs .trailer-thumb > img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.screenshot-thumbs .trailer-thumb .trailer-play {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

.screenshot-thumbs .trailer-play .trailer-play-icon {
  display: block;
  width: 26px;
  height: 26px;
  color: #fff;
  fill: #fff;
  stroke: #fff;
  filter: drop-shadow(0 1px 3px #000);
}

.screenshot-stage > .media-transition-image {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}
.screenshot-gallery .trailer-controls {
  position: absolute;
  inset: auto 0 0;
  z-index: 8;
  padding: 22px 14px 10px;
  color: #fff;
  background: linear-gradient(transparent, rgba(7, 6, 12, 0.92));
}

.screenshot-gallery .trailer-controls-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.screenshot-gallery .trailer-controls button,
.screenshot-gallery .trailer-start {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 7px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.screenshot-gallery .trailer-controls button:hover {
  background: rgba(255, 255, 255, 0.14);
}

.screenshot-gallery .trailer-controls svg,
.screenshot-gallery .trailer-start svg {
  display: block;
  width: 20px;
  height: 20px;
}

.screenshot-gallery .trailer-start {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 7;
  width: 60px;
  height: 60px;
  border: 1px solid #b5a6d0;
  border-radius: 50%;
  background: rgba(17, 13, 28, 0.85);
  transform: translate(-50%, -50%);
}

.screenshot-gallery .trailer-start svg {
  width: 28px;
  height: 28px;
}

.screenshot-gallery .trailer-time {
  font:
    500 12px/1.4 Inter,
    sans-serif;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.screenshot-gallery .trailer-controls-space {
  flex: 1;
}

.screenshot-gallery .trailer-controls input {
  min-width: 0;
  height: 18px;
  padding: 0;
  margin: 0;
  accent-color: #c8b7fa;
  cursor: pointer;
}

.screenshot-gallery .trailer-seek {
  display: block;
  width: 100%;
  margin-bottom: 4px !important;
}

.screenshot-gallery .trailer-volume {
  width: 72px;
}

.screenshot-gallery .trailer-status {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 7;
  max-width: calc(100% - 150px);
  margin: 0;
  padding: 6px 10px;
  border-radius: 6px;
  background: #171120dd;
  color: #fff;
  font-size: 12px;
  pointer-events: none;
}

.screenshot-gallery .trailer-controls[hidden],
.screenshot-gallery .trailer-start[hidden],
.screenshot-gallery .trailer-status[hidden] {
  display: none;
}

.screenshot-gallery .trailer-controls button:focus-visible,
.screenshot-gallery .trailer-start:focus-visible,
.screenshot-gallery .trailer-controls input:focus-visible {
  outline: 2px solid #d2c2fa;
  outline-offset: 2px;
}

@media (max-width: 480px) {
  .screenshot-gallery .trailer-volume {
    display: none;
  }
  .screenshot-gallery .trailer-controls {
    padding: 16px 8px 6px;
  }
  .screenshot-gallery .trailer-controls-row {
    gap: 4px;
  }
  .screenshot-gallery .trailer-start {
    width: 48px;
    height: 48px;
  }
}
@media (max-width: 900px), (pointer: coarse) {
  .media-viewer {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    inset: 0;
    padding: max(8px, env(safe-area-inset-top)) max(8px, env(safe-area-inset-right))
      max(8px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
    overflow: hidden;
    overscroll-behavior: contain;
  }

  .media-viewer .media-viewer-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    min-width: 0;
    min-height: 0;
    height: 100%;
  }

  .media-viewer .screenshot-gallery,
.screenshot-gallery:fullscreen {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    height: 100%;
    min-height: 0;
    min-width: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: transparent;
  }

  .media-viewer .screenshot-gallery .gallery-tools,
.screenshot-gallery:fullscreen .gallery-tools {
    position: static;
    inset: auto;
    order: -1;
    display: flex;
    align-self: flex-end;
    flex: 0 0 auto;
    gap: 6px;
    margin: 0 0 8px;
    padding: 0;
    opacity: 1;
  }

  .media-viewer .screenshot-gallery .gallery-tools button,
.screenshot-gallery:fullscreen .gallery-tools button,
.media-viewer .screenshot-gallery .gallery-tools .gallery-close,
.screenshot-gallery:fullscreen .gallery-tools .gallery-close {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
  }

  .media-viewer .screenshot-gallery .screenshot-stage,
.screenshot-gallery:fullscreen .screenshot-stage {
    flex: 0 1 auto;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    overflow: hidden;
  }

  .media-viewer .screenshot-thumbs,
.screenshot-gallery:fullscreen .screenshot-thumbs {
    flex: 0 0 auto;
    width: 100%;
    min-width: 0;
    height: 70px;
    padding: 10px 0 4px;
    gap: 7px;
    overflow-x: auto;
    touch-action: pan-x;
  }

  .media-viewer .screenshot-thumbs button,
.screenshot-gallery:fullscreen .screenshot-thumbs button {
    flex: 0 0 88px;
    width: 88px;
    min-width: 88px;
    height: 52px;
  }

  .media-viewer .gallery-scrollbar,
.screenshot-gallery:fullscreen .gallery-scrollbar {
    display: none;
  }

  .media-viewer .gallery-controls button,
.screenshot-gallery:fullscreen .gallery-controls button {
    width: 44px;
    height: 56px;
    padding: 10px;
    margin: 0;
  }

  .media-viewer .trailer-controls button,
.screenshot-gallery:fullscreen .trailer-controls button {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }

  .media-viewer .trailer-volume,
.screenshot-gallery:fullscreen .trailer-volume {
    display: none;
  }
}

@media (orientation: landscape) and (max-height: 550px) {
  .media-viewer .screenshot-gallery .screenshot-stage,
.screenshot-gallery:fullscreen .screenshot-stage {
    flex: 1 1 0;
    aspect-ratio: auto;
  }
  .media-viewer .screenshot-thumbs,
.screenshot-gallery:fullscreen .screenshot-thumbs {
    height: 52px;
    padding-top: 6px;
  }
  .media-viewer .screenshot-thumbs button,
.screenshot-gallery:fullscreen .screenshot-thumbs button {
    flex-basis: 72px;
    width: 72px;
    min-width: 72px;
    height: 40px;
  }
}
#gameView.has-game-logo #gameTitle {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

#gameView.has-game-logo .project-heading .overline {
  margin-bottom: 0;
}

#gameView.has-game-logo #gameLogo {
  width: min(100%, 360px);
  height: auto;
  max-height: 160px;
}

#gamePlay:not(.outline),
#gamePlay:not(.outline) span {
  color: #19132c;
}

#gamePlay:not(.outline) .button-icon,
#gamePlay:not(.outline) .ui-icon {
  filter: brightness(0);
}

html {
  overflow-y: scroll;
  scrollbar-gutter: stable;
}

#gameView.shell {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

#gameView .project-hero {
  width: 100%;
  min-width: 0;
}

#gameView .project-text,
#gameView .screenshot-gallery {
  min-width: 0;
  max-width: 100%;
}

.screenshot-stage > .trailer-poster {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.screenshot-stage > .trailer-poster[hidden] {
  display: none;
}

.screenshot-gallery .gallery-controls {
  z-index: 4;
}

.screenshot-thumbs .trailer-thumb > .trailer-native-preview {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}


.screenshot-gallery.gallery-portrait {
  width: min(100%, 420px);
  justify-self: center;
  margin-inline: auto;
}

.screenshot-gallery.gallery-portrait .screenshot-stage {
  height: min(640px, 65svh);
  min-height: 240px;
  aspect-ratio: auto;
}

.screenshot-gallery.gallery-portrait .screenshot-stage > img,
.screenshot-gallery.gallery-portrait .screenshot-stage > video {
  object-fit: contain;
}

.screenshot-gallery.gallery-portrait .screenshot-thumbs button {
  flex: 0 0 48px;
  width: 48px;
  min-width: 48px;
  height: 82px;
}

.screenshot-gallery.gallery-portrait .screenshot-thumbs button img {
  object-fit: contain;
}

.media-viewer .screenshot-gallery.gallery-portrait,
.screenshot-gallery.gallery-portrait:fullscreen {
  width: 100%;
  max-width: 100%;
}

.media-viewer .screenshot-gallery.gallery-portrait .screenshot-stage,
.screenshot-gallery.gallery-portrait:fullscreen .screenshot-stage {
  height: auto;
  min-height: 0;
}

@media (max-width: 640px) {
  .screenshot-gallery.gallery-portrait .screenshot-stage {
    height: min(560px, 65svh);
  }

  .screenshot-gallery.gallery-portrait .screenshot-thumbs button {
    flex-basis: 40px;
    width: 40px;
    min-width: 40px;
    height: 68px;
  }

  .media-viewer .screenshot-gallery.gallery-portrait .screenshot-stage,
.screenshot-gallery.gallery-portrait:fullscreen .screenshot-stage {
    height: auto;
  }
}


.youtube-layer {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: #08070d;
}

.youtube-layer[hidden] {
  display: none;
}

.youtube-layer iframe,
.youtube-start {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.youtube-start {
  position: relative;
  padding: 0;
  background: #08070d;
  cursor: pointer;
}

.youtube-start > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.youtube-start .trailer-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(20, 15, 30, 0.9);
  color: #fff;
}

.youtube-start .trailer-play svg {
  width: 30px;
  height: 30px;
}

.youtube-start:hover .trailer-play,
.youtube-start:focus-visible .trailer-play {
  background: #735492;
}

.screenshot-stage.youtube-active .gallery-controls {
  display: none;
}



.game-press-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 38px;
  margin: 0;
  padding: 9px 16px;
  border: 1px solid #514160;
  border-radius: 999px;
  background: #171220;
  color: #ded0ed;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  transition: background-color 180ms ease, border-color 180ms ease;
}

.game-press-link:hover {
  border-color: #af8bd0;
  background: #251b32;
}

.game-press-link .ui-icon {
  width: 16px;
  height: 16px;
}

.game-press-link[hidden] {
  display: none;
}


#gameView .inner-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px 24px;
}

#gameView .inner-header .crumb {
  min-width: 0;
  flex-wrap: wrap;
}

#gameView .inner-header .game-press-link {
  flex: 0 0 auto;
}
