@import url('https://fonts.googleapis.com/css2?family=Arsenal:ital,wght@0,400;0,700;1,400;1,700&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --cream: #f7ebde;
  --panel: rgba(61, 37, 27, 0.22);
  --panel-border: rgba(255, 244, 227, 0.16);
  --shadow: 0 30px 80px rgba(31, 16, 10, 0.28);
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  min-height: 100%;
  height: 100%;
  overflow: hidden;
}
body {
  font-family: "Arsenal", "Poppins", system-ui, sans-serif;
  /* background: #24140d; */
  color: #fff;
  overflow: hidden;
}

.lux-poster {
  min-height: 100dvh;
  height: 100dvh;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  
}

.lux-poster__canvas {
  position: relative;
  width: min(
    calc(100vw - 20px),
    calc((100dvh - 20px) * 1240 / 1754),
    720px
  );
  height: min(
    calc(100dvh - 20px),
    calc((100vw - 20px) * 1754 / 1240)
  );
  aspect-ratio: 1240 / 1754;
  overflow: hidden;
  border-radius: 0;
  /* background: #3a2717; */
}

.lux-poster__image,
.lux-poster__overlay,
.lux-poster__vignette {
  position: absolute;
  inset: 0;
}

.lux-poster__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.lux-poster__overlay {
  background:
    linear-gradient(180deg, rgba(20, 10, 6, 0.08), rgba(20, 10, 6, 0.36) 34%, rgba(20, 10, 6, 0.46)),
    radial-gradient(circle at 50% 28%, rgba(255, 242, 214, 0.14), transparent 18%),
    linear-gradient(90deg, rgba(58, 39, 24, 0.62), rgba(58, 39, 24, 0.18) 38%, rgba(58, 39, 24, 0.06) 62%, rgba(58, 39, 24, 0.34));
}

.lux-poster__vignette {
  background:
    radial-gradient(circle at center, transparent 56%, rgba(20, 10, 6, 0.32) 100%),
    radial-gradient(circle at center, rgba(255, 230, 174, 0.04), transparent 52%);
}

.lux-poster__brand,
.lux-poster__copy,
.lux-poster__qr,
.lux-poster__note {
  position: absolute;
  z-index: 2;
}

.lux-poster__brand {
  top: 24px;
  right: 26px;
  display: inline-flex;
  align-items: center;
  color: #fff;
}

.lux-poster__brand-mark {
  display: block;
  width: clamp(122px, 16vw, 183px);
  height: auto;
}

.lux-poster__copy {
  top: 88px;
  left: 26px;
  max-width: 430px;
}

.lux-poster__eyebrow,
.lux-poster__offer p,
.lux-poster__qr-copy,
.lux-poster__note p {
  margin: 0;
  font-family: "Arsenal", "Poppins", system-ui, sans-serif;
}

.lux-poster__eyebrow {
  font-style: italic;
  font-size: clamp(1.2rem, 2vw, 1.75rem);
  line-height: 0.98;
  color: rgba(255, 249, 238, 0.96);
}

.lux-poster__title {
  margin: 6px 0 0;
  font-family: "Arsenal", "Poppins", system-ui, sans-serif;
  font-size: clamp(3.6rem, 6vw, 4.4rem);
  line-height: 0.82;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  -webkit-text-fill-color: palegoldenrod;
}

.lux-poster__underline {
  width: min(250px, 58%);
  height: 1px;
  margin: 30px 0 18px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.16));
}

.lux-poster__offer {
  max-width: 20rem;
  color: rgba(255, 248, 236, 0.96);
  margin-bottom: 4px;
  grid-area: offer;
}

.lux-poster__offer p {
  font-size: clamp(0.86rem, 1.25vw, 1.12rem);
  line-height: 1.25;
}

.lux-poster__offer strong {
  display: block;
  font-family: "Arsenal", "Poppins", system-ui, sans-serif;
  font-size: clamp(1.15rem, 2vw, 1.7rem);
  line-height: 1.06;
  font-weight: 700;
  white-space: nowrap;
}

.lux-poster__qr {
  left: 18px;
  bottom: 96px;
  width: min(92%, 430px);
  display: grid;
  grid-template-columns: 144px minmax(0, 1fr);
  grid-template-areas:
    "offer offer"
    "box copy";
  gap: 12px 16px;
  align-items: center;
}

.lux-poster__qr-box {
  width: 144px;
  aspect-ratio: 1;
  background: transparent;
  grid-area: box;
}

.lux-poster__qr-box svg {
  width: 100%;
  height: 100%;
  display: block;
}

.lux-poster__qr-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.lux-poster__qr-copy {
  grid-area: copy;
  color: rgba(255, 249, 242, 0.96);
  font-size: clamp(0.92rem, 1.35vw, 1.2rem);
  line-height: 1.12;
  max-width: 16rem;
}

.lux-poster__qr-copy strong {
  font-size: 1.05em;
  color: #fff7e4;
}

.lux-poster__note {
  left: 18px;
  bottom: 38px;
  width: min(92%, 430px);
  text-align: left;
}

.lux-poster__note p {
  font-size: clamp(0.72rem, 1.1vw, 0.88rem);
  font-style: italic;
  color: rgba(255, 248, 236, 0.72);
}

.lux-poster__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  text-decoration: none;
  color: #2f1a12;
  font-weight: 700;
  background: linear-gradient(180deg, #f7e0aa, #d2a55f);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 70px;
}

@media (max-width: 720px) {
  .lux-poster {
    padding: 0;
    gap: 0;
  }

  .lux-poster__canvas {
    width: 100vw;
    height: 100dvh;
    max-width: 100vw;
    max-height: 100dvh;
  }

  .lux-poster__brand {
    top: 14px;
    right: 14px;
  }

  .lux-poster__brand-mark {
    width: clamp(96px, 34vw, 142px);
  }

  .lux-poster__copy {
    top: 72px;
    left: 14px;
    max-width: 82%;
  }

  .lux-poster__eyebrow {
    font-size: clamp(1rem, 5vw, 1.15rem);
  }

  .lux-poster__title {
    font-size: clamp(2.65rem, 10vw, 3.4rem);
    letter-spacing: 0.035em;
  }

  .lux-poster__underline {
    margin: 8px 0 14px;
    width: min(160px, 48%);
  }

  .lux-poster__offer p {
    font-size: clamp(0.78rem, 3.8vw, 0.98rem);
  }

  .lux-poster__offer {
    margin-bottom: 2px;
  }

  .lux-poster__offer strong {
    font-size: clamp(1rem, 4.5vw, 1.3rem);
    white-space: nowrap;
  }

  .lux-poster__qr {
    left: 12px;
    bottom: 68px;
    width: calc(100% - 28px);
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 8px 10px;
  }

  .lux-poster__qr-box {
    width: 100px;
  }

  .lux-poster__qr-copy {
    font-size: clamp(0.7rem, 3.2vw, 0.9rem);
  }

  .lux-poster__note {
    left: 12px;
    bottom: 22px;
    width: calc(100% - 28px);
  }

  .lux-poster__note p {
    font-size: clamp(0.62rem, 2.8vw, 0.76rem);
  }

  .lux-poster__cta {
    bottom: 36px;
    padding: 10px 16px;
    font-size: 0.84rem;
  }
}
