:root {
  color-scheme: dark;
  --ink: #071018;
  --ink-2: #0b1822;
  --navy: #102433;
  --cyan: #19d4f0;
  --cyan-soft: rgba(25, 212, 240, 0.18);
  --gold: #f5c85a;
  --gold-deep: #9f742a;
  --ivory: #f7f1df;
  --muted: #9fb0bf;
  --green: #28d68e;
  --ruby: #a23b4a;
  --line: rgba(247, 241, 223, 0.16);
  --glass: rgba(6, 14, 21, 0.72);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.46);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 10% 20%, rgba(162, 59, 74, 0.2), transparent 26rem),
    radial-gradient(circle at 90% 10%, rgba(25, 212, 240, 0.14), transparent 24rem),
    linear-gradient(180deg, #071018 0%, #0a1219 38%, #0d1822 100%);
  color: var(--ivory);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, transparent, black 18%, black 82%, transparent);
}

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

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

button {
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: center;
  min-height: 72px;
  padding: 0.85rem clamp(1rem, 3vw, 2.5rem);
  border-bottom: 1px solid transparent;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.site-header[data-scrolled="true"] {
  background: rgba(5, 12, 18, 0.86);
  border-color: var(--line);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.brand-mark {
  display: flex;
  align-items: center;
  width: 160px;
}

.brand-mark img {
  width: 100%;
  height: auto;
}

.main-nav,
.header-actions {
  display: flex;
  align-items: center;
}

.main-nav {
  justify-content: center;
  gap: 1.45rem;
  color: rgba(247, 241, 223, 0.78);
  font-size: 0.92rem;
  font-weight: 700;
}

.main-nav a {
  position: relative;
  padding: 0.35rem 0;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  content: "";
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 160ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-actions {
  gap: 0.7rem;
}

.language-menu {
  position: relative;
  display: inline-block;
}

.language-menu summary {
  display: inline-flex;
  min-width: 4.25rem;
  min-height: 2.5rem;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 1px solid rgba(247, 241, 223, 0.18);
  background: rgba(6, 14, 21, 0.68);
  color: var(--ivory);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 900;
  list-style: none;
}

.language-menu summary::-webkit-details-marker {
  display: none;
}

.language-code {
  color: var(--gold);
}

.language-caret {
  width: 0.42rem;
  height: 0.42rem;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-2px) rotate(45deg);
  transition: transform 160ms ease;
}

.language-menu[open] .language-caret {
  transform: translateY(2px) rotate(225deg);
}

.language-list {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr;
  width: 14.5rem;
  border: 1px solid rgba(247, 241, 223, 0.16);
  background: rgba(5, 12, 18, 0.96);
  padding: 0.35rem;
  box-shadow: var(--shadow);
  transform: translateX(-50%);
  transform-origin: top center;
  backdrop-filter: blur(18px);
}

.language-option {
  display: flex;
  min-height: 2.55rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 0.75rem;
  color: rgba(247, 241, 223, 0.78);
  font-size: 0.86rem;
  font-weight: 800;
}

.language-option:hover,
.language-option:focus-visible {
  background: rgba(25, 212, 240, 0.1);
  color: var(--ivory);
}

.language-option strong {
  color: var(--muted);
  font-size: 0.72rem;
}

.language-option.is-active {
  background: rgba(245, 200, 90, 0.13);
  color: var(--gold);
}

.language-option.is-active strong {
  color: var(--gold);
}

.language-menu summary,
.steam-link,
.button {
  border: 1px solid rgba(247, 241, 223, 0.18);
  color: var(--ivory);
  cursor: pointer;
}

.steam-link {
  display: inline-flex;
  min-height: 2.5rem;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  background: linear-gradient(135deg, rgba(25, 212, 240, 0.22), rgba(245, 200, 90, 0.12));
  color: var(--ivory);
  font-size: 0.84rem;
  font-weight: 900;
}

.hero {
  position: relative;
  display: grid;
  min-height: 76svh;
  overflow: hidden;
  padding: 6.4rem 1.25rem 2.8rem;
  isolation: isolate;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 10, 14, 0.94), rgba(5, 10, 14, 0.58) 42%, rgba(5, 10, 14, 0.2)),
    linear-gradient(180deg, rgba(5, 10, 14, 0.2), rgba(5, 10, 14, 0.94)),
    url("assets/brand/hero.png") center / cover no-repeat;
  transform: scale(1.02);
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  height: 12rem;
  content: "";
  background: linear-gradient(180deg, transparent, #071018 78%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(17rem, 23rem);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
  width: min(100%, var(--max));
  margin: auto;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-logo {
  width: min(100%, 410px);
  margin: 0 0 1.15rem;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.7));
}

