/* =========================================================
   OKX DAY · App demo
   Identidade: KV "OKX DAY — Seu lugar na Pole Position"
   ========================================================= */

:root {
  --orange: #ff8000;
  --orange-2: #ffa640;
  --orange-deep: #e45c00;
  --green: #1fc16b;
  --green-2: #3be37f;
  --black: #000;
  --ink: #fff;
  --muted: rgba(255, 255, 255, 0.58);
  --line: rgba(255, 255, 255, 0.12);
  --font: "Inter", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --dev-w: 390px;
  --dev-h: 844px;
  --bezel: 13px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html,
body {
  margin: 0;
  height: 100%;
  background: #000;
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow: hidden;
}

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
img { display: block; user-select: none; -webkit-user-drag: none; }
svg { display: block; }

/* ---------- Tipografia compartilhada ---------- */
.tagline {
  margin: 0;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.38em;
  font-weight: 400;
  line-height: 1.55;
}

.bars {
  display: inline-block;
  width: 0.62em;
  height: 1.05em;
  margin-right: 0.55em;
  vertical-align: -0.12em;
  background:
    linear-gradient(var(--orange), var(--orange)) left / 38% 100% no-repeat,
    linear-gradient(var(--orange), var(--orange)) right / 38% 100% no-repeat;
  float: left;
  margin-top: 0.1em;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--orange);
}

/* =========================================================
   STAGE (desktop)
   ========================================================= */
.stage {
  position: fixed;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(340px, 1fr) auto minmax(80px, 0.35fr);
  align-items: center;
  gap: 4vw;
  padding: 0 5vw;
  background: radial-gradient(120% 90% at 60% 45%, #1b1b1b 0%, #080808 55%, #000 100%);
  overflow: hidden;
}

.stage__bg { position: absolute; inset: 0; pointer-events: none; }
.stage__glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 70vw;
  height: 70vw;
  transform: translate(-30%, -50%);
  background: radial-gradient(closest-side, rgba(255, 128, 0, 0.16), rgba(255, 128, 0, 0) 70%);
  filter: blur(20px);
}
.stage__track {
  position: absolute;
  right: 4vw;
  top: -12vh;
  height: 124vh;
  aspect-ratio: 976 / 1513;
  opacity: 0.22;
}
.stage__track img { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage__track .stage__track-fill { left: 6.25%; width: 87.6%; }
.stage__track--blur { opacity: 0.35; filter: blur(40px); }
.stage__track--blur img { left: 6.25%; width: 87.6%; }

/* ---------- Painel lateral ---------- */
.panel {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 3.2vh, 34px);
  max-width: 460px;
  justify-self: end;
}
.panel__brand { display: flex; align-items: center; gap: 22px; }
.panel__logo { height: clamp(40px, 6vh, 58px); width: auto; }
.panel__day { font-size: clamp(52px, 7.8vh, 76px); font-weight: 400; letter-spacing: -0.03em; line-height: 0.8; }
.panel > .tagline { font-size: 14px; }
.panel__intro h2 { margin: 10px 0 8px; font-size: clamp(24px, 3.3vh, 32px); font-weight: 500; letter-spacing: -0.02em; }
.panel__intro p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; max-width: 380px; }

