@font-face { font-family: "Bodoni Moda"; font-weight: 400; font-style: normal; font-display: swap; src: url(fonts/bodoni-400.woff2) format("woff2"); }
@font-face { font-family: "Bodoni Moda"; font-weight: 400; font-style: italic; font-display: swap; src: url(fonts/bodoni-400i.woff2) format("woff2"); }
@font-face { font-family: "Bodoni Moda"; font-weight: 500; font-style: normal; font-display: swap; src: url(fonts/bodoni-500.woff2) format("woff2"); }
@font-face { font-family: Jost; font-weight: 300; font-display: swap; src: url(fonts/jost-300.woff2) format("woff2"); }
@font-face { font-family: Jost; font-weight: 400; font-display: swap; src: url(fonts/jost-400.woff2) format("woff2"); }
@font-face { font-family: Jost; font-weight: 500; font-display: swap; src: url(fonts/jost-500.woff2) format("woff2"); }
@font-face { font-family: "Pinyon Script"; font-weight: 400; font-display: swap; src: url(fonts/pinyon-400.woff2) format("woff2"); }

/* Kleuren en lettertypes van de Perfume Bar-pagina */
:root {
  color-scheme: dark;
  --bg: #0b0907;
  --panel: #15110d;
  --panel-2: #1d1812;
  --text: #ffffff;
  --text-2: #e9e2d6;
  --muted: #b6b1a7;
  --faint: #8f897f;
  --gold: #e2b56f;
  --gold-pale: #f4dfb4;
  --line: rgba(226, 181, 111, .24);
  --line-strong: rgba(226, 181, 111, .55);
  --copper: linear-gradient(135deg, #7e4b17, #9d6122 40%, #b0762f 68%, #9d6122);
  --foil: linear-gradient(135deg, #f4dfb4 0%, #e2b56f 48%, #c98c45 100%);
  --error: #f3a6a0;
  --serif: "Bodoni Moda", Didot, "Bodoni 72", Georgia, serif;
  --sans: Jost, "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --script: "Pinyon Script", "Snell Roundhand", cursive;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100dvh; color: var(--text-2);
  background: radial-gradient(90% 34% at 50% 100%, rgba(157, 97, 34, .28), rgba(157, 97, 34, 0) 100%) fixed, var(--bg);
  font: 300 16.5px/1.5 var(--sans);
  overflow-x: hidden;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--text); text-wrap: balance; }
h1 em, h2 em { font-style: italic; color: var(--gold-pale); }
b, strong { font-weight: 500; color: var(--text); }
a { color: var(--gold); text-underline-offset: 3px; }
button { font: inherit; color: inherit; }
.eyebrow { font: 300 11px/1.2 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--gold); }

/* Lichtpuntjes en fijne lijnen op de achtergrond */
#dust, .lines { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.lines { opacity: .9; }
.lines path { fill: none; stroke: rgba(226, 181, 111, .11); stroke-width: 1; vector-effect: non-scaling-stroke; }

.page { width: min(100%, 460px); margin: 0 auto; padding: max(18px, env(safe-area-inset-top)) 16px calc(28px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 16px; }
.brand { display: flex; flex-direction: column; align-items: center; gap: 7px; }
.brand img { display: block; }
.full-logo { height: auto; }
.silk .eyebrow { font-weight: 400; color: var(--gold-pale); }
.greeting { text-align: center; }
.greeting h1 { margin: 0 0 4px; font-size: clamp(30px, 8.6vw, 38px); line-height: 1.12; }
.greeting p { margin: 0; color: var(--text-2); }
.center { min-height: 100dvh; justify-content: center; }

/* De kaart */
.flip { perspective: 1400px; transform-style: preserve-3d; touch-action: pan-y; }
.flip-inner {
  position: relative; aspect-ratio: 1.42; transform-style: preserve-3d;
  transform: rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg));
  transition: transform .55s cubic-bezier(.3, .8, .3, 1);
}
.flip-inner.flipped { transform: rotateX(var(--tx, 0deg)) rotateY(calc(180deg + var(--ty, 0deg))); }
.face { position: absolute; inset: 0; border-radius: 18px; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; }
.silk {
  background: radial-gradient(90% 80% at 85% 0%, rgba(201, 140, 69, .2), rgba(201, 140, 69, 0) 70%), var(--panel);
  border: 1px solid var(--line-strong);
  box-shadow: 0 22px 44px -22px rgba(201, 140, 69, .55);
  padding: 15px 15px 14px; display: flex; flex-direction: column; gap: 10px;
}
.shine { position: absolute; inset: -40% auto -40% -60%; width: 30%; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(244, 223, 180, .13), transparent); transform: rotate(18deg);
  animation: shine 7s ease-in-out infinite; }
