:root {
  color-scheme: dark;
  --ink: #f7efe0;
  --muted: #c8bba6;
  --coal: #0d0c0b;
  --charcoal: #1a1917;
  --iron: #282624;
  --gold: #d7ad59;
  --red: #8c1d17;
  --green: #506b43;
  --line: rgba(247, 239, 224, 0.16);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --site-max: 1180px;
  --site-gutter: clamp(18px, 4vw, 48px);
  --header-height: 144px;
  --logo-gold: #ddc5a8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--coal) url("assets/images/menu-background.png") center top / cover fixed;
  color: var(--ink);
  cursor: default;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.5;
  user-select: none;
  -webkit-user-select: none;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(13, 12, 11, 0.92), rgba(13, 12, 11, 0.68) 46%, rgba(13, 12, 11, 0.94)),
    linear-gradient(180deg, rgba(140, 29, 23, 0.22), rgba(80, 107, 67, 0.14) 72%, rgba(13, 12, 11, 0.88));
}

a {
  color: inherit;
}

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

.site-container {
  width: min(var(--site-max), calc(100% - (var(--site-gutter) * 2)));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: var(--header-height);
  border-bottom: 1px solid var(--line);
  background: rgba(13, 12, 11, 0.86);
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
  font-weight: 700;
  font-size: 2rem;
  color: var(--logo-gold);
  letter-spacing: 0;
}

.brand img {
  width: 88px;
  height: 88px;
  object-fit: contain;
}

.brand span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.4vw, 28px);
  font-size: 1.5rem;
  color: var(--logo-gold);
}

.nav-links a,
.site-footer a {
  cursor: pointer;
  text-decoration: none;
}

.nav-links a:hover,
.site-footer a:hover {
  color: var(--logo-gold);
}

.hero {
  min-height: calc(100vh - var(--header-height));
  padding-block: clamp(36px, 7vw, 96px) clamp(46px, 8vw, 104px);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.75fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  min-height: clamp(520px, 58vh, 760px);
  position: relative;
}

.hero-copy {
  max-width: 840px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 28px;
  color: var(--logo-gold);
  font: 400 1.08rem/1.35 Georgia, "Times New Roman", serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.title-logo {
  width: min(760px, 100%);
  filter: drop-shadow(0 18px 38px rgba(0, 0, 0, 0.52));
}

.hero-text {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--ink);
  font-size: clamp(1.14rem, 2.3vw, 1.58rem);
}

.hero-actions,
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button,
.social-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(247, 239, 224, 0.08);
  color: var(--ink);
  cursor: pointer;
  font: 700 0.9rem/1 Arial, Helvetica, sans-serif;
  text-decoration: none;
}

.button:hover,
.social-links a:hover {
  border-color: rgba(215, 173, 89, 0.72);
  background: rgba(215, 173, 89, 0.14);
}

.button.primary {
  border-color: rgba(215, 173, 89, 0.86);
  background: linear-gradient(180deg, #f0cd76, #af6f23);
  color: #170e07;
}

.connect-links {
  width: 32.5%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-inline: auto;
}

.connect-button {
  min-height: 67px;
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 20px);
  padding: clamp(12px, 2.4vw, 20px);
  border: 1px solid rgba(247, 239, 224, 0.18);
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  font-family: Arial, Helvetica, sans-serif;
  overflow: hidden;
  position: relative;
  text-decoration: none;
  transition: border-color 160ms ease, filter 160ms ease, transform 160ms ease;
}

.connect-button::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 7px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 46%);
  pointer-events: none;
}

.connect-button:hover {
  border-color: rgba(247, 239, 224, 0.42);
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.connect-icon {
  width: clamp(34px, 5vw, 52px);
  height: clamp(34px, 5vw, 52px);
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  position: relative;
  z-index: 1;
}

.connect-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.55;
}

