@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Cormorant+Garamond:ital,wght@0,400;0,500;1,400;1,500&family=Inter:wght@400;500;600&display=swap');

:root {
  --black: #050505;
  --gold: #c9a227;
  --gold-bright: #e8c547;
  --cream: #f5f0e6;
  --muted: rgba(245, 240, 230, 0.72);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body.poster {
  font-family: 'Inter', sans-serif;
  background: var(--black);
  color: var(--cream);
  overflow-x: hidden;
}

.poster-scene {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.poster-art {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: var(--black);
  overflow: hidden;
}

.poster-media-layer {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.6s ease-in-out;
}

.poster-media-layer.is-active {
  opacity: 1;
}

.poster-media-layer img,
.poster-media-layer video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: var(--media-position, center center);
  transform: none;
}

.poster-media-layer[data-fit="cover"] img,
.poster-media-layer[data-fit="cover"] video {
  object-fit: cover;
  object-position: var(--media-position, center 22%);
}

.poster-media-layer[data-fit="contain"] img,
.poster-media-layer[data-fit="contain"] video {
  object-fit: contain;
  object-position: center center;
}

.poster-vignette {
  position: fixed;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, transparent 22%, transparent 50%, rgba(0, 0, 0, 0.92) 100%),
    radial-gradient(ellipse at center, transparent 55%, rgba(0, 0, 0, 0.35) 100%);
  pointer-events: none;
}

.poster-grain {
  position: fixed;
  inset: 0;
  z-index: 2;
  opacity: 0.06;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.poster-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
  text-align: center;
}

.poster-back {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 10;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
}

.poster-back:hover {
  color: var(--gold-bright);
}

.poster-presents {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  text-align: right;
}

.poster-presents:hover {
  color: var(--gold-bright);
}

.poster-title {
  font-family: 'Cinzel', serif;
  font-weight: 900;
  font-size: clamp(2.2rem, 8vw, 5rem);
  line-height: 1.05;
  letter-spacing: 0.04em;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.8);
  margin-bottom: 1rem;
}

.poster-tagline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.1rem, 2.8vw, 1.6rem);
  font-style: italic;
  color: var(--muted);
  max-width: 44rem;
  margin: 0 auto 2rem;
  line-height: 1.55;
}

.poster-tagline .tagline-lead {
  display: block;
  font-size: clamp(1.2rem, 3vw, 1.75rem);
  font-style: italic;
  color: rgba(245, 240, 230, 0.88);
  margin-bottom: 0.65rem;
}

.poster-tagline .tagline-follow {
  display: block;
  font-size: clamp(1rem, 2.2vw, 1.3rem);
  font-style: normal;
  color: rgba(245, 240, 230, 0.62);
  letter-spacing: 0.02em;
  line-height: 1.6;
}

.poster-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.poster-btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  font-family: 'Cinzel', serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.poster-btn-primary {
  color: var(--black);
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  box-shadow: 0 4px 24px rgba(201, 162, 39, 0.35);
}

.poster-btn-secondary {
  color: var(--cream);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.poster-btn:hover {
  transform: translateY(-2px);
}

.poster-billing {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.75rem;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245, 240, 230, 0.55);
  line-height: 2;
}

.poster-billing strong {
  color: var(--gold);
  font-weight: 600;
}

.poster-stats {
  margin-top: 0.5rem;
  color: rgba(245, 240, 230, 0.45);
}

@media (max-width: 768px) {
  .poster-media-layer[data-fit="contain"] img,
  .poster-media-layer[data-fit="contain"] video {
    object-fit: contain;
  }

  .poster-actions {
    flex-direction: column;
    align-items: center;
  }

  .poster-btn {
    width: min(100%, 280px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .poster-media-layer {
    transition: none;
  }
}