.steps { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.step {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: clamp(10px, 1.7vh, 16px) 4px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.4s var(--ease), padding 0.4s var(--ease);
}
.step__n { font-size: 12px; letter-spacing: 0.2em; font-variant-numeric: tabular-nums; }
.step__t { font-size: 15px; }
.step__bar {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 100%;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
  box-shadow: 0 0 12px rgba(255, 128, 0, 0.8);
}
.step:hover { color: rgba(255, 255, 255, 0.8); }
.step.is-active { color: #fff; padding-left: 14px; }
.step.is-active .step__n { color: var(--orange); }
.step.is-active .step__bar { transform: scaleX(1); }

.panel__controls { display: flex; gap: 10px; }
.ctrl {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  transition: border-color 0.3s, background 0.3s, color 0.3s;
}
.ctrl:hover { border-color: rgba(255, 128, 0, 0.6); background: rgba(255, 128, 0, 0.08); }
.ctrl svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ctrl .i-play { fill: currentColor; stroke: none; }
.ctrl .i-pause, .ctrl.is-on .i-play { display: none; }
.ctrl.is-on .i-pause { display: block; }
.ctrl.is-on { border-color: var(--orange); color: var(--orange); }
.ctrl--icon { width: 40px; padding: 0; justify-content: center; }
.ctrl .i-off { display: none; }
.ctrl[aria-pressed="false"] .i-on { display: none; }
.ctrl[aria-pressed="false"] .i-off { display: block; }

.panel__info { display: flex; gap: 26px; font-size: 11px; text-transform: uppercase; color: var(--orange); line-height: 1.25; }
.panel__partners { width: 190px; opacity: 0.95; }

/* =========================================================
   DEVICE
   ========================================================= */
.device-wrap {
  position: relative;
  z-index: 3;
  width: calc(var(--dev-w) + var(--bezel) * 2);
  height: calc(var(--dev-h) + var(--bezel) * 2);
  transform-origin: center center;
  perspective: 1800px;
}
.device {
  position: absolute;
  inset: 0;
  padding: var(--bezel);
  border-radius: 64px;
  background: linear-gradient(145deg, #3a3a3c, #121214 40%, #2a2a2c 70%, #0d0d0e);
  box-shadow:
    0 0 0 1.5px #4a4a4d inset,
    0 0 0 5px #0b0b0c inset,
    0 60px 120px -20px rgba(0, 0, 0, 0.9),
    0 0 90px -10px rgba(255, 128, 0, 0.22);
  transform-style: preserve-3d;
  will-change: transform;
}
.device__btn { position: absolute; width: 4px; background: #242426; border-radius: 2px; }
.device__btn--a { left: -3px; top: 150px; height: 32px; }
.device__btn--b { left: -3px; top: 205px; height: 62px; }
.device__btn--c { left: -3px; top: 280px; height: 62px; }
.device__btn--d { right: -3px; top: 225px; height: 96px; }
.device__screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 51px;
  overflow: hidden;
  background: #000;
  isolation: isolate;
}

/* Status bar */
.statusbar {
  position: absolute;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 30px 0 44px;
  font-size: 16px;
  font-weight: 600;
  pointer-events: none;
}
.statusbar__island {
  position: absolute;
  left: 50%;
  top: 11px;
  width: 124px;
  height: 36px;
  transform: translateX(-50%);
  border-radius: 20px;
  background: #000;
}
.statusbar__icons { display: flex; align-items: center; gap: 6px; }
.statusbar__icons svg { height: 12px; width: auto; fill: #fff; }
.battery {
  position: relative;
  width: 26px;
  height: 12.5px;
  border: 1.2px solid rgba(255, 255, 255, 0.5);
  border-radius: 4px;
  padding: 1.5px;
}
.battery::after { content: ""; position: absolute; right: -4px; top: 3.5px; width: 2px; height: 4px; border-radius: 0 2px 2px 0; background: rgba(255, 255, 255, 0.5); }
.battery span { display: block; width: 80%; height: 100%; background: #fff; border-radius: 2px; }

/* =========================================================
   APP (unidades cq* → o mesmo layout no frame e no celular)
   ========================================================= */
.app {
  position: absolute;
  inset: 0;
  overflow: hidden;
  container-type: size;
  background: #000;
  --safe-top: 58px;
  --safe-bottom: 30px;
}

.grain {
  position: absolute;
  inset: -50%;
  z-index: 40;
  pointer-events: none;
  opacity: 0.09;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1.1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 0.9s steps(4) 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(0, 0); }
}

.screen {
  position: absolute;
  inset: 0;
  visibility: hidden;
  opacity: 0;
  overflow: hidden;
  will-change: transform, opacity, filter;
}
.screen.is-active { visibility: visible; opacity: 1; }

/* ---------- Botões ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  height: clamp(52px, 7cqh, 60px);
  border-radius: 999px;
  font-size: clamp(15px, 4.3cqw, 17px);
  font-weight: 600;
  letter-spacing: 0.01em;
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.4s;
}
.btn:active { transform: scale(0.965); }
.btn--primary {
  color: #000;
  background: linear-gradient(180deg, #ff9a2e, var(--orange) 55%, #f07200);
  box-shadow: 0 10px 30px -8px rgba(255, 128, 0, 0.75), 0 0 0 1px rgba(255, 190, 120, 0.5) inset;
}
.btn--primary:hover { box-shadow: 0 14px 40px -6px rgba(255, 128, 0, 0.95), 0 0 0 1px rgba(255, 210, 150, 0.7) inset; }
.btn--ghost { color: #fff; border: 1px solid rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.04); backdrop-filter: blur(10px); }
.btn__ico { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.btn__ico rect, .btn__ico path:not(:first-child) { fill: currentColor; stroke: none; }
.btn__ico path:first-child { fill: none; }
.btn__shine {
  position: absolute;
  top: 0;
  left: -60%;
  width: 45%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.65), transparent);
  transform: skewX(-20deg);
  animation: shine 3.6s var(--ease) infinite 1.4s;
}
@keyframes shine { 0% { left: -60%; } 38%, 100% { left: 130%; } }

.icon-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(20, 20, 20, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.2s, background 0.3s;
}
.icon-btn:active { transform: scale(0.9); }
.icon-btn svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn.is-on { background: rgba(255, 128, 0, 0.9); border-color: transparent; }
.icon-btn.is-on svg { stroke: #000; }

.partners { width: clamp(150px, 44cqw, 190px); margin: 0 auto; opacity: 0.9; }

/* =========================================================
   01 · BOAS-VINDAS
   ========================================================= */
.s-welcome__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70% 45% at 55% 30%, rgba(255, 128, 0, 0.1), transparent 70%),
    radial-gradient(110% 80% at 50% 35%, #1d1d1d 0%, #0a0a0a 55%, #000 100%);
}

/* composição fiel ao KV "Minimal" (coordenadas do PSB, base 1320×1513) */
.kvmin {
  position: absolute;
  left: 50%;
  top: calc(var(--safe-top) - 14cqh);
  width: min(90cqw, 54cqh);
  aspect-ratio: 1320 / 1513;
  transform: translateX(-50%);
  container-type: inline-size;
}
.kvmin__track {
  position: absolute;
  left: 0;
  top: 0;
  width: 73.94%;
  height: 100%;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 70%, transparent 98%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 70%, transparent 98%);
}
.kvmin__track img { position: absolute; top: 0; height: 100%; }
.kvmin__outline { left: 0; width: 100%; opacity: 0.9; }
.kvmin__fill { left: 6.25%; width: 87.6%; top: -0.13%; height: 100.2%; }
.kvmin__overlay { left: 9.02%; width: 82.27%; mix-blend-mode: overlay; }
.kvmin__glow { left: 6.25%; width: 87.6%; filter: blur(14px); opacity: 0.55; mix-blend-mode: screen; }
.kvmin__logo {
  position: absolute;
  left: 25.38%;
  top: 46.27%;
  width: 31.36%;
  height: auto;
  filter: drop-shadow(0 6px 24px rgba(0, 0, 0, 0.45));
}
.kvmin__day {
  position: absolute;
  left: 76.4%;
  top: 44.2%;
  font-size: 12.3cqw;
  line-height: 1;
  font-weight: 400;
  letter-spacing: -0.035em;
  color: #fff;
}

.s-welcome__content {
  position: absolute;
  left: 8cqw;
  right: 8cqw;
  top: calc(var(--safe-top) + min(90cqw, 54cqh) * 1.146 - 14cqh - 4cqh);
}
.hello { display: block; font-size: 13px; color: var(--muted); letter-spacing: 0.02em; margin-bottom: 1.2cqh; }
.s-welcome__title {
  margin: 0 0 2.2cqh;
  font-size: clamp(36px, 11.6cqw, 50px);
  line-height: 0.98;
  font-weight: 400;
  letter-spacing: -0.04em;
}
.s-welcome__title .line { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; }
.s-welcome__title .line > span { display: inline-block; }
.tagline--app { font-size: clamp(10.5px, 3.1cqw, 13px); }
.info-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 3cqh;
  padding-top: 2.4cqh;
  border-top: 1px solid var(--line);
  font-size: clamp(9px, 2.6cqw, 11px);
  text-transform: uppercase;
  color: var(--orange);
  line-height: 1.3;
}

.s-welcome__cta {
  position: absolute;
  left: 7cqw;
  right: 7cqw;
  bottom: var(--safe-bottom);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.8cqh;
}
.hint { margin: 0; font-size: 12px; color: var(--muted); text-align: center; }
.s-welcome__cta .partners { margin-top: 1cqh; }

/* =========================================================
   02 · SCANNER
   ========================================================= */
.s-scan { background: #050505; }
.cam { position: absolute; inset: 0; overflow: hidden; }
.cam__scene {
  position: absolute;
  inset: -8%;
  transform-origin: 50% 45%;
  background:
    radial-gradient(60% 40% at 30% 20%, rgba(255, 140, 40, 0.18), transparent 70%),
    radial-gradient(50% 35% at 80% 75%, rgba(255, 90, 0, 0.14), transparent 70%),
    linear-gradient(180deg, #1a1612 0%, #0d0b0a 55%, #16120e 100%);
}
.bokeh { position: absolute; inset: 0; filter: blur(6px); }
.bokeh i {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 170, 80, 0.9), rgba(255, 128, 0, 0.25) 60%, transparent 72%);
  mix-blend-mode: screen;
}
.cam__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(90% 70% at 50% 45%, transparent 55%, rgba(0, 0, 0, 0.75));
  pointer-events: none;
}

