:root {
  --page-bg-top: #dff5ff;
  --page-bg-mid: #7ebeff;
  --page-bg-bottom: #0a1d78;
  --shadow-deep: rgba(9, 30, 118, 0.34);
  --glow-cyan: rgba(100, 239, 255, 0.82);
  --glow-blue: rgba(42, 107, 255, 0.78);
  --text-light: rgba(244, 250, 255, 0.96);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  background:
    radial-gradient(circle at 50% 8%, rgba(255, 255, 255, 0.92), transparent 18%),
    linear-gradient(180deg, var(--page-bg-top) 0%, var(--page-bg-mid) 36%, var(--page-bg-bottom) 100%);
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  background:
    url("./assets/reference-poster.jpg") center top / min(1000px, 92vw) auto no-repeat,
    radial-gradient(circle at 50% 10%, rgba(255, 255, 255, 0.42), transparent 24%);
  filter: blur(28px) saturate(1.15);
  opacity: 0.92;
  transform: scale(1.16);
}

body::after {
  background:
    linear-gradient(120deg, transparent 16%, rgba(255, 255, 255, 0.24) 26%, transparent 36%),
    linear-gradient(300deg, transparent 14%, rgba(135, 246, 255, 0.18) 24%, transparent 34%);
  mix-blend-mode: screen;
  opacity: 0.84;
}

.poster-page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 20px 16px 28px;
}

.poster-stage {
  width: min(100%, 860px);
  display: grid;
  justify-items: center;
  gap: 18px;
}

.poster-card {
  position: relative;
  width: min(100%, 720px);
  aspect-ratio: 9 / 16;
  border-radius: 34px;
  overflow: hidden;
  box-shadow:
    0 34px 80px var(--shadow-deep),
    0 0 0 1px rgba(255, 255, 255, 0.34),
    inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.poster-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 16%, transparent 80%, rgba(15, 36, 130, 0.14)),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.18), transparent 26%);
  pointer-events: none;
}

.poster-art {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo-overlay {
  position: absolute;
  left: 50%;
  top: 5.6%;
  width: 44%;
  aspect-ratio: 1;
  transform: translateX(-50%);
  pointer-events: none;
}

.logo-mask,
.logo-card {
  position: absolute;
  inset: 0;
  border-radius: 20%;
}

.logo-mask {
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 255, 255, 0.98), rgba(226, 248, 255, 0.92) 56%, rgba(168, 229, 255, 0.74) 78%, rgba(135, 214, 255, 0.18) 100%);
  box-shadow:
    0 0 38px rgba(136, 246, 255, 0.32),
    0 12px 28px rgba(28, 93, 218, 0.18);
  filter: saturate(1.08);
}

.logo-mask::before {
  content: "";
  position: absolute;
  inset: -12%;
  border-radius: 28%;
  background: radial-gradient(circle, rgba(126, 246, 255, 0.26), transparent 72%);
}

.logo-card {
  inset: 6.5%;
  display: grid;
  place-items: center;
  padding: 8%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(233, 249, 255, 0.95)),
    linear-gradient(145deg, rgba(85, 180, 255, 0.16), rgba(92, 239, 255, 0.12));
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.82),
    inset 0 -14px 24px rgba(74, 212, 255, 0.12),
    0 0 0 3px rgba(158, 238, 255, 0.5);
}

.logo-card::before {
  content: "";
  position: absolute;
  inset: 5.5%;
  border-radius: 18%;
  border: 1px solid rgba(117, 220, 255, 0.46);
}

