:root {
  color-scheme: dark;
  --bg: #0b0b0b;
  --panel: #151515;
  --panel-2: #1f1f1f;
  --ink: #ffffff;
  --muted: #b9b9b9;
  --line: rgba(255, 255, 255, 0.15);
  --yellow: #f6a900;
  --theme-r: 255;
  --theme-g: 179;
  --theme-b: 199;
  --hero-theme-r: 255;
  --hero-theme-g: 179;
  --hero-theme-b: 199;
  --surface-r: 36;
  --surface-g: 21;
  --surface-b: 26;
  --hero-surface-r: 36;
  --hero-surface-g: 21;
  --hero-surface-b: 26;
  --theme-panel: #111111;
  --theme-accent: rgb(var(--theme-r) var(--theme-g) var(--theme-b));
  --theme-glow: rgb(var(--theme-r) var(--theme-g) var(--theme-b) / 0.2);
  --theme-surface: rgb(var(--surface-r) var(--surface-g) var(--surface-b));
  --theme-surface-soft: rgb(22 13 16);
  --scroll-dark: 0;
  --content-max: 1500px;
  --page-pad: clamp(1rem, 3.2vw, 4.25rem);
  --header-offset: 0px;
  --header-rgb: 255 255 255;
  --header-logo-filter: none;
  --media-opacity: 1;
  --media-blur: 0px;
  --radius: 8px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --slow: cubic-bezier(0.16, 1, 0.3, 1);
}

body[data-theme="homebnb"] {
  --theme-surface-soft: #160d10;
}

body[data-theme="lifeinvader"] {
  --theme-panel: #111111;
  --theme-surface-soft: #150605;
}

body[data-theme="celebrity"] {
  --theme-panel: #111111;
  --theme-surface-soft: #11091f;
}

.hero-slide[data-theme="homebnb"] {
  --theme-r: 255;
  --theme-g: 179;
  --theme-b: 199;
  --surface-r: 36;
  --surface-g: 21;
  --surface-b: 26;
  --theme-accent: rgb(255 179 199);
  --theme-glow: rgb(255 179 199 / 0.2);
  --theme-surface-soft: #160d10;
}

.hero-slide[data-theme="lifeinvader"] {
  --theme-r: 255;
  --theme-g: 58;
  --theme-b: 35;
  --surface-r: 37;
  --surface-g: 9;
  --surface-b: 6;
  --theme-accent: rgb(255 58 35);
  --theme-glow: rgb(255 58 35 / 0.2);
  --theme-surface-soft: #150605;
}

.hero-slide[data-theme="celebrity"] {
  --theme-r: 155;
  --theme-g: 77;
  --theme-b: 255;
  --surface-r: 27;
  --surface-g: 16;
  --surface-b: 48;
  --theme-accent: rgb(155 77 255);
  --theme-glow: rgb(155 77 255 / 0.2);
  --theme-surface-soft: #11091f;
}

* {
  box-sizing: border-box;
}

html {
  overscroll-behavior-x: none;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--theme-surface);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  overscroll-behavior-x: none;
  overflow-x: hidden;
}

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

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

button {
  color: inherit;
  font: inherit;
}

.skip-link {
  background: var(--ink);
  color: #000;
  left: 1rem;
  padding: 0.75rem 1rem;
  position: fixed;
  top: -5rem;
  z-index: 100;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  align-items: center;
  background: transparent;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 220px 1fr 220px;
  left: 0;
  padding: 1.15rem var(--page-pad);
  position: fixed;
  right: 0;
  top: 0;
  z-index: 50;
  transform: translateY(0);
  color: rgb(var(--header-rgb));
  transition: background 220ms var(--ease), border-color 220ms var(--ease), padding 220ms var(--ease),
    color 420ms var(--ease), transform 640ms var(--slow);
}

.site-header.is-scrolled {
  --header-rgb: 255 255 255;
  --header-logo-filter: none;
  background: rgba(0, 0, 0, 0.94);
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.95rem;
  padding-top: 0.95rem;
}

.site-header.is-over-bright:not(.is-scrolled) {
  --header-rgb: 0 0 0;
  --header-logo-filter: invert(1) brightness(0);
}

.site-header.is-hidden {
  transform: translateY(-110%);
}

.brand {
  align-items: center;
  display: inline-flex;
  height: 34px;
  justify-self: start;
  position: relative;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
  z-index: 2;
}

