/* =========================================================
   Vaulta — estilos do site
   Cores, fontes e medidas ficam nas variáveis abaixo:
   mude aqui e o site inteiro acompanha.
   ========================================================= */

:root {
  --bg: #07070A;
  --bg-2: #0B0B10;
  --panel: #0F1015;
  --panel-2: #14151B;
  --line: #22232B;
  --line-2: #2A2B34;
  --line-3: #3A3C47;
  --text: #FFFFFF;
  --muted: #C9CBD6;
  --dim: #A1A4B3;
  --faint: #5C5F70;

  /* cor de destaque (palavra em destaque, faixa "ao vivo", preços) */
  --accent: #F5C451;
  --accent-ink: #07070A;

  /* cores dos pacotes */
  --bronze: #E2A56B;
  --ouro: #F5C451;
  --diamante: #7DE3FF;

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --wrap: 1240px;
  --gutter: 24px;
  --header-h: 72px;
  --bottom-nav-h: 0px;
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth; -webkit-text-size-adjust: 100%;
  /* barra de rolagem fina na cor da marca */
  scrollbar-width: thin; scrollbar-color: var(--accent) var(--bg);
  /* cursor da Vaulta (seta); links e botões usam a mãozinha */
  cursor: url("../img/cursor-seta.svg") 5 3, auto;
}
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 10px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #FFD873; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--bottom-nav-h);
}
img, svg { display: block; max-width: 100%; }
a { color: var(--text); }
a:hover { color: var(--muted); }
button, a, input, summary { font-family: inherit; }
a, button, summary, label, select, [role="button"] { cursor: url("../img/cursor-mao.svg") 14 2, pointer; }
button:disabled { cursor: url("../img/cursor-seta.svg") 5 3, not-allowed; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--text); outline-offset: 3px; }
main { overflow-x: clip; }
main:focus { outline: none; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 10px;
  font-weight: 700; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 16px; color: var(--bg); }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 56px; padding: 0 30px; border-radius: 12px; border: 1px solid transparent;
  font-weight: 700; font-size: 17px; line-height: 1; text-decoration: none; white-space: nowrap;
  transition: transform .2s var(--ease-out), background-color .2s, border-color .2s, box-shadow .25s, color .2s;
}
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { background: var(--text); color: var(--bg); }
.btn-primary:hover { background: #ECEDF2; color: var(--bg); transform: translateY(-2px); box-shadow: 0 12px 32px -12px rgba(255, 255, 255, .45); }
.btn-ghost { border-color: var(--line-3); color: var(--text); }
.btn-ghost:hover { border-color: var(--faint); background: rgba(255, 255, 255, .04); color: var(--text); transform: translateY(-2px); }
.btn-sm { height: 40px; padding: 0 18px; border-radius: 10px; font-size: 14px; }

.age-badge {
  border: 1px solid var(--line-3); border-radius: 8px; padding: 1px 8px;
  font-size: 12px; font-weight: 700; color: var(--muted);
}

/* =========================================================
   CABEÇALHO
   ========================================================= */
/* faixa da barra de status do celular (iPhone) acima do cabeçalho fixo */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 51; background: var(--bg); }
.header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color .3s, border-color .3s, backdrop-filter .3s;
}
.header.is-scrolled {
  background: rgba(7, 7, 10, .82);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.header-inner {
  max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter);
  height: var(--header-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
}
.brand {
  justify-self: start;
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text); text-decoration: none;
}
.brand:hover { color: var(--text); }
.brand-mark { width: 34px; height: 34px; transition: transform .4s var(--ease-out); }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.06); }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 26px; letter-spacing: -.02em; line-height: 1; }

.nav-pill {
  position: relative; display: flex; align-items: center; gap: 2px;
  padding: 4px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
}
.nav-pill a {
  position: relative; z-index: 1;
  padding: 8px 15px; border-radius: 9px;
  color: var(--muted); font-size: 14px; font-weight: 500; line-height: 1.2; text-decoration: none;
  transition: color .25s;
}
.nav-pill a:hover { color: var(--text); }
.nav-pill a.is-marked { color: var(--bg); }
.nav-pill:not(.is-ready) a.is-active { background: var(--text); color: var(--bg); }
.nav-marker {
  position: absolute; top: 4px; bottom: 4px; left: 0; width: 0;
  background: var(--text); border-radius: 9px;
  transform: translateX(var(--mx, 0));
  transition: transform .4s var(--ease-out), width .4s var(--ease-out);
}
.header-actions { justify-self: end; display: flex; align-items: center; gap: 10px; }

/* =========================================================
   HERO
   ========================================================= */
.hero-wrap { position: relative; isolation: isolate; }
.shards {
  position: absolute; inset: calc(var(--header-h) * -1) 0 -120px 0;
  width: 100%; height: calc(100% + var(--header-h) + 120px);
  z-index: -1; pointer-events: none;
}
.hero {
  max-width: var(--wrap); margin: 0 auto; padding: 16px var(--gutter) 56px;
  min-height: min(760px, calc(100svh - var(--header-h) - 150px));
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center; gap: 32px;
}
.hero-copy { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
.pill-tag {
  border: 1px solid var(--line-3); border-radius: 999px; padding: 4px 14px;
  font-size: 13px; font-weight: 500; color: var(--muted);
}
.hero-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(64px, 8.6vw, 132px); line-height: .9; letter-spacing: -.045em;
}
.hero-title .line { display: block; }
.hero-title em { font-style: normal; color: var(--accent); }
.hero-sub { max-width: 440px; color: var(--muted); font-size: 18px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }

/* palavras entrando com "chicote" */
.whip { display: inline-block; animation: whip .9s var(--ease-out) var(--d, 0s) both; transform-origin: 0 100%; }
@keyframes whip {
  0% { opacity: 0; transform: translateY(45%) skewY(7deg); filter: blur(8px); }
  100% { opacity: 1; transform: none; filter: blur(0); }
}

/* ---------- palco 3D ---------- */
.hero-visual { position: relative; width: 100%; max-width: 600px; aspect-ratio: 1 / 1; justify-self: center; }
.hero-ring {
  position: absolute; left: 50%; top: 50%; width: 76%; aspect-ratio: 1;
  transform: translate(-50%, -50%); border-radius: 50%;
  border: 1px solid var(--line-2);
  background: radial-gradient(circle at 50% 42%, #13141A 0%, #0C0D11 62%, #0A0A0E 100%);
}
.hero-ring::after {
  content: ""; position: absolute; inset: -18%; border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 196, 81, .13) 0%, rgba(245, 196, 81, 0) 62%);
  transition: background .8s;
}
.hero-visual[data-stage="2"] .hero-ring::after { background: radial-gradient(circle, rgba(125, 227, 255, .14) 0%, rgba(125, 227, 255, 0) 62%); }

.hs { position: absolute; inset: 0; perspective: 1400px; cursor: url("../img/cursor-mao.svg") 14 2, pointer; touch-action: pan-y; -webkit-tap-highlight-color: transparent; }
.hs:focus-visible { outline-offset: -6px; border-radius: 24px; }
.hero-visual[data-stage="2"] .hs { cursor: grab; }
.hs.is-dragging { cursor: grabbing; }
.hs-world {
  position: absolute; inset: 0; transform-style: preserve-3d;
  transform: rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg));
  transition: transform .7s var(--ease-out);
}
.hs-scene, .hs-orbit { position: absolute; inset: 0; transform-style: preserve-3d; pointer-events: none; }
.hs-item {
  position: absolute; left: 50%; top: 50%; width: var(--w, 30%);
  transform-style: preserve-3d;
  transform: translate(-50%, -50%) translate3d(var(--x, 0%), var(--y, 0%), var(--z, 0px)) rotateZ(var(--rz, 0deg)) rotateY(var(--ry, 0deg)) scale(var(--s, 1));
  transition: transform 1s var(--ease-out) calc(var(--i, 0) * 80ms + 150ms), opacity .5s ease calc(var(--i, 0) * 80ms + 150ms);
}
.hs-scene:not(.is-active) .hs-item {
  opacity: 0;
  transform: translate(-50%, -50%) translate3d(0%, 10%, -260px) rotateZ(0deg) rotateY(75deg) scale(.55);
  transition-duration: .45s, .3s;
  transition-delay: 0s, 0s;
}
.hs-float { animation: float 6s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -1.3s); }
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(1.2deg); }
}
.hs-item .art svg { width: 100%; height: auto; filter: drop-shadow(0 30px 34px rgba(0, 0, 0, .65)); }

.hs-cards.is-active .hs-orbit { animation: sway 10s ease-in-out infinite; }
@keyframes sway {
  0%, 100% { transform: rotateY(-14deg) rotateX(4deg); }
  50% { transform: rotateY(14deg) rotateX(-3deg); }
}

/* carta girando (cena 3) */
.slab3d { position: relative; transform-style: preserve-3d; transform: rotateY(var(--angle, 0deg)); }
.face { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.face-back { position: absolute; inset: 0; transform: rotateY(180deg); }
.face-front { position: relative; }
.face-front::after {
  content: ""; position: absolute; inset: 0; border-radius: 8%; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .22) 48%, rgba(125, 227, 255, .14) 52%, transparent 62%);
  background-size: 260% 100%;
  background-position: var(--shine, 50%) 0;
  mix-blend-mode: screen;
}