.ticket {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 60cqw;
  padding: 5cqw 5cqw 4cqw;
  border-radius: 18px;
  background: linear-gradient(160deg, #ffffff, #efece8);
  color: #000;
  box-shadow: 0 40px 60px -20px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(0, 0, 0, 0.04);
  transform: translate(-50%, -50%);
  filter: blur(0px);
}
.ticket__head { display: flex; align-items: center; gap: 8px; margin-bottom: 4cqw; }
.ticket__logo { height: 5.4cqw; width: auto; filter: invert(1); }
.ticket__head span { font-size: 6.8cqw; line-height: 0.8; letter-spacing: -0.03em; }
.ticket__qr { width: 100%; aspect-ratio: 1; }
.ticket__qr svg { width: 100%; height: 100%; }
.ticket__foot {
  display: flex;
  justify-content: space-between;
  margin-top: 3.5cqw;
  font-size: 2.6cqw;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #555;
}
.ticket__foot span:last-child { color: var(--orange-deep); }

.topbar {
  position: absolute;
  z-index: 10;
  top: var(--safe-top);
  left: 5cqw;
  right: 5cqw;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.topbar__title { font-size: 16px; font-weight: 600; letter-spacing: 0.01em; }

.finder {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}
.finder__hole {
  --size: min(66cqw, 42cqh);
  position: absolute;
  left: 50%;
  top: 45%;
  width: var(--size);
  height: var(--size);
  transform: translate(-50%, -50%);
  border-radius: 28px;
  box-shadow: 0 0 0 200vmax rgba(0, 0, 0, 0.58);
}
.finder__grid {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 128, 0, 0.8) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 128, 0, 0.8) 1px, transparent 1px);
  background-size: 12.5% 12.5%;
  -webkit-mask-image: radial-gradient(closest-side, #000, transparent);
  mask-image: radial-gradient(closest-side, #000, transparent);
}
.corner {
  --c: var(--orange);
  position: absolute;
  width: 22%;
  height: 22%;
  border: 0 solid var(--c);
  filter: drop-shadow(0 0 8px var(--c));
  transition: border-color 0.3s;
}
.corner.tl { left: -3px; top: -3px; border-top-width: 5px; border-left-width: 5px; border-top-left-radius: 30px; }
.corner.tr { right: -3px; top: -3px; border-top-width: 5px; border-right-width: 5px; border-top-right-radius: 30px; }
.corner.bl { left: -3px; bottom: -3px; border-bottom-width: 5px; border-left-width: 5px; border-bottom-left-radius: 30px; }
.corner.br { right: -3px; bottom: -3px; border-bottom-width: 5px; border-right-width: 5px; border-bottom-right-radius: 30px; }
.finder.is-found .corner { --c: var(--green-2); border-color: var(--green-2); }

.laser {
  position: absolute;
  left: 6%;
  right: 6%;
  top: 8%;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--orange-2), #fff, var(--orange-2), transparent);
  box-shadow: 0 0 18px 4px rgba(255, 128, 0, 0.7);
}
.laser::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 7cqh;
  background: linear-gradient(0deg, rgba(255, 128, 0, 0.28), transparent);
}
.finder__flash { position: absolute; inset: 0; border-radius: inherit; background: rgba(59, 227, 127, 0.35); opacity: 0; }