.brand img {
  filter: var(--header-logo-filter);
  height: 27px;
  object-fit: contain;
  pointer-events: none;
  transition: filter 420ms var(--ease);
  user-select: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
  width: 205px;
}

.primary-nav {
  display: flex;
  gap: 2.15rem;
  justify-content: center;
}

.primary-nav a {
  color: rgb(var(--header-rgb) / 0.86);
  font-size: 0.9rem;
  font-weight: 900;
  transition: color 620ms var(--ease);
  text-transform: uppercase;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: rgb(var(--header-rgb));
}

.launcher-pill {
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgb(var(--header-rgb) / 0.58);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 900;
  padding: 0.65rem 1.15rem;
  text-align: center;
  transition: border-color 620ms var(--ease), color 620ms var(--ease);
  text-transform: uppercase;
}

.hero {
  isolation: isolate;
  min-height: 90svh;
  overscroll-behavior-x: contain;
  overscroll-behavior-y: auto;
  overflow: hidden;
  padding: 7.7rem 4.2vw 6.2rem;
  position: relative;
  touch-action: pan-y;
}

.hero.is-scrubbing {
  cursor: grabbing;
}

.hero-stage,
.hero-slide,
.hero-frame,
.hero-shade {
  inset: 0;
  position: absolute;
}

.hero-stage {
  background: #050505;
  overflow: hidden;
  z-index: 0;
}

.hero-slide {
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translateX(100%);
  transition: transform 1550ms var(--slow), opacity 420ms var(--ease);
  will-change: transform, opacity;
}

.hero-frame {
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  transform: scale(1.018);
  transition: transform 1700ms var(--slow), filter 1200ms var(--slow);
  will-change: transform;
  width: 100%;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
  z-index: 1;
}

.hero-slide.is-active .hero-frame {
  transform: scale(1);
}

.hero-slide.is-entering {
  opacity: 1;
  transform: translateX(100%);
  z-index: 2;
}

.hero-slide.is-entering.is-active {
  transform: translateX(0);
}

.hero-slide.is-exiting {
  opacity: 1;
  transform: translateX(-100%);
  z-index: 0;
}

.hero-stage.is-transitioning .hero-frame {
  filter: saturate(1.06) contrast(1.04);
}

.hero-stage.is-scrubbing .hero-slide,
.hero-stage.is-scrubbing .hero-frame,
.hero-stage.is-scrubbing .hero-shade,
.hero-stage.is-scrubbing .hero-content,
.hero-stage.is-scrubbing .mod-logo,
.hero-stage.is-scrubbing .hero-text > * {
  transition: none !important;
}

.hero-stage.is-scrubbing .hero-slide {
  opacity: 1;
}

.hero-shade {
  background:
    linear-gradient(to top, rgb(var(--hero-surface-r) var(--hero-surface-g) var(--hero-surface-b)) 0%, rgb(var(--hero-surface-r) var(--hero-surface-g) var(--hero-surface-b) / 0.96) 7%, rgb(var(--hero-surface-r) var(--hero-surface-g) var(--hero-surface-b) / 0.82) 18%, rgb(var(--hero-surface-r) var(--hero-surface-g) var(--hero-surface-b) / 0.6) 32%, rgb(var(--hero-surface-r) var(--hero-surface-g) var(--hero-surface-b) / 0.36) 48%, rgb(var(--hero-surface-r) var(--hero-surface-g) var(--hero-surface-b) / 0.16) 64%, rgb(var(--hero-surface-r) var(--hero-surface-g) var(--hero-surface-b) / 0.04) 78%, rgb(var(--hero-surface-r) var(--hero-surface-g) var(--hero-surface-b) / 0) 90%),
    linear-gradient(90deg, rgb(var(--hero-theme-r) var(--hero-theme-g) var(--hero-theme-b) / 0.095), rgb(var(--hero-theme-r) var(--hero-theme-g) var(--hero-theme-b) / 0.038) 48%, rgb(var(--hero-theme-r) var(--hero-theme-g) var(--hero-theme-b) / 0.012) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.045) 50%, rgba(0, 0, 0, 0.03) 100%);
  pointer-events: none;
  transition: transform 1550ms var(--slow);
  z-index: 1;
}

.hero-slide.is-entering .hero-shade {
  transform: translateX(-100%);
}

.hero-slide.is-entering.is-active .hero-shade {
  transform: translateX(0);
}

.hero-slide.is-exiting .hero-shade {
  transform: translateX(100%);
}

