body {
  margin: 0;
  background-color: black;
  font-family: "Courier New", monospace;
  text-align: center;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  border: 2px solid rgb(0, 255, 0);
  box-shadow: 0 0 10px rgb(0, 255, 0), 0 0 20px rgb(0, 255, 0);
  pointer-events: none;
  z-index: 20;
  animation: borderIn 1s ease forwards;
}

/* =========================
   BACKGROUND
========================= */

.bg-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 200vh;
  white-space: pre;
  color: rgb(0, 255, 0);
  pointer-events: none;
  z-index: 1;
}

.far { opacity: 0.05; font-size: 54px; }
.near { opacity: 0.12; font-size: 62px; }
.close { opacity: 0.2; font-size: 70px; }

/* =========================
   TEXT CONTAINER
========================= */

.container {
  position: relative;
  z-index: 10;
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 60px;
  color: rgb(0, 255, 0);
  text-shadow: 0 0 5px rgb(0, 255, 0),
               0 0 10px rgb(0, 255, 0),
               0 0 20px rgb(0, 255, 0);
}

h1 { font-size: 60px; margin-bottom: 40px; }
h3 { font-size: 28px; margin-bottom: 40px; }
p  { font-size: 22px; line-height: 2.2; margin-bottom: 30px; }

/* =========================
   BUTTONS
========================= */

.menu {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-top: 20px;
}

.nav-btn {
  background: transparent;
  border: 2px solid rgb(0, 255, 0);
  color: rgb(0, 255, 0);
  width: 260px;
  height: 55px;
  font-family: "Courier New", monospace;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-shadow: 0 0 5px rgb(0, 255, 0);
  box-shadow: 0 0 10px rgb(0, 255, 0);
  transition: 0.2s ease;
}

.nav-btn:hover {
  background: rgb(0, 255, 0);
  color: black;
  box-shadow: 0 0 25px rgb(0, 255, 0);
  transform: scale(1.05);
}

/* =========================
   SCREENSHOT FIX (THIS IS THE IMPORTANT PART)
========================= */

.showcase {
  margin-top: 60px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* each image wrapper */
.screenshot {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 50px 0;
}

/* ACTUAL IMAGE FIX */
.screenshot img {
  width: 80%;
  max-width: 700px;   /* THIS fixes “too big” */
  height: auto;
  border: 2px solid rgb(0, 255, 0);
  transition: 0.2s ease;
  display: block;
}

/* hover effect */
.screenshot img:hover {
  transform: scale(1.02);
  box-shadow: 0 0 25px rgb(0, 255, 0);
}

/* =========================
   EXTRA ELEMENTS
========================= */

.game-item {
  position: relative;
  width: 260px;
  margin: 0 auto;
}

.game-icon {
  position: absolute;
  left: -100px;
  top: 50%;
  transform: translateY(-65%);
  width: 96px;
  height: 96px;
  object-fit: contain;
}

.back-btn {
  position: fixed;
  top: 15px;
  left: 15px;
  z-index: 30;
  width: 110px;
  height: 38px;
  background: transparent;
  border: 2px solid rgb(0, 255, 0);
  color: rgb(0, 255, 0);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =========================
   ANIMATIONS
========================= */

@keyframes borderIn {
  0% { opacity: 0; transform: scale(1.05); }
  100% { opacity: 1; transform: scale(1); }
}