:root {
  --bg-scale: 1;
  --poster-ratio: 1212 / 1828;
  --coming-width: min(30vw, 360px);
  --coming-bottom: clamp(12vh, 14vh, 16vh);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  background: #000;
}

body {
  overflow: hidden;
  font-family: Arial, Helvetica, sans-serif;
}

img {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}

.comingsoon-stage {
  position: relative;
  width: 100vw;
  height: 100vh;
  min-height: 100svh;
  background:
    radial-gradient(circle at center, rgba(122, 102, 214, 0.2) 0%, rgba(65, 74, 150, 0.18) 26%, rgba(22, 29, 63, 0.22) 44%, rgba(4, 6, 16, 0.96) 76%),
    linear-gradient(90deg, #05070f 0%, #13172d 12%, #252357 24%, #13192f 50%, #252357 76%, #13172d 88%, #05070f 100%);
  overflow: hidden;
  isolation: isolate;
}

.poster-frame {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 1;
  height: 100%;
  aspect-ratio: var(--poster-ratio);
  transform: translateX(-50%);
  transform-origin: center top;
}

.bg-image,
.poster-vignette,
.content-layer {
  position: absolute;
  inset: 0;
}

.bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(var(--bg-scale));
  transform-origin: center top;
  filter: grayscale(0.32) saturate(0.48) brightness(0.82) contrast(0.94);
}

.poster-vignette {
  background:
    radial-gradient(circle at center, rgba(0, 0, 0, 0) 48%, rgba(0, 0, 0, 0.12) 72%, rgba(0, 0, 0, 0.34) 100%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.04) 28%, rgba(0, 0, 0, 0.12) 72%, rgba(0, 0, 0, 0.28));
  pointer-events: none;
}

.vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(circle at center, rgba(0, 0, 0, 0) 40%, rgba(22, 16, 48, 0.12) 60%, rgba(0, 0, 0, 0.58) 100%),
    linear-gradient(to right, rgba(8, 8, 20, 0.92) 0%, rgba(24, 22, 52, 0.64) 11%, rgba(60, 58, 122, 0.24) 22%, rgba(0, 0, 0, 0) 34%, rgba(0, 0, 0, 0) 66%, rgba(60, 58, 122, 0.24) 78%, rgba(24, 22, 52, 0.64) 89%, rgba(8, 8, 20, 0.92) 100%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.34), rgba(26, 22, 54, 0.08) 28%, rgba(0, 0, 0, 0.18) 72%, rgba(0, 0, 0, 0.44));
  pointer-events: none;
}

.content-layer {
  z-index: 1;
}

.coming-block {
  position: absolute;
  left: 50%;
  bottom: calc(100% * 0.12);
  width: min(75%, 360px);
  transform: translateX(-50%);
}

.coming-image {
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.1));
  animation: coming-flicker 2.4s linear infinite;
  transform-origin: center center;
}

@keyframes coming-flicker {
  0% {
    opacity: 0.18;
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.04));
    transform: translateY(0) scale(1);
  }
  50% {
    opacity: 1;
    filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.18));
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0.18;
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.04));
    transform: translateY(0) scale(1);
  }
}

@media (max-aspect-ratio: 1212/1828) {
  .poster-frame {
    top: 50%;
    left: 0;
    width: 100%;
    height: auto;
    transform: translateY(-50%);
    transform-origin: center center;
  }
}

@media (max-width: 960px) {
  .coming-block {
    width: min(78%, 320px);
    bottom: calc(100% * 0.11);
  }
}

@media (max-width: 640px) {
  .coming-block {
    width: min(70%, 280px);
    bottom: calc(100% * 0.1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .coming-image {
    animation: none !important;
  }
}