.hero-content {
  align-items: end;
  display: grid;
  gap: clamp(2rem, 5vw, 7rem);
  grid-template-columns: minmax(270px, 430px) minmax(0, 720px);
  justify-content: space-between;
  margin: 0 auto;
  min-height: calc(88svh - 14rem);
  max-width: var(--content-max);
  position: relative;
  width: min(calc(100% - 8.4vw), var(--content-max));
  z-index: 3;
}

.hero-slide .hero-content {
  transform: translateY(clamp(1.5rem, 3vh, 2.5rem));
  transition: transform 1550ms var(--slow);
  will-change: transform;
}

.hero-slide.is-entering .hero-content {
  transform: translateY(clamp(1.5rem, 3vh, 2.5rem));
}

.hero-slide.is-exiting .hero-content {
  transform: translateY(clamp(1.5rem, 3vh, 2.5rem));
}

.mod-logo {
  justify-self: start;
  filter: drop-shadow(0 18px 38px rgba(0, 0, 0, 0.82));
  max-height: 220px;
  max-width: 430px;
  object-fit: contain;
  object-position: left bottom;
  opacity: 0;
  transform: translateY(42px);
  transition: opacity 900ms var(--ease), transform 1250ms var(--slow);
  will-change: opacity, transform;
  width: 100%;
}

.hero-text {
  align-self: end;
  justify-self: end;
  max-width: 720px;
  text-align: right;
}

.hero-text > * {
  opacity: 0;
  transform: translateY(42px);
  transition: opacity 900ms var(--ease), transform 1250ms var(--slow);
  will-change: opacity, transform;
}

.hero-text .hero-actions {
  justify-content: flex-end;
}

.hero-slide.is-active .mod-logo,
.hero-slide.is-active .hero-text > * {
  opacity: 1;
  transform: translateY(0);
}

.hero-slide.is-active .mod-logo {
  transition-delay: 130ms;
}

.hero-slide.is-active .series-label {
  transition-delay: 190ms;
}

.hero-slide.is-active h1 {
  transition-delay: 240ms;
}

.hero-slide.is-active .hero-copy {
  transition-delay: 290ms;
}

.hero-slide.is-active .hero-actions {
  transition-delay: 340ms;
}

.hero-slide.is-exiting .mod-logo,
.hero-slide.is-exiting .hero-text > * {
  opacity: 0;
  transform: translateY(-18px);
  transition-duration: 360ms, 780ms;
  transition-delay: 0ms;
}

.series-label {
  color: var(--theme-accent);
  font-size: 1rem;
  font-weight: 900;
  margin: 0 0 0.6rem;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(2.35rem, 4.1vw, 4.1rem);
  line-height: 1;
  margin-bottom: 0.8rem;
  text-shadow: 0 18px 60px rgba(0, 0, 0, 0.75);
}

.hero-copy {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.12rem;
  line-height: 1.55;
  max-width: 620px;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.75);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.button {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 900;
  gap: 0.6rem;
  min-height: 54px;
  padding: 0.9rem 1.25rem;
  transition: transform 170ms var(--ease), background 170ms var(--ease);
}

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

.button.primary {
  background: var(--theme-accent);
  border-color: var(--theme-accent);
  color: #000;
  box-shadow: 0 22px 70px var(--theme-glow);
  transition: transform 170ms var(--ease), background 800ms var(--slow), border-color 800ms var(--slow),
    box-shadow 800ms var(--slow);
}

.button.secondary {
  background: rgba(0, 0, 0, 0.24);
  color: var(--ink);
}

.play-dot {
  border-bottom: 7px solid transparent;
  border-left: 11px solid currentColor;
  border-top: 7px solid transparent;
  display: inline-block;
  height: 0;
  width: 0;
}

.hero-tabs {
  bottom: 1.2rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-left: auto;
  max-width: 1120px;
  position: absolute;
  right: 4.2vw;
  transform: translateY(125%);
  width: min(56vw, 1080px);
  z-index: 3;
}