.hs-dots { position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); display: flex; gap: 8px; z-index: 3; }
.hs-dots button {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px;
  background: var(--line-3); transition: width .35s var(--ease-out), background-color .3s;
}
.hs-dots button[aria-pressed="true"] { width: 28px; background: var(--accent); }
.hs-dots button::before { content: ""; position: absolute; inset: -10px; }
.hs-dots button { position: relative; }

/* =========================================================
   AO VIVO
   ========================================================= */
.live { position: relative; padding: 8px 0 24px; isolation: isolate; }
.live::before {
  content: ""; position: absolute; left: -5%; right: -5%; top: 14px; bottom: 30px; z-index: -1;
  background: linear-gradient(180deg, rgba(20, 21, 27, .9), rgba(11, 11, 16, 0));
  border-top: 1px solid var(--line-2);
  transform: skewY(-1.4deg); transform-origin: 0 0;
}
.live-head { display: flex; align-items: center; gap: 0; }
.live-tag {
  display: inline-block; flex: none;
  margin-left: -14px; padding: 7px 26px 7px 40px;
  background: var(--accent); color: var(--accent-ink);
  transform: skewX(-18deg);
}
.live-tag-inner {
  display: inline-flex; align-items: center; gap: 10px; transform: skewX(18deg);
  font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; line-height: 1;
}
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-ink); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }
.live-rule { flex: 1; height: 1px; background: linear-gradient(90deg, var(--line-3), rgba(58, 60, 71, 0)); }

.live-window {
  position: relative; overflow: hidden; padding: 44px 0 30px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
}
.live-track { display: flex; gap: 26px; margin: 0; padding: 0 0 0 26px; list-style: none; width: max-content; will-change: transform; }
.live-item {
  flex: 0 0 auto; width: 156px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  transform-origin: 50% 100%;
}
.live-card { width: 100%; transition: transform .3s var(--ease-out); }
.live-card svg { width: 100%; height: auto; filter: drop-shadow(0 16px 22px rgba(0, 0, 0, .6)); }
.live-item:hover .live-card { transform: translateY(-6px) rotate(-1.5deg); }
.live-price { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--accent); letter-spacing: .01em; }
.live-pack { margin-top: -8px; font-size: 11px; color: var(--dim); white-space: nowrap; }
.reduce-motion .live-window { overflow-x: auto; }

/* =========================================================
   COMO FUNCIONA
   ========================================================= */
.how { padding: 110px var(--gutter) 96px; }
.how-grid {
  max-width: var(--wrap); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  grid-template-areas: "head stage" "steps stage" "cta stage";
  grid-template-rows: auto auto 1fr;
  column-gap: 72px; row-gap: 36px;
}
.how-head { grid-area: head; display: flex; flex-direction: column; gap: 16px; }
.kicker { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }
.how-head h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(40px, 5vw, 64px); line-height: 1; letter-spacing: -.035em; }
.how-head h2 em { font-style: normal; color: var(--accent); }
.how-head p { color: var(--muted); max-width: 360px; }

.how-steps { grid-area: steps; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.how-step { position: relative; border-bottom: 1px solid var(--line); }
.how-step-btn {
  width: 100%; display: grid; grid-template-columns: 44px minmax(0, 1fr) 24px; gap: 12px; align-items: start;
  padding: 22px 0; background: none; border: 0; color: inherit; text-align: left;
}
.how-num { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--faint); padding-top: 2px; transition: color .3s; }
.how-copy { display: flex; flex-direction: column; gap: 6px; }
.how-copy strong { font-family: var(--font-display); font-size: 20px; font-weight: 700; letter-spacing: -.01em; color: var(--dim); transition: color .3s; }
.how-copy > span { font-size: 14.5px; color: #7F8291; max-width: 380px; transition: color .3s; }
.how-arrow { font-size: 18px; color: var(--accent); opacity: 0; transform: translate(-6px, 6px); transition: opacity .3s, transform .4s var(--ease-out); }
.how-step-btn:hover .how-copy strong { color: var(--text); }
.how-step[data-active="true"] .how-num { color: var(--accent); }
.how-step[data-active="true"] .how-copy strong { color: var(--text); }
.how-step[data-active="true"] .how-copy > span { color: var(--muted); }
.how-step[data-active="true"] .how-arrow { opacity: 1; transform: none; }
.how-bar { position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--accent); }
.how.is-auto .how-step[data-active="true"] .how-bar { animation: howbar var(--how-dur, 5200ms) linear forwards; }
.how:not(.in-view) .how-bar { animation-play-state: paused !important; }
@keyframes howbar { from { width: 0; } to { width: 100%; } }

.how-progress { grid-area: progress; display: none; justify-content: center; gap: 8px; }
.how-progress button { position: relative; width: 36px; height: 24px; padding: 0; border: 0; background: none; }
.how-progress span { position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 3px; background: var(--line-3); transition: background-color .3s; }
.how-progress button[aria-pressed="true"] span { background: var(--accent); }

.how-cta { grid-area: cta; align-self: start; }

.how-stage { grid-area: stage; position: relative; align-self: center; width: 100%; max-width: 560px; aspect-ratio: 1 / 1; justify-self: center; margin-bottom: 28px; }
.how-panel {
  position: absolute; inset: 9% 5% 7% 7%;
  background: linear-gradient(160deg, #13141A 0%, var(--panel) 55%, var(--bg-2) 100%);
  border: 1px solid var(--line-2); border-radius: 18px;
  transform: rotate(-6deg) skewX(-4deg);
}
.how-panel::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(circle at 50% 45%, rgba(245, 196, 81, .1), transparent 60%);
}
.how-scene { position: absolute; inset: 0; pointer-events: none; }
.hw-item {
  position: absolute; left: calc(50% + var(--x, 0%)); top: calc(50% + var(--y, 0%)); width: var(--w, 30%);
  z-index: var(--zi, 1);
  transform: translate(-50%, -50%) translateY(0) rotate(var(--rz, 0deg)) scale(1);
  transition: transform .8s var(--ease-out) calc(var(--i, 0) * 90ms + 120ms), opacity .45s ease calc(var(--i, 0) * 90ms + 120ms);
}
.how-scene:not(.is-active) .hw-item {
  opacity: 0;
  transform: translate(-50%, -50%) translateY(36px) rotate(0deg) scale(.86);
  transition-duration: .35s, .25s; transition-delay: 0s, 0s;
}
.hw-item .art svg { width: 100%; height: auto; filter: drop-shadow(0 24px 28px rgba(0, 0, 0, .6)); }
.how-scene.is-active .hw-pull .art { animation: pull 1s var(--ease-out) .35s both; }
.hw-pull .art svg { filter: drop-shadow(0 0 26px rgba(245, 196, 81, .45)) drop-shadow(0 20px 24px rgba(0, 0, 0, .55)); }
@keyframes pull { from { transform: translateY(58%) rotate(-6deg); } to { transform: none; } }
.how-scene.is-active .hw-strip .art { animation: tear .8s var(--ease-out) .1s both; }
@keyframes tear { from { transform: translate(-40%, 220%) rotate(-16deg); } to { transform: none; } }
.how-scene.is-active .hw-drop .art { animation: drop 3s ease-in-out .6s infinite; }
@keyframes drop {
  0%, 12% { transform: translateY(0) rotate(0deg); }
  55%, 70% { transform: translateY(42%) rotate(4deg); }
  100% { transform: translateY(0) rotate(0deg); }
}
.spark {
  position: absolute; left: var(--sx); top: var(--sy); width: 18px; height: 18px; z-index: 4;
  background: #fff; opacity: 0;
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
}
.how-scene.is-active .spark { animation: twinkle 1.8s ease-in-out var(--sd, 0s) infinite; }
@keyframes twinkle { 0%, 100% { opacity: 0; transform: scale(.4) rotate(0deg); } 50% { opacity: 1; transform: scale(1) rotate(45deg); } }

.how-caption {
  position: absolute; left: 50%; bottom: -26px; transform: translateX(-50%);
  font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); white-space: nowrap;
}
.how-caption b { color: var(--accent); }

/* revelar ao rolar */
.js .reveal { transform: translateY(26px); transition: transform .9s var(--ease-out); }
.js .reveal.is-in { transform: none; }

/* =========================================================
   NAVEGAÇÃO MÓVEL (barra inferior)
   ========================================================= */
.bottom-nav { display: none; }

/* =========================================================
   RODAPÉ
   ========================================================= */
