* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: #000;
  color: #fff;
  font-family: "DotGothic16", sans-serif;
}

.poster-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
  padding: 40px;
}

.poster-container {
  position: relative;
  width: 480px;
  max-width: 90vw;
  flex: 0 0 auto;
}

.poster-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  margin: 0;
  overflow: hidden;
  background: #000;
}

.poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: blur(0.18px);
  opacity: 0.18;
  mix-blend-mode: lighten;
  animation: 12s ease-in-out infinite;
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: opacity;
  image-rendering: auto;
}

.poster-c { animation-name: pulseC; }
.poster-m { animation-name: pulseM; }
.poster-y { animation-name: pulseY; }
.poster-k { animation-name: pulseK; }

@keyframes pulseC {
  0%, 100% { opacity: 0.5; }
  25% { opacity: 0.32; }
  50% { opacity: 0.18; }
  75% { opacity: 0.28; }
}

@keyframes pulseM {
  0%, 100% { opacity: 0.22; }
  25% { opacity: 0.52; }
  50% { opacity: 0.3; }
  75% { opacity: 0.18; }
}

@keyframes pulseY {
  0%, 100% { opacity: 0.18; }
  25% { opacity: 0.24; }
  50% { opacity: 0.5; }
  75% { opacity: 0.32; }
}

@keyframes pulseK {
  0%, 100% { opacity: 0.24; }
  25% { opacity: 0.18; }
  50% { opacity: 0.26; }
  75% { opacity: 0.46; }
}

.brand {
  position: absolute;
  top: -30px;
  left: 1px;
  color: #fff;
  text-decoration: none;
  font-size: 24px;
  line-height: 1;
  z-index: 10;
}

.side-left,
.side-right {
  position: absolute;
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  line-height: 1;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  z-index: 10;
  opacity: 0.5;
  transition: opacity 0.5s ease-out;
}

.side-left {
  left: -22px;
  bottom: 1px;
  transform: rotate(180deg);
}

.side-right {
  right: -22px;
  top: 1px;
}

.side-left:hover,
.side-left:active,
.side-left:focus,
.side-right:hover,
.side-right:active,
.side-right:focus {
  opacity: 1;
}

@media (max-width: 768px) {
  .poster-wrap {
    padding: 24px;
  }

  .poster-container {
    width: 80vw;
  }

  .brand {
    top: -30px;
    left: 1px;
    font-size: 24px;
  }

  .side-left,
  .side-right {
    font-size: 18px;
  }

  .side-left {
    left: -22px;
    bottom: 1px;
  }

  .side-right {
    right: -22px;
    top: 1px;
  }
}