.hero-tab {
  align-items: center;
  background: rgba(0, 0, 0, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  cursor: pointer;
  display: grid;
  gap: 0.8rem;
  grid-template-columns: 96px 1fr;
  min-height: 92px;
  overflow: hidden;
  padding: 0;
  text-align: left;
  transition: border-color 600ms var(--slow), transform 180ms var(--ease), box-shadow 600ms var(--slow);
}

.hero-tab:hover,
.hero-tab:focus-visible,
.hero-tab.is-active {
  border-color: var(--theme-accent);
  transform: translateY(-2px);
}

.hero-tab.is-active {
  background: rgba(0, 0, 0, 0.72);
  box-shadow: inset 0 -4px 0 var(--theme-accent), 0 24px 70px rgba(0, 0, 0, 0.35);
}

.hero-tab img {
  height: 92px;
  object-fit: cover;
  width: 96px;
}

.hero-tab span {
  font-weight: 900;
  padding-right: 0.8rem;
}

.hero-status {
  align-items: center;
  bottom: 4.4rem;
  display: flex;
  gap: 0.75rem;
  position: absolute;
  right: 4.2vw;
  z-index: 6;
}

.pause-button,
.status-line,
.status-dot {
  appearance: none;
  border: 0;
  cursor: pointer;
  padding: 0;
}

.pause-mark {
  border-left: 4px solid var(--ink);
  border-right: 4px solid var(--ink);
  display: block;
  height: 18px;
  opacity: 0.9;
  width: 14px;
}

.pause-button {
  align-items: center;
  background: transparent;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  width: 28px;
}

.pause-button.is-paused .pause-mark {
  border-bottom: 8px solid transparent;
  border-left: 13px solid var(--ink);
  border-right: 0;
  border-top: 8px solid transparent;
  height: 0;
  width: 0;
}

.status-line {
  background: rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  height: 8px;
  overflow: hidden;
  width: 74px;
}

.status-line span {
  background: var(--ink);
  border-radius: inherit;
  display: block;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left;
  width: 100%;
}

.status-line.is-running span {
  animation: fill-line 7s linear forwards;
}

.status-dot {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  height: 8px;
  transition: background 200ms var(--ease), transform 200ms var(--ease);
  width: 8px;
}

.status-dot.is-active {
  background: var(--theme-accent);
  transform: scale(1.25);
}

@keyframes fill-line {
  to {
    transform: scaleX(1);
  }
}

.section {
  padding: 5rem 4.2vw;
}

.featured,
.library {
  background:
    linear-gradient(180deg, var(--theme-surface) 0%, var(--theme-surface-soft) 18rem, #050505 42rem),
    var(--theme-surface);
}

.featured {
  margin-top: -2.2rem;
  padding-bottom: 6.5rem;
  padding-top: 0;
  position: relative;
  z-index: 4;
}

.section-heading {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin: 0 auto 1.5rem;
  max-width: var(--content-max);
}

.section-heading h2 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  margin: 0;
}

.section-heading a,
.section-heading span {
  color: var(--muted);
  font-weight: 900;
}

.front-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(0, 1.4fr) minmax(340px, 0.6fr);
  margin: 0 auto;
  max-width: var(--content-max);
}

.feature-card,
.news-card,
.game-grid article {
  background: var(--theme-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 170ms var(--ease), border-color 170ms var(--ease);
}

.feature-card:hover,
.news-card:hover,
.game-grid article:hover {
  border-color: rgba(255, 255, 255, 0.36);
  transform: translateY(-3px);
}

.feature-card.large {
  grid-row: span 2;
  min-height: 420px;
}

.feature-card img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
}

.feature-card.large img {
  aspect-ratio: 16 / 9;
  background: #000;
}

.side-story {
  display: block;
}

.side-story img {
  aspect-ratio: 16 / 9;
  height: auto;
  object-position: center;
}

.feature-card div,
.news-card div {
  padding: 1.2rem;
}

.feature-card p {
  color: var(--theme-accent);
  font-size: 0.78rem;
  font-weight: 900;
  margin-bottom: 0.55rem;
  text-transform: uppercase;
}

.feature-card h3 {
  font-size: clamp(1.35rem, 2.7vw, 2.25rem);
  margin-bottom: 0.55rem;
}

.side-story h3 {
  font-size: 1.2rem;
  line-height: 1.24;
}

.feature-card span {
  color: var(--muted);
  line-height: 1.5;
}

.trailer-feature {
  background: #050505;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(1rem, 2vw, 2rem) 4.2vw clamp(7rem, 9vw, 9rem);
  position: relative;
}

.trailer-feature::before {
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.48), rgba(5, 5, 5, 0.28) 42%, rgba(5, 5, 5, 0.62)),
    linear-gradient(180deg, rgba(5, 5, 5, 0.08), rgba(5, 5, 5, 0.46) 74%, #050505 100%),
    url("media/homebnb-trailer-bg.jpeg") center / cover no-repeat;
  content: "";
  inset: 0;
  opacity: 1;
  position: absolute;
  z-index: -2;
}