.footer { border-top: 1px solid var(--line); background: var(--bg); }
.footer-inner { max-width: var(--wrap); margin: 0 auto; padding: 56px var(--gutter) 40px; }
.footer-top {
  display: grid; grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr)) 1.3fr; gap: 32px;
  padding-bottom: 40px; border-bottom: 1px solid var(--line);
}
.footer-id { display: flex; flex-direction: column; gap: 14px; }
.footer-id .brand-mark { width: 30px; height: 30px; }
.footer-id .brand-name { font-size: 22px; }
.footer-tagline { color: var(--muted); font-size: 14px; }
.social-soon { display: flex; align-items: center; gap: 8px; }
.social-soon button {
  width: 38px; height: 38px; display: grid; place-items: center; padding: 0;
  border: 1px solid var(--line-2); border-radius: 10px; background: var(--panel); color: var(--faint);
}
.social-soon svg, .store-btn svg, .footer-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.social-soon span { font-size: 12px; color: var(--faint); }

.footer-group h2 { font-size: 14px; }
.footer-heading { display: block; font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 14px; }
.footer-toggle { display: none; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--muted); font-size: 14px; text-decoration: none; width: fit-content; }
.footer-links a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

.footer-apps h2 { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; margin-bottom: 14px; }
.footer-apps h2 span { border: 1px solid var(--line-3); border-radius: 6px; padding: 1px 6px; font-size: 11px; font-weight: 500; color: var(--dim); }
.footer-stores { display: flex; flex-direction: column; gap: 10px; }
.store-btn {
  display: flex; align-items: center; gap: 12px; width: 100%; max-width: 200px;
  padding: 9px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--panel);
  color: var(--muted); text-align: left;
}
.store-btn svg { width: 22px; height: 22px; flex: none; }
.store-btn small { display: block; font-size: 10.5px; color: var(--dim); line-height: 1.2; }
.store-btn strong { display: block; font-size: 15px; line-height: 1.2; }

.footer-bottom { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: start; padding-top: 28px; }
.footer-age { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--dim); white-space: nowrap; }
.footer-age span {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  border: 1.5px solid var(--bronze); color: var(--bronze); font-size: 11px; font-weight: 700;
}
.footer-legal { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; color: var(--faint); max-width: 640px; }
.footer-copy { font-size: 13px; color: var(--dim); white-space: nowrap; }

/* ---------- aviso "em breve" ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(24px + var(--bottom-nav-h)); z-index: 80;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--text); color: var(--bg); font-weight: 700; font-size: 14px;
  padding: 12px 20px; border-radius: 12px; box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .8);
  transition: opacity .25s, transform .35s var(--ease-out);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 1100px) {
  .nav-pill a { padding: 8px 11px; }
  .age-badge { display: none; }
  .footer-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-id { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  :root { --header-h: 64px; --bottom-nav-h: calc(68px + env(safe-area-inset-bottom)); }
  .header-inner { grid-template-columns: 1fr auto; }
  .nav-pill { display: none; }

  .hero { grid-template-columns: 1fr; min-height: 0; gap: 8px; padding-top: 4px; text-align: center; }
  .hero-visual { order: -1; max-width: 440px; }
  .hero-copy { align-items: center; gap: 20px; }
  .pill-tag { display: none; }
  .hero-title { font-size: clamp(44px, 11vw, 76px); line-height: 1; }
  .hero-title .line { display: inline-block; }
  .hero-sub { font-size: 16px; }
  .hero-btns { justify-content: center; }

  .how { padding: 80px var(--gutter) 88px; }
  .how-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "head" "stage" "steps" "progress" "cta";
    grid-template-rows: none; row-gap: 28px;
  }
  .how-stage { max-width: 440px; margin-bottom: 30px; }
  .how-progress { display: flex; }
  .how-cta { justify-self: center; }

  .bottom-nav {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: grid; grid-template-columns: repeat(5, 1fr);
    height: var(--bottom-nav-h); padding: 6px 8px env(safe-area-inset-bottom);
    background: rgba(11, 11, 16, .94); border-top: 1px solid var(--line);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  }
  .bottom-nav a {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
    border-radius: 12px; color: var(--dim); font-size: 11px; font-weight: 500; text-decoration: none;
  }
  .bottom-nav a.is-active { color: var(--text); background: var(--panel-2); }
  .bottom-nav a.is-active::before { content: ""; position: absolute; top: -7px; left: 30%; right: 30%; height: 2px; border-radius: 2px; background: var(--accent); }
  .bottom-nav svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .brand-name { font-size: 22px; }
  .brand-mark { width: 30px; height: 30px; }
  .header-actions .btn-sm { height: 36px; padding: 0 12px; font-size: 13px; }
  .btn { height: 52px; padding: 0 22px; font-size: 16px; }
  .hero-btns .btn { flex: 1 1 0; min-width: 0; padding: 0 12px; }
  .hero-btns { width: 100%; }

  .live-item { width: 118px; }
  .live-track { gap: 18px; }
  .live-price { font-size: 13px; }

  .how-copy strong { font-size: 18px; }

  .footer-inner { padding-top: 40px; }
  .footer-top { grid-template-columns: 1fr; gap: 0; }
  .footer-id { padding-bottom: 24px; }
  .footer-group { border-top: 1px solid var(--line); }
  .footer-heading { display: none; }
  .footer-toggle {
    display: flex; align-items: center; justify-content: space-between; width: 100%;
    padding: 16px 0; background: none; border: 0; color: var(--text); font-size: 15px; font-weight: 700; text-align: left;
  }
  .footer-toggle svg { transition: transform .3s var(--ease-out); }
  .footer-group[data-open="true"] .footer-toggle svg { transform: rotate(180deg); }
  .footer-group .footer-links { display: none; padding: 0 0 18px; }
  .footer-group[data-open="true"] .footer-links { display: flex; }
  .footer-apps { border-top: 1px solid var(--line); padding-top: 20px; }
  .footer-stores { flex-direction: row; }
  .store-btn { max-width: none; }
  .footer-bottom { grid-template-columns: 1fr; gap: 16px; }
}

/* ---------- menos movimento ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
.reduce-motion .whip,
.reduce-motion .hs-float,
.reduce-motion .hs-orbit,
.reduce-motion .live-dot,
.reduce-motion .spark,
.reduce-motion .how-scene .art { animation: none !important; }
.reduce-motion .hs-item,
.reduce-motion .hw-item { transition-duration: .01s !important; transition-delay: 0s !important; }
.reduce-motion .reveal { transform: none; transition: none; }

/* =========================================================
   PÁGINA DE PACOTES
   ========================================================= */
.pk-stage { position: relative; isolation: isolate; padding: 8px 0 28px; --pk-accent: var(--accent); --pk-glow: #F4BE45; }
.pk-glow {
  position: absolute; inset: calc(var(--header-h) * -1) 0 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 70% at 32% 42%, color-mix(in srgb, var(--pk-glow) 30%, transparent), transparent 70%),
    linear-gradient(180deg, color-mix(in srgb, var(--pk-glow) 10%, var(--bg)), var(--bg) 85%);
  transition: background .8s ease;
}
@supports not (background: color-mix(in srgb, red 10%, blue)) {
  .pk-glow { background: radial-gradient(60% 70% at 32% 42%, rgba(245, 196, 81, .18), transparent 70%); }
}
.pk-grid {
  max-width: var(--wrap); margin: 0 auto; padding: 8px var(--gutter) 0;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 440px); gap: 40px; align-items: center;
}
.pk-show { position: relative; min-width: 0; }
.pk-carousel {
  position: relative; height: clamp(380px, 46vw, 560px);
  perspective: 1400px; --rx: 0deg; --ry: 0deg;
}
.pk-slide {
  position: absolute; left: 50%; top: 50%; width: clamp(200px, 21vw, 290px);
  padding: 0; border: 0; background: none; color: inherit;
  transform:
    translate(-50%, -50%)
    translateX(calc(var(--d, 0) * 74%))
    translateZ(calc(var(--ad, 0) * -200px))
    rotateY(calc(var(--d, 0) * -22deg))
    scale(calc(1 - var(--ad, 0) * .2));
  opacity: calc(1 - var(--ad, 0) * .4);
  filter: brightness(calc(1 - var(--ad, 0) * .32)) saturate(calc(1 - var(--ad, 0) * .2));
  z-index: calc(10 - var(--ad, 0));
  transition: transform .75s var(--ease-out), opacity .5s ease, filter .5s ease;
}
.pk-slide[data-pos="back"] { opacity: .18; }
.pk-slide[data-pos="far"] { opacity: 0; pointer-events: none; }
.pk-slide:focus-visible { outline-offset: 6px; border-radius: 12px; }
.pk-float { display: block; }
.pk-slide[data-pos="center"] .pk-float { animation: float 6s ease-in-out infinite; }
.pk-tilt { display: block; transition: transform .5s var(--ease-out); }
.pk-slide[data-pos="center"] .pk-tilt { transform: rotateX(var(--rx)) rotateY(var(--ry)); }
.pk-slide svg { width: 100%; height: auto; filter: drop-shadow(0 34px 40px rgba(0, 0, 0, .65)); }
.pk-slide[data-pos="center"] svg { filter: drop-shadow(0 34px 40px rgba(0, 0, 0, .65)) drop-shadow(0 0 40px color-mix(in srgb, var(--pk-glow) 35%, transparent)); }

