:root {
  --bg: #0d160d;
  --bg-deep: #071007;
  --panel: rgba(7, 34, 23, 0.78);
  --panel-solid: #102719;
  --text: #f4f0d5;
  --muted: #bdc6a4;
  --gold: #f5c531;
  --gold-deep: #b77a18;
  --leaf: #6bbf46;
  --purple: #7a36dd;
  --blood: #d64a37;
  --border: #0fb06b;
  --shadow: rgba(0, 0, 0, 0.45);
  font-family: "Trebuchet MS", Verdana, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--text);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    linear-gradient(180deg, rgba(7, 16, 7, 0.2), var(--bg) 820px),
    radial-gradient(circle at 76% 20%, rgba(122, 54, 221, 0.18), transparent 24rem),
    var(--bg);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 8px 8px;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 2rem);
  padding: 0.75rem clamp(1rem, 4vw, 3rem);
  border-bottom: 1px solid rgba(15, 176, 107, 0.38);
  background: rgba(7, 16, 7, 0.78);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  color: var(--gold);
  font-weight: 900;
  text-transform: uppercase;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.45);
}

.brand img {
  width: clamp(2.35rem, 5vw, 3.15rem);
  flex: 0 0 auto;
  border: 2px solid rgba(245, 197, 49, 0.45);
  border-radius: 4px;
  background: #15440d;
  image-rendering: pixelated;
}

.brand span {
  overflow: hidden;
  font-size: clamp(0.95rem, 2vw, 1.18rem);
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  color: var(--muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0;
}

.nav-links a {
  padding: 0.5rem 0;
}

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

.steam-link,
.secondary-link {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.1rem;
  border: 2px solid #ffd85a;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--gold), var(--gold-deep));
  color: #211604;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
  box-shadow: 0 0.5rem 0 #5c3b0b, 0 1rem 2rem var(--shadow);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.steam-link:hover {
  transform: translateY(-2px);
  filter: saturate(1.14);
  box-shadow: 0 0.65rem 0 #5c3b0b, 0 1.25rem 2.2rem var(--shadow);
}

.steam-link.small {
  min-height: 2.35rem;
  padding: 0.55rem 0.9rem;
  font-size: 0.78rem;
}

.secondary-link {
  border-color: rgba(244, 240, 213, 0.38);
  background: rgba(7, 16, 7, 0.62);
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(15, 176, 107, 0.34);
}

.hero {
  position: relative;
  display: grid;
  min-height: 92svh;
  align-items: end;
  overflow: hidden;
  padding: 7.5rem clamp(1rem, 5vw, 5rem) 4.25rem;
  isolation: isolate;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("assets/surface-tension-combat.png");
  background-position: 50% 45%;
  background-size: cover;
  image-rendering: pixelated;
  transform: scale(1.02);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(7, 16, 7, 0.92), rgba(7, 16, 7, 0.62) 45%, rgba(7, 16, 7, 0.22)),
    linear-gradient(180deg, rgba(7, 16, 7, 0.1), rgba(7, 16, 7, 0.4) 56%, var(--bg));
}

.hero-content {
  width: min(46rem, 100%);
}

.hero-logo-wrap,
.final-logo-wrap {
  position: relative;
  width: min(31rem, 92vw);
  margin-bottom: 1.5rem;
  background: radial-gradient(ellipse at center, rgba(13, 22, 13, 0.18) 0%, rgba(13, 22, 13, 0.78) 68%, rgba(13, 22, 13, 0) 100%);
}

.hero-logo-wrap::before,
.hero-logo-wrap::after,
.final-logo-wrap::before,
.final-logo-wrap::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  content: "";
}

.hero-logo-wrap::before,
.final-logo-wrap::before {
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(13, 22, 13, 0) 16%, rgba(13, 22, 13, 0) 84%, var(--bg) 100%),
    linear-gradient(180deg, var(--bg) 0%, rgba(13, 22, 13, 0) 18%, rgba(13, 22, 13, 0) 82%, var(--bg) 100%);
}

.hero-logo-wrap::after,
.final-logo-wrap::after {
  box-shadow: inset 0 0 4.5rem 2.5rem var(--bg);
}

.hero-logo {
  width: min(29rem, 88vw);
  margin-inline: auto;
  image-rendering: pixelated;
  filter: drop-shadow(0 0.75rem 1rem rgba(0, 0, 0, 0.45));
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--gold);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

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

h1 {
  max-width: 13ch;
  margin-bottom: 1rem;
  color: var(--text);
  font-size: clamp(3rem, 7.8vw, 7rem);
  line-height: 0.9;
  letter-spacing: 0;
  text-shadow: 0 0.4rem 0 rgba(0, 0, 0, 0.36);
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4.6vw, 4.5rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.1;
}