.trailer-feature::after {
  background:
    radial-gradient(circle at 24% 36%, rgb(255 179 199 / 0.08), transparent 28%),
    radial-gradient(circle at 72% 58%, rgb(255 179 199 / 0.08), transparent 30%),
    linear-gradient(180deg, rgba(5, 5, 5, 0), #050505 94%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

.trailer-inner {
  align-items: center;
  display: grid;
  gap: clamp(2.25rem, 4.6vw, 5.25rem);
  grid-template-columns: minmax(0, 1.52fr) minmax(320px, 0.68fr);
  margin: 0 auto;
  max-width: var(--content-max);
}

.trailer-screen {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.025) 34%, rgba(0, 0, 0, 0.72)),
    rgba(10, 10, 10, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  box-shadow:
    0 44px 140px rgba(0, 0, 0, 0.68),
    0 0 0 1px rgba(255, 179, 199, 0.08) inset;
  overflow: hidden;
  padding: 0.75rem;
  position: relative;
}

.trailer-screen::before {
  background:
    linear-gradient(90deg, rgb(255 179 199 / 0.75), transparent 26%),
    linear-gradient(180deg, rgb(255 255 255 / 0.16), transparent 38%);
  content: "";
  height: 1px;
  left: 0.75rem;
  pointer-events: none;
  position: absolute;
  right: 0.75rem;
  top: 0;
}

.trailer-frame-bar {
  align-items: center;
  color: rgba(255, 255, 255, 0.62);
  display: flex;
  font-size: 0.72rem;
  font-weight: 900;
  justify-content: space-between;
  line-height: 1.2;
  padding: 0.25rem 0.15rem 0.7rem;
  text-transform: uppercase;
}

.trailer-frame-bar span:last-child {
  color: var(--theme-accent);
}

.trailer-video {
  aspect-ratio: 16 / 9;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  box-shadow:
    0 26px 90px rgba(0, 0, 0, 0.62),
    0 0 44px rgb(255 179 199 / 0.08);
  overflow: hidden;
}

.trailer-video iframe {
  border: 0;
  display: block;
  height: 100%;
  width: 100%;
}

.trailer-caption {
  color: rgba(255, 255, 255, 0.58);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.72rem;
  font-weight: 900;
  gap: 0.7rem 1rem;
  line-height: 1.2;
  padding: 0.75rem 0.2rem 0.05rem;
  text-transform: uppercase;
}

.trailer-caption span {
  align-items: center;
  display: inline-flex;
  gap: 0.45rem;
}

.trailer-caption span::before {
  background: var(--theme-accent);
  border-radius: 999px;
  content: "";
  height: 0.35rem;
  width: 0.35rem;
}

.trailer-copy {
  justify-self: end;
  max-width: 460px;
  padding-left: clamp(1.25rem, 2vw, 2rem);
  position: relative;
}

.trailer-copy::before {
  background: linear-gradient(180deg, var(--theme-accent), rgba(255, 255, 255, 0.12));
  content: "";
  height: 100%;
  left: 0;
  opacity: 0.75;
  position: absolute;
  top: 0;
  width: 1px;
}

.trailer-logo {
  filter: drop-shadow(0 18px 38px rgba(0, 0, 0, 0.7));
  margin-bottom: 1.25rem;
  max-height: 104px;
  max-width: 330px;
  object-fit: contain;
  object-position: left center;
  width: 100%;
}

.trailer-kicker {
  color: var(--theme-accent);
  font-size: 0.82rem;
  font-weight: 900;
  margin-bottom: 0.65rem;
  text-transform: uppercase;
}

.trailer-copy h2 {
  font-size: clamp(2rem, 3.45vw, 3.35rem);
  line-height: 0.98;
  margin-bottom: 0.9rem;
}

.trailer-copy p:not(.trailer-kicker) {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  line-height: 1.55;
}

.trailer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.trailer-actions .button.primary {
  box-shadow: 0 18px 54px rgb(255 179 199 / 0.16);
}

.newswire {
  background:
    linear-gradient(180deg, var(--theme-surface) 0%, var(--theme-surface-soft) 22rem, #050505 48rem),
    var(--theme-surface);
  transition: background-color 900ms var(--slow);
}

.news-grid {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 auto;
  max-width: var(--content-max);
}

.news-card img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
}

.news-card time {
  color: var(--muted);
  display: block;
  font-size: 0.8rem;
  font-weight: 900;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}

.news-card h3 {
  font-size: 1.06rem;
  line-height: 1.3;
}

.mod-spotlight {
  background: #030303;
  overflow: clip;
  position: relative;
}

.spotlight-homebnb {
  --theme-accent: rgb(255 179 199);
  --theme-glow: rgb(255 179 199 / 0.22);
  --spotlight-bg: url("media/homebnb-spotlight-dining.jpeg");
}

.spotlight-life {
  --theme-accent: rgb(255 58 35);
  --theme-glow: rgb(255 58 35 / 0.22);
  --spotlight-bg: url("media/lifeinvader-spotlight.jpg");
}

.spotlight-celebrity {
  --theme-accent: rgb(155 77 255);
  --theme-glow: rgb(155 77 255 / 0.22);
  --spotlight-bg: url("media/bac-spotlight-city.jpeg");
}

.spotlight-media {
  background-image: var(--spotlight-bg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100svh;
  opacity: var(--media-opacity, 1);
  overflow: hidden;
  position: sticky;
  top: var(--header-offset);
  transform: translateZ(0);
  will-change: opacity;
  z-index: 0;
}

.spotlight-media::after {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.06) 66%, rgba(0, 0, 0, 0.34) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.34) 0%, rgba(0, 0, 0, 0.12) 42%, rgba(0, 0, 0, 0.04) 100%);
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}

