/* Lotérica Sorte Dourada (Contagem/MG, 12500) — 15/10/2026. Conceito: a mina de ouro de Minas.
   Rocha escura + ouro (folha, lingote, pepita) + verde-esmeralda do trevo do logo + mapa de papel.
   Logo = medalhão do dono (ferradura, trevo esmeralda, moedas, diamantes): assets/logo-*.webp. */
:root {
  --ink: #120d06;
  --rock: #1b140b;
  --rock-2: #261c10;
  --rock-3: #33261a;
  --line: rgba(232, 196, 120, .16);
  --line-2: rgba(232, 196, 120, .3);
  --gold: #d9a93b;
  --gold-hi: #ffe39a;
  --gold-lo: #8c6316;
  --gold-deep: #5b3c05;
  --cream: #f3e7cc;
  --text: #efe4cc;
  --muted: #b3a283;
  --rust: #b4532a;
  --emerald: #0f7a3e;
  --emerald-hi: #33c86f;
  --emerald-deep: #063a1d;
  --rust-hi: #e07a45;
  --green: #4fc27c;
  --paper: #efe0bd;
  --paper-ink: #3a2a14;
  --foil: linear-gradient(100deg, #8a5d0c 0%, #e8b955 18%, #fff2c2 32%, #d6a23c 48%, #8f6210 62%, #f3d07a 80%, #a8750f 100%);
  --bar: linear-gradient(160deg, #fff1c0 0%, #f2cb68 18%, #d9a43c 42%, #f4d684 62%, #c08a24 82%, #e6bb55 100%);
  --radius: 18px;
  --display: "Cinzel", "Trajan Pro", Georgia, serif;
  --sans: "Sora", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --top-h: 68px;
  --rock-tex: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .42 0 0 0 0 .25 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
body {
  margin: 0; background: var(--ink); color: var(--text); font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
body.locked { overflow: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; }
p { margin: 0; }
[hidden] { display: none !important; }
.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; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; border-radius: 6px; }
[data-lucide] { width: 1.1em; height: 1.1em; stroke-width: 2; flex: none; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 46px; padding: .7em 1.25em;
  border-radius: 999px; border: 1px solid transparent; font-weight: 700; font-size: .95rem; text-decoration: none; cursor: pointer;
  transition: transform .18s, box-shadow .25s, background .25s, border-color .25s; white-space: nowrap; position: relative;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-gold {
  color: #2a1a02; background: var(--bar); background-size: 200% 100%; border-color: #f7da8a;
  box-shadow: 0 1px 0 #fff6d4 inset, 0 -2px 0 rgba(90, 58, 5, .35) inset, 0 8px 24px rgba(217, 169, 59, .28);
  text-shadow: 0 1px 0 rgba(255, 245, 210, .6);
}
.btn-gold:hover { background-position: 100% 0; box-shadow: 0 1px 0 #fff6d4 inset, 0 -2px 0 rgba(90, 58, 5, .35) inset, 0 10px 34px rgba(255, 210, 110, .42); }
.btn-ghost { color: var(--gold-hi); border-color: var(--line-2); background: rgba(255, 220, 140, .04); }
.btn-ghost:hover { border-color: var(--gold); background: rgba(255, 220, 140, .1); }
.btn-lg { min-height: 54px; padding: .85em 1.6em; font-size: 1.02rem; }
.btn-sm { min-height: 40px; padding: .5em 1em; font-size: .86rem; }
.btn-block { width: 100%; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(0,0,0,.25); cursor: pointer; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5em; font: 700 .76rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold);
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: .45em; min-height: 40px; padding: .45em .95em; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line-2); background: rgba(255, 225, 160, .035); color: var(--text); font-size: .86rem; font-weight: 600; transition: .2s;
}
.chip:hover { border-color: var(--gold); }
.chip[aria-checked="true"], .chip[aria-selected="true"] { color: #2a1a02; background: var(--bar); border-color: #f7da8a; box-shadow: 0 4px 16px rgba(217,169,59,.25); }
.chip small { opacity: .7; font-weight: 700; }
.chip .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px rgba(0,0,0,.25); }

/* ---------- ENTRADA DA MINA ---------- */
.mina { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; overflow: hidden; background: #070502; --lx: 50%; --ly: 42%; --lr: 210px; }
.mina-rock {
  position: absolute; inset: 0;
  background: var(--rock-tex), radial-gradient(120% 90% at 50% 40%, #3a2a17 0%, #1c140a 55%, #0b0703 100%);
  background-size: 240px, cover;
}
.mina-rock::before { /* veios de ouro na pedra */
  content: ""; position: absolute; inset: 0; opacity: .9;
  background:
    linear-gradient(118deg, transparent 47.6%, rgba(255, 214, 120, .55) 48%, rgba(255, 240, 190, .8) 48.2%, transparent 48.7%),
    linear-gradient(64deg, transparent 61.5%, rgba(255, 214, 120, .45) 61.8%, transparent 62.3%),
    linear-gradient(152deg, transparent 30%, rgba(255, 214, 120, .35) 30.25%, transparent 30.6%),
    linear-gradient(20deg, transparent 78%, rgba(255, 214, 120, .4) 78.2%, transparent 78.6%);
  filter: drop-shadow(0 0 6px rgba(255, 200, 90, .5));
}
.mina-dust { position: absolute; inset: 0; width: 100%; height: 100%; }
.mina-dark { /* a escuridão com o furo da lanterna (fora da luz ainda se vê um pouco da rocha) */
  position: absolute; inset: -2px; background: #050301;
  -webkit-mask: radial-gradient(circle var(--lr) at var(--lx) var(--ly), transparent 0, rgba(0,0,0,.08) 38%, rgba(0,0,0,.62) 72%, rgba(0,0,0,.94) 100%);
          mask: radial-gradient(circle var(--lr) at var(--lx) var(--ly), transparent 0, rgba(0,0,0,.08) 38%, rgba(0,0,0,.62) 72%, rgba(0,0,0,.94) 100%);
}
.mina-plate {
  position: relative; width: min(540px, calc(100vw - 32px)); margin-top: 100px; padding: 30px 28px 24px; text-align: center; border-radius: 22px;
  background: linear-gradient(180deg, rgba(40, 28, 12, .86), rgba(18, 12, 5, .92)); border: 1px solid rgba(240, 200, 120, .35);
  box-shadow: 0 0 0 6px rgba(20, 13, 4, .7), 0 0 0 7px rgba(240, 200, 120, .22), 0 30px 80px rgba(0,0,0,.7);
  backdrop-filter: blur(3px); transition: transform .9s cubic-bezier(.2,.8,.2,1), opacity .7s;
}
.mina-logo { width: 190px; height: auto; margin: -118px auto 8px; filter: drop-shadow(0 10px 30px rgba(255, 200, 90, .4)) drop-shadow(0 0 40px rgba(51, 200, 111, .18)); animation: medal 5s ease-in-out infinite; }
@keyframes medal { 50% { transform: translateY(-5px) rotate(-1.5deg); } }
.mina-eyebrow { font: 700 .72rem var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.mina h1 { font: 800 clamp(1.35rem, 4.2vw, 1.85rem)/1.18 var(--display); margin: 10px 0 10px; color: var(--cream); letter-spacing: .01em; }
.mina-sub { color: var(--muted); font-size: .98rem; max-width: 40ch; margin: 0 auto 20px; }
.mina-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.mina-denied { margin-top: 16px; color: #ffb48f; font-weight: 600; }
.mina-tip { margin-top: 16px; display: inline-flex; gap: .4em; align-items: center; color: rgba(240, 220, 170, .5); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.mina.lit .mina-dark { transition: --lr 1s; }
.mina.opening .mina-dark { animation: lantern 1.25s cubic-bezier(.6,0,.3,1) forwards; }
.mina.opening .mina-plate { transform: scale(.94) translateY(-10px); opacity: 0; }
.mina.opening { animation: mina-out .6s ease .95s forwards; }
.mina.quick.opening .mina-dark { animation-duration: .7s; }
.mina.quick.opening { animation-delay: .45s; }
.mina.gone { display: none; }
@property --lr { syntax: "<length>"; inherits: true; initial-value: 210px; }
@keyframes lantern { to { --lr: 160vmax; } }
@keyframes mina-out { to { opacity: 0; visibility: hidden; } }
html.age-ok .mina-plate { opacity: 0; }

/* ---------- cabeçalho ---------- */
.top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--top-h); display: flex; align-items: center; gap: 18px;
  padding: 0 max(18px, env(safe-area-inset-left)); transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.top.scrolled { background: rgba(14, 10, 4, .86); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(0,0,0,.4); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand-mark { width: 48px; height: 48px; filter: drop-shadow(0 2px 8px rgba(255, 200, 90, .3)); transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.brand:hover .brand-mark { transform: rotate(360deg); }
.brand-txt b { display: block; font: 800 1.08rem/1 var(--display); color: var(--gold-hi); letter-spacing: .04em; }
.brand-txt small { display: block; margin-top: 3px; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.top-nav { display: flex; gap: 4px; }
.top-nav a { padding: .5em .8em; border-radius: 999px; text-decoration: none; font-size: .88rem; font-weight: 600; color: var(--muted); transition: .2s; }
.top-nav a:hover { color: var(--gold-hi); }
.top-nav a.on { color: var(--gold-hi); background: rgba(255, 220, 140, .08); }
.status-pill { display: inline-flex; align-items: center; gap: .5em; font-size: .78rem; font-weight: 700; color: var(--muted); padding: .4em .8em; border-radius: 999px; border: 1px solid var(--line); }
.status-pill i { width: 8px; height: 8px; border-radius: 50%; background: #a0603a; }
.status-pill.open { color: #bff0cf; border-color: rgba(79, 194, 124, .35); }
.status-pill.open i { background: var(--green); box-shadow: 0 0 0 0 rgba(79,194,124,.6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(79,194,124,0); } 100% { box-shadow: 0 0 0 0 rgba(79,194,124,0); } }

/* ---------- O VEIO (topo) ---------- */
.veio {
  position: relative; min-height: 100svh; display: grid; align-items: center; padding: calc(var(--top-h) + 30px) 0 70px; overflow: hidden;
  background: linear-gradient(90deg, rgba(8, 5, 2, .78) 0%, rgba(8, 5, 2, .45) 45%, rgba(8, 5, 2, 0) 75%),
    var(--rock-tex), radial-gradient(90% 70% at 70% 45%, #2e2111 0%, #17110a 50%, #0a0703 100%); background-size: auto, 240px, cover;
  background-blend-mode: normal, soft-light, normal;
  isolation: isolate;
}
.veio::before { content: ""; position: absolute; left: -10%; top: 5%; width: 60%; height: 80%; z-index: -1; background: radial-gradient(closest-side, rgba(15, 122, 62, .22), transparent); }
.veio::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(transparent, var(--ink)); z-index: -1; }
.veio-fx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.veio-in { width: min(1200px, 100% - 40px); margin: 0 auto; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.veio-logo {
  position: relative; width: clamp(230px, 27vw, 360px); aspect-ratio: 1; margin: 6px 0 14px -10px; transform: rotateX(var(--ly, 0deg)) rotateY(var(--lx, 0deg));
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.veio-logo::before { /* auréola verde e ouro atrás do medalhão */
  content: ""; position: absolute; inset: 6%; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, rgba(51, 200, 111, .28), rgba(217, 169, 59, .22) 45%, transparent 70%); filter: blur(24px); animation: halo 4.5s ease-in-out infinite;
}
@keyframes halo { 50% { opacity: .55; transform: scale(1.08); } }
.veio-logo img { width: 100%; height: 100%; filter: drop-shadow(0 18px 30px rgba(0,0,0,.6)); animation: medal 6s ease-in-out infinite; }
.veio-logo::after { /* reflexo que passa, recortado no formato do logo */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 240, .55) 48%, transparent 60%) no-repeat; background-size: 250% 100%;
  -webkit-mask: url("assets/logo-420.webp?v=10210943") center / contain no-repeat; mask: url("assets/logo-420.webp?v=10210943") center / contain no-repeat;
  mix-blend-mode: overlay; animation: medal 6s ease-in-out infinite, reflexo 5.5s ease-in-out infinite;
}
@keyframes reflexo { 0% { background-position: 130% 0; } 55%, 100% { background-position: -30% 0; } }
.veio-title { display: flex; flex-direction: column; font: 900 clamp(3.2rem, 9vw, 6.6rem)/.92 var(--display); letter-spacing: .02em; margin: 18px 0 10px; }
.foil {
  background: var(--foil); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 0 rgba(60, 38, 2, .9)) drop-shadow(0 10px 30px rgba(255, 190, 70, .22));
  animation: foil 7s ease-in-out infinite;
}
.foil + .foil { animation-delay: -1.2s; }
@keyframes foil { 0%, 100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }
/* slogan em folha de ouro entre dois ornamentos (losango + filete) — "ultra premium, mais visível" (dono 15/10) */
.veio-slogan { display: flex; align-items: center; gap: 14px; max-width: 560px; }
.veio-slogan .slg {
  flex: none; font: 800 clamp(1.3rem, 2.7vw, 1.85rem)/1.15 var(--display); letter-spacing: .05em;
  background: var(--foil); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 0 rgba(30, 18, 0, .95)) drop-shadow(0 0 18px rgba(255, 200, 90, .25)); animation: foil 7s ease-in-out infinite;
}
.veio-slogan .orn { flex: 1; min-width: 18px; height: 1px; position: relative; background: linear-gradient(90deg, transparent, var(--gold)); }
.veio-slogan .orn:last-child { background: linear-gradient(270deg, transparent, var(--gold)); }
.veio-slogan .orn::after { content: ""; position: absolute; top: -4px; width: 8px; height: 8px; transform: rotate(45deg); background: var(--gold-hi); box-shadow: 0 0 10px rgba(255, 210, 110, .8); }
.veio-slogan .orn:first-child::after { right: -2px; }
.veio-slogan .orn:last-child::after { left: -2px; }
.veio-slogan .orn:first-child { display: none; }
.veio-lead { margin-top: 16px; max-width: 48ch; color: #eadfc6; font-size: clamp(1.04rem, 1.4vw, 1.16rem); line-height: 1.65; text-shadow: 0 1px 2px rgba(0,0,0,.9), 0 0 18px rgba(0,0,0,.7); }
.veio-lead b { color: var(--gold-hi); font-weight: 700; }
.veio-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
/* painel dos números: vidro escuro com moldura em degradê de ouro, ícone em medalha, valor em folha de ouro */
.veio-facts {
  list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 600px; position: relative;
  border-radius: 18px; background: linear-gradient(180deg, rgba(34, 25, 12, .92), rgba(12, 8, 3, .94)) padding-box,
    linear-gradient(135deg, #fff0b8, #b9851e 30%, #6b4a0c 50%, #e6bb58 72%, #fff0b8) border-box;
  border: 1.5px solid transparent; box-shadow: 0 18px 40px rgba(0,0,0,.6), inset 0 1px 0 rgba(255, 236, 180, .18), 0 0 30px rgba(217, 169, 59, .12);
  backdrop-filter: blur(6px);
}
.veio-facts::before { content: ""; position: absolute; left: 12%; right: 12%; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, #fff6d0, transparent); }
.veio-facts li { display: flex; align-items: center; gap: 12px; padding: 16px 16px; min-width: 0; }
.veio-facts li + li { border-left: 1px solid rgba(232, 196, 120, .22); }
.vf-ic {
  flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #3a2402;
  background: radial-gradient(circle at 35% 30%, #fff3c8, #e6b64e 45%, #9a6a12 100%); box-shadow: 0 0 0 2px rgba(20, 14, 5, .9), 0 0 0 3px rgba(232, 190, 90, .6), 0 4px 12px rgba(0,0,0,.5);
}
.vf-ic [data-lucide] { width: 20px; height: 20px; }
.veio-facts li > span:last-child { min-width: 0; }
.veio-facts b {
  display: block; font: 900 1.45rem/1.05 var(--display); white-space: nowrap;
  background: var(--foil); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: foil 7s ease-in-out infinite;
}
.veio-facts b.open { background: linear-gradient(100deg, #1f9a55, #8ff0b4 35%, #e9fff1 50%, #5fd18f 70%, #1f9a55); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; }
.veio-facts small { display: block; margin-top: 5px; font: 600 .74rem/1.3 var(--sans); color: #d9cba9; letter-spacing: .02em; }

/* LINGOTE DO DIA = peça de museu (15/10 v2). Classes próprias (museu-*, ingot-hero): a regra antiga ".ingot" do topo
   vazava para os lingotes do cofre e virava uma caixa marrom. */
.museu { position: relative; display: block; text-decoration: none; padding: 46px 0 6px; isolation: isolate; }
.museu::before { /* auréola esmeralda + ouro atrás da peça */
  content: ""; position: absolute; left: 6%; right: 6%; top: 14%; height: 62%; z-index: -2; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 210, 110, .22), rgba(15, 122, 62, .16) 55%, transparent); filter: blur(10px);
}
.ingot-tag {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%); z-index: 5; display: inline-flex; align-items: center; gap: .5em;
  padding: .55em 1.15em; border-radius: 999px; font: 800 .76rem var(--sans); letter-spacing: .16em; text-transform: uppercase; white-space: nowrap;
  color: #f2ffe9; background: linear-gradient(90deg, var(--emerald-deep), var(--emerald), var(--emerald-deep)) padding-box, linear-gradient(90deg, #8a5d0c, #fff0b8, #8a5d0c) border-box;
  border: 1.5px solid transparent; box-shadow: 0 8px 24px rgba(15, 122, 62, .45), 0 0 0 4px rgba(10, 7, 3, .6);
}
.ingot-tag [data-lucide] { color: #ffd27a; }
.museu-spot { /* cone do holofote */
  position: absolute; left: 50%; top: -60px; width: 92%; height: calc(100% + 30px); transform: translateX(-50%); z-index: -1; pointer-events: none;
  clip-path: polygon(41% 0, 59% 0, 100% 100%, 0 100%);
  background: linear-gradient(180deg, rgba(255, 238, 180, .3), rgba(255, 226, 150, .1) 55%, rgba(255, 226, 150, 0) 88%);
  filter: blur(5px); animation: spot 6s ease-in-out infinite;
}
@keyframes spot { 50% { opacity: .78; } }
.museu-motes { position: absolute; inset: 0; z-index: 4; pointer-events: none; overflow: hidden; }
.museu-motes i { position: absolute; left: var(--x); bottom: 18%; width: 3px; height: 3px; border-radius: 50%; background: #ffe6a0; box-shadow: 0 0 6px #ffd27a; opacity: 0; animation: mote var(--t) linear infinite; animation-delay: var(--d); }
@keyframes mote { 0% { opacity: 0; transform: translate(0, 0); } 15% { opacity: .9; } 100% { opacity: 0; transform: translate(14px, -260px); } }
.museu-stage { position: relative; perspective: 1000px; padding: 0 5% 70px; }
.ingot.ingot-hero {
  --bv: 24px; height: 296px; transform: rotateX(calc(20deg + var(--rx, 0deg))) rotateY(var(--ry, 0deg)); transform-origin: 50% 100%;
  box-shadow: 0 30px 40px -18px rgba(0,0,0,.95), 0 4px 0 #3d2803, 0 0 60px rgba(255, 200, 90, .18);
  -webkit-box-reflect: below 3px linear-gradient(transparent 80%, rgba(255, 255, 255, .24));
  animation: hero-breathe 6s ease-in-out infinite;
}
@keyframes hero-breathe { 50% { box-shadow: 0 34px 46px -18px rgba(0,0,0,.95), 0 4px 0 #3d2803, 0 0 80px rgba(255, 210, 110, .3); } }
.ingot-hero .ing-face { padding: 16px 22px 12px; align-items: center; justify-content: space-between; text-align: center; gap: 4px; }
.ingot-hero .ing-face::after { animation: sweep 5.5s ease-in-out infinite; }
@keyframes sweep { 0% { left: -70%; } 45%, 100% { left: 130%; } }
.hl-kicker { font: 700 .7rem var(--sans); letter-spacing: .24em; text-transform: uppercase; color: #6a4708; text-shadow: 0 1px 0 rgba(255, 246, 210, .8); }
.ingot-hero .bar-plate { height: clamp(44px, 5vw, 58px); }
.hl-value { font: 900 clamp(2.5rem, 5.2vw, 3.9rem)/1 var(--display); letter-spacing: .01em; }
.hl-when { font: 700 clamp(.66rem, 1.2vw, .78rem) var(--sans); letter-spacing: .08em; text-transform: uppercase; color: #5d3e06; text-shadow: 0 1px 0 rgba(255,246,214,.75); white-space: nowrap; }
.ingot-hero .ing-stamp { width: 100%; }
.museu-pedestal { /* pedestal de pedra preta polida com friso de ouro */
  position: absolute; left: 0; right: 0; bottom: 0; height: 92px; z-index: -1;
  clip-path: polygon(7% 0, 93% 0, 100% 100%, 0 100%);
  background: linear-gradient(180deg, rgba(255, 236, 180, .16) 0, transparent 3px), radial-gradient(60% 70% at 50% 0%, rgba(255, 220, 140, .12), transparent 70%),
    linear-gradient(180deg, #221a0f 0%, #0d0a05 45%, #040302 100%);
  display: flex; align-items: flex-end; justify-content: center; padding-bottom: 14px;
}
.museu-pedestal::before { content: ""; position: absolute; left: 7%; right: 7%; top: 0; height: 1.5px; background: linear-gradient(90deg, transparent, #f3d27c, #fff3c6, #f3d27c, transparent); }
.museu-pedestal span {
  font: 700 .62rem var(--mono); letter-spacing: .22em; text-transform: uppercase; color: #2a1a02; padding: 5px 14px; border-radius: 3px;
  background: linear-gradient(180deg, #f6d98a, #c08a24); box-shadow: inset 0 1px 0 rgba(255, 250, 225, .8), 0 2px 6px rgba(0,0,0,.6);
}
.ingot-go { display: flex; justify-content: center; align-items: center; gap: .4em; margin-top: 14px; color: var(--gold-hi); font-weight: 700; font-size: .95rem; }
.museu:hover .ingot-go { text-decoration: underline; }

/* ---------- COTAÇÃO DA SORTE ---------- */
.cotacao { display: flex; align-items: stretch; border-block: 1px solid var(--line-2); background: linear-gradient(180deg, #0b0803, #140e06); position: relative; }
.cot-label {
  flex: none; display: flex; align-items: center; gap: 10px; padding: 0 20px; font: 800 .8rem/1.1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: #2a1a02;
  background: var(--bar); box-shadow: 8px 0 18px rgba(0,0,0,.5); z-index: 2;
}
.cot-label [data-lucide] { width: 22px; height: 22px; }
.cot-track { overflow: hidden; flex: 1; -webkit-mask: linear-gradient(90deg, transparent, #000 3%, #000 95%, transparent); mask: linear-gradient(90deg, transparent, #000 3%, #000 95%, transparent); }
.cot-run { display: flex; width: max-content; animation: ticker var(--dur, 60s) linear infinite; }
.cotacao:hover .cot-run { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }
.cot-item {
  display: inline-flex; align-items: center; gap: 12px; padding: 14px 26px; border-right: 1px solid var(--line); white-space: nowrap; font: 600 .88rem var(--mono);
  color: var(--text); background: none; border-top: 0; border-bottom: 0; border-left: 0; cursor: pointer; text-decoration: none;
}
.cot-item.wait { cursor: default; color: var(--muted); }
.cot-item .tk { display: inline-flex; align-items: center; gap: 8px; font: 800 .9rem var(--sans); letter-spacing: .04em; text-transform: uppercase; color: var(--cream); }
.cot-item .tk::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--c, var(--gold)); box-shadow: 0 0 0 2px rgba(255,255,255,.12), 0 0 10px var(--c, var(--gold)); }
.cot-item .px { color: var(--gold-hi); font-weight: 700; }
.cot-item .up { color: #6fe39b; } .cot-item .eq { color: var(--muted); }
.cot-item .meta { color: var(--muted); font-size: .78rem; }
.cot-item .own { font: 700 .7rem var(--sans); padding: .25em .6em; border-radius: 999px; color: #2a1a02; background: var(--gold); }
.cot-item:hover .tk { text-decoration: underline; }

/* ---------- seções ---------- */
section { position: relative; }
.sec-head { width: min(1200px, 100% - 40px); margin: 0 auto 26px; }
.sec-head h2, .bateia h2, .virada h2 { font: 800 clamp(2rem, 5vw, 3.3rem)/1.05 var(--display); color: var(--cream); margin-top: 12px; letter-spacing: .01em; }
.sec-lead { margin-top: 12px; max-width: 62ch; color: var(--muted); font-size: 1.02rem; }
.sec-lead b { color: var(--text); }
.sync { margin-top: 14px; display: inline-flex; align-items: center; gap: .5em; font-size: .8rem; font-weight: 600; color: var(--muted); padding: .4em .85em; border-radius: 999px; border: 1px solid var(--line); }
.sync [data-lucide="badge-check"] { color: var(--green); }

/* ---------- O COFRE ---------- */
.cofre { padding: 90px 0 80px; background: radial-gradient(70% 50% at 50% 0%, rgba(217, 169, 59, .09), transparent 70%), var(--ink); }
.vault-ctl { width: min(1200px, 100% - 40px); margin: 0 auto; display: grid; gap: 12px; padding: 18px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(40, 29, 14, .55), rgba(20, 14, 6, .55)); }
.ctl-row { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 12px; }
.ctl-lbl { font: 700 .72rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.vault-sum { width: min(1200px, 100% - 40px); margin: 20px auto 16px; color: var(--muted); font-weight: 600; }
.bars { width: min(1200px, 100% - 40px); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 26px 22px; }
.more { display: flex; margin: 30px auto 0; }
.kt-legend { width: min(1200px, 100% - 40px); margin: 26px auto 0; color: var(--muted); font-size: .84rem; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

/* ===== LINGOTE (cada bolão) — 15/10 v2 (dono: "mais realista e tamanho padrão"; "modalidade maior e centralizada").
   Barra fundida vista de cima: 4 rampas chanfradas com canto em meia-esquadria (clip-path com calc, exato em qualquer
   largura), face plana escovada com reflexos, dados GRAVADOS no metal e marcas de fundição embaixo. Altura FIXA. ===== */
.bar { --c: #209869; position: relative; perspective: 1000px; opacity: 0; translate: 0 18px; animation: bar-in .6s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: calc(var(--i, 0) * 60ms); }
@keyframes bar-in { to { opacity: 1; translate: 0 0; } }
.ingot {
  --bv: 15px; position: relative; height: 432px; border-radius: 11px; overflow: hidden; color: #3a2604; background: #a87414;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s;
  box-shadow: 0 26px 34px -16px rgba(0,0,0,.85), 0 3px 0 #3d2803, 0 4px 0 rgba(0,0,0,.5);
}
.bar:hover .ingot { box-shadow: 0 30px 44px -16px rgba(0,0,0,.9), 0 3px 0 #3d2803, 0 0 46px rgba(255, 200, 90, .2); }
.slope { position: absolute; inset: 0; pointer-events: none; }
.s-t { clip-path: polygon(0 0, 100% 0, calc(100% - var(--bv)) var(--bv), var(--bv) var(--bv)); background: linear-gradient(180deg, #fff8d8, #f5d47c 55%, #e3b24b); }
.s-l { clip-path: polygon(0 0, var(--bv) var(--bv), var(--bv) calc(100% - var(--bv)), 0 100%);
  background: linear-gradient(180deg, rgba(255,255,255,.35), transparent 30%, rgba(255,250,220,.25) 55%, rgba(60,35,0,.2)), linear-gradient(90deg, #f6da8c, #d6a23e); }
.s-r { clip-path: polygon(100% 0, 100% 100%, calc(100% - var(--bv)) calc(100% - var(--bv)), calc(100% - var(--bv)) var(--bv));
  background: linear-gradient(180deg, rgba(255,240,190,.25), transparent 35%, rgba(255,230,160,.18) 60%, rgba(0,0,0,.25)), linear-gradient(270deg, #6f4a08, #b07d1f); }
.s-b { clip-path: polygon(0 100%, var(--bv) calc(100% - var(--bv)), calc(100% - var(--bv)) calc(100% - var(--bv)), 100% 100%); background: linear-gradient(0deg, #3f2a03, #8d6216 70%, #a5761d); }
.ing-face {
  position: absolute; inset: var(--bv); border-radius: 3px; padding: 14px 14px 10px; display: flex; flex-direction: column; gap: 9px; overflow: hidden;
  background:
    linear-gradient(112deg, transparent 18%, rgba(255, 252, 230, .5) 30%, transparent 41%, transparent 63%, rgba(255, 246, 214, .28) 71%, transparent 80%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.075) 0 1px, rgba(100,65,0,.05) 1px 2px, transparent 2px 3px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.03) 0 1px, transparent 1px 7px),
    linear-gradient(162deg, #f9e19a 0%, #ecc261 24%, #d8a840 50%, #eac262 72%, #c8932e 100%);
  box-shadow: inset 0 1px 0 rgba(255, 252, 230, .9), inset 1px 0 0 rgba(255, 240, 190, .55), inset -1px 0 0 rgba(90, 60, 0, .45), inset 0 -1px 0 rgba(80, 52, 0, .6);
}
.ing-face::after { /* reflexo que atravessa ao passar o mouse */
  content: ""; position: absolute; top: -30%; bottom: -30%; width: 38%; left: -70%; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 245, .6), transparent); transform: skewX(-18deg); transition: left .9s ease;
}
.bar:hover .ing-face::after, .vip-stage:hover .ing-face::after { left: 130%; }
.engr { color: #4a3104; text-shadow: 0 1px 0 rgba(255, 246, 210, .8), 0 -1px 0 rgba(70, 45, 0, .28); }
.bar-rib { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); z-index: 3; font: 800 .66rem var(--sans); letter-spacing: .14em; text-transform: uppercase; padding: .45em 1em; border-radius: 6px; color: #f2ffe9; background: linear-gradient(180deg, var(--emerald), var(--emerald-deep)); box-shadow: 0 0 0 1px rgba(255, 220, 140, .6), 0 4px 10px rgba(0,0,0,.45); white-space: nowrap; }
.bar-top { position: relative; display: grid; place-items: center; min-height: 62px; }
.bar-plate { height: 58px; width: auto; max-width: 74%; object-fit: contain; border-radius: 9px; box-shadow: 0 0 0 2px rgba(120, 82, 10, .55), 0 0 0 3px rgba(255, 240, 190, .6), 0 5px 12px rgba(70, 45, 0, .45); }
.bar-name { font: 800 1.2rem var(--display); }
.bar-top .kt-seal { position: absolute; right: -2px; top: 50%; transform: translateY(-50%) rotate(-8deg); }
.kt-seal {
  flex: none; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; font: 900 .9rem/1 var(--display); color: #fff1c4;
  background: radial-gradient(circle at 35% 30%, #2fa862, #0d6a35 60%, #053019); border: 2px dashed rgba(255, 226, 150, .65);
  box-shadow: 0 0 0 3px #0b5a2d, 0 4px 10px rgba(0, 40, 15, .5); text-shadow: 0 1px 0 rgba(0,0,0,.4); letter-spacing: .02em;
}
.kt-seal.k0 { font-size: .58rem; letter-spacing: .06em; background: radial-gradient(circle at 35% 30%, #5a4a32, #2e2416 60%, #191207); box-shadow: 0 0 0 3px #4a3a22, 0 4px 10px rgba(0,0,0,.4); }
.kt-seal.k12 { background: radial-gradient(circle at 35% 30%, #c8913a, #8a5a12 60%, #5e3a07); box-shadow: 0 0 0 3px #a2701f, 0 4px 10px rgba(80,50,0,.45); }
.kt-seal.sm { display: inline-grid; width: 40px; height: 40px; font-size: .74rem; box-shadow: 0 0 0 2px #0b5a2d; border-width: 1px; }
.kt-seal.sm.k0 { font-size: .5rem; box-shadow: 0 0 0 2px #4a3a22; }
.kt-seal.sm.k12 { box-shadow: 0 0 0 2px #a2701f; }
.bar-when { text-align: center; font: 700 .74rem var(--sans); letter-spacing: .07em; text-transform: uppercase; color: #6a4708; }
.bar-when.today { color: #0b5a2d; }
.recess { border-radius: 6px; background: linear-gradient(180deg, rgba(110, 72, 4, .17), rgba(255, 240, 190, .1)); box-shadow: inset 0 2px 3px rgba(80, 50, 0, .42), inset 0 -1px 0 rgba(255, 246, 214, .75); }
.bar-prize { padding: 8px 12px 9px; text-align: center; }
.bar-prize small { display: block; font: 700 .64rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #6a4708; }
.bar-prize b { display: block; font: 900 1.85rem/1.1 var(--display); }
.bar-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; }
.bar-facts div { padding: 7px 10px; }
.bar-facts dt { font: 700 .62rem var(--sans); letter-spacing: .1em; text-transform: uppercase; color: #6a4708; }
.bar-facts dd { margin: 2px 0 0; font: 800 1rem/1.2 var(--sans); color: #2e1d02; text-shadow: 0 1px 0 rgba(255, 246, 210, .6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-facts .wide { grid-column: 1 / -1; }
.bar-facts .wide:first-child dd { font-size: 1.12rem; }
.bar-facts dd em { font-style: normal; font-weight: 600; font-size: .76rem; color: #6a4708; }
.bar-gauge { display: grid; gap: 6px; }
.bar-gauge .track { height: 9px; border-radius: 99px; background: rgba(70, 45, 0, .28); box-shadow: inset 0 1px 2px rgba(60,35,0,.55), 0 1px 0 rgba(255,246,214,.6); overflow: hidden; }
.bar-gauge .fill { display: block; height: 100%; width: var(--p); border-radius: inherit; background: linear-gradient(90deg, var(--emerald), var(--emerald-hi)); box-shadow: 0 0 10px rgba(51, 200, 111, .55); transform-origin: left; animation: gauge 1.1s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i,0) * 60ms + .2s); }
@keyframes gauge { from { transform: scaleX(0); } }
.bar-gauge p { display: flex; justify-content: space-between; font: 600 .74rem var(--sans); color: #5a3b05; }
.bar-gauge p b { color: #2e1d02; }
.ing-stamp {
  margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 8px;
  border-top: 1px solid rgba(90, 60, 0, .3); box-shadow: inset 0 1px 0 rgba(255, 246, 214, .55);
  font: 700 .6rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #6a4708; text-shadow: 0 1px 0 rgba(255, 246, 210, .7);
}
.ing-stamp img { width: 32px; height: 32px; flex: none; filter: sepia(1) saturate(.8) brightness(.78) contrast(1.15); mix-blend-mode: multiply; opacity: .75; }
.ing-stamp .hm { /* contraste de pureza, punção em relevo */
  flex: none; padding: 3px 7px; border-radius: 4px; font: 800 .7rem var(--mono); letter-spacing: .08em; color: #3a2402;
  background: linear-gradient(180deg, rgba(255, 246, 214, .55), rgba(150, 100, 15, .25)); border: 1px solid rgba(80, 52, 0, .65);
  box-shadow: inset 0 1px 0 rgba(255, 250, 230, .8), 0 1px 0 rgba(255, 246, 214, .6), 0 2px 4px rgba(70, 45, 0, .3);
}
.ing-stamp .mid { /* cartela gravada: apostas e dezenas (dono 15/10: "mais visível, mais premium plus") */
  flex: 1; min-width: 0; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  padding: 5px 10px; border-radius: 999px; font: 800 .72rem var(--mono); letter-spacing: .14em; color: #2e1d02;
  background: linear-gradient(180deg, rgba(100, 65, 4, .22), rgba(255, 240, 190, .14));
  box-shadow: inset 0 2px 3px rgba(70, 45, 0, .5), inset 0 -1px 0 rgba(255, 246, 214, .8), 0 1px 0 rgba(255, 246, 214, .5);
  text-shadow: 0 1px 0 rgba(255, 246, 210, .85);
}
.bar-buy { margin-top: 16px; width: 100%; }
.bar-buy.btn { color: var(--gold-hi); background: linear-gradient(180deg, #2a1f10, #1a1209); border: 1px solid var(--line-2); box-shadow: 0 6px 18px rgba(0,0,0,.4); }
.bar-buy.btn:hover { border-color: var(--gold); background: linear-gradient(180deg, #34260f, #1f160a); }

/* ===== BOLÃO VIP: vitrine de veludo esmeralda com a barra mais nobre (a cota MAIS CARA à venda; empate = maior prêmio) ===== */
.vip { width: min(1200px, 100% - 40px); margin: 0 auto 30px; }
.vip-case {
  position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 36px; align-items: center; padding: 38px 40px; border-radius: 24px; overflow: hidden; isolation: isolate;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='v'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.4' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 .25 0 0 0 0 .1 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23v)'/%3E%3C/svg%3E"),
    radial-gradient(70% 90% at 28% 30%, #1f8a4e 0%, #0e5a30 38%, #073a1e 70%, #03190c 100%);
  box-shadow: 0 0 0 1px rgba(255, 220, 140, .55), 0 0 0 6px #120d06, 0 0 0 7px rgba(255, 220, 140, .25), 0 30px 70px rgba(0,0,0,.6), inset 0 0 80px rgba(0,0,0,.55);
}
.vip-case::before { /* vidro da vitrine */
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(118deg, transparent 30%, rgba(255,255,255,.07) 34%, transparent 40%, transparent 70%, rgba(255,255,255,.05) 73%, transparent 77%);
}
.vip-spot { position: absolute; left: 4%; top: -30%; width: 56%; height: 150%; z-index: -1; background: radial-gradient(closest-side, rgba(255, 236, 170, .32), rgba(255, 220, 140, .08) 55%, transparent); pointer-events: none; }
.vip-stage { position: relative; perspective: 1100px; padding: 10px 6px 34px; }
.vip-stage::after { /* almofada / sombra no veludo */
  content: ""; position: absolute; left: 8%; right: 8%; bottom: 8px; height: 30px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.65), transparent); filter: blur(4px);
}
.ingot.ingot-vip { --bv: 22px; height: 300px; animation: vip-float 6s ease-in-out infinite; transform: rotateX(calc(10deg + var(--rx, 0deg))) rotateY(var(--ry, 0deg)); }
@keyframes vip-float { 50% { translate: 0 -8px; } }
.ingot-vip .ing-face { padding: 16px 18px 12px; align-items: center; justify-content: space-between; text-align: center; gap: 6px; }
.vip-crown { display: inline-flex; align-items: center; gap: 8px; font: 900 1.05rem var(--display); letter-spacing: .22em; }
.vip-crown [data-lucide] { width: 22px; height: 22px; }
.ingot-vip .bar-plate { height: 64px; }
.vip-price { line-height: 1; }
.vip-price b { display: block; font: 900 clamp(2.2rem, 4.4vw, 3.1rem)/1 var(--display); }
.vip-price small { display: block; margin-top: 4px; font: 700 .7rem var(--sans); letter-spacing: .18em; text-transform: uppercase; color: #6a4708; }
.ingot-vip .ing-stamp { width: 100%; }
.vip-glint { position: absolute; width: 18px; height: 18px; z-index: 4; pointer-events: none; background: radial-gradient(closest-side, #fff, rgba(255,255,255,0)); clip-path: polygon(50% 0, 58% 42%, 100% 50%, 58% 58%, 50% 100%, 42% 58%, 0 50%, 42% 42%); animation: glint 3.2s ease-in-out infinite; opacity: 0; }
@keyframes glint { 0%, 70%, 100% { opacity: 0; transform: scale(.3) rotate(0deg); } 80% { opacity: 1; transform: scale(1.2) rotate(45deg); } }
.vip-info { position: relative; z-index: 3; color: #eaf6ea; }
.vip-info .eyebrow { color: var(--gold-hi); }
.vip-info h3 { margin-top: 10px; font: 800 clamp(1.5rem, 2.6vw, 2.1rem)/1.1 var(--display); color: #fff6dc; }
.vip-when { margin-top: 6px; color: #b9d9c2; font-weight: 600; font-size: .92rem; }
.vip-prize { margin: 16px 0 14px; }
.vip-prize small { display: block; font: 700 .7rem var(--sans); letter-spacing: .18em; text-transform: uppercase; color: #b9d9c2; }
.vip-prize b { display: block; font: 900 clamp(2.2rem, 4.6vw, 3.2rem)/1.05 var(--display); background: var(--foil); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: foil 7s ease-in-out infinite; filter: drop-shadow(0 2px 0 rgba(0,0,0,.5)); }
.vip-facts { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.vip-facts li { padding: 10px 12px; border-radius: 12px; background: rgba(0, 0, 0, .22); border: 1px solid rgba(255, 220, 140, .22); }
.vip-facts small { display: block; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: #a9cdb3; }
.vip-facts b { display: block; margin-top: 2px; font-size: 1.02rem; color: #fff6dc; }
.vip-buy { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.vip-buy p { font-size: .8rem; color: #a9cdb3; display: inline-flex; align-items: center; gap: .4em; }
.empty { grid-column: 1 / -1; padding: 40px 24px; text-align: center; border: 1px dashed var(--line-2); border-radius: var(--radius); display: grid; gap: 10px; justify-items: center; color: var(--muted); }
.empty strong { font: 800 1.3rem var(--display); color: var(--cream); }

/* ---------- SALA DOS COFRES-FORTES (acumuladas) ---------- */
.acum { padding: 90px 0 84px; background: radial-gradient(60% 50% at 50% 0%, rgba(15, 122, 62, .12), transparent 70%), linear-gradient(180deg, var(--ink), #0e0a05 60%, var(--ink)); }
.safes { width: min(1200px, 100% - 40px); margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(230px, auto); gap: 18px; }
.safe {
  --c: #d9a93b; position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px 20px 18px; border-radius: 18px; overflow: hidden; isolation: isolate;
  text-align: left; color: var(--text); cursor: pointer; font: inherit; border: 0;
  background:
    radial-gradient(circle at 12px 12px, #d9c08a 0 2.2px, #5a4520 2.6px 3.4px, transparent 3.8px),
    radial-gradient(circle at calc(100% - 12px) 12px, #d9c08a 0 2.2px, #5a4520 2.6px 3.4px, transparent 3.8px),
    radial-gradient(circle at 12px calc(100% - 12px), #d9c08a 0 2.2px, #5a4520 2.6px 3.4px, transparent 3.8px),
    radial-gradient(circle at calc(100% - 12px) calc(100% - 12px), #d9c08a 0 2.2px, #5a4520 2.6px 3.4px, transparent 3.8px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.018) 0 1px, transparent 1px 3px),
    linear-gradient(165deg, #34302a 0%, #1d1a15 45%, #110e0a 100%);
  box-shadow: inset 0 0 0 1px rgba(232, 196, 120, .2), inset 0 1px 0 rgba(255, 255, 255, .08), inset 0 -2px 0 rgba(0,0,0,.6), 0 18px 34px rgba(0,0,0,.5);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s;
  opacity: 0; translate: 0 16px; animation: bar-in .6s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: calc(var(--i, 0) * 55ms);
}
.safe::before { /* faixa de luz na cor do jogo, no alto do cofre */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--c), transparent); box-shadow: 0 0 22px var(--c); opacity: .9;
}
.safe::after { /* brilho da cor do jogo vazando por trás */
  content: ""; position: absolute; right: -30%; top: -40%; width: 80%; height: 90%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, var(--c), transparent); opacity: .16; transition: opacity .35s;
}
.safe:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(232, 196, 120, .45), inset 0 1px 0 rgba(255,255,255,.1), 0 24px 44px rgba(0,0,0,.6), 0 0 34px rgba(217, 169, 59, .14); }
.safe:hover::after { opacity: .3; }
.safe-art { height: 46px; width: auto; max-width: 100%; align-self: flex-start; border-radius: 9px; box-shadow: 0 0 0 1px rgba(255, 230, 170, .35), 0 6px 14px rgba(0,0,0,.55); }
.safe-name { font: 800 1.2rem var(--display); color: var(--cream); }
.safe-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.safe-tag { display: inline-flex; align-items: center; gap: .35em; padding: .3em .7em; border-radius: 999px; font: 800 .64rem var(--sans); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.safe-tag [data-lucide] { width: 13px; height: 13px; }
.safe-tag.acc { color: #f2ffe9; background: linear-gradient(90deg, var(--emerald-deep), var(--emerald)); box-shadow: 0 0 0 1px rgba(255, 220, 140, .45), 0 0 14px rgba(51, 200, 111, .35); }
.safe-tag.est { color: #d9cba9; background: rgba(255, 220, 140, .08); box-shadow: 0 0 0 1px rgba(232, 196, 120, .25); }
.safe-tag.hoje { color: #2a1a02; background: var(--bar); }
.safe-tag.hoje::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #0f7a3e; box-shadow: 0 0 0 0 rgba(15, 122, 62, .6); animation: ping 1.8s infinite; }
.safe-val { margin-top: auto; }
.safe-val small { display: block; font: 700 .64rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.safe-val b {
  display: block; font: 900 clamp(1.7rem, 2.6vw, 2.15rem)/1.05 var(--display); white-space: nowrap;
  background: var(--foil); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: foil 7s ease-in-out infinite;
  filter: drop-shadow(0 2px 0 rgba(0,0,0,.7));
}
.safe-meta { font-size: .8rem; color: #cbbd9c; }
.safe-meta b { color: var(--cream); }
.safe-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 10px; border-top: 1px solid rgba(232, 196, 120, .14); font-size: .8rem; font-weight: 700; }
.safe-foot .own { color: var(--gold-hi); display: inline-flex; align-items: center; gap: .4em; }
.safe-foot .none { color: var(--muted); font-weight: 600; }
.safe-foot [data-lucide] { width: 16px; height: 16px; }
.safe-dial { /* segredo do cofre: anel giratório no canto */
  position: absolute; right: 16px; top: 18px; width: 54px; height: 54px; border-radius: 50%; pointer-events: none;
  background: repeating-conic-gradient(from 0deg, rgba(232, 196, 120, .55) 0 2deg, transparent 2deg 15deg), radial-gradient(circle, #2c2721 0 46%, #1a1610 47% 60%, #3a342b 61% 100%);
  box-shadow: inset 0 0 0 2px rgba(232, 196, 120, .35), 0 4px 12px rgba(0,0,0,.6); transition: transform 1.2s cubic-bezier(.2,.8,.2,1);
}
.safe-dial::after { content: ""; position: absolute; inset: 34%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff1c4, #c8932e 60%, #6b4a0c); }
.safe:hover .safe-dial { transform: rotate(200deg); }
/* destaque: o maior prêmio ocupa 2x2 */
.safe.big { grid-column: span 2; grid-row: span 2; padding: 30px 30px 24px; gap: 14px;
  background:
    radial-gradient(circle at 14px 14px, #d9c08a 0 2.6px, #5a4520 3px 4px, transparent 4.4px),
    radial-gradient(circle at calc(100% - 14px) 14px, #d9c08a 0 2.6px, #5a4520 3px 4px, transparent 4.4px),
    radial-gradient(circle at 14px calc(100% - 14px), #d9c08a 0 2.6px, #5a4520 3px 4px, transparent 4.4px),
    radial-gradient(circle at calc(100% - 14px) calc(100% - 14px), #d9c08a 0 2.6px, #5a4520 3px 4px, transparent 4.4px),
    radial-gradient(70% 60% at 30% 100%, rgba(217, 169, 59, .14), transparent 70%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.018) 0 1px, transparent 1px 3px),
    linear-gradient(165deg, #3a342c 0%, #201c16 45%, #120f0a 100%);
  box-shadow: inset 0 0 0 1.5px rgba(232, 196, 120, .45), inset 0 1px 0 rgba(255,255,255,.1), 0 26px 50px rgba(0,0,0,.6), 0 0 50px rgba(217, 169, 59, .12);
}
.safe.big .safe-art { height: 70px; }
.safe.big .safe-name { font-size: 1.6rem; }
.safe.big .safe-val b { font-size: clamp(2.3rem, 4.2vw, 3.5rem); }
.safe-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.safe-stats div { padding: 10px 14px; border-radius: 12px; background: rgba(0,0,0,.28); box-shadow: inset 0 0 0 1px rgba(232, 196, 120, .2), inset 0 2px 4px rgba(0,0,0,.4); }
.safe-stats small { display: block; font: 700 .64rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.safe-stats b { display: block; margin-top: 3px; font: 800 1.25rem var(--display); color: var(--gold-hi); }
.safe.big .safe-dial { width: 96px; height: 96px; right: 26px; top: 26px; }
.safe.big .safe-kick { font: 800 .74rem var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); display: inline-flex; align-items: center; gap: .45em; }
.safes .empty { grid-column: 1 / -1; }

/* DESFILE DE DUENDES que trazem as acumuladas */
.trilha { position: relative; width: min(1200px, 100% - 40px); height: 318px; margin: -6px auto 14px; overflow: hidden; }
.trilha-chao { /* caminho de pó de ouro */
  position: absolute; left: 0; right: 0; bottom: 18px; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(232, 196, 120, .55) 15%, rgba(255, 236, 180, .8) 50%, rgba(232, 196, 120, .55) 85%, transparent);
  box-shadow: 0 0 14px rgba(255, 200, 90, .45);
}
.trilha-chao::after { content: ""; position: absolute; left: 10%; right: 10%; top: 2px; height: 24px; background: radial-gradient(50% 100% at 50% 0%, rgba(255, 210, 110, .14), transparent); }
.dd { position: absolute; left: 0; bottom: 14px; width: 210px; display: flex; flex-direction: column; align-items: center; will-change: transform; }
.balao {
  position: relative; z-index: 2; width: 198px; padding: 9px 12px 9px; border-radius: 14px; cursor: pointer; text-align: center; font: inherit; color: var(--text);
  display: grid; justify-items: center; gap: 2px; margin-bottom: 12px;
  background: linear-gradient(180deg, rgba(34, 25, 12, .96), rgba(12, 8, 3, .97)) padding-box,
    linear-gradient(135deg, #fff0b8, #b9851e 30%, #6b4a0c 50%, #e6bb58 72%, #fff0b8) border-box;
  border: 1.5px solid transparent; box-shadow: 0 12px 26px rgba(0,0,0,.6), 0 0 22px rgba(217, 169, 59, .18);
  transition: transform .3s cubic-bezier(.3,1.5,.5,1);
}
.balao::after { /* rabinho do balão apontando para o duende */
  content: ""; position: absolute; left: 50%; bottom: -8px; width: 14px; height: 14px; transform: translateX(-50%) rotate(45deg);
  background: #0f0b05; border-right: 1.5px solid #b9851e; border-bottom: 1.5px solid #b9851e;
}
.balao:hover, .balao:focus-visible { transform: scale(1.05); }
.balao img { height: 26px; width: auto; border-radius: 6px; box-shadow: 0 2px 8px rgba(0,0,0,.5); }
.balao .sel { font: 800 .58rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--emerald-hi); }
.balao b { font: 900 1.5rem/1.05 var(--display); background: var(--foil); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: foil 7s ease-in-out infinite; }
.balao small { font: 700 .6rem var(--sans); letter-spacing: .06em; text-transform: uppercase; color: #cbbd9c; }
/* figura em camadas (tools/camadas_duendes.py): base + partes que giram no pivô; tamanho nativo, escalado por --k */
.dd-fig { position: relative; height: 168px; }
.fig { position: absolute; left: 0; bottom: 0; transform-origin: 0 100%; transform: scale(var(--k)); }
.fig img { position: absolute; display: block; max-width: none; filter: drop-shadow(0 4px 6px rgba(0,0,0,.45)); }
.fig .fb { left: 0; top: 0; }
.dd-fig::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 110px; height: 14px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.6), transparent); z-index: -1; }
.corpo { position: absolute; inset: 0; transform-origin: 50% 100%; }
/* ANDA (duende do pote): pernas alternam, corpo sobe a cada pisada (2 pisadas por ciclo) */
.t-anda .corpo { animation: pisada .5s ease-in-out infinite; }
.t-anda .fp-perna-tras { animation: passo-a 1s ease-in-out infinite; }
.t-anda .fp-perna-frente { animation: passo-b 1s ease-in-out infinite; }
@keyframes pisada { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-5px) rotate(-1.5deg); } }
@keyframes passo-a { 0%, 100% { transform: rotate(16deg); } 50% { transform: rotate(-14deg); } }
@keyframes passo-b { 0%, 100% { transform: rotate(-14deg); } 50% { transform: rotate(16deg); } }
/* DANÇA (de óculos): pulinhos de jiga com chute da perna da frente */
.t-danca .corpo { animation: jiga .7s cubic-bezier(.4,0,.6,1) infinite; }
.t-danca .fp-chute { animation: chute .7s cubic-bezier(.4,0,.6,1) infinite; }
@keyframes jiga { 0%, 100% { transform: translateY(0) rotate(2deg) scaleY(.97); } 45% { transform: translateY(-16px) rotate(-4deg) scaleY(1.02); } 60% { transform: translateY(-13px) rotate(-3deg); } }
@keyframes chute { 0%, 100% { transform: rotate(18deg); } 45% { transform: rotate(-22deg); } 60% { transform: rotate(-18deg); } }
/* ACENA: marcha (um pé de cada vez) acenando */
.t-acena .corpo { animation: marcha-corpo .45s ease-in-out infinite alternate; }
.t-acena .fp-braco { animation: aceno .38s ease-in-out infinite alternate; }
.t-acena .fp-pe-e { animation: pe-sobe .9s ease-in-out infinite; }
.t-acena .fp-pe-d { animation: pe-sobe .9s ease-in-out infinite -.45s; }
@keyframes marcha-corpo { from { transform: translateY(0) rotate(-1.5deg); } to { transform: translateY(-4px) rotate(1.5deg); } }
@keyframes aceno { from { transform: rotate(-16deg); } to { transform: rotate(14deg); } }
@keyframes pe-sobe { 0%, 100% { transform: translateY(0) rotate(0deg); } 25% { transform: translateY(-9px) rotate(-6deg); } 50% { transform: translateY(0) rotate(0deg); } }
.dd.sai { transition: opacity .7s, transform .7s; opacity: 0; }
.trilha.pausa .fig *, .trilha.pausa .fig { animation-play-state: paused !important; }
/* ANFITRIÃO (duende do pote no chão): fica no fim do caminho, balança o trevo e joga moedas no pote */
.anfitriao { position: absolute; right: 6px; bottom: 14px; height: 200px; z-index: 1; }
.anfitriao .corpo { animation: respira 3s ease-in-out infinite; }
.anfitriao .fp-trevo { animation: trevo 2.4s ease-in-out infinite; }
@keyframes respira { 50% { transform: scale(1.015, 1.025); } }
@keyframes trevo { 0%, 100% { transform: rotate(-9deg); } 50% { transform: rotate(9deg); } }
.anfitriao.festa .corpo { animation: festa .5s ease-in-out 2; }
@keyframes festa { 50% { transform: translateY(-10px) scale(1.03); } }
.moeda-cai { position: absolute; z-index: 2; width: 11px; height: 11px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 35% 30%, #fff4c8, #e8b84e 50%, #94640f); box-shadow: 0 0 6px rgba(255, 210, 110, .6);
  animation: cai var(--t, .9s) cubic-bezier(.45, 0, .9, .6) forwards; }
@keyframes cai { 0% { transform: translate(0, 0) rotateY(0deg); opacity: 1; } 85% { opacity: 1; } 100% { transform: translate(var(--mx), var(--my)) rotateY(540deg); opacity: 0; } }
.moeda { position: absolute; z-index: 3; width: 14px; height: 14px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 35% 30%, #fff4c8, #e8b84e 50%, #94640f); box-shadow: 0 0 8px rgba(255, 210, 110, .7);
  animation: moeda 1.3s cubic-bezier(.2,.7,.4,1) forwards; }
@keyframes moeda { 0% { transform: translate(0, 0) scale(.4); opacity: 0; } 15% { opacity: 1; } 100% { transform: translate(var(--mx), var(--my)) rotateY(720deg) scale(1); opacity: 0; } }
.faisca { position: absolute; z-index: 1; bottom: 18px; width: 6px; height: 6px; border-radius: 50%; pointer-events: none; background: #ffe6a0; box-shadow: 0 0 10px #ffd27a; animation: faisca .9s ease-out forwards; }
@keyframes faisca { to { transform: translate(var(--fx), -26px) scale(.2); opacity: 0; } }

/* ---------- BATEIA ---------- */
.bateia { padding: 90px 0; overflow: hidden; background: radial-gradient(60% 70% at 75% 50%, rgba(80, 110, 120, .14), transparent 70%), linear-gradient(180deg, var(--ink), #15100a 50%, var(--ink)); }
.bateia-in { width: min(1200px, 100% - 40px); margin: 0 auto; display: grid; grid-template-columns: .95fr 1.05fr; gap: 40px; align-items: center; }
.bat-games { margin-top: 22px; }
.bat-games .chip { min-height: 36px; font-size: .8rem; }
.bat-out { margin-top: 22px; padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(30, 21, 10, .6); }
.bat-out-title { font: 800 1.15rem var(--display); color: var(--cream); }
.nuggets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; min-height: 8px; }
.nugget {
  display: grid; place-items: center; width: 46px; height: 42px; font: 800 1.02rem var(--mono); color: #3a2402;
  background: radial-gradient(circle at 32% 28%, #fff4c8, #f0c85e 38%, #b98419 72%, #7d540a);
  border-radius: 46% 54% 42% 58% / 55% 45% 55% 45%; box-shadow: inset -3px -4px 6px rgba(80,50,0,.45), inset 2px 2px 3px rgba(255,255,255,.6), 0 4px 10px rgba(0,0,0,.45);
  text-shadow: 0 1px 0 rgba(255, 246, 214, .7); animation: pop .45s cubic-bezier(.3,1.6,.5,1) both; animation-delay: calc(var(--i) * 70ms);
}
.nugget:nth-child(3n) { border-radius: 58% 42% 55% 45% / 45% 55% 45% 55%; }
.nugget:nth-child(3n+1) { border-radius: 50% 50% 38% 62% / 60% 42% 58% 40%; }
.nugget.trevo { background: radial-gradient(circle at 32% 28%, #d8ffe4, #5fcf8a 40%, #1f7a45 80%); color: #08301a; }
@keyframes pop { from { transform: scale(0) rotate(-30deg); opacity: 0; } }
.bat-extra { margin-top: 10px; color: var(--gold-hi); font-weight: 600; font-size: .92rem; }
.bat-extra:empty { display: none; }
.bat-act { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.bat-note { margin-top: 12px; font-size: .78rem; color: var(--muted); }
.bat-stage { position: relative; aspect-ratio: 1; width: min(560px, 100%); justify-self: center; }
.bat-cv { width: 100%; height: 100%; touch-action: none; cursor: grab; border-radius: 50%; }
.bat-cv:active { cursor: grabbing; }
.bat-hint {
  position: absolute; left: 50%; bottom: 6%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: .45em; padding: .45em 1em; border-radius: 999px;
  font-size: .8rem; font-weight: 700; color: var(--cream); background: rgba(10, 7, 3, .7); border: 1px solid var(--line-2); pointer-events: none; transition: opacity .4s;
}
.bat-hint [data-lucide] { animation: spin 2.4s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.bat-hint.off { opacity: 0; }
.bat-meter { position: absolute; left: 18%; right: 18%; bottom: -4px; height: 6px; border-radius: 99px; background: rgba(255, 220, 140, .12); overflow: hidden; }
.bat-meter span { display: block; height: 100%; width: 0; background: var(--bar); transition: width .25s; }

/* ---------- MEGA DA VIRADA ---------- */
.virada { padding: 100px 0; overflow: hidden; text-align: center; isolation: isolate;
  background: radial-gradient(60% 80% at 50% 30%, rgba(217, 169, 59, .22), transparent 70%), radial-gradient(50% 60% at 20% 90%, rgba(15, 122, 62, .3), transparent 70%), radial-gradient(40% 50% at 85% 80%, rgba(15, 122, 62, .18), transparent 70%), #0b0803; }
.virada-fx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.virada-year { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: -2; font: 900 clamp(9rem, 32vw, 26rem)/1 var(--display); color: transparent; -webkit-text-stroke: 1px rgba(232, 196, 120, .14); letter-spacing: -.02em; pointer-events: none; }
.virada-in { width: min(900px, 100% - 40px); margin: 0 auto; display: grid; justify-items: center; gap: 4px; }
.virada-prize { margin: 18px 0 6px; }
.virada-prize small { display: block; font: 700 .76rem var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.virada-prize b { display: block; font: 900 clamp(3rem, 10vw, 6rem)/1 var(--display); background: var(--foil); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: foil 6s ease-in-out infinite; filter: drop-shadow(0 4px 20px rgba(255, 190, 70, .3)); }
.countdown { display: flex; gap: 12px; margin: 18px 0 26px; }
.countdown div { min-width: 82px; padding: 14px 10px 10px; border-radius: 14px; background: linear-gradient(180deg, #2a1f10, #120d06); border: 1px solid var(--line-2); box-shadow: inset 0 1px 0 rgba(255, 230, 170, .15), 0 10px 26px rgba(0,0,0,.4); }
.countdown b { display: block; font: 700 2.1rem/1 var(--mono); color: var(--gold-hi); }
.countdown small { display: block; margin-top: 6px; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.virada-note { margin-top: 14px; font-size: .78rem; color: var(--muted); }

/* ---------- RESULTADOS ---------- */
.resultados { padding: 90px 0; }
.res-tabs { width: min(1200px, 100% - 40px); margin: 0 auto 20px; }
.res-panel { width: min(1200px, 100% - 40px); margin: 0 auto; display: grid; grid-template-columns: 1.15fr .85fr; gap: 22px; }
.res-wait { color: var(--muted); }
.res-card, .res-check { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(42, 31, 16, .7), rgba(20, 14, 6, .7)); }
.res-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-bottom: 18px; }
.res-head img { height: 40px; width: auto; border-radius: 8px; }
.res-head h3 { font: 800 1.5rem var(--display); color: var(--cream); }
.res-head span { color: var(--muted); font-size: .88rem; font-weight: 600; }
.res-balls { display: flex; flex-wrap: wrap; gap: 9px; }
.res-sub { margin: 16px 0 8px; font: 700 .72rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.ball { /* moeda cunhada */
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; font: 700 1.02rem var(--mono); color: #e9dcc0;
  background: radial-gradient(circle at 35% 30%, #4a3a26, #261c10 70%); border: 2px solid rgba(232, 196, 120, .35); box-shadow: inset 0 0 0 3px rgba(0,0,0,.25), 0 4px 10px rgba(0,0,0,.35);
  animation: pop .45s cubic-bezier(.3,1.6,.5,1) both; animation-delay: calc(var(--i, 0) * 40ms); transition: .3s;
}
.ball.hit { color: #3a2402; background: radial-gradient(circle at 35% 30%, #fff4c8, #f0c85e 40%, #b98419 80%); border-color: #ffe39a; box-shadow: 0 0 0 3px rgba(255, 220, 130, .25), 0 0 26px rgba(255, 200, 90, .6); transform: translateY(-3px); }
.ball.trevo { color: #d8ffe4; background: radial-gradient(circle at 35% 30%, #2f7a4a, #123b22 75%); border-color: rgba(120, 220, 160, .45); }
.res-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.res-list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 10px; background: rgba(0,0,0,.2); font-size: .92rem; }
.res-list b { font-family: var(--mono); color: var(--gold-hi); }
.res-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin-top: 20px; }
.res-facts div { padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(0,0,0,.18); }
.res-facts small { display: block; font-size: .74rem; color: var(--muted); }
.res-facts b { display: block; margin-top: 2px; font: 800 1.1rem var(--sans); color: var(--cream); }
.res-facts .acc b { color: var(--emerald-hi); }
.res-check h4 { font: 800 1.25rem var(--display); color: var(--cream); }
.res-check p { margin: 6px 0 14px; color: var(--muted); font-size: .92rem; }
.res-check input {
  width: 100%; min-height: 52px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line-2); background: #0d0904; color: var(--gold-hi);
  font: 600 1.1rem var(--mono); letter-spacing: .06em;
}
.res-check input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(217, 169, 59, .2); }
.res-verdict { margin: 14px 0 16px; padding: 12px 14px; border-radius: 12px; background: rgba(0,0,0,.25); color: var(--muted); font-size: .92rem; font-weight: 600; }
.res-verdict.win { color: #2a1a02; background: var(--bar); }

/* ---------- MAPA DA MINA ---------- */
.visite { padding: 90px 0 110px; }
.visite-grid { width: min(1200px, 100% - 40px); margin: 0 auto; display: grid; grid-template-columns: 1.25fr .75fr; gap: 22px; align-items: start; }
.treasure { border-radius: var(--radius); overflow: hidden; background: var(--paper); color: var(--paper-ink); box-shadow: 0 0 0 1px rgba(255,230,180,.25), 0 30px 60px rgba(0,0,0,.5); transform: rotate(-.6deg); }
.map { aspect-ratio: 600 / 420; position: relative; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.tmap { width: 100%; height: 100%; }
.tm-path { stroke-dashoffset: 400; animation: walk 9s linear infinite; }
@keyframes walk { to { stroke-dashoffset: 0; } }
.tm-label { font: 900 22px var(--display); fill: #7c2a10; }
.tm-street { font: 700 12px var(--sans); fill: #7a5524; letter-spacing: .04em; }
.tm-you { font: 700 13px var(--sans); fill: #7a5524; font-style: italic; }
.tm-rose text { font: 900 14px var(--display); fill: #7a5524; }
.treasure-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 20px; border-top: 2px dashed rgba(122, 85, 36, .35); }
.treasure-foot p { font-size: .95rem; line-height: 1.45; }
.treasure-foot b { font-family: var(--display); font-size: 1.05rem; }
.treasure-act { display: flex; gap: 8px; flex-wrap: wrap; }
.treasure .btn-ghost { color: #5a3b05; border-color: rgba(122, 85, 36, .45); background: rgba(255,255,255,.3); }
.visite-side { display: grid; gap: 16px; }
.open-now { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--radius); border: 1px solid var(--line-2); background: rgba(40, 29, 14, .55); }
.open-now > i { width: 14px; height: 14px; border-radius: 50%; background: #a0603a; flex: none; }
.open-now.open > i { background: var(--green); animation: ping 2s infinite; }
.open-now b { display: block; font: 800 1.2rem var(--display); color: var(--cream); }
.open-now small { color: var(--muted); font-size: .84rem; }
.hours { list-style: none; margin: 0; padding: 8px 18px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(20, 14, 6, .6); }
.hours li { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: .94rem; color: var(--muted); }
.hours li:last-child { border-bottom: 0; }
.hours li.today { color: var(--gold-hi); font-weight: 700; }
.contacts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.contacts a { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(40, 29, 14, .45); text-decoration: none; transition: .2s; min-height: 56px; }
.contacts a:hover { border-color: var(--gold); }
.contacts [data-lucide], .contacts .wa-ico { width: 22px; height: 22px; color: var(--gold); fill: none; }
.contacts .wa-ico { fill: var(--gold); }
.contacts small { display: block; font-size: .72rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.contacts b { display: block; font-weight: 700; word-break: break-word; }

/* ---------- rodapé ---------- */
.foot { padding: 50px 20px calc(40px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #0a0703; display: grid; justify-items: center; gap: 18px; text-align: center; }
.foot-brand { display: flex; align-items: center; gap: 14px; text-align: left; }
.foot-mark { width: 72px; height: 72px; flex: none; }
.foot-brand b { display: block; font: 800 1.2rem var(--display); color: var(--gold-hi); }
.foot-brand small { display: block; color: var(--muted); font-size: .78rem; line-height: 1.5; }
.foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; }
.foot nav a { color: var(--muted); text-decoration: none; font-size: .88rem; }
.foot nav a:hover { color: var(--gold-hi); }
.foot-18 { max-width: 640px; color: var(--muted); font-size: .8rem; display: flex; gap: 10px; align-items: center; text-align: left; }
.foot-18 span { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--rust); color: var(--rust-hi); font-weight: 800; font-size: .82rem; }
.credit img { width: 180px; height: auto; opacity: .85; }
.foot-copy { color: rgba(179, 162, 131, .6); font-size: .76rem; }

/* ---------- dock (celular) ---------- */
.dock { display: none; }

/* ---------- guia ---------- */
.guide { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; }
.guide-bg { position: absolute; inset: 0; background: rgba(5, 3, 1, .78); backdrop-filter: blur(4px); }
.guide-card { position: relative; width: min(520px, 100%); max-height: calc(100svh - 32px); overflow: auto; padding: 26px; border-radius: 22px; background: linear-gradient(180deg, #2a1f10, #150f07); border: 1px solid var(--line-2); box-shadow: 0 30px 80px rgba(0,0,0,.6); animation: pop .35s cubic-bezier(.3,1.3,.5,1); }
.guide-x { position: absolute; top: 12px; right: 12px; }
.guide-card h3 { font: 800 1.5rem var(--display); color: var(--cream); margin: 10px 40px 14px 0; }
.guide-ticket { padding: 14px 16px; border-radius: 12px; background: var(--bar); color: #3a2604; }
.guide-ticket strong { font: 800 1.05rem var(--display); }
.guide-ticket div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.guide-ticket small { display: block; font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: #6a4708; }
.guide-ticket b { font-size: .98rem; }
.guide-steps { margin: 16px 0; padding-left: 1.3em; color: var(--muted); display: grid; gap: 6px; font-size: .94rem; }
.guide-steps b { color: var(--text); }
.guide-note { margin-top: 12px; font-size: .78rem; color: var(--muted); }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 95; max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 14px; background: #2a1f10; border: 1px solid var(--line-2); color: var(--cream); font-weight: 600; font-size: .9rem; box-shadow: 0 14px 40px rgba(0,0,0,.5); }

/* aparecer ao rolar */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .8s, transform .8s cubic-bezier(.2,.8,.2,1); }
.rv.in { opacity: 1; transform: none; }

/* ---------- responsivo ---------- */
@media (max-width: 1080px) {
  .top-nav { display: none; }
}
@media (max-width: 900px) {
  :root { --top-h: 60px; }
  .veio { min-height: auto; padding-top: calc(var(--top-h) + 24px); }
  .veio-in { grid-template-columns: 1fr; gap: 26px; }
  .museu { max-width: 540px; width: 100%; justify-self: center; }
  .bateia-in { grid-template-columns: 1fr; }
  .bat-stage { order: -1; width: min(440px, 100%); }
  .res-panel { grid-template-columns: 1fr; }
  .safes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .visite-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .top { gap: 10px; padding: 0 16px; }
  .top-cta { display: none; }
  .brand-mark { width: 40px; height: 40px; }
  .veio-logo { width: min(250px, 66vw); margin: 0 auto 10px; }
  .veio-copy { text-align: center; }
  .veio-copy .eyebrow { justify-content: center; }
  .veio-lead { margin-inline: auto; }
  .veio-cta { justify-content: center; }
  .veio-facts { margin-inline: auto; }
  .mina-logo { width: 150px; margin-top: -96px; }
  .mina-plate { margin-top: 80px; padding: 26px 20px 22px; }
  .brand-txt b { font-size: .98rem; }
  .brand-txt small { display: none; }
  .veio .eyebrow, .mina-eyebrow { font-size: .66rem; letter-spacing: .1em; }
  .status-pill { font-size: .72rem; padding: .35em .7em; }
  .veio-in, .sec-head, .vault-ctl, .vault-sum, .bars, .kt-legend, .bateia-in, .res-tabs, .res-panel, .visite-grid { width: calc(100% - 32px); }
  .veio-title { font-size: clamp(2.9rem, 15vw, 4rem); }
  .veio-cta .btn { flex: 1 1 auto; }
  .veio-facts li { flex-direction: column; text-align: center; gap: 8px; padding: 14px 6px; }
  .vf-ic { width: 34px; height: 34px; }
  .veio-facts b { font-size: 1.12rem; }
  .veio-facts small { font-size: .7rem; }
  .veio-slogan { justify-content: center; margin-inline: auto; }
  .veio-slogan .orn:first-child { display: block; }
  .cot-label { padding: 0 12px; font-size: .66rem; }
  .cot-label [data-lucide] { display: none; }
  .vault-ctl { padding: 14px; }
  .ctl-row { grid-template-columns: 1fr; gap: 6px; }
  .ctl-row .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -14px; padding: 2px 14px 6px; scrollbar-width: none; }
  .ctl-row .chips::-webkit-scrollbar { display: none; }
  .ctl-row .chip { flex: none; }
  .bars { grid-template-columns: 1fr; }
  .safes { width: calc(100% - 32px); gap: 12px; grid-auto-rows: auto; }
  .trilha { width: calc(100% - 32px); height: 290px; }
  .dd { width: 190px; }
  .balao { width: 180px; }
  .balao b { font-size: 1.3rem; }
  .dd-fig { height: 150px; }
  .anfitriao { display: none; }
  .safe { padding: 18px 14px 14px; gap: 8px; }
  .safe .safe-dial { width: 30px; height: 30px; right: 8px; top: 10px; }
  .safe-art { height: 32px; max-width: calc(100% - 34px); }
  .safe-name { font-size: 1rem; }
  .safe-val b { font-size: 1.45rem; }
  .safe-meta, .safe-foot { font-size: .72rem; }
  .safe-foot { flex-direction: column; align-items: flex-start; gap: 2px; }
  .safe.big { padding: 24px 18px 18px; }
  .safe.big .safe-art { height: 50px; }
  .safe.big .safe-val b { font-size: 2.2rem; }
  .safe.big .safe-dial { width: 52px; height: 52px; right: 14px; top: 14px; }
  .safe.big .safe-kick { max-width: calc(100% - 64px); font-size: .64rem; letter-spacing: .14em; }
  .safe-stats b { font-size: 1.05rem; }
  .safe.big .safe-foot { flex-direction: row; align-items: center; }
  .vip { width: calc(100% - 32px); }
  .vip-case { grid-template-columns: 1fr; gap: 18px; padding: 24px 16px 22px; }
  .ingot.ingot-vip { --bv: 16px; height: 250px; }
  .ingot.ingot-hero { --bv: 18px; height: 236px; }
  .museu-stage { padding: 0 2% 58px; }
  .museu-pedestal { height: 80px; }
  .vip-facts { grid-template-columns: 1fr 1fr; }
  .vip-facts li:first-child { grid-column: 1 / -1; }
  .vip-facts b { font-size: .95rem; }
  .vip-buy .btn { width: 100%; }
  .cofre, .bateia, .resultados, .visite, .virada, .acum { padding-block: 64px; }
  .countdown div { min-width: 66px; }
  .countdown b { font-size: 1.6rem; }
  .res-card, .res-check { padding: 18px; }
  .ball { width: 40px; height: 40px; font-size: .92rem; }
  .treasure { transform: none; }
  .foot-brand { flex-direction: column; text-align: center; }
  .dock {
    display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
    background: rgba(12, 8, 3, .94); backdrop-filter: blur(12px); border-top: 1px solid var(--line-2);
  }
  .dock a { display: grid; justify-items: center; gap: 2px; padding: 6px 0; min-height: 50px; text-decoration: none; color: var(--muted); font-size: .68rem; font-weight: 700; border-radius: 12px; }
  .dock a [data-lucide] { width: 22px; height: 22px; }
  .dock a.on { color: var(--gold-hi); background: rgba(255, 220, 140, .08); }
  .toast { bottom: calc(80px + env(safe-area-inset-bottom)); }
  body.locked .dock { display: none; }
}
