:root {
  --red: #7a0000;
  --red-bright: #ff1616;
  --white: #e8e8e8;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  min-height: 100%;
  background: #000;
  color: var(--white);
  font-family: "Courier New", Courier, monospace;
}

body {
  overflow-x: hidden;
}

.center-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.enter-link,
.continue-link,
.file-link {
  color: var(--red);
  text-decoration: none;
  letter-spacing: 0.12em;
  transition: color 900ms ease, text-shadow 900ms ease, opacity 900ms ease;
}

.enter-link:hover,
.continue-link:hover,
.file-link:hover {
  color: var(--red-bright);
  text-shadow: 0 0 8px rgba(255, 0, 0, 0.45);
}

.enter-link {
  font-size: 1.05rem;
  text-transform: uppercase;
}

.message-wrap {
  width: min(650px, 100%);
  text-align: left;
  line-height: 1.65;
  font-size: 0.95rem;
  white-space: pre-line;
}

.message-wrap p {
  margin: 0;
}

.continue-link {
  display: inline-block;
  margin-top: 52px;
  font-size: 0.9rem;
  text-transform: lowercase;
}

.file-list {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.file-list nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: center;
}

.file-link {
  font-size: 0.9rem;
  letter-spacing: 0.08em;
}

.image-page {
  min-height: 100vh;
  background: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 22px;
}

.image-page img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(768px, 92vw);
  max-height: 88vh;
  object-fit: contain;
  border: none;
}

.return-link {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

.signal-lost {
  color: var(--red);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  opacity: 0.9;
  text-decoration: none;
  transition: color 900ms ease, text-shadow 900ms ease, opacity 900ms ease;
}

.signal-lost:hover {
  color: var(--red-bright);
  text-shadow: 0 0 8px rgba(255, 0, 0, 0.45);
}