.spotlight-media img {
  backface-visibility: hidden;
  filter: saturate(1.04) brightness(1.02) blur(var(--media-blur, 0px));
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: translateZ(0) scale(var(--media-scale, 1));
  transform-origin: center;
  will-change: filter, transform;
  width: 100%;
}

.mod-spotlight.is-paused .spotlight-media img {
  animation-play-state: paused;
}

.spotlight-panel {
  background:
    linear-gradient(180deg, transparent 0, rgba(3, 3, 3, 0.01) 60svh, rgba(3, 3, 3, 0.36) 96svh, #030303 124svh);
  margin-top: calc(-100svh + var(--header-offset));
  padding-top: clamp(30rem, 72svh, 52rem);
  position: relative;
  z-index: 2;
}

.spotlight-copy {
  align-items: center;
  display: grid;
  gap: clamp(2.5rem, 5vw, 5.4rem);
  grid-template-columns: minmax(170px, 320px) minmax(0, 560px);
  margin: 0 auto;
  max-width: var(--content-max);
  min-height: 0;
  padding: 0 0 2.15rem;
  position: relative;
  width: min(calc(100% - (var(--page-pad) * 2)), var(--content-max));
}

.spotlight-logo {
  filter: drop-shadow(0 18px 38px rgba(0, 0, 0, 0.85));
  max-height: 185px;
  max-width: 320px;
  object-fit: contain;
  object-position: left bottom;
  width: 100%;
}

.spotlight-copy > div {
  justify-self: start;
  max-width: 560px;
  text-align: left;
}

.spotlight-kicker,
.jump-card p {
  color: var(--theme-accent);
  font-size: 0.78rem;
  font-weight: 900;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}

.spotlight-copy h2 {
  font-size: clamp(1.65rem, 2.35vw, 2.45rem);
  line-height: 1.04;
  margin-bottom: 0.75rem;
  text-shadow: 0 18px 60px rgba(0, 0, 0, 0.75);
}

.spotlight-copy p:not(.spotlight-kicker) {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.98rem;
  line-height: 1.48;
  max-width: 520px;
}

.spotlight-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.35rem;
}

.media-toggle {
  align-items: center;
  appearance: none;
  background: rgba(255, 255, 255, 0.92);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  height: 42px;
  justify-content: center;
  position: absolute;
  right: var(--page-pad);
  top: 1.2rem;
  width: 42px;
  z-index: 3;
}

.media-toggle span {
  border-left: 4px solid #000;
  border-right: 4px solid #000;
  display: block;
  height: 16px;
  width: 13px;
}

.mod-spotlight.is-paused .media-toggle span {
  border-bottom: 8px solid transparent;
  border-left: 13px solid #000;
  border-right: 0;
  border-top: 8px solid transparent;
  height: 0;
  width: 0;
}

