html,
body {
  margin: 0;
  padding: 0;
  overscroll-behavior-y: none;
}

body {
  background: #ffffff;
  font-family: "Times New Roman", Times, serif;
  color: #000000;
}

h1 {
  font-size: 30px;
  font-style: italic;
  margin: 0;
  margin-bottom: 8px;
  line-height: 1;
}

p {
  font-size: 19px;
  line-height: 0.9;
  margin: 0 0 8px 0;
}


/* ----------------------------------
   WHOLE WEBSITE
---------------------------------- */

.page {
  /*width: 760px;*/
  width: 80%;
  min-width: 760px;
  margin: 0 auto;
  background: #ffffff;
  position: relative;
  box-shadow: -12px 0 16px -6px rgba(0, 0, 0, 0.35),
               12px 0 16px -6px rgba(0, 0, 0, 0.35);
}

/* ----------------------------------
   HEADER
---------------------------------- */

.site-header {
  position: relative;
  /*width: 760px;*/
  width: 100%;
  height: 177px;
}

.header-bg {
  display: block;
  /*width: 760px;*/
  width: 100%;
  height: 177px;
}

.logo {
  position: absolute;
  top: 48px;
  left: 42px;
  width: 278px;
  height: 81px;
  z-index: 4;
}

.pc-splash {
  position: absolute;
  top: 12px;
  right: 0;
  width: 254px;
  height: 276px;
  z-index: 5;
}

/* ----------------------------------
   MAIN LAYOUT
---------------------------------- */

.layout {
  display: flex;
  width: 100%;
}

/* ----------------------------------
   LEFT SIDE
---------------------------------- */

.left-side {
  width: 106px;
}

.side-text {
  display: block;
  width: 106px;
  height: 369px;
}

/* ----------------------------------
   RIGHT SIDE
---------------------------------- */

.right-side {
  width: 254px;
  margin-top: 128px;
}

.right-side img {
  display: block;
  height: auto;
  margin-bottom: 8px;
}

.explore-banner {
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.nav-banner {
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

/* ----------------------------------
   MAIN CONTENT AREA
---------------------------------- */

.main-content {
  width: 100%;
  background: #ffffff;
  padding: 14px 18px 40px 18px;
  box-sizing: border-box;
}

.spacer {
  height: 32px;
}

/* ----------------------------------
   INTRO TEXT BOX
---------------------------------- */

.intro {
  /*width: 365px;*/
  width: calc(100% - 64px);
  /* max-width: 900px; */
  margin-right: 128px;
}

.construction {
  display: block;
  margin-top: 32px;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

/* ----------------------------------
   GAMEPLAY GIF
---------------------------------- */

.gameplay-gif {
  display: flex;
  justify-content: center;
  margin: 16px auto;
}

.gameplay-gif img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ----------------------------------
   CALL TO ACTION BUTTONS
---------------------------------- */

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  margin: 18px 64px;
}

.cta-button {
  display: inline-block;
  line-height: 0;
}

.cta-button img {
  display: block;
  max-width: 100%;
  height: auto;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

/* ----------------------------------
   TRAILER
---------------------------------- */

.trailer {
  margin: 64px;
}

.trailer-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  border: 2px solid #000000;
  background: #000000;
  box-sizing: border-box;
}

.trailer-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ----------------------------------
   BIG SCREENSHOTS
---------------------------------- */

.screenshots {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 18px;
  justify-content: center;
}

.screenshot-button {
  display: flex;
  padding: 0;
  margin: 0;
  border: 2px solid #000000;
  background: #ffffff;
  cursor: pointer;
  box-shadow: 6px 6px 6px rgba(0, 0, 0, 0.35);
}

.screenshot-button img {
  display: block;
  width: 100%;
  height: auto;
}

/* ----------------------------------
   LINK ROWS
---------------------------------- */

.link-list {
  margin-top: 0;
}

.link-row {
  display: grid;
  grid-template-columns: 75px 1fr;
  gap: 14px;
  align-items: center;
  margin-bottom: 24px;
}

.thumb-button {
  width: 68px;
  height: 48px;
  padding: 0;
  border: 0;
  background: #000044;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 5px 5px 4px rgba(0, 0, 0, 0.35);
}

.thumb-button img {
  display: block;
  width: 68px;
  height: 48px;
  object-fit: cover;
}

.link-row h2 {
  font-size: 21px;
  margin: 0;
  line-height: 1;
}

.link-row p {
  font-size: 17px;
  margin: 2px 0 0 0;
  line-height: 1.1;
}

a {
  color: #0000ee;
  text-decoration: underline;
}

a:visited {
  color: #551a8b;
}

/* ----------------------------------
   PRESS KIT
---------------------------------- */

.press-kit {
  display: flex;
  justify-content: center;
  margin: 18px 64px;
}

/* ----------------------------------
   FOOTER
---------------------------------- */

.site-footer {
  width: 100%;
  margin-top: 45px;
  padding: 12px 0 18px 0;
  border-top: 2px solid #c8c8ff;
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: 16px;
  line-height: 1;
}

/* ----------------------------------
   IMAGE OVERLAY
---------------------------------- */

.image-overlay {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.image-overlay.is-visible {
  display: block;
}

.overlay-window {
  position: absolute;
  left: 50%;
  top: 50%;
  max-width: 80vw;
  max-height: 80vh;
  background: #000000;
  border: 6px solid #000000;
  box-shadow: 12px 12px 16px rgba(0, 0, 0, 0.45);
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
}

.overlay-image {
  display: block;
  min-height: 0;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  background: #008080;
}

.overlay-caption {
  background: #000000;
  color: #ffffff;
  font-size: 20px;
  line-height: 1.1;
  padding: 8px 10px;
}

.close-overlay {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  z-index: 2;
}

.close-overlay img {
  display: block;
  width: 28px;
  height: 28px;
}