.connect-button > span:last-child {
  display: grid;
  gap: 2px;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.connect-kicker {
  font-size: clamp(0.68rem, 1vw, 0.86rem);
  font-weight: 700;
  line-height: 1;
  opacity: 0.72;
  text-transform: uppercase;
}

.connect-title {
  font-size: clamp(1.35rem, 2.7vw, 2.55rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.92;
}

.steam-button {
  background: linear-gradient(135deg, #171a21, #1b2838 54%, #2a475e);
}

.discord-button {
  background: linear-gradient(135deg, #5865f2, #4752c4 58%, #2f3694);
}

.discord-button .connect-icon svg {
  fill: currentColor;
  stroke: none;
}

.discord-button .connect-icon circle {
  fill: #5865f2;
}

.social-square-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 72px;
}

.social-square {
  width: 74px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(247, 239, 224, 0.18);
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  font: 800 0.68rem/1 Arial, Helvetica, sans-serif;
  gap: 4px;
  overflow: hidden;
  position: relative;
  text-align: center;
  text-decoration: none;
  transition: border-color 160ms ease, filter 160ms ease, transform 160ms ease;
}

.social-square:hover {
  border-color: rgba(247, 239, 224, 0.42);
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.social-square > span {
  position: relative;
  z-index: 1;
}

.social-square > span:first-child {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  line-height: 1;
}

.social-square svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.youtube-square {
  background: linear-gradient(135deg, #ff0033, #b2071d);
}

.x-square {
  background: linear-gradient(135deg, #111, #2a2a2a);
}

.hero-art {
  display: flex;
  justify-content: flex-end;
  min-width: 0;
  pointer-events: none;
  position: fixed;
  right: calc(clamp(24px, 8vw, 150px) * -1);
  top: 92%;
  transform: translateY(-50%);
  width: min(1900px, 145vw);
  z-index: 0;
}

.hero-art img {
  width: min(1900px, 145vw);
  max-width: none;
  max-height: none;
  object-fit: contain;
  opacity: 0.025;
  filter: drop-shadow(0 30px 62px rgba(0, 0, 0, 0.6));
}

.section {
  padding-block: clamp(54px, 9vw, 108px);
  border-top: 1px solid var(--line);
}

.section-dark {
  background: rgba(0, 0, 0, 0.28);
}

.section-heading {
  max-width: 820px;
  margin: 0 0 42px;
}

.section-heading h1 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 3.2rem);
  line-height: 1;
  letter-spacing: 0;
}

.trailer-frame {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #050505;
  box-shadow: var(--shadow);
}

.trailer-frame video,
.trailer-frame iframe,
.trailer-poster > img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
  object-fit: cover;
}

.trailer-poster {
  min-height: 320px;
}

.trailer-poster > img {
  opacity: 0.42;
  filter: saturate(0.8);
}

.trailer-copy {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  padding: 24px;
  text-align: center;
}

.trailer-copy h2 {
  margin: 0;
  font-size: clamp(2.2rem, 7vw, 6rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.media-grid figure {
  margin: 0;
  min-height: 230px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(26, 25, 23, 0.82);
}

.media-grid img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  background: var(--charcoal);
}

.media-grid figcaption {
  padding: 10px 12px;
  color: var(--muted);
  font: 0.84rem/1.3 Arial, Helvetica, sans-serif;
}

.media-placeholder {
  display: grid;
  place-items: center;
  min-height: 230px;
  color: var(--muted);
  font: 700 0.84rem/1 Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0;
  background:
    linear-gradient(135deg, rgba(215, 173, 89, 0.12), rgba(140, 29, 23, 0.22)),
    rgba(26, 25, 23, 0.9);
}

.press-band {
  background: linear-gradient(180deg, rgba(80, 107, 67, 0.24), rgba(13, 12, 11, 0.58));
}

.press-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(260px, 0.6fr);
  gap: 28px;
  align-items: start;
}

.press-layout p {
  margin: 0;
  max-width: 660px;
  color: var(--ink);
  font-size: clamp(1.1rem, 2vw, 1.38rem);
}

.facts {
  margin: 0;
  display: grid;
  gap: 10px;
}

.facts div {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.facts dt {
  color: var(--gold);
  font: 700 0.78rem/1.2 Arial, Helvetica, sans-serif;
  text-transform: uppercase;
}

.facts dd {
  margin: 0;
  color: var(--ink);
}

.contact-section {
  background: rgba(0, 0, 0, 0.24);
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font: 0.88rem/1.4 Arial, Helvetica, sans-serif;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-block: 24px;
}

@media (max-width: 900px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding-block: 18px;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero-grid,
  .press-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-art {
    justify-content: flex-end;
    right: -24vw;
    top: 94%;
  }

  .hero-art img {
    width: min(1250px, 185vw);
  }

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

  .connect-links {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .brand span {
    white-space: normal;
  }

  .hero-actions,
  .social-links {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .social-links a {
    width: 100%;
  }

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

  .connect-button {
    min-height: 62px;
  }

  .social-square {
    width: 66px;
  }

  .facts div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .footer-inner {
    flex-direction: column;
  }
}