.jump-section {
  background: linear-gradient(
    180deg,
    rgba(3, 3, 3, 0) 0%,
    rgba(3, 3, 3, 0.28) 2.4rem,
    rgba(3, 3, 3, 0.78) 7rem,
    #030303 15rem
  );
  padding: 4.25rem var(--page-pad) 7rem;
  position: relative;
  z-index: 3;
}

.jump-heading {
  margin: 0 auto 1.55rem;
  max-width: var(--content-max);
}

.jump-heading h2 {
  font-size: clamp(1.55rem, 2.6vw, 2rem);
  margin: 0;
}

.jump-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 auto;
  max-width: var(--content-max);
}

.jump-card {
  background: #151515;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  min-height: clamp(360px, 30vw, 500px);
  overflow: hidden;
  position: relative;
  transition: border-color 180ms var(--ease), transform 180ms var(--ease);
}

.jump-card:hover {
  border-color: rgba(255, 255, 255, 0.34);
  transform: translateY(-4px);
}

.jump-card img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  transition: transform 500ms var(--slow), filter 500ms var(--slow);
  width: 100%;
}

.jump-card:hover img {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.04);
}

.jump-card::after {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.03) 0%, rgba(0, 0, 0, 0.2) 42%, rgba(0, 0, 0, 0.82) 100%);
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}

.jump-card div {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  inset: auto 0 0;
  padding: 1.35rem 1.25rem 1.5rem;
  position: absolute;
  text-align: center;
  z-index: 2;
}

.jump-card h3 {
  font-size: clamp(1rem, 1.15vw, 1.22rem);
  line-height: 1.28;
  margin: 0;
  max-width: 300px;
}

.card-button {
  align-items: center;
  background: var(--theme-accent);
  border-radius: 999px;
  color: #050505;
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 900;
  justify-content: center;
  min-height: 48px;
  min-width: 128px;
  padding: 0.72rem 1.15rem;
  transition: filter 180ms var(--ease), transform 180ms var(--ease);
}

.card-button:hover,
.card-button:focus-visible {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.game-library {
  background: #030303;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.library-heading {
  align-items: end;
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  margin: 0 auto 1.5rem;
  max-width: var(--content-max);
}

.library-heading h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  margin-bottom: 0.6rem;
}

.library-heading p {
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 0;
  max-width: 620px;
}

.game-library .game-grid article {
  background: #151515;
}

@keyframes spotlight-drift {
  from {
    transform: scale(1.04) translate3d(-0.7%, 0, 0);
  }

  to {
    transform: scale(1.1) translate3d(0.7%, -0.4%, 0);
  }
}

@media (max-width: 1900px) {
  :root {
    --page-pad: clamp(1rem, 2.55vw, 3.25rem);
  }
}

.game-grid {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 auto;
  max-width: var(--content-max);
}

.game-grid img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
}

.game-grid h3 {
  font-size: 1rem;
  margin: 1rem;
}

.studio-band {
  align-items: center;
  background: #030303;
  border-top: 1px solid var(--line);
  display: flex;
  min-height: 420px;
  padding: 5rem 4.2vw;
}

.studio-band div {
  max-width: 900px;
}

.studio-band p {
  color: var(--theme-accent);
  font-weight: 900;
  text-transform: uppercase;
}

.studio-band h2 {
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 0.95;
}

.site-footer {
  background: #030303;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
  font-weight: 800;
  padding: 3.25rem var(--page-pad) 3rem;
}

.footer-top,
.footer-bottom {
  align-items: center;
  display: flex;
  gap: 2rem;
  margin: 0 auto;
  max-width: var(--content-max);
}

.footer-social {
  align-items: center;
  display: flex;
}

.footer-bottom p {
  transition: color 180ms var(--ease);
}

.footer-social {
  gap: 1rem;
}

.footer-top {
  justify-content: center;
}

.footer-bottom {
  justify-content: space-between;
}

.footer-social a {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  height: 38px;
  justify-content: center;
  position: relative;
  transition: background 180ms var(--ease), transform 180ms var(--ease);
  width: 38px;
}

.footer-social a:hover,
.footer-social a:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.footer-social img {
  filter: brightness(0) invert(1);
  height: 16px;
  object-fit: contain;
  width: 16px;
}

.footer-social a[href*="youtube"] img {
  width: 18px;
}