.pk-arrow {
  position: absolute; top: 50%; z-index: 20; width: 46px; height: 46px; margin-top: -23px;
  display: grid; place-items: center; padding: 0;
  border: 1px solid var(--line-3); border-radius: 50%; background: rgba(15, 16, 21, .8); color: var(--text);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: background-color .2s, border-color .2s, transform .2s var(--ease-out);
}
.pk-arrow:hover { background: var(--panel-2); border-color: var(--faint); transform: scale(1.06); }
.pk-arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.pk-prev { left: 0; }
.pk-next { right: 0; }

.pk-panel {
  position: relative; display: flex; flex-direction: column; gap: 16px;
  padding: 26px; border-radius: 22px;
  background: linear-gradient(180deg, rgba(20, 21, 27, .92), rgba(11, 11, 16, .92));
  border: 1px solid var(--line-2);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .04);
}
.pk-panel::before {
  content: ""; position: absolute; left: 26px; right: 26px; top: -1px; height: 2px; border-radius: 2px;
  background: var(--pk-accent); transition: background-color .5s;
}
.pk-panel .kicker { color: var(--pk-accent); transition: color .5s; }
.pk-name { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 3vw, 38px); line-height: 1.05; letter-spacing: -.03em; margin-top: -8px; }
.pk-desc { color: var(--muted); font-size: 14.5px; min-height: 3em; }
.pk-range { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; }
.pk-range div { padding: 12px 14px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); }
.pk-range dt { font-size: 12px; color: var(--dim); }
.pk-range dd { margin: 2px 0 0; font-family: var(--font-display); font-weight: 700; font-size: 20px; font-variant-numeric: tabular-nums; }
.pk-sub { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); margin-top: 4px; }

.pk-odds { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.pk-odd {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center;
  min-height: 150px; padding: 26px 4px 10px; border-radius: 12px;
  background: var(--panel); border: 1px solid var(--line);
}
.pk-odd-fill {
  position: absolute; left: 0; right: 0; bottom: 0; height: var(--h); z-index: -1;
  background: linear-gradient(180deg, color-mix(in srgb, var(--c) 30%, transparent), color-mix(in srgb, var(--c) 8%, transparent));
  border-top: 2px solid var(--c);
  transition: height .6s var(--ease-out);
}
.pk-odd-cap {
  position: absolute; top: 9px; left: 50%; width: 11px; height: 11px; margin-left: -5.5px;
  background: var(--c); transform: rotate(45deg); border-radius: 2px;
  box-shadow: 0 0 12px var(--c);
}
.pk-odd-label { font-size: 10.5px; font-weight: 700; letter-spacing: .04em; color: var(--c); }
.pk-odd b { font-family: var(--font-display); font-size: 18px; line-height: 1.1; margin-top: auto; font-variant-numeric: tabular-nums; }
.pk-odd small { font-size: 10px; line-height: 1.35; color: var(--muted); font-variant-numeric: tabular-nums; }

.pk-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.pk-qty { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 4px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); }
.pk-qty button {
  height: 34px; border: 0; border-radius: 9px; background: none; color: var(--muted);
  font-weight: 700; font-size: 14px; transition: background-color .2s, color .2s;
}
.pk-qty button:hover { color: var(--text); }
.pk-qty button[aria-pressed="true"] { background: var(--text); color: var(--bg); }
.pk-open { width: 100%; height: 58px; font-size: 18px; }
.pk-open b { font-family: var(--font-display); margin-left: 4px; font-variant-numeric: tabular-nums; }

.pk-chips {
  max-width: var(--wrap); margin: 24px auto 0; padding: 4px var(--gutter) 10px;
  display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px;
}
.pk-chip {
  display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0;
  padding: 10px 6px 10px; border-radius: 14px; border: 1px solid var(--line); background: rgba(15, 16, 21, .7);
  color: var(--muted); transition: border-color .25s, background-color .25s, transform .25s var(--ease-out);
}
.pk-chip:hover { border-color: var(--line-3); transform: translateY(-3px); }
.pk-chip[aria-pressed="true"] { border-color: var(--c); background: color-mix(in srgb, var(--c) 10%, var(--panel)); color: var(--text); }
.pk-chip-art { width: 38px; transition: transform .3s var(--ease-out); }
.pk-chip-art svg { width: 100%; height: auto; }
.pk-chip[aria-pressed="true"] .pk-chip-art { transform: scale(1.12) rotate(-4deg); }
.pk-chip-name { font-size: 12px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.pk-chip b { font-family: var(--font-display); font-size: 13px; color: var(--c); }

.pk-what { max-width: var(--wrap); margin: 0 auto; padding: 64px var(--gutter) 96px; display: flex; flex-direction: column; gap: 32px; }
.pk-what-head { display: flex; align-items: center; gap: 24px; }
.pk-what-art { width: 84px; flex: none; transform: rotate(-8deg); }
.pk-what-art svg { width: 100%; height: auto; filter: drop-shadow(0 16px 20px rgba(0, 0, 0, .6)); }
.pk-what-name { font-size: 14px; font-weight: 700; color: var(--pk-accent); }
.pk-what-head h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(32px, 4vw, 48px); line-height: 1.05; letter-spacing: -.03em; margin: 2px 0 6px; }
.pk-what-head p { color: var(--muted); max-width: 520px; }
.pk-info { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pk-info > div { padding: 20px 22px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.pk-info h3 { font-size: 16px; margin-bottom: 4px; }
.pk-info p { color: var(--muted); font-size: 14.5px; }
.pk-hits-title { font-family: var(--font-display); font-size: 22px; letter-spacing: -.01em; }
.pk-hits { list-style: none; margin: -12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 18px; }
.hit {
  display: flex; flex-direction: column; gap: 12px; padding: 14px; border-radius: 16px;
  background: var(--panel); border: 1px solid var(--line);
  transition: transform .3s var(--ease-out), border-color .3s;
}
.hit:hover { transform: translateY(-4px); border-color: var(--line-3); }
.hit-card svg { width: 100%; height: auto; filter: drop-shadow(0 12px 16px rgba(0, 0, 0, .5)); }
.hit-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hit-info strong { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hit-info > span { font-size: 12.5px; color: var(--dim); }
.hit-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 8px; margin-top: 6px; }
.hit-meta b { font-family: var(--font-display); font-size: 15px; color: var(--accent); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hit-meta i { font-style: normal; font-size: 11px; font-weight: 700; color: var(--c); border: 1px solid var(--c); border-radius: 999px; padding: 1px 8px; }

@media (max-width: 1100px) {
  .pk-chips { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .pk-grid { grid-template-columns: 1fr; gap: 16px; }
  .pk-carousel { height: clamp(320px, 88vw, 460px); }
  .pk-slide { width: clamp(170px, 46vw, 250px); }
  .pk-panel { max-width: 560px; width: 100%; justify-self: center; }
}
@media (max-width: 640px) {
  .pk-panel { padding: 20px 16px; }
  .pk-odds { gap: 5px; }
  .pk-odd { padding: 24px 2px 8px; min-height: 136px; }
  .pk-odd b { font-size: 15px; }
  .pk-odd small { font-size: 9px; }
  .pk-odd-label { font-size: 9.5px; }
  .pk-arrow { width: 40px; height: 40px; margin-top: -20px; }
  .pk-chips { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .pk-what { padding: 48px var(--gutter) 72px; }
  .pk-what-art { width: 64px; }
  .pk-info { grid-template-columns: 1fr; }
  .pk-hits { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .hit { padding: 10px; }
}
.reduce-motion .pk-float { animation: none !important; }

/* cartas de destaque do pacote viram links para o marketplace */
.hit-link { display: flex; flex-direction: column; gap: 12px; color: inherit; text-decoration: none; height: 100%; }
.hit-link:hover { color: inherit; }
.hit:has(.hit-link) { padding: 0; }
.hit-link { padding: 14px; }
.hit-odds { font-size: 11.5px; color: var(--dim); margin-top: 2px; }
.live-card { display: block; }

/* =========================================================
   MARKETPLACE DE CARTAS
   ========================================================= */
.mk-hero { position: relative; isolation: isolate; }
.mk-hero::before {
  content: ""; position: absolute; inset: calc(var(--header-h) * -1) 0 0; z-index: -1; pointer-events: none;
  background: radial-gradient(50% 80% at 85% 0%, rgba(245, 196, 81, .12), transparent 70%), radial-gradient(40% 70% at 10% 10%, rgba(125, 227, 255, .07), transparent 70%);
}
.mk-hero-inner {
  max-width: var(--wrap); margin: 0 auto; padding: 32px var(--gutter) 28px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px; align-items: end;
}
.mk-hero-copy { display: flex; flex-direction: column; gap: 10px; }
.mk-hero h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(48px, 7vw, 96px); line-height: .9; letter-spacing: -.045em; }
.mk-hero-copy p { color: var(--muted); max-width: 440px; }
.mk-perks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.mk-perks li { display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.mk-perks b { font-family: var(--font-display); font-size: 17px; color: var(--accent); }
.mk-perks span { font-size: 13px; color: var(--muted); line-height: 1.45; }

.mk-shop { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter) 40px; }
.mk-bar {
  position: sticky; top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); z-index: 30;
  margin: 0 calc(var(--gutter) * -1); padding: 12px var(--gutter);
  background: rgba(7, 7, 10, .9); border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  display: flex; flex-direction: column; gap: 10px;
}
.mk-bar-inner { display: flex; gap: 10px; align-items: center; }
.mk-search {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px;
  height: 48px; padding: 0 16px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line-2);
  cursor: text; transition: border-color .2s;
}
.mk-search:focus-within { border-color: var(--accent); }
.mk-search svg, .mk-filter-btn svg, .mk-close svg, .mk-fav svg, .mk-d-fav svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mk-search svg { color: var(--dim); }
.mk-search input {
  flex: 1; min-width: 0; height: 100%; border: 0; background: none; color: var(--text); font: inherit; font-size: 15px; outline: none;
  cursor: text;
}
.mk-search input::placeholder { color: var(--faint); }
.mk-sort select, .mk-panel select {
  height: 48px; padding: 0 36px 0 14px; border-radius: 12px; border: 1px solid var(--line-2); background-color: var(--panel); color: var(--text);
  font: inherit; font-size: 14px; font-weight: 500; appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23A1A4B3' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 16px;
}
.mk-filter-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 16px; border-radius: 12px;
  border: 1px solid var(--line-2); background: var(--panel); color: var(--text); font-weight: 700; font-size: 14px; white-space: nowrap;
}
.mk-filter-btn[aria-expanded="true"] { border-color: var(--accent); }
.mk-badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--accent); color: var(--accent-ink); font-size: 12px; }
.mk-badge[hidden] { display: none; }

