:root {
  --navy-900: #060a26;
  --navy-800: #0a1035;
  --navy-700: #111a5a;
  --zeiss: #141e8c;
  --zeiss-bright: #3d4dff;
  --sky: #7f9cff;
  --gold: #f6c66b;
  --gold-deep: #e0a43a;
  --ruby: #a3262a;
  --mint: #1fb08f;
  --ink: #0d1333;
  --muted: #5b6386;
  --line: #e3e7f5;
  --white: #ffffff;
  --radius: 28px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--navy-900);
  color: #eef1ff;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }

/* ---------------- background ---------------- */
.bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none;
  background:
    radial-gradient(1200px 800px at 15% -10%, #1b2a9e 0%, transparent 60%),
    radial-gradient(900px 700px at 110% 110%, #2a1350 0%, transparent 60%),
    linear-gradient(160deg, var(--navy-800), var(--navy-900) 70%);
}
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; will-change: transform; }
.b1 { width: 52vmax; height: 52vmax; left: -18vmax; top: -20vmax; background: radial-gradient(circle, #3040ff, transparent 65%); animation: drift1 22s ease-in-out infinite alternate; }
.b2 { width: 40vmax; height: 40vmax; right: -14vmax; top: 20vh; background: radial-gradient(circle, #f6c66b, transparent 65%); opacity: .22; animation: drift2 26s ease-in-out infinite alternate; }
.b3 { width: 46vmax; height: 46vmax; left: 25vw; bottom: -30vmax; background: radial-gradient(circle, #a3262a, transparent 65%); opacity: .25; animation: drift3 30s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(14vw, 10vh) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-12vw, -8vh) scale(.9); } }
@keyframes drift3 { to { transform: translate(-10vw, -12vh) scale(1.2); } }

.rings { position: absolute; width: min(120vmax, 1500px); aspect-ratio: 1; left: 50%; top: 50%;
  transform: translate(calc(-50% + var(--px, 0px)), calc(-50% + var(--py, 0px))); opacity: .7; transition: transform .6s var(--ease-out); }
.ring circle { fill: none; stroke: url(#ringGrad); stroke-width: 1.2; stroke-dasharray: 2 10; }
.ring { transform-origin: 400px 400px; }
.r1 { animation: spin 120s linear infinite; }
.r2 { animation: spin 90s linear infinite reverse; }
.r2 circle { stroke-dasharray: 60 18 4 18; stroke-width: 1.6; }
.r3 { animation: spin 70s linear infinite; }
.r3 circle { stroke-dasharray: 1 6; stroke-width: 2; }
.r4 { animation: spin 50s linear infinite reverse; }
.r4 circle { stroke-dasharray: 120 30; stroke-width: 1; }
@keyframes spin { to { transform: rotate(360deg); } }

#particles { position: absolute; inset: 0; width: 100%; height: 100%; }
.spotlight { position: absolute; inset: 0;
  background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 30%), rgba(127, 156, 255, .14), transparent 60%);
  transition: background .2s; }
.grain { position: absolute; inset: -50%; opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0%{transform:translate(0,0)} 25%{transform:translate(-3%,2%)} 50%{transform:translate(2%,-3%)} 75%{transform:translate(-2%,-1%)} 100%{transform:translate(1%,3%)} }

/* ---------------- reveal ---------------- */
.reveal { opacity: 0; transform: translateY(26px); filter: blur(8px); }
body.loaded .reveal { animation: reveal 1.1s var(--ease-out) forwards; animation-delay: calc(var(--d, 0) * 110ms + 150ms); }
@keyframes reveal { to { opacity: 1; transform: none; filter: blur(0); } }

/* ---------------- topbar ---------------- */
.topbar { position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: max(18px, env(safe-area-inset-top)) clamp(16px, 4vw, 48px) 0; }
.brands { display: flex; align-items: center; gap: 16px; background: rgba(255, 255, 255, .97); padding: 8px 16px 8px 14px;
  border-radius: 20px; box-shadow: 0 10px 40px -10px rgba(0, 0, 0, .5), inset 0 0 0 1px rgba(255,255,255,.6); }
.logo-multilens { height: 52px; width: auto; }
.brands-divider { align-self: stretch; width: 1px; margin: 6px 0; background: linear-gradient(transparent, #d6dbee, transparent); }
.brands-dist { display: grid; gap: 4px; justify-items: center; }
.dist-label { font-size: 9.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #1fb08f; white-space: nowrap; }
.dist-logos { display: flex; align-items: center; gap: 10px; }
.logo-zeiss { height: 38px; width: 38px; border-radius: 8px; }
.logo-technoptic { height: 46px; width: auto; margin: -4px 0; }
.event-chip { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px); font-weight: 600; font-size: 14px; letter-spacing: .02em; white-space: nowrap; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(246, 198, 107, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(246, 198, 107, 0); } 100% { box-shadow: 0 0 0 0 rgba(246, 198, 107, 0); } }

/* ---------------- stage ---------------- */
.stage { position: relative; z-index: 2; flex: 1; display: grid; width: 100%; max-width: 1240px; margin: 0 auto;
  padding: clamp(24px, 5vw, 56px) clamp(16px, 4vw, 48px); }
.view { grid-area: 1 / 1; }
.view-form { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.view-thanks { display: none; place-items: center; }
body.done .view-form { display: none; }
body.done .view-thanks { display: grid; }

/* ---------------- hero ---------------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; text-transform: uppercase; letter-spacing: .22em; font-size: 12px;
  font-weight: 700; color: var(--sky); }
.eyebrow-logo { height: 46px; width: auto; filter: drop-shadow(0 4px 14px rgba(31,176,143,.35)); }
.eyebrow span { color: #8fe3cd; letter-spacing: .3em; }
.title { position: relative; font-family: 'Sora', sans-serif; font-weight: 800; line-height: .98; letter-spacing: -.035em;
  font-size: clamp(42px, 6.6vw, 84px); margin: 18px 0 22px; }
.title .line { display: block; }
.grad { background: linear-gradient(100deg, #fff 0%, #b7c4ff 40%, #6f86ff 70%, #fff 100%); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: sheen 6s linear infinite; }
.grad-gold { background: linear-gradient(100deg, #ffe3a8 0%, #f6c66b 35%, #e07a3a 60%, #ffe3a8 100%); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: sheen 6s linear infinite reverse; }
@keyframes sheen { to { background-position: -220% 0; } }
.slash { color: rgba(255, 255, 255, .25); font-weight: 300; }
.gift { display: inline-block; vertical-align: .35em; font-size: .5em; animation: bob 3.2s ease-in-out infinite; filter: drop-shadow(0 10px 20px rgba(0,0,0,.4)); }
@keyframes bob { 50% { transform: translateY(-10px) rotate(8deg); } }
.lead { font-size: clamp(16px, 1.5vw, 19px); line-height: 1.65; color: #c5cbea; max-width: 34em; }
.lead strong { color: #fff; font-weight: 600; }

.section-label { margin: 36px 0 16px; font-family: 'Sora', sans-serif; font-size: 13px; text-transform: uppercase;
  letter-spacing: .24em; color: #fff; display: flex; align-items: center; gap: 14px; }
.section-label::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(255,255,255,.25), transparent); }

.prizes { display: grid; gap: 14px; perspective: 900px; }
.prize { position: relative; overflow: hidden; display: flex; align-items: center; gap: 18px; padding: 18px 20px; border-radius: 22px;
  background: linear-gradient(135deg, rgba(255,255,255,.10), rgba(255,255,255,.03));
  border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transform-style: preserve-3d; transition: transform .5s var(--ease-out), border-color .4s, box-shadow .4s; }
.prize:hover { border-color: rgba(255,255,255,.3); box-shadow: 0 30px 60px -25px rgba(61, 77, 255, .55); }
.prize-techno:hover { box-shadow: 0 30px 60px -25px rgba(246, 198, 107, .45); }
.prize-shine { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.18) 48%, transparent 62%);
  transform: translateX(-100%); animation: shine 5.5s ease-in-out infinite; }
.prize-techno .prize-shine { animation-delay: 1.2s; }
@keyframes shine { 0%, 55% { transform: translateX(-100%); } 85%, 100% { transform: translateX(100%); } }
.prize-body { display: grid; gap: 4px; min-width: 0; transform: translateZ(30px); }
.qty { color: #b7c0e8; font-size: 14px; }
.qty b { font-family: 'Sora', sans-serif; font-size: 22px; color: #fff; margin-right: 4px; }
.prize-name { font-family: 'Sora', sans-serif; font-size: clamp(17px, 1.7vw, 21px); font-weight: 700; letter-spacing: -.01em; }
.badge { margin-left: auto; align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 999px; background: rgba(127,156,255,.18); color: #cdd6ff; border: 1px solid rgba(127,156,255,.35); transform: translateZ(20px); }
.badge-gold { background: rgba(246,198,107,.15); color: #ffe1a3; border-color: rgba(246,198,107,.4); font-size: 13px; }

/* animated progressive lens */
.lens { position: relative; flex: none; width: 64px; height: 64px; border-radius: 50%; transform: translateZ(40px);
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.9), rgba(160,180,255,.35) 30%, rgba(61,77,255,.35) 60%, rgba(20,30,140,.6));
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.55), 0 10px 30px -8px rgba(61,77,255,.8); overflow: hidden; }
.lens-gold { background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.9), rgba(255,226,160,.45) 30%, rgba(224,164,58,.45) 60%, rgba(163,38,42,.6));
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.55), 0 10px 30px -8px rgba(246,198,107,.8); }
.lens i { position: absolute; left: 50%; border: 1.5px solid rgba(255,255,255,.55); border-radius: 50%; transform: translateX(-50%); }
.lens i:nth-child(1) { width: 70%; height: 32%; top: 12%; }
.lens i:nth-child(2) { width: 22%; height: 22%; top: 48%; border-style: dashed; animation: spin 8s linear infinite; }
.lens i:nth-child(3) { width: 44%; height: 20%; bottom: 8%; }
.lens::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 40%, rgba(255,255,255,.7) 50%, transparent 60%);
  transform: translateX(-120%); animation: glint 4s ease-in-out infinite; }
@keyframes glint { 60%, 100% { transform: translateX(120%); } }

/* compact Multilens app strip on the main screen */
.app-strip { margin-top: 22px; display: grid; grid-template-columns: auto 1fr; gap: 14px 16px; align-items: center; padding: 16px 18px;
  border-radius: 22px; background: linear-gradient(135deg, rgba(31,176,143,.14), rgba(255,255,255,.04));
  border: 1px solid rgba(31,176,143,.35); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.app-strip-logo { height: 46px; width: auto; padding: 6px 10px; border-radius: 12px; background: #fff; box-sizing: content-box; }
.app-strip-text { display: grid; gap: 2px; min-width: 0; }
.app-strip-text strong { font-family: 'Sora', sans-serif; font-size: 16px; }
.app-strip-text span { font-size: 13.5px; color: #b9c2e6; line-height: 1.45; }
.app-strip-stores { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; }
.store-btn-sm { flex: 1 1 150px; justify-content: center; padding: 8px 14px 8px 12px; font-size: 16px; border-radius: 12px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.18), 0 10px 24px -10px rgba(0,0,0,.6); }
.store-btn-sm svg { width: 24px; height: 24px; }
.store-btn-sm small { font-size: 10px; }

/* ---------------- form card ---------------- */
.card-wrap { position: relative; }
.card { position: relative; background: transparent; color: var(--ink); border-radius: var(--radius); padding: clamp(22px, 3.2vw, 36px);
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .65), 0 0 0 1px rgba(255,255,255,.4); isolation: isolate; }
.card-glow { position: absolute; inset: -2px; border-radius: calc(var(--radius) + 2px); z-index: -1;
  background: conic-gradient(from var(--angle, 0deg), var(--zeiss-bright), var(--gold), var(--ruby), var(--sky), var(--zeiss-bright));
  filter: blur(22px); opacity: .55; z-index: -2; animation: rotateGlow 8s linear infinite; }
@property --angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes rotateGlow { to { --angle: 360deg; } }
.card::before { content: ''; position: absolute; inset: 0; border-radius: inherit; background: #fff; z-index: -1; }

.ticket-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.ticket-kicker { font-size: 12px; text-transform: uppercase; letter-spacing: .2em; font-weight: 700; color: var(--zeiss-bright); }
.ticket-title { font-family: 'Sora', sans-serif; font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -.02em; margin-top: 6px; line-height: 1.15; }
.ticket-stamp { position: relative; flex: none; width: 78px; height: 78px; display: grid; place-items: center; margin: -6px -6px 0 0; }
.ticket-stamp svg { position: absolute; inset: 0; animation: spin 18s linear infinite; }
.ticket-stamp text { font-size: 9.3px; letter-spacing: 1.6px; font-weight: 700; fill: var(--zeiss); font-family: 'Sora', sans-serif; }
.ticket-stamp span { font-size: 26px; }

.perforation { position: relative; margin: 22px calc(clamp(22px, 3.2vw, 36px) * -1); height: 2px;
  background-image: linear-gradient(90deg, var(--line) 50%, transparent 0); background-size: 14px 2px; }
.perforation::before, .perforation::after { content: ''; position: absolute; top: 50%; width: 26px; height: 26px; border-radius: 50%;
  background: var(--navy-800); transform: translateY(-50%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.perforation::before { left: -13px; } .perforation::after { right: -13px; }

.fields { display: grid; gap: 16px; }
.field { position: relative; }
body.loaded .field { animation: fieldIn .8s var(--ease-out) both; animation-delay: calc(700ms + var(--i) * 90ms); }
@keyframes fieldIn { from { opacity: 0; transform: translateX(20px); } }
.field input { width: 100%; height: 62px; border-radius: 16px; border: 1.5px solid var(--line); background: #f6f8ff;
  padding: 22px 16px 6px 50px; font: 500 16px 'Inter', sans-serif; color: var(--ink); outline: none;
  transition: border-color .25s, background .25s, box-shadow .35s var(--ease-out); }
.field input:hover { border-color: #cfd5ef; }
.field input:focus { border-color: var(--zeiss-bright); background: #fff; box-shadow: 0 0 0 5px rgba(61, 77, 255, .12), 0 12px 30px -14px rgba(61,77,255,.5); }
.field label { position: absolute; left: 50px; top: 31px; transform: translateY(-50%); color: var(--muted); font-size: 16px; pointer-events: none;
  transform-origin: left center; transition: all .3s var(--ease-out); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: calc(100% - 64px); }
.field input:focus + label, .field input:not(:placeholder-shown) + label { top: 18px; transform: translateY(-50%) scale(.76); color: var(--zeiss-bright); font-weight: 600; }
.ico { position: absolute; left: 16px; top: 31px; transform: translateY(-50%); width: 22px; height: 22px; fill: none; stroke: #9aa2c8; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round; transition: stroke .25s, transform .4s var(--ease-spring); }
.field input:focus ~ .ico { stroke: var(--zeiss-bright); transform: translateY(-50%) scale(1.12) rotate(-6deg); }
.field.valid input { border-color: #b9e6d6; }
.field.valid .ico { stroke: var(--mint); }
.field.invalid input { border-color: #ef6b6b; background: #fff6f6; }
.field.invalid label, .field.invalid .ico { color: #d23f3f; stroke: #d23f3f; }
.field.shake { animation: shake .45s; }
@keyframes shake { 20%, 60% { transform: translateX(-7px); } 40%, 80% { transform: translateX(7px); } }
.err { display: block; overflow: hidden; max-height: 0; color: #d23f3f; font-size: 13px; font-weight: 500; padding-left: 4px;
  transition: max-height .3s, margin .3s; }
.field.invalid .err { max-height: 22px; margin-top: 6px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.form-alert { margin-top: 0; max-height: 0; overflow: hidden; border-radius: 14px; font-size: 14px; font-weight: 500;
  transition: max-height .35s, margin .35s, padding .35s; }
.form-alert.show { max-height: 120px; margin-top: 16px; padding: 12px 14px; background: #fff3f3; color: #b33333; border: 1px solid #ffd2d2; }

/* CTA */
.cta { position: relative; overflow: hidden; width: 100%; margin-top: 22px; height: 64px; border: 0; border-radius: 18px; color: #fff;
  display: flex; align-items: center; justify-content: center; gap: 12px; font: 700 15px 'Sora', sans-serif; letter-spacing: .1em;
  text-transform: uppercase; background: var(--zeiss); isolation: isolate;
  box-shadow: 0 18px 40px -14px rgba(20, 30, 140, .9), inset 0 1px 0 rgba(255,255,255,.25);
  transition: transform .4s var(--ease-spring), box-shadow .3s, width .5s var(--ease-out), border-radius .5s var(--ease-out); }
.cta-bg { position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, #141e8c, #3d4dff 40%, #141e8c 60%, #3d4dff);
  background-size: 250% 100%; animation: ctaFlow 4s linear infinite; }
.cta-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.4) 50%, transparent 65%);
  transform: translateX(-120%); animation: ctaShine 3s ease-in-out infinite; }
@keyframes ctaFlow { to { background-position: -250% 0; } }
@keyframes ctaShine { 50%, 100% { transform: translateX(120%); } }
.cta:hover { box-shadow: 0 24px 50px -14px rgba(61, 77, 255, .95), inset 0 1px 0 rgba(255,255,255,.25); }
.cta:active { transform: scale(.97); }
.cta:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.cta-arrow { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.16); display: grid; place-items: center;
  transition: transform .4s var(--ease-spring), background .3s; }
.cta-arrow svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.cta:hover .cta-arrow { transform: translateX(6px); background: rgba(255,255,255,.28); }
.cta-spinner { position: absolute; width: 26px; height: 26px; border-radius: 50%; border: 3px solid rgba(255,255,255,.3); border-top-color: #fff;
  opacity: 0; animation: spin .8s linear infinite; }
.cta.loading { width: 64px; margin-left: calc(50% - 32px); border-radius: 50%; pointer-events: none; }
.cta.loading .cta-label, .cta.loading .cta-arrow { opacity: 0; }
.cta.loading .cta-spinner { opacity: 1; transition: opacity .2s .25s; }

.conditions { margin-top: 22px; padding: 14px 16px; border-radius: 14px; background: #f6f8ff; border: 1px dashed #d9def2; }
.conditions h3 { font-size: 12px; text-transform: uppercase; letter-spacing: .16em; color: var(--zeiss); margin-bottom: 4px; }
.conditions p { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* ---------------- iris transition ---------------- */
.iris { position: fixed; inset: 0; z-index: 50; pointer-events: none;
  background: radial-gradient(circle at var(--ix, 50%) var(--iy, 50%), #fff 0, #e6ebff 30%, #3d4dff 60%, var(--navy-900) 100%);
  clip-path: circle(0% at var(--ix, 50%) var(--iy, 50%)); }
.iris.in { animation: irisIn .75s var(--ease-out) forwards; }
.iris.out { animation: irisOut .9s var(--ease-out) forwards; }
@keyframes irisIn { from { clip-path: circle(0% at var(--ix) var(--iy)); } to { clip-path: circle(150% at var(--ix) var(--iy)); } }
@keyframes irisOut { from { clip-path: circle(150% at 50% 50%); opacity: 1; } to { clip-path: circle(0% at 50% 50%); opacity: .6; } }

#confetti { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 60; pointer-events: none; }

/* ---------------- thanks ---------------- */
.thanks-card { position: relative; width: 100%; max-width: 920px; text-align: center; padding: clamp(28px, 5vw, 56px) clamp(18px, 4vw, 56px);
  border-radius: 36px; background: linear-gradient(160deg, rgba(255,255,255,.12), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 60px 120px -40px rgba(0,0,0,.7); }
.check-wrap { position: relative; width: 120px; height: 120px; margin: 0 auto 18px; }
.check { width: 100%; height: 100%; }
.check-ring { fill: rgba(31,176,143,.12); stroke: var(--mint); stroke-width: 4; stroke-dasharray: 330; stroke-dashoffset: 330; transform: rotate(-90deg); transform-origin: center; }
.check-mark { fill: none; stroke: #fff; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 80; stroke-dashoffset: 80; }
body.done .check-ring { animation: draw .9s var(--ease-out) .35s forwards; }
body.done .check-mark { animation: draw .55s var(--ease-out) 1s forwards; }
body.done .check { animation: pop .6s var(--ease-spring) 1.1s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { 50% { transform: scale(1.12); } }
.burst { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--mint); opacity: 0; }
body.done .burst { animation: burst 1s var(--ease-out) 1.1s; }
@keyframes burst { from { transform: scale(.8); opacity: .9; } to { transform: scale(2.2); opacity: 0; } }

.t-in { opacity: 0; transform: translateY(24px); }
body.done .t-in { animation: reveal .9s var(--ease-out) forwards; animation-delay: calc(var(--d) * 140ms + 700ms); }
.thanks-title { font-family: 'Sora', sans-serif; font-size: clamp(28px, 4.6vw, 52px); letter-spacing: -.03em; line-height: 1.08; }
.wave { display: inline-block; animation: wave 1.6s ease-in-out 2s 3; transform-origin: 70% 80%; }
@keyframes wave { 25% { transform: rotate(-16deg) scale(1.2); } 75% { transform: rotate(14deg) scale(1.2); } }
.thanks-sub { margin: 14px auto 0; max-width: 36em; color: #c8cdee; font-size: clamp(16px, 1.6vw, 19px); line-height: 1.6; }
.thanks-sub strong { color: #fff; }
.ticket-number { display: inline-flex; align-items: center; gap: 14px; margin-top: 22px; padding: 10px 12px 10px 20px; border-radius: 999px;
  background: rgba(246,198,107,.12); border: 1px dashed rgba(246,198,107,.55); }
.ticket-number[hidden] { display: none; }
.ticket-number span { font-size: 12px; text-transform: uppercase; letter-spacing: .2em; color: #ffe1a3; font-weight: 600; }
.ticket-number strong { font-family: 'Sora', sans-serif; font-size: 18px; padding: 6px 14px; border-radius: 999px; background: var(--gold); color: #3a2400; }

.app-promo { margin-top: clamp(28px, 4vw, 44px); display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 48px); align-items: center;
  text-align: left; padding: clamp(20px, 3vw, 32px); border-radius: 28px; background: #fff; color: var(--ink);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.multilens-logo { height: 58px; width: auto; margin-bottom: 14px; }
.promo-text h2 { font-family: 'Sora', sans-serif; font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -.02em; line-height: 1.15; }
.promo-text p { margin-top: 10px; color: var(--muted); line-height: 1.6; }
.promo-text .promo-cta { color: var(--ink); font-weight: 600; margin-top: 16px; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.store-btn { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 14px; border-radius: 14px; background: #0b0d17; color: #fff;
  text-decoration: none; font: 600 18px 'Sora', sans-serif; letter-spacing: -.01em; line-height: 1.05;
  transition: transform .35s var(--ease-spring), box-shadow .3s, background .3s; box-shadow: 0 10px 24px -10px rgba(0,0,0,.6); }
.store-btn svg { width: 28px; height: 28px; flex: none; }
.store-btn small { display: block; font: 500 11px 'Inter', sans-serif; opacity: .75; letter-spacing: .02em; }
.store-btn:hover { transform: translateY(-3px); background: #000; box-shadow: 0 18px 30px -12px rgba(31,176,143,.7); }
.store-btn:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; }

/* phone mockup */
.phone { position: relative; width: 170px; height: 340px; border-radius: 34px; background: #0b0d17; padding: 10px;
  box-shadow: 0 30px 60px -20px rgba(10,16,53,.6), inset 0 0 0 2px #2a2e44; animation: float 5s ease-in-out infinite; transform: rotate(-6deg); }
@keyframes float { 50% { transform: rotate(-3deg) translateY(-12px); } }
.phone-notch { position: absolute; top: 14px; left: 50%; width: 56px; height: 16px; border-radius: 10px; background: #0b0d17; transform: translateX(-50%); z-index: 2; }
.phone-screen { height: 100%; border-radius: 26px; background: linear-gradient(180deg, #f2fbf8, #fff 40%); padding: 36px 14px 14px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.phone-logo { width: 88%; height: auto; margin: 4px auto 8px; }
.ph-line { height: 8px; border-radius: 6px; background: #e6ece9; position: relative; overflow: hidden; }
.ph-line::after, .ph-tiles i::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.9), transparent); transform: translateX(-100%); animation: shimmer 1.8s infinite; }
@keyframes shimmer { to { transform: translateX(100%); } }
.w80 { width: 80%; } .w60 { width: 60%; }
.ph-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px; }
.ph-tiles i { position: relative; overflow: hidden; height: 52px; border-radius: 12px; background: #e3f5ef; }
.ph-tiles i:nth-child(2), .ph-tiles i:nth-child(3) { background: #eef0fb; }
.ph-btn { margin-top: auto; text-align: center; padding: 10px; border-radius: 12px; background: var(--mint); color: #fff; font: 700 12px 'Sora', sans-serif; letter-spacing: .06em; text-transform: uppercase; }

.ghost-btn { margin-top: 28px; background: transparent; color: #c8cdee; border: 1px solid rgba(255,255,255,.2); padding: 12px 22px; border-radius: 999px;
  font-weight: 600; transition: background .3s, color .3s, border-color .3s; }
.ghost-btn:hover { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.4); }

.foot { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; font-size: 12.5px; color: rgba(255,255,255,.5); padding: 0 16px max(20px, env(safe-area-inset-bottom)); letter-spacing: .04em; }

.foot-logo { height: 40px; width: auto; opacity: .9; }
.foot strong { color: rgba(255,255,255,.8); font-weight: 600; }

/* ---------------- splash ---------------- */
.splash { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; cursor: pointer;
  background: radial-gradient(700px 500px at 50% 45%, #13206e 0%, transparent 70%), var(--navy-900); }
.splash.leave { animation: splashOut .9s var(--ease-out) forwards; pointer-events: none; }
@keyframes splashOut { to { opacity: 0; transform: scale(1.08); filter: blur(6px); visibility: hidden; } }
.splash-inner { display: grid; justify-items: center; gap: 18px; text-align: center; }
.splash-logo { position: relative; width: min(340px, 72vw); overflow: hidden; }
.splash-logo img { width: 100%; height: auto; animation: logoIn 1.1s var(--ease-out) both;
  /* reveal the sunburst rays like an opening iris */
  -webkit-mask: radial-gradient(circle at 78% 82%, #000 var(--r), transparent calc(var(--r) + 12%));
          mask: radial-gradient(circle at 78% 82%, #000 var(--r), transparent calc(var(--r) + 12%)); }
@property --r { syntax: '<percentage>'; initial-value: 0%; inherits: false; }
@keyframes logoIn { from { --r: 0%; transform: scale(.92); filter: blur(4px); } to { --r: 130%; transform: none; filter: none; } }
.splash-sweep { position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.55) 50%, transparent 65%);
  mix-blend-mode: overlay; transform: translateX(-120%); animation: sweep 1s ease-in-out .9s forwards; }
@keyframes sweep { to { transform: translateX(120%); } }
.splash-presents { font: 300 15px 'Sora', sans-serif; letter-spacing: .5em; text-transform: uppercase; color: #8fe3cd; padding-left: .5em;
  animation: rise .8s var(--ease-out) .8s both; }
.splash-brands { display: flex; align-items: center; gap: 16px; font: 800 clamp(22px, 5vw, 34px) 'Sora', sans-serif; letter-spacing: -.01em;
  animation: rise .8s var(--ease-out) 1.05s both; }
.splash-brands span:first-child { color: #fff; }
.splash-brands span:last-child { background: linear-gradient(100deg, #ffe3a8, #f6c66b, #e07a3a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.splash-brands i { width: 8px; height: 8px; border-radius: 50%; background: #1fb08f; box-shadow: 0 0 16px #1fb08f; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); filter: blur(6px); } }

/* ---------------- responsive ---------------- */
@media (max-width: 960px) {
  .view-form { grid-template-columns: 1fr; }
  .hero { text-align: left; }
}
@media (max-width: 640px) {
  .topbar { flex-direction: column; align-items: stretch; gap: 12px; }
  .brands { justify-content: center; }
  .event-chip { justify-content: center; }
  .brands { gap: 12px; padding: 8px 12px; }
  .logo-multilens { height: 44px; }
  .logo-zeiss { height: 32px; width: 32px; }
  .logo-technoptic { height: 38px; }
  .dist-label { font-size: 8.5px; letter-spacing: .1em; }
  .title { margin-top: 14px; }
  .prize { padding: 16px; gap: 14px; }
  .lens { width: 52px; height: 52px; }
  .badge { display: none; }
  .app-promo { grid-template-columns: 1fr; text-align: center; }
  .phone { display: none; }
  .multilens-logo { margin: 0 auto 14px; }
  .stores { justify-content: center; }
  .store-btn { flex: 1 1 160px; justify-content: center; }
  .ticket-stamp { width: 64px; height: 64px; }
  .ticket-stamp text { font-size: 9px; }
  .cta { font-size: 13px; letter-spacing: .06em; height: 60px; }
  .cta-arrow { width: 30px; height: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal, .t-in { opacity: 1; transform: none; filter: none; }
}
