html,
body {
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #020014;
}

h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.viewport {
  position: fixed;
  inset: 0;
  overflow: hidden;
}

.stage {
  position: absolute;
  left: 0;
  top: 0;
  width: 3840px;
  height: 2160px;
  transform-origin: 0 0;
}

.stage img {
  display: block;
  position: absolute;
  max-width: none;
}

.tilt {
  position: absolute;
  left: 0;
  top: 0;
  transform-origin: 0 0;
}

.tilt-city {
  width: 2215px;
  height: 1928px;
  transform: matrix(1, 0, 0, 1, -547, 845) translate(50%, 50%) rotateX(-49.5deg) rotateY(5deg) translate(-50%, -50%);
}

.tilt-city img {
  left: -200px;
  top: -200px;
  width: 2615px;
  height: 2328px;
}

.tilt-sign {
  width: 2653.8px;
  height: 3468px;
  transform: matrix(1, -0.0091, 0.0091, 1, 1333, 370.2812) translate(50%, 50%) rotateX(6.6324deg) rotateY(-12.1001deg) translate(-50%, -50%);
}

.tilt-sign img {
  left: -70px;
  top: -70px;
}

.layer-b {
  left: 1600px;
  top: 1000px;
  width: 2600px;
  height: 2300px;
}

.layer-c {
  left: 1750px;
  top: 700px;
  width: 2150px;
  height: 1900px;
}

.layer-logo {
  left: 2950px;
  top: 1650px;
  width: 620px;
  height: 390px;
}

.sway {
  position: absolute;
  inset: 0;
  animation: rise 8s ease-in-out infinite alternate;
}

.sway-b {
  animation-duration: 11s;
  animation-delay: -4s;
}

.sway-c {
  animation-duration: 14s;
  animation-delay: -9s;
}

@keyframes rise {
  from { transform: translateY(70px); }
  to { transform: translateY(-110px); }
}

.back {
  position: absolute;
  left: 1118px;
  top: 886px;
  width: 418px;
  height: 112px;
  box-sizing: border-box;
  border: 7px solid #dd00ff;
  border-radius: 18px;
  transition: background-color 0.2s;
}

.back:hover,
.back:focus-visible {
  background-color: rgba(221, 0, 255, 0.22);
  outline: none;
}

@media (prefers-reduced-motion: reduce) {
  .sway { animation: none; }
}

@media (max-aspect-ratio: 1/1) {
  .viewport {
    -webkit-mask-image: linear-gradient(transparent, #000 16%, #000 84%, transparent);
    mask-image: linear-gradient(transparent, #000 16%, #000 84%, transparent);
  }
}