.scan-bottom {
  position: absolute;
  z-index: 10;
  left: 0;
  right: 0;
  bottom: calc(var(--safe-bottom) + 3cqh);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2cqh;
  text-align: center;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(20, 20, 20, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: 14px;
  font-weight: 500;
  transition: background 0.4s, border-color 0.4s;
}
.chip__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 rgba(255, 128, 0, 0.7); animation: pulse 1.3s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255, 128, 0, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 128, 0, 0); } }
.chip.is-found { background: rgba(31, 193, 107, 0.22); border-color: rgba(59, 227, 127, 0.6); }
.chip.is-found .chip__dot { background: var(--green-2); animation: none; box-shadow: 0 0 10px var(--green-2); }
.scan-help { margin: 0; font-size: 13px; line-height: 1.5; color: rgba(255, 255, 255, 0.72); }

/* =========================================================
   03 · SUCESSO
   ========================================================= */
.s-ok__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 38% at 50% 34%, rgba(31, 193, 107, 0.28), transparent 70%),
    radial-gradient(120% 80% at 50% 40%, #0f1a13 0%, #050806 55%, #000 100%);
}
.particles { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.s-ok__center {
  position: absolute;
  left: 8cqw;
  right: 8cqw;
  top: 18cqh;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.okmark { position: relative; width: min(44cqw, 26cqh); aspect-ratio: 1; margin-bottom: 5cqh; }
.okmark__svg { position: relative; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 0 30px rgba(31, 193, 107, 0.65)); }
.okmark__disc { transform-origin: 60px 60px; }
.okmark__stroke { fill: none; stroke: var(--green-2); stroke-width: 2; opacity: 0.6; transform-origin: 60px 60px; }
.okmark__check { fill: none; stroke: #fff; stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; }
.ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(59, 227, 127, 0.55);
  opacity: 0;
}
.s-ok__title { margin: 0 0 1.6cqh; font-size: clamp(32px, 10cqw, 42px); line-height: 1.02; font-weight: 500; letter-spacing: -0.035em; }
.s-ok__sub { margin: 0; max-width: 76cqw; font-size: 15px; line-height: 1.5; color: var(--muted); }
.s-ok__sub strong { color: #fff; font-weight: 600; }
.pass {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  margin-top: 4cqh;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
}
.pass div { display: flex; flex-direction: column; gap: 4px; padding: 14px 6px; }
.pass div + div { border-left: 1px solid var(--line); }
.pass span { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.pass strong { font-size: 14px; font-weight: 600; }
.pass .ok { color: var(--green-2); }

.s-ok__bottom {
  position: absolute;
  left: 7cqw;
  right: 7cqw;
  bottom: var(--safe-bottom);
  display: flex;
  flex-direction: column;
  gap: 2.2cqh;
}
.progress { height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.12); overflow: hidden; }
.progress span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--green), var(--orange)); transform: scaleX(0); transform-origin: left; }

