@font-face { font-family: "MCTen"; src: url("fonts/minecraft-ten.woff") format("woff"); font-display: swap; }
@font-face { font-family: "MC"; src: url("fonts/minecraft.woff") format("woff"); font-display: swap; }

:root {
  --bg: #111113; --bg2: #18181b; --card: #1f1f23; --line: #2a2a30; --line2: #3a3a42;
  --tx: #f4f4f5; --mut: #9a9aa4; --dim: #6b6b75;
  --gold: #ffd43b; --pix: #32bcad; --ok: #4ade80; --bad: #f87171;
  --r: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--tx); font: 15px/1.5 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
[hidden] { display: none !important; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 99; padding: 8px 12px; background: var(--gold); color: #1a1400; border-radius: 8px; font-weight: 700; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* ---------- topo ---------- */
.hd { background: radial-gradient(60% 120% at 50% 0%, #ffd43b14, transparent 70%); }
.hd-in { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 34px 16px 26px; }
.logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.logo img { width: 64px; height: 64px; image-rendering: pixelated; border-radius: 12px; filter: drop-shadow(0 6px 14px #0009); }
.logo span, .logo-t { font-family: "MCTen", sans-serif; font-size: clamp(34px, 6vw, 48px); line-height: 1; text-shadow: 0 4px 0 #000a; }
.logo em, .logo-t em { font-style: normal; color: var(--gold); }
.ip { display: inline-flex; align-items: center; gap: 10px; padding: 5px 5px 5px 14px; border-radius: 99px; border: 1px solid var(--line); background: var(--bg2); font-size: 13px; }
.ip i { font-style: normal; font-weight: 700; font-size: 12px; padding: 5px 10px; border-radius: 99px; background: #ffffff12; color: var(--mut); transition: .15s; }
.ip:hover i { background: var(--gold); color: #1a1400; }

.tabs { position: sticky; top: 0; z-index: 30; background: #111113e8; backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.tabs-in { display: flex; align-items: center; gap: 10px; height: 58px; }
.tabs-list { display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none; margin-right: auto; height: 100%; }
.tabs-list::-webkit-scrollbar { display: none; }
.tabs-list a { display: flex; align-items: center; height: 100%; color: var(--mut); text-decoration: none; font-weight: 600; font-size: 14px; white-space: nowrap; border-bottom: 2px solid transparent; transition: color .15s; }
.tabs-list a:hover { color: var(--tx); }
.tabs-list a.on { color: var(--tx); border-color: var(--tx); }
.nick-pill, .cart-btn { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--line); background: var(--bg2); font-weight: 600; font-size: 13px; white-space: nowrap; }
.nick-pill { padding-left: 6px; max-width: 160px; }
.nick-pill img { border-radius: 6px; image-rendering: pixelated; }
.nick-pill span { overflow: hidden; text-overflow: ellipsis; }
.cart-btn b, .cart-float b { display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; background: #fff; color: #111; font-size: 11px; }
@media (max-width: 640px) { .cart-btn, .nick-pill span { display: none; } .nick-pill { padding: 0 6px; } }

/* ---------- vitrine ---------- */
.sec { padding-top: 44px; scroll-margin-top: 70px; }
.h2 { display: flex; align-items: baseline; gap: 10px; margin: 0 0 20px; font-size: 28px; font-weight: 800; letter-spacing: -.5px; }
.h2 small { font-size: 13px; font-weight: 600; color: var(--dim); letter-spacing: 0; }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 960px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

/* card retrato, arte em cima e texto sobre o degradê */
.pc { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: var(--r); overflow: hidden; text-decoration: none; isolation: isolate;
  background: linear-gradient(180deg, color-mix(in srgb, var(--c) 62%, #2b2b33) 0%, color-mix(in srgb, var(--c) 22%, #18181b) 62%, #18181b 100%);
  box-shadow: inset 0 0 0 1px #ffffff14; transition: transform .2s, box-shadow .2s; }
.pc:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px #ffffff2e, 0 18px 40px -18px var(--c); }
.pc-link { position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.pc-art { position: absolute; inset: 0 0 34% 0; display: grid; place-items: center; }
.pc-art img { width: 58%; max-width: 150px; image-rendering: pixelated; filter: drop-shadow(0 14px 18px #0009); transition: transform .3s; }
.pc:hover .pc-art img { transform: scale(1.08) rotate(-4deg); }
.pc-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 52px 14px 14px; }
.pc-name { display: block; font-weight: 800; font-size: 15px; line-height: 1.25; }
.pc-name small { font-size: 12px; opacity: .75; }
.pc-price { display: block; margin-top: 2px; font-weight: 800; font-size: 18px; }
.pc-price s, .pv-price s { margin-left: 6px; font-size: .62em; font-weight: 600; color: var(--mut); }
.pc-price .soon { color: var(--mut); font-size: 15px; }
.pill { display: inline-block; margin-bottom: 6px; padding: 2px 7px; border-radius: 5px; background: #e6ff4d; color: #141400; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .3px; }
.pc-add { position: absolute; right: 12px; bottom: 14px; z-index: 3; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 0; background: #ffffff1f; color: #fff; transition: .15s; }
.pc-add:hover { background: #fff; color: #111; }
.pc-add:disabled { opacity: .35; cursor: not-allowed; background: #ffffff14; color: #fff; }
.pc-add.ok { background: var(--ok); color: #052e12; }
.pc-tag .pc-art { inset: 0 0 30% 0; }
.pc-tag { background: radial-gradient(circle at 50% 38%, color-mix(in srgb, var(--c) 24%, #1f1f24) 0%, #17171a 70%); }
.tagbig { font-family: "MC", monospace; font-size: clamp(20px, 3vw, 28px); text-shadow: 3px 3px 0 #0006; }
.tagbig small { display: block; margin-top: 6px; text-align: center; font-size: 13px; color: #fff; opacity: .8; }

/* destaques: cards largos com faixa */
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 760px) { .feat { grid-template-columns: 1fr; } }
.fc { position: relative; display: block; border-radius: var(--r); overflow: hidden; background: #f4f4f5; text-decoration: none; transition: transform .2s; }
.fc:hover { transform: translateY(-4px); }
.fc-band { display: block; padding: 7px; text-align: center; color: #111; font-size: 11px; font-weight: 800; letter-spacing: 3px; text-transform: uppercase; }
.fc-body { position: relative; display: flex; align-items: flex-end; min-height: 200px; padding: 22px; border-radius: var(--r) var(--r) 0 0; overflow: hidden;
  background: radial-gradient(circle at 78% 45%, color-mix(in srgb, var(--c) 70%, #fff) 0%, transparent 45%), linear-gradient(120deg, color-mix(in srgb, var(--c) 35%, #101014), color-mix(in srgb, var(--c) 75%, #202028)); }
.fc-body img { position: absolute; right: 7%; top: 50%; width: 38%; max-width: 170px; transform: translateY(-50%) rotate(-6deg); image-rendering: pixelated; filter: drop-shadow(0 16px 22px #000a); transition: transform .3s; }
.fc:hover .fc-body img { transform: translateY(-50%) rotate(0) scale(1.06); }
.fc-txt { position: relative; max-width: 58%; }
.fc-name { display: block; font-family: "MCTen", sans-serif; font-size: clamp(24px, 3.4vw, 32px); line-height: 1.05; color: #fff; text-shadow: 0 3px 0 #0007; }
.fc-price { display: block; margin-top: 6px; font-size: 24px; font-weight: 800; }

/* ---------- página do produto ---------- */
.pv { padding-top: 26px; }
.back { display: inline-flex; align-items: center; gap: 6px; color: var(--mut); text-decoration: none; font-size: 13px; }
.back:hover { color: var(--tx); }
.back svg { width: 15px; height: 15px; }
.pv-grid { display: grid; grid-template-columns: minmax(0, 400px) 1fr; gap: 40px; align-items: center; margin-top: 20px; }
@media (max-width: 820px) { .pv-grid { grid-template-columns: 1fr; gap: 10px; } .stage { order: -1; } }
.pv-info h1 { margin: 0; font-size: clamp(32px, 5vw, 46px); font-weight: 900; letter-spacing: -1.2px; line-height: 1.05; }
.pv-info h1 small { color: var(--c); }
.pv-price { margin: 14px 0 2px; font-size: 30px; font-weight: 900; letter-spacing: -.5px; }
.pixline { display: flex; align-items: center; gap: 6px; margin: 0; color: var(--mut); font-size: 13px; }
.pixline i { width: 12px; height: 12px; background: var(--pix); transform: rotate(45deg); border-radius: 2px; }
.stock { display: flex; align-items: center; gap: 7px; margin: 18px 0 22px; color: var(--dim); font-size: 12px; }
.stock::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px #4ade8026; }
.stock.soon::before { background: var(--dim); box-shadow: none; }
.qty-row { display: flex; align-items: center; justify-content: space-between; font-weight: 600; font-size: 14px; }
.qty { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.qty button { width: 40px; height: 40px; border: 0; background: none; font-size: 18px; }
.qty button:hover:not(:disabled) { background: #ffffff0d; }
.qty button:disabled { color: var(--dim); cursor: default; }
.qty span { min-width: 42px; text-align: center; font-weight: 700; border-inline: 1px solid var(--line); line-height: 40px; }
.sub-row { display: flex; justify-content: space-between; margin: 12px 0 22px; color: var(--mut); font-size: 13px; }
.sub-row b { color: var(--tx); font-size: 16px; }
.btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 48px; padding: 0 18px; border: 0; border-radius: 12px; background: #fff; color: #111; font-weight: 700; font-size: 15px; text-decoration: none; transition: transform .1s, background .15s, opacity .15s; }
.btn:hover { background: #e4e4e7; }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.line { margin-top: 10px; background: none; color: var(--tx); border: 1px solid var(--line); }
.btn.line:hover { background: #ffffff0a; }
.btn.go { background: var(--ok); color: #052e12; }
.btn.go:hover { background: #6ee7a0; }
.btn svg { width: 17px; height: 17px; }
.trust { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 16px 0 0; padding: 0; list-style: none; color: var(--dim); font-size: 12px; }
.trust li::before { content: "✓ "; color: var(--ok); font-weight: 800; }

.stage { position: relative; display: flex; flex-direction: column; align-items: center; min-height: 440px; justify-content: center; border-radius: 24px; background: radial-gradient(circle at 50% 55%, color-mix(in srgb, var(--c, #ffd43b) 26%, transparent), transparent 62%); }
.stage canvas { width: 320px; height: 380px; max-width: 100%; cursor: grab; touch-action: pan-y; }
.stage canvas:active { cursor: grabbing; }
@media (max-width: 820px) { .stage { min-height: 0; padding-top: 6px; } .stage canvas { width: 210px; height: 250px; } .stage-hint { display: none; } }
.mc-tag { position: relative; z-index: 1; margin: 0 0 -26px; padding: 3px 9px; background: #0009; font-family: "MC", monospace; font-size: 15px; white-space: nowrap; color: #fff; text-shadow: 2px 2px 0 #3f3f3f; }
.mc-tag.pop { animation: tagpop .35s; }
@keyframes tagpop { 40% { transform: scale(1.15); } }
.stage-msg { position: absolute; top: 48%; margin: 0; color: var(--mut); font-size: 13px; }
.stage-hint { margin: 0; color: var(--dim); font-size: 11px; }
.sk-wrap { position: relative; }
.held { position: absolute; right: 6px; bottom: 50px; width: 76px; height: 76px; image-rendering: pixelated; filter: drop-shadow(0 6px 8px #000a); animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-8px) rotate(-6deg); } }

.pv-desc { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); max-width: 760px; }
.pv-desc h2, .similar h2 { margin: 0 0 14px; font-size: 20px; font-weight: 800; }
.pv-desc > p { color: #d4d4d8; margin: 0 0 14px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.checks li { position: relative; padding-left: 26px; color: #d4d4d8; font-size: 14px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; background: url("ico/check.webp") center/contain no-repeat; image-rendering: pixelated; }
.kit { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-top: 18px; }
.kit figure { position: relative; margin: 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--card); }
.kit img { display: block; width: 100%; aspect-ratio: 16/10; object-fit: cover; cursor: zoom-in; }
.kit figcaption { padding: 5px 9px; color: var(--mut); font-size: 11px; }
.kit em { position: absolute; top: 6px; right: 6px; padding: 2px 6px; border-radius: 6px; background: #000c; font-style: normal; font-size: 11px; font-weight: 800; }
.similar { margin-top: 44px; }

/* ---------- rodapé ---------- */
.foot { margin-top: 80px; border-top: 1px solid var(--line); }
.foot-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 26px; padding-top: 40px; padding-bottom: 30px; }
@media (max-width: 760px) { .foot-in { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
.foot-in > div { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; font-size: 14px; }
.foot-in b { margin-bottom: 4px; }
.foot-in a, .foot-ip { color: var(--mut); text-decoration: none; background: none; border: 0; padding: 0; text-align: left; }
.foot-in a:hover, .foot-ip:hover { color: var(--tx); }
.foot-in small { color: var(--dim); font-size: 12px; }
.logo-t { font-size: 28px; }
.foot-brand p { margin: 0; color: var(--mut); }
.legal { padding-bottom: 90px; color: var(--dim); font-size: 12px; }

/* carrinho flutuante */
.cart-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: flex; align-items: center; gap: 9px; height: 46px; padding: 0 10px 0 16px; border-radius: 99px; border: 1px solid var(--line2); background: #1c1c20f2; backdrop-filter: blur(10px); font-weight: 700; font-size: 14px; box-shadow: 0 10px 30px #0009; transition: transform .2s; }
.cart-float:hover { transform: translateY(-2px); }
.cart-float.bump { animation: bump .45s; }
@keyframes bump { 30% { transform: scale(1.12); } 60% { transform: scale(.96); } }

/* ---------- checkout (gaveta) ---------- */
.dr { position: fixed; inset: 0; z-index: 50; }
.dr-bg, .ask-bg { position: absolute; inset: 0; background: #000a; backdrop-filter: blur(3px); animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.dr-card { position: absolute; top: 0; right: 0; bottom: 0; display: flex; flex-direction: column; width: min(440px, 100%); background: var(--bg2); border-left: 1px solid var(--line); animation: slide .28s cubic-bezier(.2, .9, .3, 1); }
@keyframes slide { from { transform: translateX(100%); } }
.dr-top { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px 12px; }
.dr-top h2 { margin: 0; font-size: 20px; font-weight: 800; }
.x { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); background: none; font-size: 22px; line-height: 1; }
.x:hover { background: #ffffff0d; }
.dr-steps { display: flex; gap: 6px; margin: 0; padding: 0 20px 16px; list-style: none; counter-reset: s; border-bottom: 1px solid var(--line); }
.dr-steps li { flex: 1; counter-increment: s; padding-top: 8px; border-top: 3px solid var(--line); color: var(--dim); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; }
.dr-steps li::before { content: counter(s) ". "; }
.dr-steps li.on { border-color: #fff; color: var(--tx); }
.dr-steps li.done { border-color: var(--ok); color: var(--mut); }
.dr-body { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.dr-scroll { flex: 1; overflow: auto; padding: 16px 20px; }
.dr-foot { padding: 16px 20px 20px; border-top: 1px solid var(--line); background: var(--bg2); }
.tot { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; color: var(--mut); font-size: 14px; }
.tot b { color: var(--tx); font-size: 24px; font-weight: 900; }
.tot small { display: block; color: var(--dim); font-size: 12px; }
.link { display: block; margin: 12px auto 0; background: none; border: 0; color: var(--mut); font-size: 13px; text-decoration: underline; }
.link:hover { color: var(--tx); }

.ci { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ci:last-child { border-bottom: 0; }
.ci-img { display: grid; place-items: center; width: 56px; height: 56px; flex: none; border-radius: 12px; background: linear-gradient(160deg, color-mix(in srgb, var(--c) 55%, #2b2b33), color-mix(in srgb, var(--c) 15%, #18181b)); overflow: hidden; }
.ci-img img { width: 70%; image-rendering: pixelated; }
.ci-img .tagbig { font-size: 11px; }
.ci-mid { flex: 1; min-width: 0; }
.ci-mid b { display: block; font-size: 14px; }
.ci-mid small { color: var(--dim); font-size: 12px; }
.ci-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.ci-right b { font-size: 14px; }
.qty.sm button { width: 28px; height: 28px; font-size: 15px; }
.qty.sm span { min-width: 30px; line-height: 28px; font-size: 13px; }
.rm { background: none; border: 0; padding: 0; color: var(--dim); font-size: 12px; }
.rm:hover { color: var(--bad); }
.empty { display: grid; place-items: center; gap: 6px; padding: 60px 10px; text-align: center; color: var(--mut); }
.empty img { width: 64px; image-rendering: pixelated; opacity: .7; }
.empty b { color: var(--tx); font-size: 16px; }
.upsell { margin-top: 16px; padding: 12px; border-radius: 12px; border: 1px dashed var(--line2); }
.upsell p { margin: 0 0 8px; color: var(--mut); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; }
.upsell .ci { padding: 0; border: 0; }

.fld { display: block; margin-bottom: 16px; font-size: 13px; font-weight: 600; }
.fld small { color: var(--dim); font-weight: 500; }
.fld input { display: block; width: 100%; height: 48px; margin-top: 7px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--tx); font: 16px inherit; transition: border-color .15s; }
.fld input:focus { outline: 0; border-color: #fff; }
.fld input.bad { border-color: var(--bad); }
.fld-nick span { display: flex; gap: 10px; align-items: center; margin-top: 7px; }
.fld-nick img { width: 48px; height: 48px; border-radius: 10px; image-rendering: pixelated; flex: none; background: var(--card); }
.fld-nick input { margin: 0; }
.mini { margin: 0 0 16px; padding: 12px 14px; border-radius: 12px; background: var(--card); font-size: 13px; }
.mini div { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; color: var(--mut); }
.mini div b { color: var(--tx); font-weight: 600; }
.mini .sum { margin-top: 6px; padding-top: 9px; border-top: 1px solid var(--line); }
.mini .sum b { font-size: 16px; font-weight: 800; }
.gift { display: block; margin-top: 6px; color: var(--dim); font-size: 12px; font-weight: 500; }
.mini .desc { color: var(--ok); }
.mini .desc b { color: var(--ok); }
.mini .sum s { margin-right: 6px; color: var(--dim); font-size: 13px; font-weight: 500; }
.link-sm { background: none; border: 0; padding: 0; color: var(--mut); font-size: 13px; text-decoration: underline; }
.link-sm:hover { color: var(--tx); }
.cup-f { display: flex; gap: 6px; }
.cup-f input { flex: 1; min-width: 0; height: 44px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--tx); font: 15px inherit; text-transform: uppercase; }
.cup-f input:focus { outline: 0; border-color: #fff; }
.cup-f button { padding: 0 16px; border-radius: 10px; border: 1px solid var(--line2); background: #ffffff10; font-weight: 700; font-size: 14px; }
.cup-f button:hover:not(:disabled) { background: #fff; color: #111; }
.cup-ok { display: flex; align-items: center; gap: 6px; margin: 0; color: var(--ok); font-size: 13px; }
.cup-ok svg { width: 15px; height: 15px; }
.cup-ok .rm { margin-left: auto; }
.btn-up { padding: 5px 12px; border-radius: 99px; border: 0; background: #fff; color: #111; font-size: 12px; font-weight: 800; }
.btn-up:hover { background: var(--gold); }
.up-vip { border: 1px solid color-mix(in srgb, var(--c) 55%, transparent); background: color-mix(in srgb, var(--c) 9%, transparent); }
.up-vip p { color: var(--c); }
@media (max-width: 820px) { .is-pv .hd { display: none; } .is-pv .pv { padding-top: 16px; } }
.secure { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 12px 0 0; color: var(--dim); font-size: 12px; }
.secure svg { width: 14px; height: 14px; }

.pix { text-align: center; }
.pix-amt { margin: 4px 0 2px; font-size: 32px; font-weight: 900; }
.pix-to { margin: 0 0 14px; color: var(--mut); font-size: 13px; }
.pix-qr { display: block; width: 210px; height: 210px; margin: 0 auto 12px; padding: 10px; border-radius: 16px; background: #fff; }
.pix-code { display: flex; gap: 6px; margin-bottom: 12px; }
.pix-code input { flex: 1; min-width: 0; height: 44px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--mut); font: 12px monospace; }
.timer { display: inline-flex; align-items: center; gap: 8px; margin: 2px 0 14px; padding: 6px 12px; border-radius: 99px; background: var(--card); color: var(--mut); font-size: 13px; }
.timer i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); animation: blink 1s infinite; }
.timer b { color: var(--tx); font-variant-numeric: tabular-nums; }
@keyframes blink { 50% { opacity: .2; } }
.pix-steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; text-align: left; counter-reset: p; }
.pix-steps li { counter-increment: p; display: flex; gap: 10px; align-items: center; color: #d4d4d8; font-size: 13px; }
.pix-steps li::before { content: counter(p); display: grid; place-items: center; width: 22px; height: 22px; flex: none; border-radius: 50%; background: var(--card); font-size: 11px; font-weight: 800; }
.paid { padding: 40px 10px; text-align: center; }
.paid .ok-ico { display: grid; place-items: center; width: 74px; height: 74px; margin: 0 auto 16px; border-radius: 50%; background: #4ade8022; color: var(--ok); animation: tagpop .5s; }
.paid .ok-ico svg { width: 38px; height: 38px; stroke-width: 3; }
.paid h3 { margin: 0 0 6px; font-size: 22px; }
.paid p { margin: 0 0 20px; color: var(--mut); }

/* ---------- nick ---------- */
.ask { position: fixed; inset: 0; z-index: 55; display: grid; place-items: center; padding: 16px; }
.ask-card { position: relative; width: min(400px, 100%); padding: 26px 22px 22px; border: 1px solid var(--line); border-radius: 20px; background: var(--bg2); text-align: center; animation: pop .25s cubic-bezier(.2, .9, .3, 1.2); }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.97); } }
.ask-card img { width: 72px; height: 72px; border-radius: 12px; image-rendering: pixelated; background: var(--card); }
.ask-card h2 { margin: 14px 0 4px; font-size: 22px; font-weight: 800; }
.ask-card p { margin: 0 0 16px; color: var(--mut); font-size: 14px; }
.ask-card input { width: 100%; height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--tx); font: 16px inherit; text-align: center; }
.ask-card input:focus { outline: 0; border-color: #fff; }
.err { min-height: 18px; margin: 6px 0 8px !important; color: var(--bad) !important; font-size: 12px !important; }

/* tags: uma cor ou animada */
.tagbig b, .mc-tag b, .ci-img b { font-weight: 400; color: var(--c); }
b.an { background: linear-gradient(90deg, var(--g)); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent !important; text-shadow: none; animation: flow 3s linear infinite; }
@keyframes flow { to { background-position: 300% 0; } }

.zoom { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px; background: #000e; cursor: zoom-out; }
.zoom img { max-height: 90vh; border-radius: 10px; image-rendering: pixelated; }
.toast { position: fixed; left: 50%; bottom: 80px; z-index: 70; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; padding: 11px 16px; border-radius: 12px; background: #26262b; border: 1px solid var(--line2); font-weight: 600; font-size: 14px; transition: .25s; max-width: calc(100% - 32px); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.toast.bad { border-color: var(--bad); }
/* ---------- v7: promoção, confiança, barra de compra, Pix pendente ---------- */
.promo { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 14px; padding: 9px 16px; text-align: center; text-decoration: none; font-size: 13px; font-weight: 600; color: #1a0a00;
  background: linear-gradient(90deg, #ff4d4d, #ffb020, #ff4d4d); background-size: 200% 100%; animation: promoflow 8s linear infinite; }
.promo em { font-style: normal; padding: 2px 9px; border-radius: 99px; background: #0000002b; font-size: 12px; }
@keyframes promoflow { to { background-position: 200% 0; } }
.hd-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; margin: 2px 0 0; padding: 0; list-style: none; color: var(--mut); font-size: 12px; }
.hd-trust li::before { content: "✓ "; color: var(--ok); font-weight: 800; }
.ci-right s { color: var(--dim); font-size: 12px; font-weight: 500; }
.tot b s { margin-right: 6px; color: var(--dim); font-size: 14px; font-weight: 600; }
.cart-float.pix-on, .cart-btn.pix-on { border-color: var(--pix); box-shadow: 0 0 0 3px #32bcad33, 0 10px 30px #0009; }
.cart-float.pix-on b, .cart-btn.pix-on b { background: var(--pix); color: #04201d; }
.buybar { display: none; }
@media (max-width: 820px) {
  .buybar:not([hidden]) { position: fixed; left: 0; right: 0; bottom: 0; z-index: 41; display: flex; align-items: center; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: #18181bf2; backdrop-filter: blur(12px); border-top: 1px solid var(--line); animation: barup .35s var(--ease, ease) both; }
  .buybar span { flex: 1; min-width: 0; }
  .buybar small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--mut); font-size: 12px; }
  .buybar b { font-size: 18px; font-weight: 900; }
  .buybar b s { margin-left: 6px; color: var(--dim); font-size: 12px; font-weight: 600; }
  .buybar .btn { width: auto; height: 44px; flex: none; }
  .has-buybar .cart-float { bottom: 84px; }
}
@keyframes barup { from { transform: translateY(100%); } }

/* ---------- página de obrigado ---------- */
.ty { max-width: 640px; padding-top: 28px; padding-bottom: 40px; }
.ty-card { position: relative; padding: 34px 24px 26px; border-radius: 24px; border: 1px solid var(--line); background: var(--bg2); text-align: center; overflow: hidden; }
.ty-card::before { content: ""; position: absolute; inset: -40% -20% auto; height: 260px; background: radial-gradient(closest-side, var(--glow, #ffd43b22), transparent); pointer-events: none; }
.ty-card > * { position: relative; }
.ty-ico { display: grid; place-items: center; width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 50%; background: #ffffff0d; }
.ty-ico svg { width: 42px; height: 42px; stroke-width: 3; }
.ty-ico.ok { background: #4ade8022; color: var(--ok); animation: tagpop .6s var(--ease, ease); }
.ty-ico.wait { color: var(--gold); }
.ty-ico.wait svg { animation: gira 1s linear infinite; }
.ty-ico.bad { background: #f8717122; color: var(--bad); }
@keyframes gira { to { transform: rotate(360deg); } }
.ty h1 { margin: 0 0 8px; font-size: clamp(26px, 5vw, 34px); font-weight: 900; letter-spacing: -.6px; line-height: 1.1; }
.ty-sub { margin: 0 auto; max-width: 440px; color: #d4d4d8; }
.ty-player { display: inline-flex; align-items: center; gap: 12px; margin: 22px 0 6px; padding: 8px 16px 8px 8px; border-radius: 16px; background: var(--card); text-align: left; }
.ty-player img { width: 52px; height: 52px; border-radius: 10px; image-rendering: pixelated; background: var(--bg); }
.ty-player small { display: block; color: var(--dim); font-size: 12px; }
.ty-player b { font-size: 17px; }
.ty-order { margin: 18px 0 0; text-align: left; }
.ty-order .mini { margin: 0; }
.ty-ref { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; color: var(--dim); font-size: 12px; }
.ty-ref code { color: var(--mut); font-size: 12px; overflow: hidden; text-overflow: ellipsis; }
.ty-sec { margin-top: 18px; padding: 22px 22px; border-radius: 20px; border: 1px solid var(--line); background: var(--bg2); }
.ty-sec h2 { margin: 0 0 14px; font-size: 18px; font-weight: 800; }
.ty-steps { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: t; }
.ty-steps li { counter-increment: t; display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: start; }
.ty-steps li::before { content: counter(t); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--card); font-weight: 800; }
.ty-steps li > span > b:first-child { display: block; }
.ty-steps span span { display: block; }
.ty-steps span span b { color: var(--tx); }
.fc-price s { margin-left: 10px; font-size: .6em; font-weight: 700; opacity: .75; }
.ty-steps span { color: var(--mut); font-size: 14px; }
.ty-steps .ip { margin-top: 8px; }
.ty-help { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; color: var(--mut); font-size: 14px; }
.ty-help .btn { width: auto; }
.ty-acts { display: grid; gap: 10px; margin-top: 18px; }
.confete { position: fixed; top: -12px; z-index: 80; width: 9px; height: 14px; border-radius: 2px; pointer-events: none; animation: cai linear forwards; }
@keyframes cai { to { transform: translate3d(var(--x, 0), 105vh, 0) rotate(var(--r, 540deg)); } }

/* ---------- motion (v6) ---------- */
:root { --ease: cubic-bezier(.22, 1, .36, 1); }

/* cards: sobem, inclinam seguindo o mouse (JS define --rx/--ry) e acendem uma luz onde o cursor está */
.pc, .fc { --rx: 0deg; --ry: 0deg; --lift: 0px; --sc: 1;
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(var(--lift)) scale(var(--sc));
  transition: transform .55s var(--ease), box-shadow .55s var(--ease), opacity .9s var(--ease), translate .9s var(--ease); will-change: transform; }
.pc:hover, .fc:hover, .pc:focus-within { --lift: -8px; --sc: 1.015; transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(var(--lift)) scale(var(--sc)); }
.pc:hover { box-shadow: inset 0 0 0 1px #ffffff33, 0 24px 50px -20px var(--c); }
.fc:hover { box-shadow: 0 26px 60px -24px var(--c); }
.pc::after, .fc::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: inherit;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), #ffffff2e, transparent 55%); opacity: 0; transition: opacity .5s var(--ease); }
.pc:hover::after, .fc:hover::after { opacity: 1; }
.pc-add { z-index: 4; transition: transform .45s var(--ease), background .25s, color .25s; }
.pc-add:hover:not(:disabled) { transform: rotate(90deg) scale(1.1); }
.pc-art img, .pc-art .tagbig { transition: transform .7s var(--ease), filter .7s var(--ease); }
.pc:hover .pc-art img { transform: translateY(-10px) scale(1.1) rotate(-5deg); filter: drop-shadow(0 24px 22px #000b); }
.pc:hover .pc-art .tagbig { transform: translateY(-6px) scale(1.08); }
.pc-info { transition: transform .55s var(--ease); }
.pc:hover .pc-info { transform: translateY(-3px); }
.fc-body img { transition: transform .8s var(--ease), filter .8s var(--ease); }
.fc:hover .fc-body img { transform: translateY(-56%) rotate(2deg) scale(1.1); filter: drop-shadow(0 26px 26px #000b); }

/* entrada ao rolar: o JS põe .rv e depois .in quando o elemento aparece */
.rv { opacity: 0; translate: 0 34px; }
.rv.in { opacity: 1; translate: 0 0; transition-delay: var(--d, 0ms); }
.h2.rv { transition: opacity .9s var(--ease), translate .9s var(--ease); }

/* abas: barra que desliza até a aba ativa */
.tabs-list { position: relative; }
.tabs-list a.on { border-color: transparent; }
.tab-bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; border-radius: 2px; background: #fff; pointer-events: none;
  transition: transform .5s var(--ease), width .5s var(--ease); }

/* página do produto e volta para a vitrine */
@keyframes sobe { from { opacity: 0; transform: translateY(22px); } }
@keyframes surge { from { opacity: 0; transform: scale(.92); } }
@keyframes aparece { from { opacity: 0; } }
.pv.enter .back { animation: sobe .6s var(--ease) both; }
.pv.enter .pv-info > * { animation: sobe .75s var(--ease) both; }
.pv.enter .pv-info > :nth-child(2) { animation-delay: .05s; } .pv.enter .pv-info > :nth-child(3) { animation-delay: .1s; }
.pv.enter .pv-info > :nth-child(4) { animation-delay: .14s; } .pv.enter .pv-info > :nth-child(5) { animation-delay: .18s; }
.pv.enter .pv-info > :nth-child(6) { animation-delay: .22s; } .pv.enter .pv-info > :nth-child(n+7) { animation-delay: .26s; }
.pv.enter .stage { animation: surge 1s var(--ease) both .05s; }
.pv.enter .pv-desc { animation: sobe .9s var(--ease) both .3s; }
.home-enter { animation: aparece .5s var(--ease) both; }

/* botões e checkout mais macios */
.btn { transition: transform .35s var(--ease), background .25s, opacity .25s, box-shadow .35s var(--ease); }
.btn:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 10px 24px -12px #fff6; }
.btn.go:hover:not(:disabled) { box-shadow: 0 10px 26px -10px #4ade8099; }
.dr-card { animation-duration: .45s; animation-timing-function: var(--ease); }
.ci { animation: sobe .5s var(--ease) both; }
.cart-float { transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.cart-float:hover { transform: translateY(-3px); box-shadow: 0 16px 36px #000b; }

@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; translate: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }
