/* Vizualice starter site — plain CSS, no framework or build step required. */
:root {
  color-scheme: dark;
  --bg: #080d18;
  --bg-soft: #0d1422;
  --panel: rgba(15, 24, 39, 0.76);
  --text: #f5f7fb;
  --muted: #b5c0d1;
  --quiet: #8593a9;
  --line: rgba(223, 233, 249, 0.16);
  --white: #ffffff;
  --gold: #FF8000;
  /*#f1bd66;*/
  --blue: #47C7FC;
  /*#8fcaff*/
  --green: #d7df21;
  --max: 1280px;
  --gutter: clamp(1.25rem, 5vw, 4.5rem);
  --font-body: "Oxanium", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Orbitron", "Arial Narrow", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img,
video {
  max-width: 100%;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
}

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

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

::selection {
  background: rgba(241, 189, 102, 0.34);
  color: #fff;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: 100%;
  padding: 1.2rem var(--gutter);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(180deg, rgba(5, 9, 17, 0.62), rgba(5, 9, 17, 0.08));
  backdrop-filter: blur(10px);
}

.wordmark {
  font-family: var(--font-display);
  font-size: .94rem;
  font-weight: 850;
  letter-spacing: .19em;
  white-space: nowrap;
}

.wordmark__dot {
  color: var(--gold);
}

.wordmark__vizu {
  color: var(--white);
}

.wordmark__alice {
  color: var(--green);
}

.wordmark--small {
  font-size: .8rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.3rem);
  min-height: 48px;
}

.site-nav a {
  color: #d9e0eb;
  font-size: .88rem;
  transition: color .2s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--gold);
}

.site-footer a.is-active {
  color: var(--gold);
}

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: min(850px, 100svh);
  min-height: max(700px, 100svh);
  overflow: hidden;
  background-color: #080d18;
  background-image: linear-gradient(90deg, rgba(5, 9, 17, .90) 0%, rgba(5, 9, 17, .64) 44%, rgba(5, 9, 17, .20) 100%), url("assets/LuminaireKeyArt.jpg");
  /* Keep the artwork anchored at the upper-right; cover crops from the opposite edges. */
  background-position: right top;
  background-size: cover;
}

.hero__video {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right top;
}

.site-logo {
  display: inline-flex;
  align-items: left;
  flex-shrink: 0;
}

/* Vizualice combined logo and wordmark */
.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-vizualice {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.logo-container {
  display: flex;
  justify-content: center; /* Horizontal */
  align-items: center;     /* Vertical */
  /* min-height: 100vh; */
}

.logo-vizualice-studio {
  display: block;
  width: 384px;
  height: 384px;
  margin: auto;
  justify-content: center;
  object-fit: contain;
}

.logo-luminaire {
  display: block;
  margin: auto;
  transform: scale(2);
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.logo-luminaire-home {
  display: block;
  margin: auto;
  transform: scale(2.4);
  padding-top: 1vh;
  padding-bottom: 1vh;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.brand-lockup .wordmark {
  display: inline-block;
}

.hero__scrim {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 9, 17, .91) 0%, rgba(5, 9, 17, .33) 46%, rgba(5, 9, 17, .09) 100%), linear-gradient(0deg, rgba(5, 9, 17, .55), transparent 28%);
}

.hero__content {
  width: min(760px, 100%);
  padding: 8.5rem var(--gutter) 7rem;
}

.label__screenshot {
  text-transform: uppercase;
  text-align: center;
  font-family: var(--font-body);
}

.section__label__mini {
  margin-bottom: 0.5rem !important;
  padding: 0 0;
}

.eyebrow,
.section__label {
  margin: 0 0 1.1rem;
  color: var(--gold);
  font-size: .71rem;
  font-weight: 800;
  letter-spacing: .19em;
  text-transform: uppercase;
}

.eyebrow-blue,
.section__label {
  margin: 0 0 1.1rem;
  color: var(--blue);
  font-size: .71rem;
  font-weight: 800;
  letter-spacing: .19em;
  text-transform: uppercase;
}

.eyebrow-white {
  margin: 0 0 1.1rem;
  color: var(--white);
  font-size: .71rem;
  font-weight: 800;
  letter-spacing: .19em;
  text-transform: uppercase;
}

.hero__title {
  font-family: var(--font-display);
  margin: 0;
  /* font-size: clamp(3.1rem, 8vw, 6.6rem); */
  font-size: clamp(2.48rem, 6.4vw, 5.28rem);
  font-weight: 720;
  letter-spacing: -.04em;
  line-height: .99;
}

.hero__title span,
h2 span {
  color: var(--blue);
}

.hero__lede {
  max-width: 550px;
  margin: 1.8rem 0 2rem;
  color: #d2d9e5;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  min-height: 48px;
  padding: .8rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: .88rem;
  font-weight: 750;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

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

.button--primary {
  color: #101522;
  background: var(--gold);
}

.button--primary:hover {
  background: #ffd58e;
}

.button--ghost {
  border-color: rgba(255, 255, 255, .32);
  background: rgba(5, 9, 17, .2);
  color: #fff;
}

.button--ghost:hover {
  border-color: var(--blue);
  background: rgba(143, 202, 255, .10);
}

.button--muted {
  color: #c2cad6;
  border-color: var(--line);
  background: rgba(255, 255, 255, .04);
  cursor: default;
}

.hero__signature {
  margin: 1rem 0;
  /* color: #c6cfdd; */
  color: var(--gold);
  font-size: .8rem;
  letter-spacing: .06em;
}

.scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: var(--gutter);
  display: flex;
  align-items: center;
  gap: .75rem;
  color: #c2cad8;
  font-size: .63rem;
  font-weight: 700;
  letter-spacing: .16em;
}

.scroll-cue span {
  display: block;
  width: 35px;
  height: 1px;
  background: var(--gold);
}

.section {
  /* Reduced from (4.5rem, 9vw, 8rem) to something tighter */
  /* padding: clamp(4.5rem, 9vw, 8rem) var(--gutter);  */
  padding: clamp(2rem, 2vw, 4rem) var(--gutter);
}

.section__studio {
  /* padding: clamp(4.5rem, 9vw, 8rem) var(--gutter);  */
  padding: clamp(2rem, 2vw, 4rem) var(--gutter);
}

.section__label {
  margin-bottom: 2.5rem;
  color: var(--quiet);
}

.section__label_screenshot {
  padding: 0 var(--gutter);
}

.studio-profile {
  align-self: center;
}

.studio-grid,
.contact-grid,
.overview-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 7vw, 7rem);
  max-width: var(--max);
  margin: 0 auto;
}

h2 {
  font-family: var(--font-display);
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4.3rem);
  font-weight: 650;
  letter-spacing: -.03em;
  line-height: 1.08;
}

.section__copy {
  max-width: 570px;
  color: var(--muted);
}

.section__copy p:first-child {
  margin-top: .3rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  margin-top: .7rem;
  color: var(--gold);
  font-size: .9rem;
  font-weight: 750;
}

.text-link:hover {
  color: #ffdaa0;
}

.featured-game {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  min-height: 510px;
  overflow: hidden;
  background: #0d1524;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.featured-game__art {
  min-height: 540px;
  background-color: #111e32;
  background-image: linear-gradient(90deg, transparent 60%, #0d1524 100%), url("../MainCapsule.jpg");
  background-position: right top;
  background-size: cover;
}

.featured-game__art2 {
  min-height: 600px;
  background-color: #111e32;
  background-image: linear-gradient(90deg, transparent 60%, #0d1524 100%), url("../screenshots/screenshot-06.jpg");
  background-position: center;
  background-size: cover;
}

.featured-game__art3 {
  min-height: 600px;
  background-color: #111e32;
  background-image: linear-gradient(90deg, transparent 60%, #0d1524 100%), url("../screenshots/screenshot-06.jpg");
  background-position: center;
  background-size: cover;
}

.featured-game__content {
  align-self: center;
  /* max-width: 650px; */
  /* padding: 4rem var(--gutter) 4rem clamp(1rem, 3vw, 3rem); */
  padding: 1.5rem var(--gutter) 1.5rem clamp(1rem, 3vw, 3rem);

}

.game-wordmark {
  font-family: var(--font-display);
  margin: 0;
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 600;
  letter-spacing: +.015em;
  line-height: .98;
}

/* .game-wordmark span { color: var(--gold); } */
.game-wordmark-lumi {
  color: var(--blue);
}

.game-wordmark-naire {
  color: var(--gold);
}

.game-wordmark-amp {
  color: var(--white);
}

.game-subtitle {
  font-family: var(--font-display);
  /* margin: .7rem 0 1.4rem; */
  margin: 0 0;
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: .125em;
  /* align-items: left; */
  /* text-align: left; */
}

.featured-game__content>p:not(.eyebrow):not(.game-subtitle) {
  /* max-width: 440px; */
  margin: 0 0 1.5rem;
  color: var(--muted);
}

.section--contact {
  background: #0b1220;
}

.contact-grid {
  align-items: start;
}

.muted,
.micro-note {
  color: var(--quiet);
}

.contact-email {
  display: inline-block;
  margin-top: .3rem;
  color: var(--gold);
  font-size: clamp(1.1rem, 2.2vw, 1.55rem);
  font-weight: 650;
  border-bottom: 1px solid rgba(143, 202, 255, .35);
}

.contact-email:hover {
  color: #c3e5ff;
}

.social-block {
  padding-top: .3rem;
}

.social-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .2rem 1.6rem;
}

.social-links a {
  display: flex;
  justify-content: space-between;
  padding: .7rem 0;
  border-bottom: 1px solid var(--line);
  color: #d8e0ed;
  font-size: .92rem;
}

.social-links a span {
  color: var(--gold);
}

.social-links a:hover {
  color: var(--gold);
}

.micro-note {
  margin-top: 1rem;
  font-size: .76rem;
  line-height: 1.6;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.6em var(--gutter);
  border-top: 1px solid var(--line);
  color: var(--quiet);
  font-size: .78rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a:hover {
  color: var(--gold);
}

/* Game details page */
/* .game-hero { position: relative; display: grid; place-items: center; min-height: 640px; min-height: max(640px, 100svh); overflow: hidden; padding: 7rem var(--gutter) 5rem; text-align: center; background: #080d18; } */
.game-hero {
  position: relative;
  display: flex;
  /* Switch from grid to flex for easier alignment */
  flex-direction: column;
  justify-content: flex-end;
  /* Keeps content vertically centered */
  align-items: flex-start;
  /* Aligns content to the left */
  min-height: 640px;
  min-height: max(640px, 100svh);
  overflow: hidden;
  padding: 8rem var(--gutter) 5rem;
  text-align: center;
  /* Aligns text inside to the left */
  background: #080d18;
}

.game-hero__content .button {
  display: block;
  /* Allows margin auto to work horizontally */
  width: max-content;
  /* Keeps the button from stretching full width */
  margin-left: auto;
  /* Pushes it to the center */
  margin-right: auto;
}

.game-hero__background {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #080d18 0%, rgba(8, 13, 24, .42) 20%, rgba(8, 13, 24, .55) 100%), url("../LuminaireKeyArt.jpg") right top / cover;
  opacity: 1.0;
}

.game-hero__content {
  /* Ensure the parent doesn't clip the overflow */
  overflow: visible; /* 'visible' is usually default, but good to ensure */
  position: relative;
  width: min(850px, 100%);
}

.game-wordmark--large {
  font-size: clamp(3.2rem, 9vw, 7rem);
}

.game-hero__lede {
  max-width: 650px;
  margin: 0.5rem auto 2rem;
  color: #d8e0ed;
  font-size: clamp(1rem, 1.7vw, 1.2rem);
}

.game-overview {
  background: #0b1220;
}

.feature-section,
.trailer-section,
.press-downloads,
.press-gallery {
  padding: clamp(4rem, 8vw, 7rem) var(--gutter);
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
}

.press-gallery-screenshot {
  /* padding: clamp(4rem, 8vw, 7rem) var(--gutter); */
  /* max-width: calc(var(--max) + 2 * var(--gutter)); */
  padding-bottom: clamp(2rem, 4vw, 4rem);
  margin-inline: auto;
}

.press-gallery-screenshot-download {
  padding: clamp(4rem, 8vw, 7rem) var(--gutter);
  max-width: calc(var(--max) + 2 * var(--gutter));
  padding-bottom: clamp(2rem, 4vw, 4rem);
  margin-inline: auto;
}

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

.feature-card {
  min-height: 240px;
  padding: 1.6rem;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .008));
}

.feature-card__number {
  color: var(--gold);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .15em;
}

.feature-card h3 {
  margin: 2.5rem 0 .5rem;
  font-size: 1.3rem;
  letter-spacing: -.025em;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
}

.video-section {
  padding: clamp(2rem, 2vw, 2rem) var(--gutter);
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  /* padding-top: 2rem;  */
  max-width: 100%;

}

.trailer-section {
  padding-top: 2rem;
  max-width: 100%;
  /* background: #0b1220;  */
  /* min-height: max(640px, 80svh); */
}

.trailer-placeholder {
  display: grid;
  place-items: center;
  min-height: 330px;
  padding: 2rem;
  border: 1px solid var(--line);
  background: radial-gradient(ellipse at center, #172943 0%, #0a1120 70%);
  text-align: center;
}

.play-symbol {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  padding-left: 4px;
  border: 1px solid rgba(241, 189, 102, .65);
  border-radius: 50%;
  color: var(--gold);
}

.trailer-placeholder h2 {
  margin-top: 1rem;
  font-size: 1.6rem;
}

.trailer-placeholder p {
  max-width: 500px;
  color: var(--muted);
}

.game-cta {
  padding: clamp(4.5rem, 9vw, 8rem) var(--gutter);
  text-align: center;
  background: #0d1524;
}

.game-cta h2 {
  margin: 0 auto 1.3rem;
}

.game-cta>p:not(.eyebrow) {
  max-width: 560px;
  margin: 0 auto 1.7rem;
  color: var(--muted);
}

.button-row--center {
  justify-content: center;
}

/* Press kit page */
.page-heading {
  max-width: var(--max);
  margin: 0 auto;
  padding: 8rem 0 1rem;
  text-align: left;
  background: radial-gradient(ellipse at 50% 10%, #182a45 0%, #080d18 70%);
}

.page-heading h1 {
  font-family: var(--font-display);
  margin: 0;
  font-size: clamp(3rem, 7vw, 5.8rem);
  font-weight: 750;
  letter-spacing: -.04em;
  line-height: 1;
}

.heading-period {
  color: var(--gold);
}

.page-heading>p:last-child {
  max-width: 660px;
  margin: 1.4rem auto 0;
  color: var(--muted);
}

/* .press-game-card { display: grid; grid-template-columns: .95fr 1.05fr; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); } */
.press-game-card {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  align-items: stretch;
  /* Ensures both grid columns match height */
  max-width: var(--max);
  margin: 0 auto;
  /* padding: 0 var(--gutter); */
  padding: 0 0;
}

.press-game-card__art {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #111e32;
  border: 1px solid var(--line);
  min-height: 450px;
  /* Constraints move here */
  min-width: 300px;
}

.press-game-card__art2 {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #111e32;
  border: 1px solid var(--line);
  min-height: 450px;
  /* Constraints move here */
  min-width: 300px;
}

.press-game-card__art img {
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: cover;
}

.press-game-card__art2 img {
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: cover;
}

.press-game-card__body {
  align-self: stretch;
  /* Forces it to match the art column height */
  display: flex;
  flex-direction: column;
  
  justify-content: top;
  /* Vertically centers the text content */
  padding: 1.5vh clamp(1.5rem, 4vw, 3.5rem);
  border: 1px solid var(--line);
  border-left: 0;
  background: var(--bg-soft);
}

/* .press-game-card__art { min-width: 300px; min-height: 450px; background-color: transparent; background-image: url("assets/game-keyart.png"); background-position: right center; background-size: contain; background-repeat: no-repeat; border: 1px solid var(--line); } */
/* .press-game-card__body { align-self: center; padding: clamp(1.5rem, 4vw, 3.5rem); border: 1px solid var(--line); border-left: 0; background: var(--bg-soft); } */
.press-game-card__body h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.press-game-card__body>p:not(.eyebrow):not(.press-facts) {
  color: var(--muted);
}

.press-facts {
  margin: 1.5rem 0;
  margin-bottom: 0 !important;
  color: var(--muted);
  font-size: .9rem;
  line-height: 2;
}

.press-facts strong {
  display: inline-block;
  min-width: 100px;
  color: #eef2f8;
}

.press-downloads {
  padding-top: 5rem;
}

.press-downloads>h2,
.press-gallery>h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
}

.section-intro {
  max-width: 680px;
  color: var(--muted);
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.download-card {
  display: flex;
  flex-direction: column;
  min-height: 290px;
  padding: 1.5rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .025);
}

.download-card__icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(241, 189, 102, .45);
  color: var(--gold);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .09em;
}

.download-card h3 {
  margin: 1.5rem 0 .4rem;
  font-size: 1.15rem;
}

.download-card p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: .9rem;
}

.download-card .text-link {
  align-self: start;
  margin-top: auto;
}

.download-card__note {
  margin-top: .5rem;
  color: var(--quiet);
  font-size: .72rem;
}

.press-gallery {
  padding-top: 2rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .8rem;
  margin-top: 1.6rem;
}

.gallery-grid-screenshot {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .8rem;
  margin-top: 1.6rem;
}

.gallery-placeholder {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(200, 215, 235, .25);
  background: linear-gradient(135deg, #142239, #0a101d);
  color: #8e9db3;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .15em;
  min-width: 0;
}

.gallery-video-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  /* gap: .8rem; margin-top: 1.6rem;  */
  /* margin-left: 3.2rem; margin-right: 3.2rem;  */
}

.gallery-video-placeholder {
  display: grid;
  place-items: center;
  aspect-ratio: 2.42 / 1;
  max-width: 900px;
  /* min-width: 900px; */
  border: 1px solid rgba(200, 215, 235, .25);
  background: linear-gradient(135deg, #142239, #0a101d);
  color: #8e9db3;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .15em;
  margin: 0 auto;
}

.gallery-video-text {
  width: 100%;
  max-width: 900px;
  margin: 1rem auto;
  line-height: 1.6;
}

br {
  display: block;
  content: "";
  margin-top: 8px;
  /* Adjust this value (e.g., 6px to 12px) to get the exact spacing you want */
}

.press-contact {
  padding: clamp(4rem, 8vw, 6rem) var(--gutter);
  text-align: center;
  background: #0d1524;
}

.press-contact h2 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.press-contact>p:not(.eyebrow):not(.micro-note) {
  max-width: 590px;
  margin: 1rem auto;
  color: var(--muted);
}

.press-contact .contact-email {
  margin-bottom: .6rem;
}

.press-contact .micro-note {
  max-width: 650px;
  margin-inline: auto;
}

/* 🔵🔵🔵🔵🔵🔵🔵🔵🔵🔵 */

/* Make gallery buttons behave like image containers */

.gallery-placeholder {
  /* border: none; */
  padding: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.gallery-placeholder img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform .3s ease;
}

.gallery-placeholder:hover img {
  /* transform: scale(.97); */
  outline: var(--gold)solid 5px ;
  outline-offset: -5px;
}

/* Lightbox overlay */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;

  display: none;
  align-items: center;
  justify-content: center;

  /* padding: 4rem; */
  background: rgba(5, 8, 15, .96);
}