.mk-quick { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.mk-quick::-webkit-scrollbar { display: none; }
.mk-quick button, .mk-chips button {
  flex: none; height: 34px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line-2); background: transparent;
  color: var(--muted); font-size: 13.5px; font-weight: 500; white-space: nowrap; transition: background-color .2s, color .2s, border-color .2s;
}
.mk-quick button:hover, .mk-chips button:hover { border-color: var(--faint); color: var(--text); }
.mk-quick button[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.mk-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mk-chips button[aria-pressed="true"] { border-color: var(--c, var(--text)); color: var(--text); background: color-mix(in srgb, var(--c, #FFFFFF) 16%, transparent); }

.mk-panel {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px 24px; align-items: start;
  padding: 16px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line);
}
.mk-panel[hidden] { display: none; }
.mk-panel fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.mk-panel legend { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 8px; padding: 0; }
.mk-price { flex-direction: row !important; align-items: center; flex-wrap: wrap; }
.mk-price legend { width: 100%; }
.mk-price span { color: var(--dim); font-size: 13px; }
.mk-price input {
  width: 96px; height: 40px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--bg-2);
  color: var(--text); font: inherit; font-size: 14px; cursor: text;
}
.mk-panel select { height: 40px; width: 100%; background-color: var(--bg-2); }
.mk-clear { align-self: end; justify-self: start; height: 40px; padding: 0 14px; border: 0; background: none; color: var(--accent); font-weight: 700; font-size: 14px; }

.mk-results { padding-top: 18px; }
.mk-count { font-size: 13px; color: var(--dim); margin-bottom: 14px; }
.mk-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.mk-item { min-width: 0; }
.mk-card {
  position: relative; height: 100%; border-radius: 18px; background: var(--panel); border: 1px solid var(--line);
  transition: transform .3s var(--ease-out), border-color .3s, box-shadow .3s;
}
.mk-card:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--c) 55%, var(--line)); box-shadow: 0 20px 40px -24px color-mix(in srgb, var(--c) 60%, transparent); }
.mk-open {
  display: flex; flex-direction: column; gap: 12px; width: 100%; height: 100%; padding: 14px; border: 0; border-radius: inherit;
  background: none; color: inherit; text-align: left;
}
.mk-pts {
  align-self: flex-start; display: inline-block; padding: 2px 9px; border-radius: 99px;
  background: rgba(95, 211, 141, .14); color: #7BE6A4; font-size: 11.5px; font-weight: 700;
}
.mk-art { display: block; padding: 2px 8px 0; transition: transform .35s var(--ease-out); }
.mk-card:hover .mk-art { transform: scale(1.03) rotate(-1deg); }
.mk-art svg { width: 100%; height: auto; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .55)); }
.mk-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mk-info strong { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-info > span:not(.mk-row) { font-size: 12.5px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.mk-row b { font-family: var(--font-display); font-size: 18px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mk-row i { font-style: normal; font-size: 11px; font-weight: 700; color: var(--c); border: 1px solid var(--c); border-radius: 99px; padding: 1px 8px; }
.mk-fav {
  position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; display: grid; place-items: center; padding: 0;
  border-radius: 50%; border: 1px solid var(--line-2); background: rgba(7, 7, 10, .7); color: var(--dim);
  transition: color .2s, transform .2s var(--ease-out), background-color .2s;
}
.mk-fav:hover { color: var(--text); transform: scale(1.08); }
.mk-fav[aria-pressed="true"], .mk-d-fav[aria-pressed="true"] { color: #FF5C8A; }
.mk-fav[aria-pressed="true"] svg, .mk-d-fav[aria-pressed="true"] svg { fill: currentColor; }
.mk-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 56px 16px; text-align: center; color: var(--muted); }
.mk-empty[hidden] { display: none; }
.mk-empty strong { color: var(--text); font-size: 18px; }
.mk-more-wrap { display: flex; justify-content: center; padding-top: 28px; }
.mk-more-wrap [hidden] { display: none; }

/* detalhe da carta */
.mk-dialog {
  width: min(960px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 0; overflow: auto;
  border: 1px solid var(--line-2); border-radius: 24px; background: var(--bg-2); color: var(--text);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .9);
}
.mk-dialog::backdrop { background: rgba(4, 4, 6, .78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.mk-dialog[open] { animation: mkIn .35s var(--ease-out); }
@keyframes mkIn { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
.mk-close {
  position: absolute; top: 14px; right: 14px; z-index: 2; width: 40px; height: 40px; display: grid; place-items: center; padding: 0;
  border-radius: 50%; border: 1px solid var(--line-2); background: var(--panel); color: var(--text);
}
.mk-detail { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.mk-d-art {
  display: grid; place-items: center; padding: 40px 32px; perspective: 900px;
  background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--c) 22%, transparent), transparent 65%), var(--panel);
  border-right: 1px solid var(--line);
}
.mk-d-tilt { width: min(300px, 100%); transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .4s var(--ease-out); }
.mk-d-tilt svg { width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .7)); }
.mk-d-info { display: flex; flex-direction: column; gap: 14px; padding: 32px 28px 28px; min-width: 0; }
.mk-rar { align-self: flex-start; font-size: 12px; font-weight: 700; color: var(--c); border: 1px solid var(--c); border-radius: 99px; padding: 2px 10px; }
.mk-d-info h2 { font-family: var(--font-display); font-size: clamp(28px, 3.4vw, 40px); line-height: 1.05; letter-spacing: -.03em; padding-right: 40px; }
.mk-d-title { font-size: 13px; color: var(--dim); margin-top: -6px; }
.mk-specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; }
.mk-specs div { padding: 10px 12px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); min-width: 0; }
.mk-specs dt { font-size: 11.5px; color: var(--dim); }
.mk-specs dd { margin: 2px 0 0; font-size: 13.5px; font-weight: 500; overflow-wrap: anywhere; }
.mk-buy {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 16px; border-radius: 16px; background: var(--panel-2); border: 1px solid var(--line-2);
}
.mk-buy > div { display: flex; flex-direction: column; gap: 4px; }
.mk-buy small, .mk-values small { font-size: 12px; color: var(--dim); }
.mk-buy b { font-family: var(--font-display); font-size: 30px; line-height: 1; font-variant-numeric: tabular-nums; }
.mk-buy .btn { flex: 1 1 180px; }
.mk-values { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mk-values div { padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); }
.mk-values b { display: block; font-family: var(--font-display); font-size: 18px; margin-top: 2px; font-variant-numeric: tabular-nums; }
.mk-d-info h3 { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); margin-top: 4px; }
.mk-packs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.mk-packs a {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line);
  color: inherit; text-decoration: none; transition: border-color .2s, background-color .2s;
}
.mk-packs a:hover { border-color: var(--line-3); background: var(--panel); color: inherit; }
.mk-pk-art { width: 28px; flex: none; }
.mk-pk-art svg { width: 100%; height: auto; }
.mk-packs span:not(.mk-pk-art) { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.mk-packs b { font-size: 14px; }
.mk-packs small { font-size: 12px; color: var(--dim); }
.mk-packs em { font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--accent); white-space: nowrap; }
.mk-only { font-size: 14px; color: var(--muted); padding: 12px 14px; border-radius: 12px; border: 1px dashed var(--line-3); }
.mk-d-fav {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px;
  border-radius: 10px; border: 1px solid var(--line-2); background: none; color: var(--muted); font-weight: 700; font-size: 14px;
}