@keyframes shine { 0%, 66% { left: -60%; } 100% { left: 130%; } }
.card-top { position: relative; display: flex; justify-content: space-between; align-items: center; padding: 3px 6px 0; }
.count { font: italic 400 21px/1 var(--serif); color: var(--gold-pale); }
.slots { position: relative; flex: 1; display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; padding: 0 4px 3px; place-items: center; }

.slot {
  --size: min(100%, 15.5vw, 66px);
  width: var(--size); aspect-ratio: 1; padding: 0; display: grid; place-items: center; cursor: pointer;
  border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, .015); color: var(--gold);
  transition: transform .15s; -webkit-tap-highlight-color: transparent;
}
.slot b { font: italic 400 18px/1 var(--serif); color: var(--gold); opacity: .78; }
.slot svg { width: 56%; height: 56%; display: block; }
.slot:active { transform: scale(.94); }
.slot.goal { border: 1px solid var(--gold); background: rgba(226, 181, 111, .1); box-shadow: inset 0 0 14px rgba(226, 181, 111, .18); }
.slot.goal b { font-size: 16px; color: var(--gold-pale); opacity: 1; }
.slot.on { --flower-heart: #e2b56f; border: 0; background: var(--foil); color: #1a120a; box-shadow: 0 0 16px -3px rgba(226, 181, 111, .75); }
.slot.on b { color: #1a120a; opacity: 1; }
.slot.ready { animation: glow 1.9s ease-in-out infinite; }
@keyframes glow { 50% { box-shadow: 0 0 0 4px rgba(226, 181, 111, .22), 0 0 26px 3px rgba(226, 181, 111, .75); } }
.slot.wiggle { animation: wiggle .32s ease; }
@keyframes wiggle { 50% { transform: scale(1.09); } }
.slot.landing { animation: land .55s cubic-bezier(.2, .9, .3, 1.1) both; }
@keyframes land { 0% { transform: scale(2.1); opacity: 0; filter: brightness(1.8); } 62% { transform: scale(.94); opacity: 1; } 100% { transform: scale(1); filter: none; } }
.front.thump { animation: thump .35s .2s ease; }
@keyframes thump { 40% { transform: translateY(2px); } }

.back { background: var(--panel); transform: rotateY(180deg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; padding: 12px; border: 1px solid var(--line-strong); box-shadow: 0 22px 44px -22px rgba(201, 140, 69, .55); }
.back .qr { height: 80%; aspect-ratio: 1; display: block; padding: 7px; background: #fff; border-radius: 10px; }
.back p { margin: 0; font: 300 11px/1.2 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }

.progress-track { height: 2px; background: var(--line); margin-top: 2px; }
.progress-fill { position: relative; height: 100%; background: var(--foil); box-shadow: 0 0 10px rgba(226, 181, 111, .8); transition: width .8s cubic-bezier(.3, .8, .3, 1); }

.ready { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.ready:empty { display: none; }
.ready-pill { min-height: 44px; padding: 8px 20px; border-radius: 40px; border: 1px solid var(--gold); background: rgba(11, 9, 7, .4); color: var(--gold-pale); font: 400 12px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; box-shadow: 0 0 18px -6px var(--gold); }

.btn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 53px; padding: 14px 28px; border-radius: 60px; border: 0; font: 500 13px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-align: center; text-decoration: none; cursor: pointer; transition: transform .12s, filter .12s; }
.btn:active { transform: scale(.985); filter: brightness(1.12); }
.btn:disabled { opacity: .55; cursor: default; }
.btn-gold { background: var(--copper); color: #fff; box-shadow: 0 10px 30px -12px rgba(201, 140, 69, .75), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-ink { background: var(--text-2); color: var(--bg); }
.btn-ghost { background: rgba(11, 9, 7, .4); color: var(--gold-pale); border: 1px solid var(--line-strong); }
.btn-sand { background: var(--panel-2); color: var(--gold-pale); border: 1px solid var(--gold); }
:focus-visible { outline: 2px solid var(--gold-pale); outline-offset: 2px; }

/* Panelen, zoals de stappen op de Perfume Bar-pagina */
.guide, .how, .form, .stats div, .result, .reward-box { background: var(--panel); border: 1px solid var(--line); }

/* Stappenplan beginscherm */
.guide { border-radius: 18px; padding: 15px 14px; display: grid; gap: 12px; }
.guide-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.guide-head h2 { margin: 0; font-size: 20px; line-height: 1.2; }
.guide-close { flex: none; min-height: 44px; padding: 0 2px; border: 0; background: none; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; font-size: 14px; cursor: pointer; }
.guide-tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 3px; gap: 3px; border: 1px solid var(--line); border-radius: 40px; }
.guide-tabs button { min-height: 38px; border: 0; border-radius: 40px; background: transparent; color: var(--muted); font: 400 11.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; cursor: pointer; }
.guide-tabs button[aria-pressed="true"] { background: var(--copper); color: #fff; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.steps li { display: grid; gap: 8px; align-content: start; font-size: 13.5px; line-height: 1.3; font-weight: 400; color: var(--text-2); }
.steps li > span:last-child b { display: block; margin-bottom: 2px; font: italic 400 21px/1 var(--serif); color: var(--gold); }
.guide-note { margin: 0; font-size: 13.5px; color: var(--muted); }

.mock { position: relative; aspect-ratio: 3 / 4; border: 1px solid var(--line-strong); border-radius: 11px; background: var(--bg); overflow: hidden; display: flex; flex-direction: column; }
.mock .bar { height: 19%; display: flex; align-items: center; justify-content: center; gap: 12%; background: var(--panel-2); }
.mock .bar.top { border-bottom: 1px solid var(--line); justify-content: flex-end; padding-right: 8%; }
.mock .bar.bottom { margin-top: auto; border-top: 1px solid var(--line); }
.mock .url { position: absolute; left: 9%; top: 5.5%; right: 26%; height: 8%; border-radius: 3px; background: var(--panel-2); }
.mock .ico { width: 15px; height: 15px; display: block; }
.mock .tap { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; background: var(--foil); color: #1a120a; box-shadow: 0 0 12px rgba(226, 181, 111, .8); }
.mock .list { margin-top: auto; padding: 7% 6% 8%; background: var(--panel-2); border-top: 1px solid var(--line); border-radius: 8px 8px 0 0; display: grid; gap: 5px; }
.mock .list i { height: 7px; border-radius: 2px; background: rgba(226, 181, 111, .14); }
.mock .list span { padding: 5px 3px; border-radius: 4px; background: var(--foil); color: #1a120a; font: 500 8.5px/1.1 var(--sans); text-align: center; }
.mock .home { flex: 1; padding: 12% 10%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10%; align-content: start; }
.mock .home i { aspect-ratio: 1; border-radius: 22%; background: var(--panel-2); }
.mock .home img { width: 100%; aspect-ratio: 1; display: block; padding: 6%; border-radius: 22%; background: var(--bg); box-shadow: 0 0 0 1.5px var(--gold), 0 0 12px rgba(226, 181, 111, .7); }

.how { border-radius: 18px; padding: 3px 16px; }
.how summary { cursor: pointer; font: 400 18px/1.3 var(--serif); color: var(--text); padding: 12px 0; }
.how ol { margin: 0 0 13px; padding-left: 20px; display: grid; gap: 6px; }
.how li::marker { color: var(--gold); }
.foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; font-size: 14px; }
.foot a { padding: 6px 0; color: var(--muted); }

/* Aanmelden */
.teaser { position: relative; overflow: hidden; border-radius: 18px; aspect-ratio: 1.42; width: 90%; margin: 2px auto 6px; }
.teaser .slot { cursor: default; --size: min(100%, 13.8vw, 58px); }
.form { display: grid; gap: 14px; padding: 18px 16px; border-radius: 18px; }
.form label { display: grid; gap: 6px; font-weight: 400; font-size: 14.5px; color: var(--text-2); }
.form input:not([type=checkbox]), .search { width: 100%; min-height: 48px; padding: 10px 16px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--bg); font: 300 16px/1.2 var(--sans); color: var(--text); }
.search::placeholder { color: var(--faint); }
.form input:focus, .search:focus { outline: 1px solid var(--gold-pale); border-color: var(--gold-pale); }
.form .check { grid-template-columns: 24px 1fr; gap: 9px; align-items: start; font-weight: 300; line-height: 1.35; cursor: pointer; }
.check input { width: 21px; height: 21px; margin: 1px 0 0; accent-color: var(--gold); }
.error { margin: 0; color: var(--error); font-weight: 400; font-size: 15px; }
.sent { margin: 0; color: var(--gold-pale); font-weight: 400; font-size: 15px; }
.form.resend { background: none; border: 0; padding: 0 0 14px; }

/* Beloning openen */
.sheet-wrap { position: fixed; inset: 0; z-index: 30; display: grid; align-items: end; justify-items: center; background: rgba(0, 0, 0, .68); animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.sheet { position: relative; width: min(100%, 460px); min-height: 340px; padding: 26px 22px calc(26px + env(safe-area-inset-bottom)); border-radius: 22px 22px 0 0; border: 1px solid var(--line-strong); border-bottom: 0; background: radial-gradient(80% 60% at 50% 100%, rgba(157, 97, 34, .3), rgba(157, 97, 34, 0)), var(--panel); display: grid; place-items: center; text-align: center; animation: rise .28s cubic-bezier(.3, .8, .3, 1); }
@keyframes rise { from { transform: translateY(60px); } }
.sheet-close { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--gold-pale); font-size: 28px; line-height: 1; cursor: pointer; }
.giftbox { background: none; border: 0; cursor: pointer; display: grid; justify-items: center; gap: 8px; }
.giftbox svg { filter: drop-shadow(0 0 22px rgba(226, 181, 111, .35)); }
.box-lid { transition: transform .55s cubic-bezier(.3, .8, .4, 1), opacity .55s; transform-origin: 100px 60px; }
.giftbox.open .box-lid { transform: translateY(-52px); opacity: 0; }
.tap-hint { font: 300 11px/1.2 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--gold); }
.coupon { animation: pop .35s ease; }
@keyframes pop { from { transform: translateY(10px); opacity: 0; } }
.coupon h2 { margin: 10px 0 6px; font-size: 40px; font-style: italic; line-height: 1.08; color: var(--gold-pale); }
.coupon p { margin: 0 0 12px; }
.coupon small { display: block; color: var(--muted); font-size: 14px; }

.toast { position: fixed; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom)); z-index: 40; max-width: calc(100% - 32px); width: max-content; padding: 11px 20px; border-radius: 40px; background: var(--gold-pale); color: #1a120a; font-weight: 400; font-size: 14.5px; text-align: center; opacity: 0; pointer-events: none; transform: translate(-50%, 12px); transition: opacity .2s, transform .2s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
#confetti { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 35; pointer-events: none; }

.prose h1 { font-size: 32px; line-height: 1.15; margin: 4px 0; text-align: center; }
.prose h2 { font-size: 20px; margin: 8px 0 -8px; }
.prose p { margin: 0; }

/* Personeel */
.staff-page { gap: 12px; padding-top: max(10px, env(safe-area-inset-top)); }
.staff-head { display: flex; align-items: center; gap: 10px; }
.staff-head img { display: block; }
.staff-head div { flex: 1; line-height: 1.15; }
.staff-head strong { font: 400 17px/1.2 var(--serif); }
.staff-head small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.link-btn { background: none; border: 0; padding: 12px 2px; color: var(--gold); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: 14.5px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0; }
.stats div { border-radius: 12px; padding: 9px 6px; text-align: center; }
.stats dd { margin: 0; font: italic 400 26px/1.1 var(--serif); color: var(--gold-pale); }
.stats dt { font-size: 13px; color: var(--muted); line-height: 1.15; }
.scanner { position: relative; aspect-ratio: 1; max-height: 56vh; width: 100%; border: 1px solid var(--line-strong); border-radius: 18px; overflow: hidden; background: var(--panel); }
.scanner video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scan-frame { position: absolute; inset: 15%; pointer-events: none; background:
  linear-gradient(var(--gold-pale), var(--gold-pale)) 0 0 / 34px 2px, linear-gradient(var(--gold-pale), var(--gold-pale)) 0 0 / 2px 34px,
  linear-gradient(var(--gold-pale), var(--gold-pale)) 100% 0 / 34px 2px, linear-gradient(var(--gold-pale), var(--gold-pale)) 100% 0 / 2px 34px,
  linear-gradient(var(--gold-pale), var(--gold-pale)) 0 100% / 34px 2px, linear-gradient(var(--gold-pale), var(--gold-pale)) 0 100% / 2px 34px,
  linear-gradient(var(--gold-pale), var(--gold-pale)) 100% 100% / 34px 2px, linear-gradient(var(--gold-pale), var(--gold-pale)) 100% 100% / 2px 34px;
  background-repeat: no-repeat; }
.scan-start { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 22px; text-align: center; }
.scan-start .btn { width: auto; }
.scan-start p { margin: 0; font-size: 15px; }
.results { display: grid; gap: 6px; }
.results:empty { display: none; }
.result { display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; min-height: 52px; padding: 8px 14px; border-radius: 12px; text-align: left; cursor: pointer; color: var(--text); }
.result small { display: block; color: var(--muted); overflow-wrap: anywhere; }
.result strong { font: italic 400 18px/1 var(--serif); color: var(--gold-pale); white-space: nowrap; }
.staff-sheet { align-content: start; gap: 11px; min-height: 0; max-height: 92dvh; overflow-y: auto; }
#sheetBody { width: 100%; padding-top: 8px; }
.badge-burst { width: 60px; height: 60px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; background: var(--foil); color: #1a120a; box-shadow: 0 0 26px rgba(226, 181, 111, .6); animation: land .45s cubic-bezier(.2, .9, .3, 1.1) both; }
.badge-burst svg { width: 32px; height: 32px; }
.badge-burst.warn { background: var(--panel-2); color: var(--gold-pale); border: 1px solid var(--gold); box-shadow: none; font: italic 400 30px/1 var(--serif); }
.staff-sheet h2 { margin: 0; font-size: 26px; line-height: 1.15; }
.staff-sheet p { margin: 0; color: var(--muted); overflow-wrap: anywhere; }
.dots { display: flex; justify-content: center; gap: 5px; }
.dots i { width: min(7.6vw, 30px); aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--line); }
.dots i.on { border: 0; background: var(--foil); }
.dots i.goal:not(.on) { border: 1px solid var(--gold); }
.reward-box { display: grid; gap: 8px; padding: 12px; border-radius: 14px; border-color: var(--gold); }
.reward-box strong { font-size: 14.5px; font-weight: 400; color: var(--gold-pale); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.danger { color: var(--error); border-color: var(--error); }
.link-qr { width: 190px; margin: 0 auto; padding: 8px; display: block; background: #fff; border-radius: 10px; }

/* Poster */
.poster-tools { display: flex; gap: 10px; padding: 12px 16px; justify-content: center; }
.poster-tools .btn { width: auto; }
.poster { container-type: inline-size; width: 210mm; max-width: calc(100% - 32px); aspect-ratio: 210 / 297; margin: 0 auto 28px; padding: 7% 8%; display: flex; flex-direction: column; align-items: center; justify-content: space-between; text-align: center; position: relative; border-radius: 4px; }
.poster.silk { background: radial-gradient(90% 40% at 50% 100%, rgba(157, 97, 34, .4), rgba(157, 97, 34, 0)), var(--bg); }
.poster-logo { width: 44%; height: auto; display: block; }
.poster .poster-hint { color: var(--gold); font-size: 2.9cqw; letter-spacing: .04em; margin-top: -1.5%; }
.poster h1 { margin: 0; font-size: 8cqw; line-height: 1.1; }
.poster .qr-wrap { width: 46%; background: #fff; padding: 2.5%; border-radius: 12px; }
.poster .qr-wrap img { width: 100%; display: block; }
.poster p { margin: 0; font-size: 3.5cqw; line-height: 1.4; }
@page { size: A4; margin: 0; }
@media print {
  html, body { background: #0b0907; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  #dust, .lines, .poster-tools, .toast { display: none !important; }
  .poster { width: 210mm; height: 297mm; max-width: none; margin: 0; border: 0; border-radius: 0; box-shadow: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .shine { display: none; }
}