.logo-image {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hotspot-layer {
  position: absolute;
  inset: 0;
}

.download-hotspot {
  position: absolute;
  left: 8.6%;
  top: 64.2%;
  width: 83.2%;
  height: 13.6%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.download-hotspot::before {
  content: "";
  position: absolute;
  inset: 7% 4%;
  border-radius: 999px;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.24),
    0 0 26px rgba(95, 241, 255, 0.28),
    0 0 44px rgba(59, 105, 255, 0.24);
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.download-hotspot:hover::before,
.download-hotspot:focus-visible::before,
.download-hotspot.is-loading::before {
  opacity: 1;
}

.download-hotspot:active::before {
  transform: scale(0.99);
}

.hotspot-glow {
  position: absolute;
  inset: 0;
  border-radius: 36px;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1), transparent 56%),
    linear-gradient(90deg, rgba(147, 111, 255, 0.12), rgba(71, 225, 255, 0.14), rgba(68, 109, 255, 0.12));
  opacity: 0;
  transition: opacity 0.2s ease;
}

.download-hotspot:hover .hotspot-glow,
.download-hotspot:focus-visible .hotspot-glow,
.download-hotspot.is-loading .hotspot-glow {
  opacity: 1;
}

.hotspot-label {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.poster-copy {
  text-align: center;
  color: var(--text-light);
  text-shadow: 0 10px 24px rgba(9, 30, 118, 0.24);
}

.poster-copy h1 {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 700;
  letter-spacing: 0.06em;
}

.poster-copy p {
  margin: 8px 0 0;
  font-size: clamp(0.92rem, 1.5vw, 1.05rem);
  opacity: 0.94;
}

@media (min-width: 961px) {
  .poster-stage {
    width: min(100%, 1180px);
    grid-template-columns: minmax(420px, 720px) 1fr;
    align-items: center;
    gap: 48px;
  }

  .poster-copy {
    text-align: left;
    max-width: 280px;
  }

  .poster-copy h1 {
    font-size: clamp(1.6rem, 2.1vw, 2.2rem);
  }

  .poster-copy p {
    font-size: 1rem;
    line-height: 1.8;
  }
}

@media (max-width: 960px) {
  .poster-page {
    padding: 10px 10px 20px;
  }

  .poster-stage {
    gap: 12px;
  }

  .poster-card {
    border-radius: 24px;
    box-shadow:
      0 18px 44px rgba(9, 30, 118, 0.24),
      0 0 0 1px rgba(255, 255, 255, 0.28);
  }

  .logo-overlay {
    top: 5.8%;
    width: 45%;
  }

  .download-hotspot {
    left: 8.2%;
    top: 64%;
    width: 83.8%;
    height: 13.8%;
  }

  .download-hotspot::before {
    inset: 8% 4.5%;
  }

  .poster-copy h1 {
    font-size: 1rem;
  }

  .poster-copy p {
    margin-top: 6px;
    font-size: 0.82rem;
  }
}

@media (max-width: 480px) {
  body::before {
    background-size: 138vw auto;
    filter: blur(22px) saturate(1.12);
    transform: scale(1.12);
  }

  .poster-page {
    padding: 0;
  }

  .poster-stage {
    width: 100%;
    gap: 0;
  }

  .poster-card {
    width: 100%;
    border-radius: 0;
    box-shadow: none;
  }

  .logo-overlay {
    top: 5.5%;
    width: 44%;
  }

  .poster-card::before {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 16%, transparent 84%, rgba(15, 36, 130, 0.08));
  }

  .download-hotspot {
    left: 8.4%;
    top: 64.1%;
    width: 83.4%;
    height: 13.7%;
  }

  .download-hotspot::before {
    inset: 7% 4%;
  }

  .poster-copy {
    display: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .download-hotspot.is-loading::before {
    animation: hotspotPulse 1.2s ease-in-out infinite;
  }
}

@keyframes hotspotPulse {
  0%,
  100% {
    box-shadow:
      0 0 0 2px rgba(255, 255, 255, 0.24),
      0 0 26px rgba(95, 241, 255, 0.28),
      0 0 44px rgba(59, 105, 255, 0.24);
  }

  50% {
    box-shadow:
      0 0 0 3px rgba(255, 255, 255, 0.32),
      0 0 34px var(--glow-cyan),
      0 0 58px var(--glow-blue);
  }
}