/* =========================================================
   04 · WELCOME DRINK
   ========================================================= */
.s-drink { background: #000; display: flex; flex-direction: column; }
.s-drink.is-active { display: flex; }
.hero { position: relative; flex: 1 1 auto; min-height: 30cqh; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; background: radial-gradient(90% 90% at 50% 60%, #1c1c1c, #070707 60%, #000); }
/* composição do KV "Complete" (base 522×1080 = pista) */
.hero__track {
  position: absolute;
  left: 50%;
  bottom: -3cqh;
  height: 60cqh;
  aspect-ratio: 522 / 1080;
  transform: translateX(-50%);
}
.hero__road {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 30%);
}
.hero__streak { position: absolute; mix-blend-mode: screen; opacity: 0.9; }
.hero__streak.s1 { left: 43.7%; top: -65.8%; width: 18.8%; height: 124.7%; }
.hero__streak.s2 { left: 37.9%; top: 47.3%; width: 24.5%; height: 68%; }
.speedlines {
  position: absolute;
  inset: 0;
  opacity: 0.55;
  background: repeating-linear-gradient(90deg, transparent 0 22px, rgba(255, 170, 90, 0.18) 22px 23px, transparent 23px 57px);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%, transparent 95%);
  mask-image: linear-gradient(180deg, transparent, #000 40%, transparent 95%);
  mix-blend-mode: screen;
}
.speedlines::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(180deg, transparent 0 60px, rgba(0, 0, 0, 0.9) 60px 110px);
  animation: speed 0.35s linear infinite;
}
@keyframes speed { to { background-position: 0 110px; } }
.hero__car {
  position: absolute;
  left: 50%;
  bottom: 0.5cqh;
  width: min(76cqw, 36cqh);
  height: auto;
  transform: translateX(-50%);
  filter: drop-shadow(0 30px 30px rgba(0, 0, 0, 0.85));
  will-change: transform, filter;
}
.hero__fade { position: absolute; left: 0; right: 0; bottom: 0; height: 12cqh; background: linear-gradient(0deg, #000, transparent); }

.s-drink__content { position: relative; flex: 0 0 auto; padding: 0 7cqw; margin-top: -1cqh; }
.eyebrow--app { font-size: 11px; margin-bottom: 1cqh; }
.s-drink__title { margin: 0 0 2.4cqh; font-weight: 400; letter-spacing: -0.035em; line-height: 0.95; }
.s-drink__title .small { display: block; font-size: clamp(20px, 6cqw, 26px); color: rgba(255, 255, 255, 0.8); margin-bottom: 0.6cqh; }
.s-drink__title .big { display: block; font-size: clamp(34px, 10.6cqw, 46px); }

.voucher {
  position: relative;
  display: grid;
  grid-template-columns: 26% 1fr;
  align-items: center;
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(255, 128, 0, 0.2), rgba(255, 128, 0, 0.02) 55%),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 128, 0, 0.4);
  box-shadow: 0 20px 50px -20px rgba(255, 128, 0, 0.45);
  overflow: hidden;
  transform-style: preserve-3d;
  -webkit-mask:
    radial-gradient(circle 11px at 26% 0, transparent 98%, #000) top / 100% 51% no-repeat,
    radial-gradient(circle 11px at 26% 100%, transparent 98%, #000) bottom / 100% 51% no-repeat;
  mask:
    radial-gradient(circle 11px at 26% 0, transparent 98%, #000) top / 100% 51% no-repeat,
    radial-gradient(circle 11px at 26% 100%, transparent 98%, #000) bottom / 100% 51% no-repeat;
}
.voucher__left {
  display: grid;
  place-items: center;
  height: 100%;
  padding: 16px 6px;
  border-right: 1.5px dashed rgba(255, 128, 0, 0.45);
}
.glass { width: 72%; max-width: 64px; overflow: visible; }
.voucher__right { display: flex; flex-direction: column; gap: 3px; padding: 14px 18px; }
.voucher__label { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--orange); }
.voucher__name { font-size: clamp(16px, 4.8cqw, 19px); font-weight: 600; letter-spacing: -0.01em; }
.voucher__code { font-size: 12px; font-variant-numeric: tabular-nums; letter-spacing: 0.12em; color: var(--muted); }
.voucher__valid { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 11px; color: var(--green-2); }
.voucher__valid i { width: 6px; height: 6px; border-radius: 50%; background: var(--green-2); box-shadow: 0 0 8px var(--green-2); }
.voucher__sheen {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.22) 48%, rgba(255, 190, 120, 0.15) 52%, transparent 62%);
  background-size: 250% 100%;
  background-position: 120% 0;
  mix-blend-mode: screen;
}
.s-drink__help { margin: 2.2cqh 0 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
.s-drink__help strong { color: #fff; font-weight: 600; }
.s-drink__cta { position: relative; flex: 0 0 auto; padding: 2.6cqh 7cqw var(--safe-bottom); display: flex; flex-direction: column; gap: 2cqh; }

.bub { opacity: 0; }

/* =========================================================
   Transição (wipe de pista)
   ========================================================= */
.wipe { position: absolute; inset: 0; z-index: 45; pointer-events: none; overflow: hidden; }
.wipe i {
  position: absolute;
  top: -20%;
  bottom: -20%;
  left: 0;
  width: 42%;
  background: linear-gradient(90deg, transparent, rgba(255, 128, 0, 0.9) 30%, #ffb466 50%, rgba(255, 128, 0, 0.9) 70%, transparent);
  filter: blur(6px);
  transform: translateX(-140%) skewX(-12deg);
  opacity: 0;
}
.wipe i:nth-child(2) { width: 18%; background: linear-gradient(90deg, transparent, #fff, transparent); filter: blur(10px); }
.wipe i:nth-child(3) { width: 70%; background: linear-gradient(90deg, transparent, rgba(255, 128, 0, 0.35), transparent); filter: blur(24px); }

/* =========================================================
   RESPONSIVO — celular: app em tela cheia, sem moldura
   ========================================================= */
@media (max-width: 900px), (max-height: 520px) and (pointer: coarse) {
  html, body { height: 100%; overscroll-behavior: none; }
  .stage { display: block; padding: 0; background: #000; }
  .stage__bg, .panel { display: none; }
  .device-wrap { position: fixed; inset: 0; width: auto; height: auto; transform: none !important; perspective: none; }
  .device { padding: 0; border-radius: 0; background: #000; box-shadow: none; transform: none !important; }
  .device__btn, .statusbar { display: none; }
  .device__screen { border-radius: 0; }
  .app {
    --safe-top: max(18px, calc(env(safe-area-inset-top) + 10px));
    --safe-bottom: max(22px, calc(env(safe-area-inset-bottom) + 12px));
  }
}

@media (min-width: 901px) and (max-width: 1180px) {
  .stage { grid-template-columns: 1fr auto; gap: 5vw; }
  .panel__info, .panel__partners { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .grain, .btn__shine, .speedlines::before { animation: none; }
}

/* Telas baixas (iPhone SE / 8, landscape de tablet etc.) */
@container (max-height: 740px) {
  .hero { min-height: 24cqh; }
  .s-drink__cta .partners { display: none; }
  .s-drink__title { margin-bottom: 1.6cqh; }
  .s-drink__title .big { font-size: clamp(30px, 9.6cqw, 40px); }
  .s-drink__help { margin-top: 1.6cqh; font-size: 12px; }
  .voucher__right { padding: 10px 16px; }
  .voucher__left { padding: 10px 6px; }
  .glass { width: 60%; }
  .s-ok__center { top: 14cqh; }
}
