/* Loja AnooraMC — céu noturno, sol dourado e nuvens */
:root {
  --bg-0: #070b26;
  --bg-1: #0b1137;
  --bg-2: #121a4d;
  --glass: rgba(255, 255, 255, .055);
  --glass-2: rgba(255, 255, 255, .09);
  --glass-3: rgba(255, 255, 255, .14);
  --line: rgba(255, 255, 255, .12);
  --line-2: rgba(255, 255, 255, .22);
  --text: #f1f4ff;
  --text-soft: #b3bde3;
  --text-dim: #8590c0;
  --sun: #ffc93d;
  --sun-2: #ff9b21;
  --sun-soft: #ffe6a3;
  --sky: #5fb8ff;
  --violet: #8f7bff;
  --ink: #0a1f55;
  --ok: #4ade80;
  --warn: #fbbf24;
  --bad: #ff6b81;
  --r-lg: 22px;
  --r: 16px;
  --r-sm: 12px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --font-display: 'Bricolage Grotesque', 'Segoe UI', sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.6; color: var(--text); background-color: var(--bg-0);
  background: radial-gradient(1200px 600px at 80% -10%, rgba(143, 123, 255, .16), transparent 60%),
              radial-gradient(900px 500px at 10% 0%, rgba(95, 184, 255, .12), transparent 60%),
              linear-gradient(180deg, var(--bg-0), var(--bg-1) 40%, var(--bg-0));
  background-attachment: fixed;
  min-height: 100vh; display: flex; flex-direction: column;
}
body > main { flex: 1; }
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--sun); color: var(--bg-0); }
:focus-visible { outline: 2px solid var(--sun); outline-offset: 3px; border-radius: 8px; }
.hidden { display: none !important; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.small { font-size: .88rem; }
.center { justify-content: center; text-align: center; }

h1, h2, h3, h4, .display { font-family: var(--font-display); font-weight: 800; letter-spacing: -.02em; line-height: 1.08; margin: 0; }
h1 { font-size: clamp(2.3rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.25rem; letter-spacing: -.01em; }
.on-sky { color: var(--text); }
.muted { color: var(--text-soft); }
.art-svg { width: 100%; height: 100%; overflow: visible; }

/* ---------- Céu estrelado (fundo fixo) ---------- */
.sky-fx { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.sky-fx .stars, .sky-fx .stars2 {
  position: absolute; inset: -50%;
  background-image:
    radial-gradient(1.2px 1.2px at 20px 30px, #fff, transparent),
    radial-gradient(1px 1px at 120px 80px, #cfe0ff, transparent),
    radial-gradient(1.4px 1.4px at 200px 160px, #fff, transparent),
    radial-gradient(1px 1px at 300px 40px, #ffe9b0, transparent),
    radial-gradient(1px 1px at 360px 220px, #fff, transparent),
    radial-gradient(1.6px 1.6px at 80px 260px, #fff, transparent);
  background-size: 400px 300px; opacity: .55; animation: twinkle 6s ease-in-out infinite alternate;
}
.sky-fx .stars2 { background-size: 620px 470px; opacity: .35; animation-duration: 9s; animation-delay: -3s; translate: 90px 40px; }
@keyframes twinkle { from { opacity: .2; } to { opacity: .65; } }
.shooting { position: absolute; top: 12%; left: 70%; width: 140px; height: 2px; border-radius: 2px; rotate: -18deg; opacity: 0;
  background: linear-gradient(90deg, rgba(255, 233, 176, 0), #fff3c4); animation: shoot 11s linear infinite; }
.shooting.s2 { top: 30%; left: 25%; animation-delay: 6.5s; animation-duration: 14s; }
@keyframes shoot { 0%, 88% { opacity: 0; translate: 0 0; } 90% { opacity: 1; } 100% { opacity: 0; translate: -420px 140px; } }

/* ---------- Topo ---------- */
.topbar { position: sticky; top: 0; z-index: 40; }
.subbar { background: linear-gradient(90deg, #1a1450, #0e1a52); color: var(--text-soft); font-size: .85rem; font-weight: 700; border-bottom: 1px solid var(--line); }
.subbar .wrap { display: flex; justify-content: space-between; align-items: center; height: 34px; }
.back-site { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--text); transition: color .2s, gap .2s var(--ease); }
.back-site:hover { color: var(--sun); gap: 10px; }
.subbar-ip strong { color: var(--sun); }
.mainbar { display: flex; align-items: center; gap: 14px; height: 68px; }
.topbar::after { content: ""; position: absolute; inset: 35px 0 0; z-index: -1; background: rgba(9, 13, 44, .72); backdrop-filter: blur(14px) saturate(140%); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); flex: none; }
.brand img { width: 40px; height: 40px; transition: rotate .8s var(--ease); }
.brand:hover img { rotate: 90deg; }
.brand span { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; letter-spacing: -.02em; white-space: nowrap; }
.brand b { color: var(--sun); }
.brand small { font-family: var(--font-body); font-weight: 800; font-size: .7rem; color: var(--sun); border: 1px solid rgba(255, 201, 61, .45); padding: 2px 8px; border-radius: 999px; vertical-align: middle; margin-left: 6px; }
.nav { display: flex; gap: 2px; margin-left: auto; align-items: center; }
.nav a { position: relative; color: var(--text-soft); text-decoration: none; font-weight: 700; padding: 8px 12px; border-radius: 10px; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--sun); scale: 0 1; transition: scale .3s var(--ease); }
.nav a:hover { color: var(--text); }
.nav a:hover::after { scale: 1 1; }
.nav-user { display: contents; }
.nav-me img { border-radius: 6px; image-rendering: pixelated; }
.nav-login { border: 1px solid var(--line-2); }
.cart-btn {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 12px; border: 0; cursor: pointer;
  background: linear-gradient(180deg, #ffd866, var(--sun) 50%, var(--sun-2)); color: #2a1600; font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 6px 18px rgba(0, 0, 0, .3); transition: transform .2s var(--ease);
}
.cart-btn:hover { transform: translateY(-1px); }
.cart-btn.bump { animation: bump .5s var(--spring); }
@keyframes bump { 30% { transform: scale(1.14) rotate(-4deg); } 60% { transform: scale(.96) rotate(2deg); } }
.cart-wrap { position: relative; }
.cart-count {
  position: absolute; top: -8px; right: -8px; z-index: 2; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px;
  background: #ff4d6d; color: #fff; font-size: .75rem; font-weight: 900; display: grid; place-items: center; border: 2px solid var(--bg-1);
}
.cart-count.pop { animation: pop-in .45s var(--spring); }
@keyframes pop-in { from { scale: .2; } }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; color: var(--text); padding: 8px; cursor: pointer; border-radius: 10px; }

/* ---------- Botões ---------- */
.btn {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 14px; border: 1px solid var(--line-2); font-family: var(--font-body); font-weight: 800; font-size: 1rem;
  cursor: pointer; text-decoration: none; white-space: nowrap; background: var(--glass-2); color: var(--text);
  transition: transform .2s var(--ease), background .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); background: var(--glass-3); border-color: rgba(255, 255, 255, .35); }
.btn:active { transform: translateY(0) scale(.98); }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.btn-sun { border: 0; color: #2a1600; background: linear-gradient(180deg, #ffe07a, var(--sun) 48%, var(--sun-2)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .65), inset 0 -2px 0 rgba(160, 70, 0, .35), 0 10px 24px -8px rgba(0, 0, 0, .55); }
.btn-sun:hover { background: linear-gradient(180deg, #ffe88f, #ffd04f 48%, #ffa634); }
.btn-sun::after, .cart-btn::after {
  content: ""; position: absolute; inset: 0; translate: -120% 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%);
}
.btn-sun:hover::after, .cart-btn:hover::after { translate: 120% 0; transition: translate .7s var(--ease); }
.btn-sky { border: 0; color: #04122e; background: linear-gradient(180deg, #9ad3ff, var(--sky)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6); }
.btn-danger { background: rgba(255, 107, 129, .12); border-color: rgba(255, 107, 129, .4); color: #ffb3bf; }
.btn-danger:hover { background: rgba(255, 107, 129, .22); }
.btn-sm { padding: 7px 13px; font-size: .9rem; border-radius: 10px; }
.btn-lg { padding: 15px 30px; font-size: 1.1rem; border-radius: 16px; }
.btn-block { width: 100%; }
.btn-google { background: #fff; color: #1f2937; border: 0; }
.btn-google:hover { background: #f3f4f6; }
.icon-btn { background: none; border: 0; cursor: pointer; font-size: 1.1rem; line-height: 1; padding: 6px; border-radius: 8px; color: var(--text-soft); }
.icon-btn:hover { background: var(--glass-2); color: var(--text); }
.linkish { color: var(--text-soft); }

/* ---------- Hero ---------- */
.hero { position: relative; text-align: center; padding: 30px 0 190px; overflow: hidden; isolation: isolate; -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent); mask-image: linear-gradient(180deg, #000 72%, transparent); }
.hero::before { content: ""; position: absolute; left: 50%; top: 40px; width: 900px; height: 600px; translate: -50% 0; z-index: -2;
  background: radial-gradient(closest-side, rgba(255, 201, 61, .22), rgba(255, 155, 33, .08) 55%, transparent); animation: breathe 7s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .65; scale: 1.06; } }
.hero-sun {
  position: absolute; left: 50%; top: -170px; width: 820px; height: 820px; translate: -50% 0; pointer-events: none; z-index: -1;
  background: url(../img/logo.png) center / contain no-repeat; opacity: .22; animation: spin 160s linear infinite;
}
@keyframes spin { to { rotate: 360deg; } }
.hero h1 { animation: rise 1s var(--ease) both; }
.hero-banner { position: relative; width: min(680px, 100%); height: auto; margin: 0 auto; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .45)); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { translate: 0 -10px; } }
.hero .lead { position: relative; color: var(--text-soft); font-size: 1.15rem; font-weight: 600; max-width: 50ch; margin: 8px auto 26px; animation: rise 1s .15s var(--ease) both; }
.hero-actions { position: relative; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; animation: rise 1s .3s var(--ease) both; }
@keyframes rise { from { opacity: 0; translate: 0 24px; filter: blur(6px); } }
.clouds, .clouds-back { position: absolute; left: 0; right: 0; bottom: -2px; height: 180px; pointer-events: none; background: url(../img/clouds-night.svg) 0 100% / 1600px 100% repeat-x; }
.clouds { animation: drift 70s linear infinite; }
.clouds-back { height: 230px; opacity: .5; bottom: 30px; background-size: 2100px 100%; background-position-x: 700px; animation: drift-r 110s linear infinite; }
@keyframes drift { to { background-position-x: -1600px; } }
@keyframes drift-r { to { background-position-x: 2800px; } }

/* Status (sobre as nuvens) */
.status-strip { position: relative; z-index: 2; margin-top: -130px; }
.status-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1.4fr); gap: 16px; }
.status-card {
  display: flex; align-items: center; gap: 14px; text-align: left; min-height: 86px; padding: 14px 18px; border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(30, 40, 100, .75), rgba(16, 22, 66, .75)); border: 1px solid var(--line);
  backdrop-filter: blur(12px); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6); animation: rise .9s .45s var(--ease) both;
}
.status-card:nth-child(2) { animation-delay: .55s; }
.status-card:nth-child(3) { animation-delay: .65s; }
button.status-card { cursor: pointer; font: inherit; color: inherit; width: 100%; transition: border-color .2s; }
button.status-card:hover { border-color: rgba(255, 201, 61, .5); }
.status-card .ico { width: 46px; height: 46px; flex: none; transition: rotate .5s var(--spring); }
.status-card:hover .ico { rotate: -12deg; }
.status-card .k { display: block; font-size: .82rem; font-weight: 700; color: var(--text-soft); }
.status-card .v { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.05rem, 1.7vw, 1.3rem); line-height: 1.2; overflow-wrap: break-word; }
.status-card .grow { flex: 1; min-width: 0; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--text-dim); margin-right: 6px; vertical-align: middle; }
.dot.on { background: var(--ok); animation: pulse 2s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, .55); } 100% { box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); } }
.goal-bar { position: relative; height: 10px; border-radius: 6px; background: rgba(255, 255, 255, .1); overflow: hidden; margin-top: 8px; }
.goal-bar i { position: relative; display: block; height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, var(--sun-2), var(--sun), #fff1b8); transition: width 1.6s var(--ease); overflow: hidden; }
.goal-bar i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .6), transparent); translate: -100% 0; animation: shimmer 2.4s 1.6s ease-in-out infinite; }
@keyframes shimmer { to { translate: 100% 0; } }
.goal-meta { display: flex; justify-content: space-between; font-size: .82rem; font-weight: 700; color: var(--text-soft); margin-top: 6px; }

/* ---------- Seções ---------- */
.light { background: transparent; }
.section { padding: 64px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.section-head p { margin: 8px 0 0; color: var(--text-soft); font-weight: 600; }
.store-top { padding-top: 56px; }

/* Categorias */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-bottom: 32px; }
.cat-card {
  position: relative; display: grid; grid-template-columns: 56px 1fr; align-items: center; gap: 12px; text-align: left; padding: 12px 16px;
  border-radius: var(--r); background: var(--glass); border: 1px solid var(--line); cursor: pointer; transition: transform .25s var(--ease), background .2s, border-color .2s;
}
.cat-card .ico { width: 56px; height: 56px; transition: transform .5s var(--spring); }
.cat-card strong { font-family: var(--font-display); font-weight: 800; font-size: 1.12rem; display: block; }
.cat-card span { font-size: .82rem; color: var(--text-soft); font-weight: 600; line-height: 1.35; display: block; }
.cat-card:hover { transform: translateY(-3px); background: var(--glass-2); }
.cat-card:hover .ico { transform: scale(1.12) rotate(-8deg); }
.cat-card[aria-pressed="true"] { background: linear-gradient(180deg, rgba(255, 201, 61, .16), rgba(255, 155, 33, .06)); border-color: rgba(255, 201, 61, .6); }

/* Produtos */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 22px; }
.product {
  position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .03)); border: 1px solid var(--line);
  transition: transform .35s var(--ease), border-color .3s, box-shadow .35s var(--ease), opacity .8s var(--ease), translate .8s var(--ease);
}
.product:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--c, #ffc93d) 60%, transparent); box-shadow: 0 26px 50px -24px rgba(0, 0, 0, .8); }
.product .art {
  position: relative; aspect-ratio: 16/10; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(circle at 50% 60%, color-mix(in srgb, var(--c) 70%, #ffffff) 0, color-mix(in srgb, var(--c) 45%, #0b1137) 55%, #0b1137 100%);
}
.product .art::before {
  content: ""; position: absolute; inset: -40%;
  background: repeating-conic-gradient(from 0deg at 50% 50%, rgba(255, 255, 255, .09) 0 8deg, transparent 8deg 16deg);
  animation: spin 60s linear infinite; animation-play-state: paused;
}
.product:hover .art::before { animation-play-state: running; }
.product .art::after { content: ""; position: absolute; inset: 0; translate: -130% 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .3) 50%, transparent 65%); }
.product:hover .art::after { translate: 130% 0; transition: translate .9s var(--ease); }
.product .art > * { position: relative; width: 50%; height: auto; max-height: 80%; transition: transform .6s var(--spring); filter: drop-shadow(0 12px 14px rgba(0, 0, 0, .35)); }
.product:hover .art > svg { transform: translateY(-8px) scale(1.06) rotate(-3deg); }
.product .art img { width: 100%; height: 100%; max-height: none; object-fit: cover; position: absolute; inset: 0; filter: none; }
.product .body { padding: 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.product h3 a { text-decoration: none; }
.product h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.product .tagline { color: var(--text-soft); font-weight: 600; font-size: .9rem; }
.product .perks { list-style: none; padding: 0; margin: 10px 0 0; display: grid; align-content: start; gap: 4px; font-size: .9rem; color: var(--text-soft); flex: 1; }
.product .perks li { display: flex; gap: 8px; }
.product .perks li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: .6em; rotate: 45deg; background: var(--c, var(--sun)); border-radius: 1px; }
.price-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.price-row .btn { position: relative; z-index: 2; }
.price { font-family: var(--font-display); font-weight: 800; font-size: 1.55rem; letter-spacing: -.02em; color: var(--sun-soft); }
.old-price { text-decoration: line-through; color: var(--text-dim); font-size: .85rem; font-weight: 700; display: block; line-height: 1; }
.ribbon { position: absolute; top: 12px; left: 12px; z-index: 2; background: rgba(9, 13, 44, .72); backdrop-filter: blur(6px); color: var(--sun); border: 1px solid rgba(255, 201, 61, .5); border-radius: 999px; padding: 3px 11px; font-weight: 800; font-size: .78rem; }
.ribbon.sale { left: auto; right: 12px; background: #ff4d6d; color: #fff; border-color: transparent; }
.empty { text-align: center; padding: 40px 16px; color: var(--text-soft); font-weight: 600; }

/* Como funciona */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps::before { content: ""; position: absolute; top: 33px; left: 16%; right: 16%; height: 2px; background: linear-gradient(90deg, transparent, rgba(255, 201, 61, .5), transparent); }
.steps li { position: relative; padding: 0 8px; text-align: center; }
.steps li::before {
  counter-increment: s; content: counter(s); position: relative; display: grid; place-items: center; width: 66px; height: 66px; margin: 0 auto 14px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff3c4, var(--sun) 45%, var(--sun-2)); color: #2a1600; font-family: var(--font-display); font-weight: 800; font-size: 1.6rem;
  box-shadow: 0 0 0 8px var(--bg-1), 0 0 0 9px rgba(255, 201, 61, .35);
}
.steps h3 { font-size: 1.15rem; margin-bottom: 6px; }
.steps p { margin: 0 auto; color: var(--text-soft); font-weight: 500; max-width: 34ch; }