.hero h1,
.section h2,
.showcase h2,
.gallery-section h2,
.final-cta h2 {
  margin: 0;
  color: var(--ivory);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.05;
}

.hero h1 {
  max-width: 720px;
  font-size: 3.05rem;
}

.hero-lede {
  max-width: 620px;
  margin: 1rem 0 0;
  color: rgba(247, 241, 223, 0.78);
  font-size: 1rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.35rem;
}

.button {
  display: inline-flex;
  min-height: 3.2rem;
  align-items: center;
  justify-content: center;
  padding: 0 1.25rem;
  font-weight: 900;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

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

.button-primary {
  border-color: rgba(245, 200, 90, 0.8);
  background: linear-gradient(135deg, #f5c85a, #d99430 55%, #19d4f0);
  color: #061016;
  box-shadow: 0 18px 52px rgba(245, 200, 90, 0.23);
}

.button-ghost {
  background: rgba(6, 14, 21, 0.64);
}

.launch-panel {
  display: grid;
  gap: 0.7rem;
  width: 100%;
  border-left: 1px solid rgba(25, 212, 240, 0.42);
  padding-left: 1rem;
}

.launch-panel div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
  border: 1px solid rgba(247, 241, 223, 0.12);
  background: rgba(7, 16, 24, 0.66);
  padding: 0 1rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.launch-panel span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.launch-panel strong {
  color: var(--gold);
  font-size: 1.02rem;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(100% - 2rem, var(--max));
  margin: -1.6rem auto 0;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(8, 20, 30, 0.92), rgba(16, 36, 51, 0.78));
  box-shadow: var(--shadow);
}

.proof-item {
  display: grid;
  gap: 0.25rem;
  min-height: 6rem;
  align-content: center;
  padding: 1rem;
  border-right: 1px solid var(--line);
}

.proof-item:last-child {
  border-right: 0;
}

.proof-item span {
  color: var(--cyan);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
}

.proof-item strong {
  color: var(--ivory);
}

.section,
.showcase,
.gallery-section,
.final-cta {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
}

.section {
  padding: 6rem 0;
}

.split-section {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.section-copy h2,
.section-heading h2,
.showcase h2,
.gallery-section h2,
.final-cta h2 {
  max-width: 760px;
  font-size: 2.55rem;
}

.section-copy p:not(.eyebrow),
.showcase-copy p:not(.eyebrow),
.final-cta p:not(.eyebrow) {
  color: rgba(247, 241, 223, 0.72);
  font-size: 1rem;
  line-height: 1.8;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.metric-row div {
  min-height: 7rem;
  border: 1px solid rgba(247, 241, 223, 0.12);
  background: rgba(247, 241, 223, 0.04);
  padding: 1rem;
}

.metric-row strong {
  display: block;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
}

.metric-row span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.feature-image,
.showcase-rail img,
.media-card,
.gallery-tile,
.final-cta img {
  border: 1px solid rgba(247, 241, 223, 0.16);
  box-shadow: var(--shadow);
}

.feature-image {
  overflow: hidden;
  background: var(--ink-2);
}

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

.feature-band {
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  gap: 0.3rem;
  margin-bottom: 1.6rem;
}

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

.feature-card {
  position: relative;
  min-height: 15rem;
  overflow: hidden;
  border: 1px solid rgba(247, 241, 223, 0.14);
  background:
    linear-gradient(180deg, rgba(25, 212, 240, 0.07), transparent),
    rgba(8, 20, 30, 0.72);
  padding: 1.3rem;
}

.feature-card::before {
  position: absolute;
  inset: 0 auto auto 0;
  width: 4px;
  height: 100%;
  content: "";
  background: linear-gradient(var(--cyan), var(--gold), var(--ruby));
}

.feature-number {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
}

.feature-card h3 {
  margin: 2.2rem 0 0.8rem;
  color: var(--ivory);
  font-size: 1.18rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.showcase {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  gap: 2rem;
  align-items: center;
  padding: 5rem 0;
}

.showcase-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(18rem, 1fr));
  gap: 1rem;
  overflow-x: auto;
  padding: 0.35rem 0 1rem;
  scroll-snap-type: x mandatory;
}

.showcase-rail img {
  width: 100%;
  min-width: 18rem;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  scroll-snap-align: start;
}

.media-section {
  padding-top: 4rem;
}

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

.media-card {
  margin: 0;
  overflow: hidden;
  background: rgba(8, 20, 30, 0.76);
}

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

.media-card figcaption {
  padding: 1rem;
  color: var(--ivory);
  font-weight: 900;
}

.gallery-section {
  padding: 3rem 0 6rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1fr;
  gap: 1rem;
}

.gallery-tile {
  overflow: hidden;
  padding: 0;
  background: var(--ink-2);
  cursor: zoom-in;
}

.gallery-tile img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 220ms ease;
}

.gallery-tile:hover img,
.gallery-tile:focus-visible img {
  transform: scale(1.04);
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(14rem, 21rem) 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: 4rem 0 6rem;
  border-top: 1px solid var(--line);
}

.final-cta img {
  width: 100%;
  background: rgba(8, 20, 30, 0.76);
}

.final-cta .button {
  margin-top: 0.8rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 1.5rem 0 2.4rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer strong {
  display: block;
  color: var(--ivory);
}

.site-footer a {
  color: var(--gold);
  font-weight: 900;
}

.lightbox {
  width: min(94vw, 1180px);
  border: 1px solid rgba(247, 241, 223, 0.2);
  background: #03080c;
  padding: 0;
  box-shadow: var(--shadow);
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
}

.lightbox img {
  width: 100%;
  max-height: 86svh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  z-index: 1;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(247, 241, 223, 0.24);
  background: rgba(7, 16, 24, 0.82);
  color: var(--ivory);
  cursor: pointer;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    display: none;
  }

  .brand-mark {
    width: 140px;
  }

  .hero {
    min-height: 76svh;
    padding-top: 6.8rem;
  }

  .hero-grid,
  .split-section,
  .showcase,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2.65rem;
  }

  .launch-panel {
    grid-template-columns: repeat(3, 1fr);
    border-left: 0;
    padding-left: 0;
  }

  .launch-panel div {
    display: grid;
    align-content: center;
  }

  .proof-strip,
  .feature-grid,
  .media-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .proof-item:nth-child(2) {
    border-right: 0;
  }

  .proof-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

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

@media (max-width: 640px) {
  .site-header {
    min-height: 66px;
    gap: 0.75rem;
    padding-inline: 0.85rem;
  }

  .brand-mark {
    width: 112px;
  }

  .header-actions {
    gap: 0.35rem;
    min-width: 0;
  }

  .language-menu summary {
    min-width: 3.75rem;
    min-height: 2.25rem;
    font-size: 0.74rem;
  }

  .language-list {
    position: fixed;
    top: 4.45rem;
    right: 0.75rem;
    left: 0.75rem;
    width: auto;
    max-height: calc(100svh - 5.25rem);
    overflow-y: auto;
    transform: none;
  }

  .steam-link {
    display: none;
  }

  .hero {
    min-height: 74svh;
    padding: 5.8rem 1rem 2.6rem;
  }

  .hero-backdrop {
    background:
      linear-gradient(180deg, rgba(5, 10, 14, 0.86), rgba(5, 10, 14, 0.72) 52%, rgba(5, 10, 14, 0.98)),
      url("assets/brand/hero.png") center / cover no-repeat;
  }

  .hero h1 {
    font-size: 2.05rem;
  }

  .hero-lede {
    font-size: 1rem;
    line-height: 1.65;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .launch-panel,
  .proof-strip,
  .feature-grid,
  .media-grid,
  .metric-row {
    grid-template-columns: 1fr;
  }

  .launch-panel {
    display: none;
  }

  .proof-strip {
    margin-top: -0.4rem;
  }

  .proof-item,
  .proof-item:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-item:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 4.2rem 0;
  }

  .section-copy h2,
  .section-heading h2,
  .showcase h2,
  .gallery-section h2,
  .final-cta h2 {
    font-size: 2rem;
  }

  .showcase {
    padding: 3rem 0;
  }

  .showcase-rail {
    grid-template-columns: repeat(3, minmax(15.5rem, 1fr));
  }
}

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