:root {
  --soil: #10120c;
  --soil-2: #19170f;
  --panel: rgba(16, 18, 12, 0.82);
  --ink: #f6f0d8;
  --muted: #c7bea2;
  --dim: #8e896f;
  --line: rgba(246, 240, 216, 0.2);
  --line-strong: rgba(246, 240, 216, 0.42);
  --acid: #d8ec62;
  --leaf: #47d972;
  --seed: #ff5b9a;
  --clay: #d77b4f;
  --glucose: #69b8ff;
  --shadow: rgba(0, 0, 0, 0.42);
  --max: 1180px;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--soil);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    linear-gradient(180deg, rgba(16, 18, 12, 0.92), rgba(18, 15, 10, 0.98)),
    repeating-linear-gradient(90deg, rgba(246, 240, 216, 0.035) 0 1px, transparent 1px 88px),
    var(--soil);
  color: var(--ink);
}

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

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

button {
  font: inherit;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  background: rgba(16, 18, 12, 0.22);
  border-bottom: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(16, 18, 12, 0.92);
  border-color: var(--line);
  backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 800;
  font-size: 18px;
}

.brand img {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-strong);
  background: rgba(0, 0, 0, 0.36);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid transparent;
}

.site-nav a:hover {
  border-color: var(--line);
  color: var(--acid);
}

.site-nav .nav-play {
  border-color: var(--acid);
  background: var(--acid);
  color: #16180c;
}

.hero {
  position: relative;
  min-height: 84svh;
  display: grid;
  align-items: end;
  padding: 118px 28px 42px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(16, 18, 12, 0.92) 0%, rgba(16, 18, 12, 0.72) 36%, rgba(16, 18, 12, 0.18) 72%),
    linear-gradient(0deg, rgba(16, 18, 12, 0.84) 0%, rgba(16, 18, 12, 0) 42%),
    url("assets/a1e39b68-e5e9-4c7e-ad6a-81f36534d2db.jpg") center / cover no-repeat;
  background-attachment: fixed, fixed, fixed;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(216, 236, 98, 0.13) 0 2px, transparent 2px 100%),
    repeating-linear-gradient(0deg, transparent 0 72px, rgba(246, 240, 216, 0.055) 72px 73px);
  mix-blend-mode: screen;
  opacity: 0.72;
}

.hero-content,
.hero-readout {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max));
  margin: 0 auto;
}

.hero-content {
  padding-bottom: 36px;
}

.kicker {
  margin: 0 0 14px;
  color: var(--acid);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  max-width: 740px;
  margin: 0;
  font-size: 72px;
  line-height: 0.95;
}

.hero-copy {
  max-width: 640px;
  margin: 22px 0 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.45;
  text-shadow: 0 2px 16px var(--shadow);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  font-weight: 800;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.24);
}

.button-primary {
  background: var(--acid);
  border-color: var(--acid);
  color: #15180b;
}

.button-secondary {
  background: rgba(16, 18, 12, 0.74);
  color: var(--ink);
}

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

.hero-readout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  background: rgba(16, 18, 12, 0.78);
  backdrop-filter: blur(9px);
}

.hero-readout span {
  min-width: 0;
  padding: 16px;
  border-left: 1px solid var(--line);
}

.hero-readout span:first-child {
  border-left: 0;
}

.hero-readout b,
.hero-readout small {
  display: block;
}

.hero-readout b {
  color: var(--acid);
  font-size: 15px;
}

.hero-readout small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.section {
  width: min(100% - 56px, var(--max));
  margin: 0 auto;
  padding: 82px 0;
}

.gameplay-section {
  display: grid;
  grid-template-columns: 0.76fr 1.24fr;
  gap: 44px;
  align-items: center;
}

.section-copy h2 {
  max-width: 620px;
  margin: 0;
  font-size: 42px;
  line-height: 1.05;
}

.section-copy p:not(.kicker) {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.58;
}

.gameplay-media {
  margin: 0;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.24);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.3);
}

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

.gameplay-media figcaption {
  padding: 12px 14px;
  color: var(--dim);
  font-size: 13px;
}

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding-top: 24px;
}

.features article,
.share-card {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(24, 23, 15, 0.74);
}

.features article {
  min-height: 238px;
  padding: 22px;
}

.feature-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border: 1px solid currentColor;
  color: var(--acid);
}

.features article:nth-child(2) .feature-icon {
  color: var(--seed);
}

.features article:nth-child(3) .feature-icon {
  color: var(--clay);
}

.features article:nth-child(4) .feature-icon {
  color: var(--glucose);
}

.features h3 {
  margin: 0;
  font-size: 24px;
}

.features p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.share-section {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 42px;
  align-items: start;
  border-top: 1px solid var(--line);
}

.share-list {
  display: grid;
  gap: 12px;
}

.share-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
}

.share-card p {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.45;
}

.share-card button {
  min-width: 88px;
  min-height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: rgba(216, 236, 98, 0.08);
  color: var(--acid);
  cursor: pointer;
  font-weight: 800;
}

.share-card button:hover {
  background: var(--acid);
  color: #15180b;
}

.site-footer {
  width: min(100% - 56px, var(--max));
  min-height: 88px;
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0 auto;
  padding: 26px 0 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.site-footer span {
  margin-right: auto;
  color: var(--ink);
  font-weight: 800;
}

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

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  max-width: min(320px, calc(100vw - 36px));
  min-height: 42px;
  display: grid;
  place-items: center;
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: rgba(16, 18, 12, 0.94);
  color: var(--acid);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 160ms ease, transform 160ms ease;
  pointer-events: none;
  font-size: 14px;
  font-weight: 800;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .site-header {
    height: 66px;
    padding: 0 18px;
  }

  .site-nav a:not(.nav-play) {
    display: none;
  }

  .hero {
    min-height: 82svh;
    padding: 98px 18px 28px;
  }

  h1 {
    font-size: 48px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .hero-readout,
  .gameplay-section,
  .share-section {
    grid-template-columns: 1fr;
  }

  .hero-readout span {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .hero-readout span:first-child {
    border-top: 0;
  }

  .section {
    width: min(100% - 36px, var(--max));
    padding: 58px 0;
  }

  .section-copy h2 {
    font-size: 32px;
  }

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

@media (max-width: 560px) {
  .brand span {
    max-width: 132px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  h1 {
    font-size: 38px;
  }

  .button {
    width: 100%;
  }

  .features,
  .share-card {
    grid-template-columns: 1fr;
  }

  .features article {
    min-height: auto;
  }

  .share-card button {
    width: 100%;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .site-footer span {
    margin-right: 0;
  }
}