/* pontos e níveis */
.mk-points { max-width: var(--wrap); margin: 0 auto; padding: 56px var(--gutter) 96px; display: flex; flex-direction: column; gap: 28px; }
.mk-points header { display: flex; flex-direction: column; gap: 12px; }
.mk-points h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(34px, 4.4vw, 56px); line-height: 1; letter-spacing: -.035em; }
.mk-points h2 em { font-style: normal; color: var(--accent); }
.mk-points header p { color: var(--muted); max-width: 460px; }
.mk-levels { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; counter-reset: lvl; }
.mk-levels li {
  position: relative; display: flex; flex-direction: column; gap: 4px; padding: 18px 16px 16px; border-radius: 16px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--c) 12%, var(--panel)), var(--panel)); border: 1px solid var(--line);
}
.mk-levels li::before {
  counter-increment: lvl; content: "Nível " counter(lvl);
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--c);
}
.mk-levels b { font-family: var(--font-display); font-size: 22px; }
.mk-levels span { font-size: 13px; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.mk-levels small { font-size: 12.5px; color: var(--dim); }

@media (max-width: 960px) {
  .mk-hero-inner { grid-template-columns: 1fr; align-items: start; }
  .mk-detail { grid-template-columns: 1fr; }
  .mk-d-art { border-right: 0; border-bottom: 1px solid var(--line); padding: 32px 24px 24px; }
  .mk-d-tilt { width: min(220px, 70%); }
  .mk-levels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mk-levels li:last-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .mk-perks { grid-template-columns: 1fr; }
  .mk-perks li { flex-direction: row; align-items: baseline; gap: 10px; padding: 12px 14px; }
  .mk-perks b { font-size: 15px; white-space: nowrap; }
  .mk-bar-inner { flex-wrap: wrap; }
  .mk-search { flex: 1 1 100%; }
  .mk-sort { flex: 1; }
  .mk-sort select { width: 100%; }
  .mk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .mk-open { padding: 10px; gap: 8px; }
  .mk-row b { font-size: 16px; }
  .mk-fav { width: 32px; height: 32px; top: 8px; right: 8px; }
  .mk-dialog { width: 100%; max-height: 100%; max-width: 100%; height: 100%; border-radius: 0; margin: 0; }
  .mk-d-info { padding: 22px 16px 28px; }
  .mk-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mk-buy b { font-size: 26px; }
  .mk-points { padding: 40px var(--gutter) 72px; }
}
.reduce-motion .mk-dialog[open] { animation: none; }

/* =========================================================
   ABERTURA DO PACOTE
   Fases (data-phase): ready → torn → rise → reveal → result
   ========================================================= */
.op {
  width: 100%; height: 100%; max-width: 100%; max-height: 100%; margin: 0; padding: 0; border: 0;
  background: var(--bg); color: var(--text); overflow: hidden auto; --op-glow: #F4BE45; --op-accent: var(--accent);
}
.op[open] { display: grid; grid-template-rows: auto 1fr auto; }
.op::backdrop { background: var(--bg); }
.op-glow {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(circle at 50% 42%, color-mix(in srgb, var(--op-glow) 34%, transparent), transparent 55%),
    radial-gradient(circle at 50% 120%, color-mix(in srgb, var(--op-glow) 18%, transparent), transparent 60%);
  transition: background .6s;
}
.op-top, .op-stage, .op-foot { position: relative; z-index: 1; }
.op-top {
  display: flex; align-items: center; gap: 16px;
  padding: max(14px, env(safe-area-inset-top, 0px)) max(var(--gutter), env(safe-area-inset-right, 0px)) 14px max(var(--gutter), env(safe-area-inset-left, 0px));
}
.op-top-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.op-top-info strong { font-family: var(--font-display); font-size: 20px; letter-spacing: -.01em; }
.op-demo { font-size: 12px; color: var(--dim); }
.op-fast { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); white-space: nowrap; }
.op-fast input {
  appearance: none; -webkit-appearance: none; width: 38px; height: 22px; margin: 0; border-radius: 99px;
  background: var(--line-3); position: relative; transition: background-color .2s; cursor: inherit;
}
.op-fast input::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--text);
  transition: transform .25s var(--ease-out);
}
.op-fast input:checked { background: var(--op-accent); }
.op-fast input:checked::after { transform: translateX(16px); background: var(--bg); }
.op-fast input:focus-visible { outline: 3px solid var(--text); outline-offset: 3px; }
.op-x {
  width: 42px; height: 42px; display: grid; place-items: center; padding: 0; flex: none;
  border-radius: 50%; border: 1px solid var(--line-3); background: rgba(15, 16, 21, .8); color: var(--text);
}
.op-x svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

/* palco */
.op-stage { display: grid; place-items: center; min-height: 340px; padding: 8px var(--gutter); perspective: 1200px; }
.op-pack {
  position: relative; z-index: 2; grid-area: 1 / 1; width: min(240px, 54vw);
  transform: rotate(var(--wob, 0deg)); touch-action: none; outline: none;
  cursor: url("../img/cursor-mao.svg") 14 2, grab;
  transition: transform .25s var(--ease-out), opacity .5s ease;
}
.op-pack:focus-visible { outline: 3px solid var(--text); outline-offset: 8px; border-radius: 12px; }
.op-pack svg { display: block; width: 100%; height: auto; filter: drop-shadow(0 34px 40px rgba(0, 0, 0, .7)) drop-shadow(0 0 40px color-mix(in srgb, var(--op-glow) 40%, transparent)); }
.op-pack > span { display: block; }
.op-pack-torn { position: absolute; inset: 0; opacity: 0; }
.op-strip { position: absolute; left: 0; top: 0; width: 100%; opacity: 0; }
.op-strip svg { filter: none; }
.op-count {
  position: absolute; top: 18%; right: -14px; z-index: 3; padding: 4px 10px; border-radius: 99px;
  background: var(--text); color: var(--bg); font-family: var(--font-display); font-weight: 700; font-size: 15px;
  transform: rotate(8deg); box-shadow: 0 8px 20px rgba(0, 0, 0, .5);
}
.op[data-phase="ready"] .op-pack { animation: opIdle 2.4s ease-in-out infinite; }
@keyframes opIdle { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

.op:not([data-phase="ready"]) .op-pack-full { opacity: 0; }
.op:not([data-phase="ready"]) .op-pack-torn { opacity: 1; }
.op[data-phase="torn"] .op-strip, .op[data-phase="rise"] .op-strip { opacity: 1; animation: opStrip .9s var(--ease-out) forwards; }
@keyframes opStrip {
  0% { transform: none; opacity: 1; }
  100% { transform: translate(70%, -260%) rotate(34deg); opacity: 0; }
}
.op[data-phase="torn"] .op-pack { animation: opRip .45s ease-out; }
@keyframes opRip { 0% { transform: rotate(-3deg) scale(1.02); } 40% { transform: rotate(3deg); } 100% { transform: none; } }
.op[data-phase="reveal"] .op-pack, .op[data-phase="result"] .op-pack { opacity: 0; transform: translateY(70%) scale(.85); pointer-events: none; }
.op[data-phase="reveal"] .op-pack, .op[data-phase="result"] .op-pack { position: absolute; }

/* cartas: empilhadas dentro do pacote, depois distribuídas */
.op-cards { grid-area: 1 / 1; position: relative; z-index: 1; }
.op[data-phase="torn"] .op-cards, .op[data-phase="rise"] .op-cards { width: calc(min(240px, 54vw) * .84); aspect-ratio: 200 / 280; }
.op[data-phase="torn"] .op-card, .op[data-phase="rise"] .op-card { position: absolute; inset: 0; transform: translateY(14%); transition: transform .8s var(--ease-out); }
.op[data-phase="rise"] .op-card { transform: translateY(-44%) rotate(calc(var(--i) * 2deg - 2deg)); }
.op[data-phase="torn"] .op-val, .op[data-phase="rise"] .op-val { display: none; }

.op[data-phase="reveal"] .op-cards, .op[data-phase="result"] .op-cards {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 18px 14px; width: min(1000px, 100%);
}
.op-card {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px;
  width: min(260px, 62vw); padding: 0; border: 0; background: none; color: inherit; perspective: 1000px;
}
.op[data-qty="some"] .op-card { width: min(170px, 28vw); }
.op[data-qty="many"] .op-card { width: min(128px, 17vw); }
.op[data-phase="reveal"] .op-card { animation: opDeal .55s var(--ease-out) both; animation-delay: calc(var(--i) * 70ms); }
@keyframes opDeal { from { opacity: 0; transform: translateY(-40px) scale(.8) rotate(-6deg); } to { opacity: 1; transform: none; } }
.op-flip { position: relative; display: block; width: 100%; aspect-ratio: 200 / 280; transform-style: preserve-3d; transition: transform .75s cubic-bezier(.3, 1.3, .5, 1); }
.op-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.op-face svg { display: block; width: 100%; height: auto; }
.op-front { transform: rotateY(180deg); }
.op-card.is-open .op-flip { transform: rotateY(180deg); }
/* brilho de antecipação: a cor do verso já entrega a raridade */
.op-card:not(.is-open) .op-back { border-radius: 8%; animation: opTease 1.6s ease-in-out infinite; }
@keyframes opTease { 0%, 100% { box-shadow: 0 0 0 0 transparent, 0 18px 30px rgba(0, 0, 0, .6); } 50% { box-shadow: 0 0 34px 4px color-mix(in srgb, var(--c) 70%, transparent), 0 18px 30px rgba(0, 0, 0, .6); } }
.op-card[data-r="3"]:not(.is-open) .op-flip, .op-card[data-r="4"]:not(.is-open) .op-flip { animation: opJitter 1.1s ease-in-out infinite; }
@keyframes opJitter { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-2deg); } 40% { transform: rotate(2deg); } 60% { transform: rotate(-1deg); } }
.op-card:not(.is-open):hover .op-flip { transform: translateY(-6px) rotateY(-12deg); }
.op-card.is-open .op-front svg { filter: drop-shadow(0 0 26px color-mix(in srgb, var(--c) 55%, transparent)) drop-shadow(0 20px 26px rgba(0, 0, 0, .6)); }
.op-val {
  display: flex; flex-direction: column; align-items: center; gap: 2px; opacity: 0; transform: translateY(8px);
  transition: opacity .4s ease .55s, transform .4s var(--ease-out) .55s;
}
.op-card.is-open .op-val { opacity: 1; transform: none; }
.op-val b { font-family: var(--font-display); font-size: 18px; color: var(--accent); font-variant-numeric: tabular-nums; }
.op[data-qty="many"] .op-val b { font-size: 14px; }
.op-val i { font-style: normal; font-size: 11px; font-weight: 700; color: var(--c); }

