:root {
  --genesis-green: #7eff68; /* close to the logo green */
  --text-shadow-color: rgba(0, 0, 0, 0.85);
--body-font: "IBM Plex Mono", monospace;
}

/* Reset-ish */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  font-family: var(--body-font);
  background-color: #000;
  color: var(--genesis-green);
  overflow-x: hidden;
}

/* Background image */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("assets/img/Background.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: -2;
}

/* Overall layout */
.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 16px 32px;
}

/* Desktop moon-alignment nudge */
@media (min-width: 481px) {
  .page-shell {
    transform: translateY(200px); /* adjust up or down until logo sits perfectly on the moon base */
  }
}

/* Logo */
.logo-block {
  margin-top: 24px;
  margin-bottom: 40px;
}

.genesis-logo {
  width: 320px;        /* as requested */
  max-width: 90vw;
  display: block;
  margin: 0 auto;
}

/* Domain text PNG (positioned above the Genesis logo) */
.domain-tag {
  width: 320px;        /* same width as the Genesis logo for perfect alignment */
  max-width: 90vw;
  display: block;
  margin: 0 auto 40px auto;   /* bottom = spacing ABOVE the Genesis logo */
  transform: translateY(-20px); /* move it UP slightly */
}

/* Story block – column aligned to logo width */
.story-block {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

/* Dark feathered shadow behind text */
.story-shadow {
  position: absolute;
  inset: 0;
  max-width: 320px;
  margin: 0 auto;
  transform: translateY(-10px);
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(circle at 50% 0%,
      var(--text-shadow-color) 0%,
      rgba(0, 0, 0, 0.8) 20%,
      rgba(0, 0, 0, 0.4) 45%,
      transparent 80%);
  filter: blur(12px);
}

/* Actual story text container */
.story-inner {
  max-width: 320px; /* lock column to logo width */
  text-align: left;
  font-size: 0.9rem;
  line-height: 1.7;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.9);
}

/* Spacing between paragraphs */
.story-inner p + p {
  margin-top: 0.9rem;
}

/* Closing line */
.story-closing {
  margin-top: 1.4rem;
  font-weight: 500;
}

/* Glowing <light> */
.glow {
  font-weight: 500;
  padding: 0 4px;
  text-shadow:
    0 0 6px rgba(126, 255, 104, 0.9),
    0 0 14px rgba(126, 255, 104, 0.8),
    0 0 28px rgba(126, 255, 104, 0.7);
}

/* Footer */
.page-footer {
  margin-top: auto;
  padding-top: 16px;
  padding-bottom: 4px;
  font-size: 0.75rem;
  color: var(--genesis-green);
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.9);

  /* NEW: lock footer width + align left + center container */
  max-width: 320px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

/* Basic responsiveness */
@media (max-width: 480px) {
  .page-shell {
    padding-top: 24px;
    transform: none; /* Do NOT nudge on mobile */
  }

  .logo-block {
    margin-bottom: 28px;
  }

  .genesis-logo {
    width: 260px;
  }

  .story-inner,
  .story-shadow {
    max-width: 260px;
  }

  .story-inner {
    font-size: 0.85rem;
  }
}