/* ---------- TOP + compras recentes ---------- */
.top { position: relative; padding: 70px 0 90px; isolation: isolate; }
.top::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 380px at 35% 40%, rgba(255, 201, 61, .1), transparent 70%); }
.top-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 30px; align-items: start; }
.top h2 { margin-bottom: 6px; }
.top .sub { color: var(--text-soft); font-weight: 600; margin: 0 0 34px; }
.podium { display: grid; grid-template-columns: 1fr 1.15fr 1fr; align-items: end; gap: 14px; margin: 0 0 22px; }
.step { text-align: center; }
.step .head { width: 80px; height: 80px; margin: 0 auto 10px; border-radius: 18px; background: var(--glass-2); image-rendering: pixelated; border: 2px solid var(--line-2); transition: transform .4s var(--spring), opacity .6s .5s, translate .6s .5s var(--ease); }
.step:hover .head { transform: translateY(-6px) rotate(-4deg); }
.step.p1 .head { width: 100px; height: 100px; border-color: var(--sun); }
.step .name { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; word-break: break-all; }
.step .amount { color: var(--sun-soft); font-weight: 700; font-size: .92rem; }
.step .block { margin-top: 12px; border-radius: 18px 18px 6px 6px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; color: rgba(20, 14, 0, .75); transform-origin: bottom; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), inset 0 -10px 30px rgba(0, 0, 0, .15); }
.step.p1 .block { height: 150px; background: linear-gradient(180deg, #fff1b0, var(--sun) 50%, var(--sun-2)); }
.step.p2 .block { height: 112px; background: linear-gradient(180deg, #ffffff, #c9d3ef 60%, #95a3cf); }
.step.p3 .block { height: 86px; background: linear-gradient(180deg, #ffd7b0, #e99a5c 60%, #b8642b); }
.js .podium .block { scale: 1 0; transition: scale 1s var(--spring); }
.js .podium .name, .js .podium .amount, .js .podium .crown-mark { opacity: 0; translate: 0 16px; transition: opacity .6s .5s, translate .6s .5s var(--ease); }
.js .podium .head { opacity: 0; translate: 0 16px; }
.js .podium.in .block { scale: 1 1; }
.js .podium.in .head, .js .podium.in .name, .js .podium.in .amount, .js .podium.in .crown-mark { opacity: 1; translate: 0 0; }
.js .podium .p2 .block { transition-delay: .15s; }
.js .podium .p3 .block { transition-delay: .3s; }
.crown-mark { width: 46px; height: 46px; margin: -6px auto -2px; }
.crown-mark svg { animation: bob 3s ease-in-out infinite; }
@keyframes bob { 50% { translate: 0 -6px; rotate: 6deg; } }
.rank-list { display: grid; gap: 8px; padding: 0; margin: 0; list-style: none; }
.rank-list li { display: grid; grid-template-columns: 38px 34px 1fr auto; align-items: center; gap: 12px; background: var(--glass); border: 1px solid var(--line); border-radius: 14px; padding: 8px 16px; transition: background .2s, transform .25s var(--ease), opacity .8s var(--ease), translate .8s var(--ease); }
.rank-list li:hover { background: var(--glass-2); transform: translateX(4px); }
.rank-list .pos { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: var(--text-dim); }
.rank-list img { width: 34px; height: 34px; border-radius: 8px; image-rendering: pixelated; }
.rank-list .n { font-weight: 800; word-break: break-all; }
.rank-list .v { font-weight: 700; color: var(--sun-soft); }
.recent { background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .025)); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; }
.recent h3 { margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.recent h3::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.recent ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.recent li { display: grid; grid-template-columns: 36px 1fr; gap: 10px; align-items: center; padding: 8px; border-radius: 12px; transition: background .2s, opacity .8s var(--ease), translate .8s var(--ease); }
.recent li:hover { background: var(--glass); }
.recent img { width: 36px; height: 36px; border-radius: 8px; image-rendering: pixelated; }
.recent .who { font-weight: 800; line-height: 1.25; }
.recent .what { font-size: .85rem; color: var(--text-soft); font-weight: 600; line-height: 1.35; }

/* ---------- Revelação ao rolar ---------- */
.js [data-reveal] { opacity: 0; translate: 0 26px; transition-property: opacity, translate, transform, border-color, box-shadow, background; transition-duration: .8s, .8s, .35s, .3s, .35s, .2s; transition-timing-function: var(--ease); transition-delay: calc(var(--i, 0) * 70ms), calc(var(--i, 0) * 70ms), 0s, 0s, 0s, 0s; }
.js [data-reveal].in { opacity: 1; translate: 0 0; }

/* ---------- Página de produto ---------- */
.crumbs { display: flex; gap: 8px; flex-wrap: wrap; color: var(--text-dim); font-weight: 700; font-size: .9rem; margin: 28px 0 20px; }
.crumbs a { color: var(--text-soft); text-decoration: none; }
.crumbs a:hover { color: var(--sun); }
.pd { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.pd-art {
  position: relative; aspect-ratio: 1; border-radius: 28px; overflow: hidden; display: grid; place-items: center; border: 1px solid var(--line);
  background: radial-gradient(circle at 50% 58%, color-mix(in srgb, var(--c) 70%, #ffffff) 0, color-mix(in srgb, var(--c) 45%, #0b1137) 55%, #0b1137 100%);
  animation: rise .9s var(--ease) both;
}
.pd-art::before { content: ""; position: absolute; inset: -30%; background: repeating-conic-gradient(rgba(255, 255, 255, .08) 0 8deg, transparent 8deg 16deg); animation: spin 90s linear infinite; }
.pd-art > * { position: relative; width: 60%; height: auto; animation: float 5s ease-in-out infinite; filter: drop-shadow(0 20px 22px rgba(0, 0, 0, .4)); }
.pd-art img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; animation: none; filter: none; }
.pd-info { background: linear-gradient(180deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .03)); border: 1px solid var(--line); border-radius: 28px; padding: 30px; animation: rise .9s .12s var(--ease) both; }
.pd-info .tagline { font-weight: 600; color: var(--text-soft); margin: 8px 0 18px; font-size: 1.05rem; }
.pd-price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.pd-price .price { font-size: 2.5rem; }
.save { background: rgba(255, 77, 109, .16); color: #ff9aad; border-radius: 999px; padding: 3px 11px; font-weight: 800; font-size: .85rem; }
.pd-buy { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 24px; }
.pd-buy .qty button { width: 40px; height: 44px; font-size: 1.15rem; }
.pd-buy .qty span { min-width: 44px; font-size: 1.05rem; }
.perk-list { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.perk-list li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; font-weight: 600; }
.perk-list li::before { content: "✓"; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; background: rgba(74, 222, 128, .14); color: var(--ok); font-weight: 900; font-size: .85rem; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fact { background: var(--glass); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; font-size: .88rem; font-weight: 600; color: var(--text-soft); }
.fact strong { display: block; color: var(--text); font-size: .98rem; }
.fact a { color: var(--sun); }

/* ---------- Ajuda / FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--glass); border: 1px solid var(--line); border-radius: 16px; transition: background .2s, border-color .2s; }
.faq details[open] { background: var(--glass-2); border-color: rgba(255, 201, 61, .35); }
.faq summary { cursor: pointer; padding: 16px 20px; font-weight: 800; font-size: 1.02rem; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--sun); font-size: 1.5rem; line-height: 1; transition: rotate .3s var(--ease); }
.faq details[open] summary::after { rotate: 45deg; }
.faq details > div { padding: 0 20px 18px; color: var(--text-soft); font-weight: 500; animation: rise .4s var(--ease); }
.faq a, .prose a { color: var(--sun); }
.prose { max-width: 75ch; }
.prose h3 { margin: 24px 0 6px; }
.prose p, .prose li { color: var(--text-soft); font-weight: 500; }

/* ---------- Rodapé ---------- */
.site-footer { position: relative; margin-top: 40px; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .35)); border-top: 1px solid var(--line); color: var(--text-soft); padding: 48px 0 22px; font-size: .94rem; }
.site-footer::before { content: ""; position: absolute; top: -1px; left: 20%; right: 20%; height: 1px; background: linear-gradient(90deg, transparent, var(--sun), transparent); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 30px; }
.site-footer h4 { color: var(--text); font-size: 1.02rem; margin-bottom: 12px; }
.site-footer a:not(.brand) { display: block; width: fit-content; color: var(--text-soft); text-decoration: none; font-weight: 600; padding: 3px 0; transition: color .2s, translate .2s; }
.site-footer a:not(.brand):hover { color: var(--sun); translate: 3px 0; }
.site-footer p { margin: 12px 0 0; }
.footer-legal { border-top: 1px solid var(--line); margin-top: 32px; padding-top: 16px; font-size: .84rem; color: var(--text-dim); }
.pay-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.pay-chips span { background: var(--glass); border: 1px solid var(--line); color: var(--text-soft); padding: 3px 10px; border-radius: 8px; font-weight: 700; font-size: .8rem; }

/* ---------- Carrinho ---------- */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(3, 5, 20, .6); backdrop-filter: blur(4px); z-index: 60; animation: fade .25s; }
@keyframes fade { from { opacity: 0; } }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); z-index: 61; background: linear-gradient(180deg, #121a4d, #0b1137);
  border-left: 1px solid var(--line-2); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .45s var(--ease), visibility .45s; visibility: hidden;
}
.drawer.open { transform: none; visibility: visible; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer .items { flex: 1; overflow: auto; padding: 14px 20px; display: grid; gap: 10px; align-content: start; }
.drawer.open .cart-item { animation: slide-in .45s var(--ease) both; }
.drawer.open .cart-item:nth-child(2) { animation-delay: .05s; }
.drawer.open .cart-item:nth-child(3) { animation-delay: .1s; }
.drawer.open .cart-item:nth-child(n+4) { animation-delay: .15s; }
@keyframes slide-in { from { opacity: 0; translate: 30px 0; } }
.drawer-foot { background: rgba(0, 0, 0, .18); border-top: 1px solid var(--line); padding: 16px 20px; display: grid; gap: 12px; }
.cart-item { display: grid; grid-template-columns: 60px 1fr auto; gap: 12px; align-items: center; padding: 10px; background: var(--glass); border: 1px solid var(--line); border-radius: 14px; }
.cart-thumb { width: 60px; height: 60px; border-radius: 12px; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 50% 60%, color-mix(in srgb, var(--c) 70%, #fff), color-mix(in srgb, var(--c) 40%, #0b1137)); }
.cart-thumb svg { width: 76%; height: 76%; }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-info { display: grid; gap: 2px; min-width: 0; }
.cart-info .muted { font-size: .82rem; font-weight: 600; }
.cart-right { display: grid; justify-items: end; gap: 4px; }
.empty-cart { text-align: center; padding: 30px 0; color: var(--text-soft); font-weight: 700; }
.empty-cart svg { width: 110px; height: 110px; margin: 0 auto; animation: float 4s ease-in-out infinite; }
.qty { justify-self: start; display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; background: rgba(0, 0, 0, .2); }
.qty button { border: 0; background: transparent; width: 30px; height: 28px; cursor: pointer; font-weight: 900; color: var(--text); transition: background .15s, color .15s; }
.qty button:hover { background: var(--sun); color: #2a1600; }
.qty span { min-width: 30px; text-align: center; font-weight: 800; }
.coupon-row { display: flex; gap: 8px; }
.coupon-row .input { text-transform: uppercase; }
.sum { display: grid; gap: 4px; }
.sum-row { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; color: var(--text-soft); }
.sum-row.discount { color: var(--ok); }
.sum-row.total { color: var(--text); }
.fly { position: fixed; z-index: 90; width: 64px; height: 64px; pointer-events: none; }

/* ---------- Formulários ---------- */
label.field { display: grid; gap: 6px; font-weight: 700; font-size: .92rem; }
.input, select.input, textarea.input { width: 100%; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .22); color: var(--text); outline: none; transition: border-color .2s, box-shadow .2s, background .2s; }
.input::placeholder { color: var(--text-dim); }
.input:focus { border-color: var(--sun); background: rgba(0, 0, 0, .3); box-shadow: 0 0 0 4px rgba(255, 201, 61, .15); }
select.input option { background: var(--bg-2); }
textarea.input { min-height: 90px; resize: vertical; }
.hint { font-size: .84rem; color: var(--text-soft); font-weight: 500; }
.form-grid { display: grid; gap: 14px; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.row > * { flex: 1; }
.row > .btn { flex: none; }
.check { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.check input { accent-color: var(--sun); width: 16px; height: 16px; }
.check a { color: var(--sun); }
input[type=color] { width: 42px; height: 32px; border: 1px solid var(--line-2); border-radius: 8px; background: transparent; padding: 2px; }

/* ---------- Painéis (login, perfil, admin) ---------- */
.page { padding: 40px 0 80px; }
.panel { background: linear-gradient(180deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .03)); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; animation: rise .7s var(--ease) both; }
.panel + .panel { margin-top: 24px; }
.panel h3 { margin-bottom: 14px; }
.auth-card { max-width: 440px; margin: 50px auto 20px; backdrop-filter: blur(12px); }
.auth-card .logo { width: 100px; margin: -76px auto 6px; animation: spin 40s linear infinite; }
.tabs { position: relative; display: flex; background: rgba(0, 0, 0, .25); border-radius: 14px; padding: 4px; margin: 16px 0 20px; }
.tabs button { flex: 1; border: 0; background: none; padding: 10px; border-radius: 10px; font-weight: 800; cursor: pointer; color: var(--text-soft); transition: background .25s, color .25s; }
.tabs button[aria-selected="true"] { background: var(--glass-3); color: var(--text); }
.divider { display: flex; align-items: center; gap: 12px; color: var(--text-dim); font-weight: 600; margin: 6px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.msg { padding: 10px 14px; border-radius: 12px; font-weight: 600; animation: rise .4s var(--ease); }
.msg.error { background: rgba(255, 107, 129, .14); color: #ffc2cc; border: 1px solid rgba(255, 107, 129, .35); }
.msg.ok { background: rgba(74, 222, 128, .12); color: #b9f5cf; border: 1px solid rgba(74, 222, 128, .3); }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.stat { background: var(--glass); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; animation: rise .7s var(--ease) both; transition: transform .25s var(--ease), border-color .2s; }
.stat:hover { transform: translateY(-3px); border-color: var(--line-2); }
.stat:nth-child(2) { animation-delay: .05s; }
.stat:nth-child(3) { animation-delay: .1s; }
.stat:nth-child(4) { animation-delay: .15s; }
.stat:nth-child(n+5) { animation-delay: .2s; }
.stat .v { font-family: var(--font-display); font-weight: 800; font-size: 1.75rem; letter-spacing: -.02em; }
.stat .l { color: var(--text-soft); font-weight: 600; font-size: .88rem; }
.stat.gold { background: linear-gradient(160deg, rgba(255, 201, 61, .22), rgba(255, 155, 33, .06)); border-color: rgba(255, 201, 61, .45); }
.stat.gold .v { color: var(--sun-soft); }

.profile-head { display: flex; align-items: center; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; animation: rise .7s var(--ease) both; }
.profile-head .skin { width: 96px; height: 96px; border-radius: 22px; background: var(--glass-2); image-rendering: pixelated; border: 2px solid var(--sun); }

table.list { width: 100%; border-collapse: collapse; font-size: .93rem; }
table.list th { text-align: left; color: var(--text-dim); font-weight: 700; padding: 10px; border-bottom: 1px solid var(--line); white-space: nowrap; font-size: .85rem; }
table.list td { padding: 11px 10px; border-bottom: 1px solid rgba(255, 255, 255, .06); vertical-align: middle; }
table.list td strong { white-space: nowrap; }
table.list tbody tr:hover td { background: rgba(255, 255, 255, .03); }
table.list code { background: rgba(0, 0, 0, .3); padding: 2px 6px; border-radius: 6px; font-size: .85rem; color: var(--sun-soft); }
table.list a { color: var(--sun); }
.table-scroll { overflow-x: auto; }
.badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font-weight: 700; font-size: .78rem; white-space: nowrap; background: rgba(255, 255, 255, .08); }
.badge.paid, .badge.delivered { color: var(--ok); background: rgba(74, 222, 128, .12); }
.badge.pending, .badge.in_process, .badge.sent { color: var(--warn); background: rgba(251, 191, 36, .12); }
.badge.rejected, .badge.cancelled, .badge.failed, .badge.refunded, .badge.charged_back { color: var(--bad); background: rgba(255, 107, 129, .12); }
.badge.admin { color: var(--sun); background: rgba(255, 201, 61, .14); }
.thumb-sm { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; flex: none; background: radial-gradient(circle at 50% 60%, color-mix(in srgb, var(--c) 70%, #fff), color-mix(in srgb, var(--c) 40%, #0b1137)); }
.thumb-sm svg { width: 80%; height: 80%; }

/* ---------- Admin ---------- */
.admin-layout { display: grid; grid-template-columns: 230px 1fr; gap: 24px; align-items: start; }
.side { position: sticky; top: 124px; display: grid; gap: 4px; padding: 8px; background: var(--glass); border: 1px solid var(--line); border-radius: var(--r-lg); }
.side button { text-align: left; padding: 11px 14px; border-radius: 12px; border: 0; background: transparent; color: var(--text-soft); font-weight: 700; cursor: pointer; transition: background .2s, color .2s; }
.side button:hover { background: var(--glass-2); color: var(--text); }
.side button[aria-selected="true"] { background: linear-gradient(90deg, rgba(255, 201, 61, .2), rgba(255, 201, 61, .04)); color: var(--sun-soft); }
[data-panel]:not(.hidden) { animation: rise .5s var(--ease) both; }
.chart { width: 100%; height: 240px; }
.chart .bar { fill: var(--sun); opacity: .85; transition: opacity .2s; }
.chart .bar:hover { opacity: 1; fill: #fff1b8; }
.chart text { font-size: 11px; fill: var(--text-dim); font-family: var(--font-body); }
.chart line { stroke: var(--line); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.two-col > .panel + .panel { margin-top: 0; }
.toolbar { display: flex; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 16px; flex-wrap: wrap; }
.art-picker { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; }
.art-picker label { cursor: pointer; border: 1px solid var(--line); border-radius: 10px; padding: 4px; display: grid; place-items: center; aspect-ratio: 1; transition: transform .2s var(--spring), border-color .2s, background .2s; }
.art-picker label:hover { transform: scale(1.06); }
.art-picker input { position: absolute; opacity: 0; pointer-events: none; }
.art-picker label:has(input:checked) { border-color: var(--sun); background: rgba(255, 201, 61, .12); }
.art-picker label:has(input:focus-visible) { outline: 2px solid var(--sun); }
.art-picker svg { width: 100%; height: 100%; }

dialog.modal { border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 0; width: min(680px, 100% - 24px); max-height: 92vh; background: linear-gradient(180deg, #151e55, #0d1440); color: var(--text); }
dialog.modal[open] { animation: modal-in .35s var(--ease); }
@keyframes modal-in { from { opacity: 0; translate: 0 20px; scale: .97; } }
dialog.modal::backdrop { background: rgba(3, 5, 20, .7); backdrop-filter: blur(4px); }
dialog.modal form { padding: 24px; }

/* ---------- Toast ---------- */
.toasts { position: fixed; bottom: 22px; left: 50%; translate: -50% 0; z-index: 100; display: grid; gap: 8px; width: max-content; max-width: calc(100% - 32px); }
.toast { background: rgba(18, 26, 77, .94); backdrop-filter: blur(10px); border: 1px solid var(--line-2); color: var(--text); padding: 12px 18px; border-radius: 14px; font-weight: 700; box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .7); animation: toast-in .45s var(--spring); }
.toast::before { content: "✦ "; color: var(--sun); }
.toast.error { border-color: rgba(255, 107, 129, .5); }
.toast.error::before { content: "! "; color: var(--bad); font-weight: 900; }
@keyframes toast-in { from { opacity: 0; translate: 0 16px; scale: .9; } }

.order-status { text-align: center; max-width: 560px; margin: 0 auto; }
.order-status .big { width: 120px; height: 120px; margin: 0 auto 8px; font-size: 4rem; display: grid; place-items: center; animation: float 4s ease-in-out infinite; }

/* 404 */
.notfound { text-align: center; padding: 70px 0 100px; }
.notfound .ico { width: 170px; height: 170px; margin: 0 auto 14px; animation: float 4s ease-in-out infinite; }
.notfound h1, .notfound p, .notfound .row { animation: rise .8s var(--ease) both; }
.notfound p { animation-delay: .1s; }
.notfound .row { animation-delay: .2s; }

/* ---------- Responsivo ---------- */
@media (max-width: 960px) {
  .status-grid { grid-template-columns: 1fr 1fr; }
  .status-grid .goal { grid-column: 1 / -1; }
  .top-layout, .pd { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps::before { display: none; }
}
@media (max-width: 860px) {
  .admin-layout { grid-template-columns: 1fr; }
  .side { position: static; grid-auto-flow: column; overflow-x: auto; }
  .side button { white-space: nowrap; }
  .two-col { grid-template-columns: 1fr; }
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 10px 16px 16px; background: rgba(9, 13, 44, .97); border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; animation: rise .3s var(--ease); }
  .nav a { padding: 12px; }
  .nav a::after { display: none; }
}
@media (max-width: 640px) {
  .hide-sm { display: none; }
  .cart-label { display: none; }
  .brand small { display: none; }
  .hero { padding-top: 22px; padding-bottom: 170px; }
  .status-grid { grid-template-columns: 1fr; gap: 10px; }
  .status-card { min-height: 0; padding: 10px 14px; }
  .status-card .ico { width: 38px; height: 38px; }
  .cat-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cat-card { grid-template-columns: 40px 1fr; padding: 10px; gap: 8px; }
  .cat-card .ico { width: 40px; height: 40px; }
  .cat-card span span { display: none; }
  .grid { gap: 18px; }
  .podium { gap: 8px; }
  .step .head { width: 56px; height: 56px; }
  .step.p1 .head { width: 68px; height: 68px; }
  .step .name { font-size: .95rem; }
  .rank-list li { grid-template-columns: 30px 32px 1fr auto; padding: 8px 10px; gap: 8px; }
  .facts { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .pd-info { padding: 20px; }
  .pd-art { aspect-ratio: 4/3; }
  .art-picker { grid-template-columns: repeat(4, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal], .js .podium * { opacity: 1 !important; translate: none !important; scale: none !important; }
}