/* raios atrás das cartas épicas e lendárias */
.op-card[data-r="3"].is-open::before, .op-card[data-r="4"].is-open::before {
  content: ""; position: absolute; left: 50%; top: 42%; z-index: -1; width: 210%; aspect-ratio: 1; translate: -50% -50%;
  background: repeating-conic-gradient(from 0deg, color-mix(in srgb, var(--c) 55%, transparent) 0deg 8deg, transparent 8deg 22deg);
  -webkit-mask-image: radial-gradient(circle, #000 0 20%, transparent 62%); mask-image: radial-gradient(circle, #000 0 20%, transparent 62%);
  animation: opRays 9s linear infinite, opFade .8s ease .3s both;
}
@keyframes opRays { to { rotate: 360deg; } }
@keyframes opFade { from { opacity: 0; } to { opacity: 1; } }

/* partículas */
.op-burst { position: absolute; left: 50%; top: 42%; width: 0; height: 0; pointer-events: none; z-index: 3; }
.op-burst i {
  position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; background: var(--c); border-radius: 2px;
  box-shadow: 0 0 10px var(--c); opacity: 0; animation: opBurst 1.25s cubic-bezier(.15, .8, .3, 1) var(--t) forwards;
}
.op-burst i:nth-child(3n) { background: #FFFFFF; border-radius: 50%; width: 7px; height: 7px; }
@keyframes opBurst {
  0% { opacity: 1; transform: translate(0, 0) scale(var(--s)) rotate(0); }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(calc(var(--s) * .4)) rotate(220deg); }
}
.op-shake .op-stage { animation: opShake .5s ease-in-out; }
@keyframes opShake { 0%, 100% { transform: none; } 20% { transform: translate(-8px, 4px); } 40% { transform: translate(7px, -5px); } 60% { transform: translate(-5px, -3px); } 80% { transform: translate(4px, 3px); } }

/* rodapé da abertura */
.op-foot { display: flex; flex-direction: column; align-items: center; padding: 8px var(--gutter) max(24px, env(safe-area-inset-bottom, 0px)); text-align: center; }
.op-ready, .op-reveal-hint, .op-result { display: none; }
.op[data-phase="ready"] .op-ready { display: flex; }
.op[data-phase="reveal"] .op-reveal-hint { display: flex; }
.op[data-phase="result"] .op-result { display: flex; }
.op-ready, .op-reveal-hint { flex-direction: column; align-items: center; gap: 12px; color: var(--muted); font-size: 15px; }
.op-bar { width: min(260px, 70vw); height: 5px; border-radius: 5px; background: var(--line-2); overflow: hidden; }
.op-bar span { display: block; height: 100%; width: calc(var(--p, 0) * 100%); background: var(--op-accent); border-radius: inherit; }
.op[data-qty="one"] [data-op-all] { display: none; }

.op-result { flex-direction: column; align-items: center; gap: 16px; width: min(560px, 100%); animation: opDeal .5s var(--ease-out) both; }
.op-res-head { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.op-res-head h2 { font-family: var(--font-display); font-size: clamp(28px, 4vw, 40px); line-height: 1.05; letter-spacing: -.03em; }
.op-res-head p { color: var(--dim); font-size: 14px; }
.op-res-val { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.op-res-val small { font-size: 12px; color: var(--dim); }
.op-res-val b { font-family: var(--font-display); font-size: 36px; line-height: 1; font-variant-numeric: tabular-nums; }
.op-res-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.op-res-link { flex-basis: 100%; font-size: 14px; color: var(--muted); }

@media (max-width: 640px) {
  .op-fast span { font-size: 12px; }
  .op-top-info strong { font-size: 17px; }
  .op-stage { min-height: 300px; }
  .op[data-qty="many"] .op-card { width: calc((100vw - 2 * var(--gutter) - 4 * 8px) / 5); }
  .op[data-qty="many"] .op-cards { gap: 12px 8px; }
  .op[data-qty="many"] .op-val b { font-size: 11px; }
  .op[data-qty="many"] .op-val i { display: none; }
  .op-res-actions .btn { flex: 1 1 100%; }
}
.reduce-motion .op * { animation: none !important; transition-duration: .01s !important; }

.op[data-phase="result"][data-qty="one"] .op-val { display: none; }
.op[data-phase="result"] .op-stage { padding-bottom: 28px; }
.op-result { margin-top: 8px; }
.op[open] { display: flex; flex-direction: column; }
.op-top, .op-foot { flex: none; }
.op-stage { flex: 1 0 auto; }

/* =========================================================
   CARTA COM IMAGEM OFICIAL
   ========================================================= */
.cface {
  position: relative; display: block; width: 100%; aspect-ratio: 245 / 342;
  border-radius: 4.6% / 3.3%; overflow: hidden; isolation: isolate;
  background: linear-gradient(160deg, #1B1C24, #0E0F14);
  box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--c) 70%, transparent), 0 16px 26px -8px rgba(0, 0, 0, .7);
  transition: box-shadow .3s, transform .3s var(--ease-out);
}
.cface[data-r="3"], .cface[data-r="4"] { box-shadow: 0 0 0 1.5px var(--c), 0 0 22px -2px color-mix(in srgb, var(--c) 55%, transparent), 0 16px 26px -8px rgba(0, 0, 0, .7); }
.cface img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cface img[src^="data:image/gif"] { opacity: 0; }
.cface::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .06) 50%, transparent 70%) 0 0 / 250% 100%;
  animation: cfaceLoad 1.4s linear infinite;
}
@keyframes cfaceLoad { from { background-position: 120% 0; } to { background-position: -120% 0; } }
.cface-grade {
  position: absolute; left: 6%; top: 4.5%; z-index: 2;
  padding: 2px 7px; border-radius: 6px; background: rgba(7, 7, 10, .82); color: #FFFFFF;
  font: 700 clamp(8px, 1.1vw, 11px)/1.3 var(--font-body); letter-spacing: .02em;
  border: 1px solid color-mix(in srgb, var(--c) 70%, transparent);
}
.cface-shine {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; mix-blend-mode: color-dodge; opacity: 0;
  background:
    linear-gradient(115deg, transparent 25%, rgba(255, 255, 255, .5) 45%, rgba(125, 227, 255, .35) 52%, rgba(255, 184, 232, .3) 58%, transparent 75%) 0 0 / 260% 100%;
  transition: opacity .3s;
}
.cface[data-r="3"] .cface-shine, .cface[data-r="4"] .cface-shine { opacity: .35; animation: cfaceShine 4.5s ease-in-out infinite; }
a:hover .cface-shine, button:hover .cface-shine, .mk-d-tilt .cface-shine, .op-card.is-open .cface-shine { opacity: .6; animation: cfaceShine 2.6s ease-in-out infinite; }
@keyframes cfaceShine { 0%, 100% { background-position: 110% 0; } 50% { background-position: -10% 0; } }

