:root {
  --snf-qr-red: #BC0C1C;
  --snf-qr-red-bright: #D41026;
  --snf-qr-red-dark: #720812;
  --snf-qr-gold: #E1A581;
  --snf-qr-gold-light: #F5DDA2;
  --snf-qr-cream: #FFF8EC;
  --snf-qr-ink: #2E1317;
}
* { box-sizing: border-box; }
html.snf-premium-qr-root,
html.snf-premium-qr-root body {
  margin: 0;
  min-height: 100%;
  background: #fff;
  color: var(--snf-qr-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
body.snf-premium-qr-page {
  min-height: 100svh;
  margin: 0;
  padding: max(10px, env(safe-area-inset-top)) 10px max(18px, env(safe-area-inset-bottom));
  display: flex;
  justify-content: center;
  align-items: flex-start;
  background:
    radial-gradient(circle at 50% -18%, rgba(225,165,129,.11), transparent 34%),
    linear-gradient(180deg, #fff 0%, #fff 70%, #fffaf7 100%);
}
.snf-premium-qr {
  width: min(680px, 100%);
  margin: 0 auto;
  color: var(--snf-qr-ink);
}
.snf-premium-qr__panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  min-height: 688px;
  padding: 28px 24px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #fff;
  border-radius: 30px;
  border: 1px solid rgba(245,221,162,.86);
  background:
    radial-gradient(circle at 50% 39%, rgba(241,190,126,.18), transparent 28%),
    radial-gradient(circle at 50% -7%, rgba(255,255,255,.22), transparent 31%),
    linear-gradient(145deg, var(--snf-qr-red-bright) 0%, #A90A1B 48%, var(--snf-qr-red-dark) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.24),
    inset 0 0 0 1px rgba(82,3,12,.16),
    0 22px 55px rgba(55,3,9,.24);
}
.snf-premium-qr__panel::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -17%;
  left: 50%;
  width: min(88%, 520px);
  height: 55%;
  transform: translateX(-50%);
  background-image: var(--snf-qr-watermark);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center top;
  opacity: .045;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 44%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 44%, transparent 100%);
}
.snf-premium-qr__panel::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: -42%;
  left: -58%;
  width: 36%;
  height: 185%;
  transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.10), rgba(255,255,255,.23), rgba(255,255,255,.08), transparent);
  animation: snfPremiumQrShine 7.5s ease-in-out infinite;
  pointer-events: none;
}
.snf-premium-qr__intro {
  position: relative;
  z-index: 2;
  flex: 0 0 132px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.snf-premium-qr__kicker {
  flex: 0 0 auto;
  margin: 0 0 9px;
  color: #F0C979;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 10px;
  line-height: 1.2;
  font-weight: 950;
}
.snf-premium-qr__title {
  width: 100%;
  height: 102px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: clamp(40px, 8vw, 68px);
  line-height: .88;
  font-weight: 950;
  letter-spacing: -.055em;
  text-transform: uppercase;
  text-shadow: 0 2px 0 rgba(83,3,12,.18);
}
.snf-premium-qr__title-line {
  display: block;
  white-space: nowrap;
}
.snf-premium-qr__lede {
  position: relative;
  z-index: 2;
  flex: 0 0 62px;
  width: min(480px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.88);
  font-size: clamp(14px, 2.2vw, 16px);
  line-height: 1.34;
  font-weight: 750;
  text-wrap: balance;
}
.snf-premium-qr__stage {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  width: min(390px, 78vw);
  margin: 18px auto 0;
  padding: 14px;
  border-radius: 28px;
  background: #fff;
  border: 2px solid var(--snf-qr-gold-light);
  box-shadow:
    0 0 0 5px rgba(98,4,14,.42),
    0 0 0 6px rgba(243,216,150,.38),
    0 20px 42px rgba(30,0,5,.34),
    inset 0 1px 0 rgba(255,255,255,.96);
}
.snf-premium-qr__scan {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: -15px;
  width: 200px;
  min-height: 28px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding: 5px 12px 4px;
  overflow: hidden;
  border-radius: 999px;
  color: #6E0711;
  background:
    linear-gradient(115deg, rgba(255,255,255,.64), transparent 30%),
    linear-gradient(145deg,#C58C3E 0%,#F0C979 25%,#FFF0BD 48%,#DBA95C 72%,#B9792F 100%);
  border: 1px solid #F5DDA2;
  box-shadow: 0 5px 14px rgba(39,0,5,.22), inset 0 1px rgba(255,255,255,.75);
  font-size: 9px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.snf-premium-qr__scan::after {
  content: "";
  position: absolute;
  top: -60%;
  left: -45%;
  width: 28%;
  height: 220%;
  transform: rotate(20deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.72), transparent);
  animation: snfPremiumQrBadgeShine 5.8s ease-in-out infinite;
  pointer-events: none;
}
.snf-premium-qr__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 15px;
  background: #fff;
  image-rendering: crisp-edges;
}
.snf-premium-qr__caption {
  position: relative;
  z-index: 2;
  flex: 0 0 28px;
  width: min(430px, 100%);
  margin: 12px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.92);
  font-size: 13px;
  line-height: 1.25;
  font-weight: 800;
  text-align: center;
}
.snf-premium-qr__url {
  position: relative;
  z-index: 2;
  flex: 0 0 38px;
  width: 250px;
  margin-top: 7px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #3B1F0D;
  background:
    linear-gradient(115deg, rgba(255,255,255,.30), transparent 32%),
    rgba(240,201,121,.97);
  border: 1px solid rgba(255,237,188,.90);
  box-shadow: inset 0 1px rgba(255,255,255,.60), 0 5px 14px rgba(53,2,8,.15);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .005em;
  text-decoration: none;
}
.snf-premium-qr__url:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}
@keyframes snfPremiumQrShine {
  0%, 58% { left: -58%; opacity: 0; }
  62% { opacity: .75; }
  75% { left: 132%; opacity: .30; }
  78%, 100% { left: 132%; opacity: 0; }
}
@keyframes snfPremiumQrBadgeShine {
  0%, 62% { left: -45%; opacity: 0; }
  66% { opacity: .80; }
  78% { left: 125%; opacity: .18; }
  82%, 100% { left: 125%; opacity: 0; }
}
@media (max-width: 600px) {
  body.snf-premium-qr-page {
    padding: max(8px, env(safe-area-inset-top)) 8px max(14px, env(safe-area-inset-bottom));
  }
  .snf-premium-qr { width: 100%; }
  .snf-premium-qr__panel {
    min-height: 676px;
    border-radius: 24px;
    padding: 24px 16px 27px;
  }
  .snf-premium-qr__intro { flex-basis: 132px; }
  .snf-premium-qr__title {
    height: 102px;
    font-size: clamp(38px, 12vw, 54px);
  }
  .snf-premium-qr__lede {
    flex-basis: 62px;
    font-size: 14px;
  }
  .snf-premium-qr__stage {
    width: min(350px, 82vw);
    margin-top: 18px;
    padding: 11px;
    border-radius: 24px;
  }
  .snf-premium-qr__scan { top: -14px; }
}
@media (max-width: 380px) {
  .snf-premium-qr__panel {
    min-height: 646px;
    padding: 21px 13px 23px;
  }
  .snf-premium-qr__intro { flex-basis: 122px; }
  .snf-premium-qr__title {
    height: 92px;
    font-size: clamp(35px, 11.5vw, 45px);
  }
  .snf-premium-qr__lede {
    flex-basis: 58px;
    font-size: 13px;
  }
  .snf-premium-qr__stage { width: min(326px, 80vw); }
  .snf-premium-qr__caption { font-size: 12px; }
  .snf-premium-qr__url { width: 238px; }
}
@media (prefers-reduced-motion: reduce) {
  .snf-premium-qr__panel::after,
  .snf-premium-qr__scan::after { animation: none; display: none; }
}
