/* Public landing appearance. The wide browser entry links this same file
   (min-width: 1000px) and reuses its class names: landing-page on its root,
   landing-shell, site-header, hero, site-footer and landing-copy on the matching
   elements. Its own entry-landing.css adjusts the integration afterwards. */
.landing-copy {
  color: #edf4f1;
  background: #000605;
  font-family: "IBM Plex Sans", sans-serif;
  font-synthesis: none;
  --background: #000605;
  --surface: #09100f;
  --border: #293b37;
  --green: #10b981;
  --green-pale: #8fd19e;
  --text: #edf4f1;
  --muted: #a9b8b4;
  --quiet: #76847f;
  --hostile: #c74540;
}

/* The public homepage is a static rendering of the empty game world. The map
   remains decorative; all meaningful content stays in ordinary HTML. */
.landing-page {
  position: relative;
  isolation: isolate;
  overflow-x: hidden;
}

.landing-page::before,
.landing-page::after {
  position: fixed;
  inset: 0;
  content: "";
  pointer-events: none;
}

.landing-page::before {
  z-index: 2;
  background-image:
    repeating-linear-gradient(
      to bottom,
      rgb(87 189 122 / 0.055) 0 1px,
      transparent 1px 4px
    ),
    repeating-linear-gradient(
      to right,
      rgb(87 189 122 / 0.018) 0 1px,
      transparent 1px 3px
    );
  mix-blend-mode: screen;
}

.landing-page::after {
  z-index: 1;
  background:
    linear-gradient(90deg, rgb(0 6 5 / 0.84) 0%, rgb(0 6 5 / 0.54) 48%, rgb(0 6 5 / 0.18) 82%),
    radial-gradient(ellipse at center, transparent 30%, rgb(0 0 0 / 0.82) 100%);
}

.world-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 65% 50%, rgb(18 201 130 / 0.12), transparent 50%),
    #000605;
}

.world-backdrop img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.66;
  filter: brightness(0.62) contrast(1.18) saturate(0.72) sepia(0.08);
}

.landing-shell {
  position: relative;
  z-index: 3;
  display: grid;
  width: min(1180px, calc(100% - 48px));
  min-height: 100svh;
  grid-template-rows: auto 1fr auto;
  margin: 0 auto;
}

.site-header {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgb(143 209 158 / 0.2);
}

.hero {
  display: flex;
  max-width: 760px;
  align-self: center;
  align-items: flex-start;
  flex-direction: column;
  padding: 54px 0 64px;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--green-pale);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-title {
  margin: 0;
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(3.6rem, 8vw, 7rem);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.84;
  text-transform: uppercase;
}

.hero-title > span {
  display: block;
}

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

.hero-summary {
  max-width: 700px;
  margin: 32px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  font-synthesis: weight;
  line-height: 1.65;
}

.hero-summary strong {
  color: var(--text);
  font-weight: 700;
}

.hero-promise {
  margin: 20px 0 0;
  color: var(--text);
  font: 600 18px/26px "IBM Plex Sans", sans-serif;
  font-synthesis: weight;
}

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

.hero-actions .cta-button,
.error-page .cta-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 0 20px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.76rem;
  font-weight: 400;
  line-height: normal;
  border-radius: 0;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 140ms ease, border-color 140ms ease;
}

.play-button {
  border: 1px solid rgb(18 201 130 / 0.76);
  background: rgb(7 37 27 / 0.88);
  color: #c7f5d7;
}

.play-button:hover {
  border-color: var(--green);
  background: rgb(12 59 43 / 0.94);
}

.site-footer {
  display: flex;
  min-height: 96px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid rgb(143 209 158 / 0.2);
  color: var(--quiet);
  font-size: 0.78rem;
}

.site-footer-copy {
  max-width: 560px;
}

.site-footer p {
  margin: 0;
  line-height: 1.55;
}

.site-operator {
  color: var(--muted);
}

.site-footer nav {
  display: flex;
  flex-shrink: 0;
  gap: 22px;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--text);
}
@media (max-width: 720px) {
  .landing-shell {
    width: min(100% - 32px, 1180px);
  }

  .site-header {
    min-height: 74px;
  }

  .hero {
    padding: 48px 0 54px;
  }

  .hero-title {
    font-size: clamp(3rem, 14vw, 5.2rem);
  }

  .hero-summary {
    margin-top: 26px;
    font-size: 0.96rem;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    padding: 24px 0;
  }

  .world-backdrop img {
    width: 100vw;
    height: auto;
    object-fit: fill;
    opacity: 0.56;
  }

  .landing-page::after {
    background:
      linear-gradient(to bottom, rgb(0 6 5 / 0.4), rgb(0 6 5 / 0.76) 72%),
      radial-gradient(ellipse at center, transparent 20%, rgb(0 0 0 / 0.78) 100%);
  }
}

@media (max-width: 420px) {
  .hero-title {
    font-size: clamp(2.65rem, 13vw, 3.45rem);
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .cta-button,
  .error-page .cta-button {
    flex: 1 1 136px;
    padding-inline: 14px;
  }

  .site-footer nav {
    width: 100%;
    justify-content: flex-start;
    gap: 12px;
  }
}

@media (max-height: 720px) and (min-width: 721px) {
  .site-header {
    min-height: 70px;
  }

  .hero {
    padding: 34px 0 40px;
  }

  .hero-title {
    font-size: clamp(3.2rem, 8vh, 4.8rem);
  }

  .hero-summary {
    margin-top: 24px;
  }

  .site-footer {
    min-height: 76px;
  }
}