.lightbox.active {
  display: flex;
}

/* Main image */

.lightbox-content {
  max-width: 100%;
  max-height: 100vh;
  text-align: center;
}

.lightbox-content img {
  display: block;
  max-width: 100%;
  max-height: 100vh;
  object-fit: contain;
  margin: auto;
}

.lightbox-content span {
  display: block;
  margin-top: 1rem;
  color: #aaa;
  font-size: .8rem;
  letter-spacing: .15em;
}

/* Navigation buttons */

.lightbox button {
  position: absolute;
  border: none;
  background: transparent;
  color: white;
  cursor: pointer;
  transition: opacity .2s ease;
}

.lightbox button:hover {
  opacity: .6;
}

.lightbox-close {
  top: 1.5rem;
  right: 2rem;
  font-size: 2.5rem;
}

.lightbox-prev {
  left: 2rem;
  font-size: 2rem;
}

.lightbox-next {
  right: 2rem;
  font-size: 2rem;
}

/* Mobile adjustments */

.lightbox-content img {
  touch-action: pan-y;
}

/* 🔵🔵🔵🔵🔵🔵🔵🔵🔵🔵 */

@media (max-width: 1024px) {
  .game-hero__background {
    background: linear-gradient(0deg, #080d18 0%, rgba(8, 13, 24, .42) 15%, rgba(8, 13, 24, .55) 100%), url("../../assets/LuminaireKeyArt.jpg") right -10vw top / cover; 
  }

  .hero__video {
    object-position: 92% top;
  }
}

.press-gallery-screenshot-download {
  padding: 0;
  max-width: 100%;
  padding-bottom: clamp(2rem, 4vw, 4rem);
  margin-inline: auto;
}

.section__label_screenshot__download {
  padding: 0 var(--gutter);
}

@media (max-width: 840px) {
  .game-hero__background {
    background: linear-gradient(0deg, #080d18 0%, rgba(8, 13, 24, .42) 15%, rgba(8, 13, 24, .55) 100%), url("../../assets/LuminaireKeyArt.jpg") right -20vw top / cover; 
  }

  .hero__video {
    object-position: 89% top;
  }

  /* Press kit page */
.page-heading {
  max-width: var(--max);
  margin: 0 auto;
  padding: 8rem var(--gutter) 1rem;
  text-align: left;
  background: radial-gradient(ellipse at 50% 10%, #182a45 0%, #080d18 70%);
}

.section__label__mini {
  margin-bottom: 0.5rem !important;
  padding: 0 var(--gutter);
}
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    padding-block: 1rem;
  }

  .game-hero__background {
    background: linear-gradient(0deg, #080d18 0%, rgba(8, 13, 24, .42) 15%, rgba(8, 13, 24, .55) 100%), url("../../assets/LuminaireKeyArt.jpg") right -25vw top / cover; 
  }

  .hero__video {
    object-position: 87% top;
  }

  .site-nav {
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: .45rem 1rem;
  }

  .site-nav a {
    font-size: .78rem;
  }

  .hero {
    min-height: max(680px, 100svh);
    background-position: right top;
  }

  .hero__scrim {
    background: linear-gradient(90deg, rgba(5, 9, 17, .88), rgba(5, 9, 17, .48)), linear-gradient(0deg, rgba(5, 9, 17, .6), transparent 40%);
  }

  .hero__content {
    padding-top: 9rem;
  }

  .hero__title {
    /* font-size: clamp(3.2rem, 15vw, 5.7rem); */
    font-size: clamp(2.56rem, 12vw, 4.56rem);
  }

  .studio-grid,
  .contact-grid,
  .overview-grid {
    grid-template-columns: 1fr;
    gap: 1.7rem;
  }

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

  .featured-game__art {
    min-height: 320px;
    background-image: linear-gradient(0deg, #0d1524 0%, transparent 40%), url("assets/LuminaireKeyArt.jpg");
    background-position: right top;
  }

  .featured-game__content {
    padding: 1rem var(--gutter) 4rem;
  }

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

  .feature-grid,
  .download-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
  }

  .feature-card h3 {
    margin-top: 1.5rem;
  }

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

  .press-game-card__art {
    min-height: 300px;
  }

  .press-game-card__body {
    border-left: 1px solid var(--line);
    border-top: 0;
  }

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

  .gallery-grid-screenshot {
    grid-template-columns: 1fr;
  }

  .gallery-placeholder {
    aspect-ratio: 16 / 9;
  }

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

@media (max-width: 430px) {
  .site-header {
    gap: .8rem;
  }

  .game-hero__background {
    background: linear-gradient(0deg, #080d18 0%, rgba(8, 13, 24, .42) 15%, rgba(8, 13, 24, .55) 100%), url("../../assets/LuminaireKeyArt.jpg") right -50vw top / cover; 
  }

  .hero__video {
    object-position: 84% top;
  }

  .wordmark {
    font-family: var(--font-display);
    font-size: .8rem;
    letter-spacing: .13em;
  }

  .site-nav {
    gap: .25rem .7rem;
  }

  .site-nav a {
    font-size: .72rem;
  }

  .button {
    width: 100%;
  }

  .button-row {
    width: 100%;
  }

  .game-wordmark--large {
    font-size: clamp(2.7rem, 13vw, 3.6rem);
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }

  .hero__video {
    display: none;
  }
}

.video-container {
  width: 100%;
  max-width: 1600px;
  /* max-height: 85vh; */
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.video-container iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: none;
  border-radius: 8px;
  /* Optional rounded corners */
}