/* ajustes por lugar */
.hs-item .art .cface, .hw-item .art .cface { box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--c) 70%, transparent), 0 30px 34px rgba(0, 0, 0, .65); }
.live-item .cface-grade, .hit .cface-grade { font-size: 9px; }
.op-face .cface { height: 100%; }
.op-card.is-open .op-front .cface { box-shadow: 0 0 0 2px var(--c), 0 0 36px color-mix(in srgb, var(--c) 60%, transparent), 0 20px 26px rgba(0, 0, 0, .6); }
.mk-d-tilt .cface { box-shadow: 0 0 0 2px var(--c), 0 0 40px -4px color-mix(in srgb, var(--c) 50%, transparent), 0 30px 40px rgba(0, 0, 0, .7); }
.mk-d-tilt .cface-grade { font-size: 12px; }
.mk-d-note { font-size: 12.5px; color: var(--dim); margin-top: -8px; }
.slab3d .face .cface { border-radius: 4.6% / 3.3%; }
@media (max-width: 640px) { .cface-grade { font-size: 8px; padding: 1px 5px; } }
.reduce-motion .cface-shine, .reduce-motion .cface::before { animation: none !important; }
.cface { aspect-ratio: 245 / 337; }

/* =========================================================
   PÁGINA DE CHANCES
   ========================================================= */
[data-chances] { --pk-accent: var(--accent); }
.ch-hero { position: relative; isolation: isolate; }
.ch-hero::before {
  content: ""; position: absolute; inset: calc(var(--header-h) * -1) 0 0; z-index: -1; pointer-events: none;
  background: radial-gradient(45% 80% at 80% 0%, rgba(176, 124, 255, .12), transparent 70%), radial-gradient(40% 70% at 5% 20%, rgba(245, 196, 81, .1), transparent 70%);
}
.ch-hero-inner { max-width: var(--wrap); margin: 0 auto; padding: 32px var(--gutter) 24px; display: flex; flex-direction: column; gap: 12px; }
.ch-hero h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(48px, 7vw, 96px); line-height: .92; letter-spacing: -.045em; }
.ch-hero h1 em { font-style: normal; color: var(--accent); }
.ch-hero-inner > p { color: var(--muted); max-width: 520px; }
.ch-facts { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ch-facts li { display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.ch-facts b { font-family: var(--font-display); font-size: 20px; color: var(--accent); }
.ch-facts span { font-size: 13.5px; color: var(--muted); line-height: 1.45; }

.ch-block { padding: 40px 0 8px; }
.ch-last { padding-bottom: 96px; }
.ch-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); display: flex; flex-direction: column; gap: 20px; }
.ch-head { display: flex; flex-direction: column; gap: 14px; }
.ch-head h2, .ch-h2, .ch-calc h2, .ch-sim h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 3vw, 36px); line-height: 1.1; letter-spacing: -.025em; }
.ch-packs { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px; }

.ch-pack { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 20px; align-items: start; }
.ch-pack-side { display: flex; flex-direction: column; gap: 14px; padding: 18px; border-radius: 20px; background: var(--panel); border: 1px solid var(--line); }
.ch-pack-art { width: 120px; align-self: center; transform: rotate(-6deg); }
.ch-pack-art svg { width: 100%; height: auto; filter: drop-shadow(0 18px 22px rgba(0, 0, 0, .6)); }
.ch-sum { margin: 0; display: grid; gap: 8px; }
.ch-sum div { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.ch-sum dt { color: var(--dim); }
.ch-sum dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.ch-pack-side .btn { width: 100%; height: 48px; font-size: 15px; padding: 0 12px; }

.ch-table-wrap { overflow-x: auto; border-radius: 20px; border: 1px solid var(--line); background: var(--panel); }
.ch-table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.ch-table th, .ch-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; white-space: nowrap; }
.ch-table thead th { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); background: var(--bg-2); }
.ch-table tbody tr:last-child th, .ch-table tbody tr:last-child td { border-bottom: 0; }
.ch-table tbody th { font-weight: 700; color: var(--c, var(--text)); }
.ch-dot { display: inline-block; width: 10px; height: 10px; margin-right: 8px; background: var(--c); border-radius: 2px; transform: rotate(45deg); box-shadow: 0 0 10px var(--c); }
.ch-table td b { display: block; font-family: var(--font-display); font-size: 18px; }
.ch-table td small { display: block; font-size: 12px; color: var(--dim); }
.ch-ex { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.ch-ex:hover { color: inherit; }
.ch-ex-art { width: 34px; flex: none; }
.ch-ex span:last-child { display: flex; flex-direction: column; font-size: 13px; max-width: 160px; overflow: hidden; text-overflow: ellipsis; }
.ch-ex small { color: var(--accent); }

.ch-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.ch-calc, .ch-sim { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: 20px; background: var(--panel); border: 1px solid var(--line); min-width: 0; }
.ch-range { display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--muted); }
.ch-range b { font-family: var(--font-display); font-size: 28px; color: var(--text); }
.ch-range input { width: 100%; accent-color: var(--accent); height: 28px; }
.ch-bars, .ch-sim-bars { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ch-bars li, .ch-sim-bars li { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "label val" "bar bar"; gap: 4px 10px; font-size: 13.5px; }
.ch-sim-bars li { grid-template-columns: 64px minmax(0, 1fr) 56px; grid-template-areas: "label bar val"; align-items: center; }
.ch-bar-label, .ch-sim-bars li > span:first-child { grid-area: label; color: var(--muted); }
.ch-bars b, .ch-sim-bars b { grid-area: val; font-family: var(--font-display); text-align: right; font-variant-numeric: tabular-nums; }
.ch-bar { grid-area: bar; height: 8px; border-radius: 8px; background: var(--line); overflow: hidden; }
.ch-bar span { display: block; height: 100%; width: var(--w); background: var(--c); border-radius: inherit; box-shadow: 0 0 12px color-mix(in srgb, var(--c) 60%, transparent); transition: width .6s var(--ease-out); }
.ch-note { font-size: 13px; color: var(--dim); }
.ch-sim-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.ch-sim-out { display: flex; flex-direction: column; gap: 14px; }
.ch-sim-empty { font-size: 14px; color: var(--dim); padding: 24px; border: 1px dashed var(--line-3); border-radius: 14px; text-align: center; }
.ch-sim-top { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ch-sim-top div { padding: 12px 14px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.ch-sim-top small { font-size: 12px; color: var(--dim); }
.ch-sim-top b { font-family: var(--font-display); font-size: 22px; font-variant-numeric: tabular-nums; }
.ch-sim-pct { font-size: 12px; color: var(--accent); font-weight: 700; }
.ch-best { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); color: inherit; text-decoration: none; }
.ch-best:hover { color: inherit; border-color: var(--line-3); }
.ch-best-art { width: 64px; flex: none; }
.ch-best > span:last-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ch-best small { font-size: 12px; color: var(--dim); }
.ch-best b { font-size: 16px; }
.ch-best > span:last-child > span { font-size: 13px; color: var(--muted); }

.ch-cmp td, .ch-cmp th { text-align: center; }
.ch-cmp th:first-child, .ch-cmp td:first-child { text-align: left; }
.ch-cmp thead i { display: inline-block; width: 8px; height: 8px; margin-right: 6px; background: var(--c); transform: rotate(45deg); border-radius: 1px; }
.ch-cell { display: inline-block; min-width: 64px; padding: 3px 8px; border-radius: 8px; background: color-mix(in srgb, var(--c) 14%, transparent); color: var(--text); font-weight: 700; }
.ch-cmp-pack { display: inline-flex; align-items: center; gap: 10px; padding: 0; border: 0; background: none; color: var(--text); font-weight: 700; font-size: 14px; }
.ch-cmp-pack .pk-chip-art { width: 26px; }

.ch-search { max-width: 560px; }
.ch-found { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.ch-found > li { display: flex; flex-direction: column; gap: 12px; padding: 14px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.ch-find-card { display: flex; gap: 14px; align-items: center; color: inherit; text-decoration: none; }
.ch-find-card:hover { color: inherit; }
.ch-find-art { width: 72px; flex: none; }
.ch-find-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ch-find-info b { font-size: 16px; }
.ch-find-info span { font-size: 13px; color: var(--dim); }
.ch-find-info em { font-style: normal; font-size: 13px; color: var(--accent); font-weight: 700; }
.ch-find-odds { display: flex; flex-wrap: wrap; gap: 6px; }
.ch-find-odds span { display: inline-flex; gap: 6px; padding: 4px 9px; border-radius: 99px; background: var(--bg-2); border: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.ch-find-odds b { color: var(--text); }
.ch-none, .ch-only { color: var(--dim); font-size: 14px; }

.ch-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ch-steps li { display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.ch-steps b { font-family: var(--font-display); font-size: 17px; }
.ch-steps span { font-size: 14px; color: var(--muted); }
.ch-responsible { font-size: 13.5px; color: var(--dim); padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); max-width: 760px; }
.ch-responsible b { color: var(--bronze); }

@media (max-width: 1100px) {
  .ch-packs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .ch-pack { grid-template-columns: 1fr; }
  .ch-pack-side { display: grid; grid-template-columns: 100px minmax(0, 1fr); align-items: center; }
  .ch-pack-art { width: 90px; }
  .ch-pack-side .btn { grid-column: 1 / -1; }
  .ch-two { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .ch-facts, .ch-steps { grid-template-columns: 1fr; }
  .ch-packs { gap: 8px; }
  .ch-calc, .ch-sim { padding: 18px 16px; }
  .ch-found { grid-template-columns: 1fr; }
  .ch-table th, .ch-table td { padding: 10px; font-size: 13px; }
}
