:root {
  --brand-navy: #0b1a4a;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: var(--brand-navy);
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}

.stage {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.backdrop {
  position: absolute;
  inset: -5vmax;
  background-image: url("assets/poster.png");
  background-size: cover;
  background-position: center;
  filter: blur(40px) brightness(0.55) saturate(1.1);
  transform: scale(1.15);
  z-index: 0;
}

.poster {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 100vw;
  max-height: 100vh;
  max-height: 100dvh;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  border-radius: 4px;
}

@media (max-width: 640px) {
  .poster {
    width: 100vw;
    max-width: 100vw;
    height: auto;
    max-height: 100dvh;
    border-radius: 0;
    box-shadow: none;
  }

  .backdrop {
    display: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .poster {
    animation: fadeIn 400ms ease-out both;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