.footer-bottom {
  color: rgba(255, 255, 255, 0.46);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  margin-top: 4.4rem;
  width: 100%;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom p:nth-child(2) {
  text-align: center;
}

.footer-bottom p:last-child {
  text-align: right;
  justify-self: end;
}

@media (max-width: 980px) {
  :root {
    --header-offset: 0px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .primary-nav {
    grid-column: 1 / -1;
    order: 3;
  }

  .front-grid,
  .news-grid,
  .game-grid,
  .jump-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trailer-inner {
    grid-template-columns: 1fr;
  }

  .trailer-copy {
    border-left: 0;
    justify-self: start;
    max-width: 680px;
    padding-left: 0;
  }

  .trailer-copy::before {
    display: none;
  }

  .spotlight-copy {
    align-items: end;
    grid-template-columns: 1fr;
  }

  .spotlight-logo {
    max-height: 165px;
    max-width: 300px;
  }

  .spotlight-copy > div {
    justify-self: start;
  }
}

@media (max-width: 680px) {
  :root {
    --header-offset: 0px;
  }

  .site-header {
    gap: 0.9rem;
    padding: 0.9rem 1rem;
  }

  .brand img {
    width: min(250px, 68vw);
  }

  .launcher-pill {
    display: none;
  }

  .primary-nav {
    gap: 1rem;
    overflow-x: auto;
  }

  .primary-nav a {
    font-size: 0.78rem;
    white-space: nowrap;
  }

  .hero {
    min-height: 100svh;
    padding: 7.5rem 1rem 4rem;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 58svh;
    width: 100%;
  }

  .hero-text {
    align-self: flex-start;
    max-width: min(330px, 100%);
    width: 100%;
  }

  .mod-logo {
    margin-bottom: 1rem;
    max-height: 74px;
    max-width: min(260px, 78vw);
  }

  h1 {
    font-size: 2.55rem;
    line-height: 1;
    max-width: 330px;
  }

  .hero-copy {
    font-size: 0.98rem;
    max-width: 330px;
  }

  .button {
    min-height: 48px;
    padding: 0.75rem 1rem;
  }

  .hero-tabs,
  .front-grid,
  .news-grid,
  .game-grid,
  .jump-grid {
    grid-template-columns: 1fr;
  }

  .hero-tabs {
    display: none;
  }

  .hero-status {
    bottom: auto;
    justify-content: flex-start;
    margin-top: 1.9rem;
    position: relative;
    right: auto;
  }

  .status-line {
    width: 58px;
  }

  .hero-tab {
    grid-template-columns: 82px 1fr;
    min-height: 78px;
  }

  .hero-tab img {
    height: 78px;
    width: 82px;
  }

  .section {
    padding: 4rem 1rem;
  }

  .trailer-feature {
    padding: 0.75rem 1rem 5.75rem;
  }

  .trailer-screen {
    padding: 0.55rem;
  }

  .trailer-frame-bar {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.25rem;
    padding-bottom: 0.55rem;
  }

  .trailer-caption {
    gap: 0.45rem 0.75rem;
    padding-top: 0.65rem;
  }

  .trailer-copy h2 {
    font-size: 2.45rem;
  }

  .trailer-copy p:not(.trailer-kicker) {
    font-size: 0.98rem;
  }

  .trailer-logo {
    max-height: 82px;
    max-width: 270px;
  }

  .spotlight-panel {
    margin-top: calc(-100svh + var(--header-offset));
    padding-top: clamp(24rem, 62svh, 38rem);
  }

  .spotlight-copy {
    min-height: 0;
    padding: 0 1rem 2.25rem;
  }

  .spotlight-copy h2 {
    font-size: 2.45rem;
  }

  .spotlight-copy p:not(.spotlight-kicker) {
    font-size: 0.98rem;
  }

  .media-toggle {
    right: 1rem;
    top: 1rem;
  }

  .jump-section {
    padding: 3.5rem 1rem 4.5rem;
  }

  .jump-card {
    min-height: 380px;
  }

  .library-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .featured {
    margin-top: -2rem;
    padding-bottom: 5.25rem;
    padding-top: 0;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer {
    padding: 2.4rem 1rem 2.6rem;
  }

  .footer-top,
  .footer-bottom {
    align-items: flex-start;
    gap: 1.2rem;
  }

  .footer-top {
    justify-content: center;
  }

  .footer-social {
    gap: 0.7rem;
  }

  .footer-bottom {
    display: flex;
    flex-direction: column;
    margin-top: 3.2rem;
  }

  .footer-bottom p:nth-child(2),
  .footer-bottom p:last-child {
    text-align: left;
  }
}