p {
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.55;
}

.hero-copy {
  max-width: 42rem;
  margin-bottom: 1.8rem;
  color: #ece9c9;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.platform-list li,
.gallery-button {
  border: 1px solid rgba(15, 176, 107, 0.54);
  border-radius: 4px;
  background: rgba(7, 34, 23, 0.72);
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.wishlist-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.5rem;
  padding: 1.4rem clamp(1rem, 4vw, 3rem);
  border-top: 1px solid rgba(245, 197, 49, 0.4);
  border-bottom: 1px solid rgba(245, 197, 49, 0.4);
  background: linear-gradient(90deg, #3a1d08, #102719 48%, #21102f);
}

.wishlist-strip img {
  width: 3rem;
  border: 2px solid rgba(245, 197, 49, 0.45);
  border-radius: 4px;
  image-rendering: pixelated;
}

.wishlist-strip p {
  margin: 0;
  color: var(--text);
  font-weight: 900;
}

.section,
.platforms,
.final-cta {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 7rem) 0;
}

.section-heading {
  max-width: 50rem;
  margin-bottom: 2rem;
}

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

.feature-grid article {
  min-height: 17rem;
  padding: 1.25rem;
  border: 1px solid rgba(15, 176, 107, 0.35);
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(16, 39, 25, 0.92), rgba(7, 16, 7, 0.72));
  box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.24);
}

.feature-number {
  display: block;
  margin-bottom: 2.8rem;
  color: var(--purple);
  font-weight: 900;
}

.showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(19rem, 0.7fr);
  gap: clamp(1rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(3rem, 7vw, 5rem) clamp(1rem, 5vw, 5rem);
  background: #071007;
}

.showcase-image {
  overflow: hidden;
  border: 2px solid rgba(15, 176, 107, 0.42);
  border-radius: 6px;
  box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.42);
}

.showcase-image img,
.gallery-frame img {
  width: 100%;
  image-rendering: pixelated;
}

.showcase-copy {
  max-width: 28rem;
}

.showcase-copy .steam-link {
  margin-top: 0.5rem;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.gallery-button {
  min-height: 2.6rem;
  padding: 0.65rem 0.9rem;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.gallery-button.is-active,
.gallery-button:hover {
  border-color: #ffd85a;
  color: #211604;
  background: var(--gold);
}

.gallery-frame {
  margin: 0;
  overflow: hidden;
  border: 2px solid rgba(15, 176, 107, 0.45);
  border-radius: 6px;
  background: var(--bg-deep);
  box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.34);
}

.platforms {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(20rem, 1.1fr);
  gap: 2rem;
  align-items: center;
}

.platform-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.platform-list li {
  min-height: 6.5rem;
  display: grid;
  place-items: center;
  padding: 1rem;
  color: var(--gold);
  font-size: clamp(1.1rem, 2.5vw, 1.7rem);
  font-weight: 900;
  text-align: center;
}

.final-cta {
  display: grid;
  justify-items: center;
  text-align: center;
}

.final-cta img {
  width: min(25rem, 88vw);
  image-rendering: pixelated;
}

.final-cta .final-icon {
  width: 4.25rem;
  margin-bottom: 1rem;
  border: 2px solid rgba(245, 197, 49, 0.45);
  border-radius: 4px;
  background: #15440d;
}

.final-logo-wrap {
  width: min(27rem, 88vw);
}

.final-logo-wrap img {
  margin-inline: auto;
}

.final-cta h2,
.final-cta p {
  max-width: 42rem;
}

.made-with {
  margin-top: 1.5rem;
  color: var(--leaf);
  font-weight: 900;
}

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

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 88svh;
    padding-top: 6.5rem;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(7, 16, 7, 0.38), rgba(7, 16, 7, 0.9) 72%, var(--bg)),
      linear-gradient(90deg, rgba(7, 16, 7, 0.86), rgba(7, 16, 7, 0.32));
  }

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

  .feature-grid article {
    min-height: 13rem;
  }

  .showcase {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .showcase-copy {
    max-width: none;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 0.6rem 0.75rem;
  }

  .brand img {
    width: 2.35rem;
  }

  .brand span {
    max-width: 9.5rem;
  }

  .steam-link.small {
    min-height: 2.15rem;
    padding: 0.45rem 0.7rem;
  }

  .hero {
    min-height: 92svh;
    padding-right: 1rem;
    padding-left: 1rem;
  }

  h1 {
    max-width: 11ch;
  }

  .hero-actions,
  .steam-link,
  .secondary-link {
    width: 100%;
  }

  .wishlist-strip {
    justify-content: stretch;
  }

  .wishlist-strip .steam-link {
    width: 100%;
  }

  .platform-list {
    grid-template-columns: 1fr;
  }
}
