:root {
  color-scheme: dark;
  background: #252429;
}

body {
  margin: 0;
}

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

.poster {
  position: relative;
  width: 100%;
  max-width: 56.27vh;
  max-width: 56.27svh;
}

.poster img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 600px) and (orientation: portrait) {
  .landing {
    align-items: flex-start;
  }

  .poster {
    /* Allow a small vertical compression when the screen is close to the poster's ratio. */
    max-width: 58.2vh;
    max-width: 58.2svh;
  }

  .poster img {
    max-height: 100vh;
    max-height: 100svh;
  }
}

.poster-button {
  position: absolute;
  /* Cover the original artwork button at every poster size. */
  inset: 75.25% 8.5% 16% 8.5%;
  display: grid;
  place-items: center;
  min-height: 44px;
  padding-inline: .5rem;
  border-radius: .9rem;
  color: #171b19;
  background: #fff;
  box-shadow:
    0 7px 20px rgb(20 14 9 / 54%),
    0 0 0 1px rgb(255 255 255 / 70%),
    0 0 16px 3px rgb(255 240 196 / 43%);
  font: 700 1rem/1.2 Arial, Helvetica, sans-serif;
  font-size: clamp(.75rem, min(4.3vw, 2.4vh), 1.25rem);
  text-align: center;
  text-decoration: none;
}

.poster-button:focus-visible {
  outline: 2px solid white;
  outline-offset: 3px;
}

.poster-button:hover {
  background: #f6f7f6;
}

.poster-button:active {
  background: #e8ece9;
}

@media (prefers-reduced-motion: no-preference) {
  .poster-button {
    animation: button-glow 3.6s ease-in-out infinite;
  }

  @keyframes button-glow {
    50% {
      box-shadow:
        0 8px 24px rgb(20 14 9 / 50%),
        0 0 0 2px rgb(255 255 255 / 84%),
        0 0 26px 6px rgb(255 239 190 / 65%);
    }
  }
}
