/* ===================================================================
   UR MARKET V1.0 — page styles (extends styles.css tokens)
   Marketplace esportivo premium: Nike / Steam / Epic / Apple Store.
   100% status-driven · sem dados fictícios.
   =================================================================== */

/* —— Hero —— */
.mk-hero {
  position: relative; min-height: 560px; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 26px 20px 28px; background: var(--ink-900);
}
.mk-hero .mk-hero-photo { position: absolute; inset: 0; z-index: 0; background: radial-gradient(120% 90% at 70% 10%, #1a1a1e, #0a0a0c 60%); }
.mk-hero .mk-hero-photo image-slot { width: 100%; height: 100%; display: block; }
.mk-hero .mk-hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(8,8,8,.5) 0%, rgba(8,8,8,.1) 30%, rgba(8,8,8,.62) 62%, rgba(8,8,8,.98) 100%),
    radial-gradient(120% 60% at 82% 14%, rgba(224,168,46,.18), transparent 56%);
}
.mk-hero .hero-inner { position: relative; z-index: 3; }
.mk-hero h1 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(36px, 12.5vw, 52px); line-height: .88; margin: 0 0 14px;
  letter-spacing: .004em; text-transform: uppercase;
}
.mk-hero h1 .l { display: block; }
.mk-hero h1 .l:last-child { color: var(--accent); }
.mk-hero .mk-pulse { font-family: var(--font-cond); margin: 0 0 8px; }
.mk-hero .mk-pulse b { font-family: var(--font-display); font-weight: 400; font-size: 19px; color: var(--accent); letter-spacing: .02em; }
.mk-hero .hero-note { margin: 0 0 20px; font-size: 13.5px; line-height: 1.55; color: var(--txt-dim); }

/* Coin balance pill */
.coin-pill {
  display: inline-flex; align-items: center; gap: 9px; align-self: flex-start;
  background: rgba(12,12,12,.7); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid var(--line-strong); border-radius: 999px; padding: 8px 15px 8px 9px; margin-bottom: 16px;
}
.coin-pill .ucoin-lg { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-size: 13px; color: #4a3408; background: radial-gradient(circle at 35% 30%, var(--gold-bright), var(--gold) 60%, #8a6418); }
.coin-pill .cp-k { font-family: var(--font-cond); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--txt-faint); }
.coin-pill .cp-v { font-family: var(--font-display); font-size: 16px; color: var(--accent); line-height: 1; }

/* Hero highlights */
.mk-highlights { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }
.mk-hl { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-cond); font-weight: 600; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--sand); border: 1px solid var(--line-strong); background: rgba(255,255,255,.03); padding: 7px 11px; border-radius: 999px; }
.mk-hl svg { width: 12px; height: 12px; color: var(--accent); }

/* —— Status pills (DISPONÍVEL · EM BREVE · ESGOTADO · EXCLUSIVO) —— */
.mk-status { font-family: var(--font-cond); font-weight: 700; font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; padding: 4px 9px; border-radius: 6px; white-space: nowrap; display: inline-flex; align-items: center; gap: 5px; }
.mk-status::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.mk-status.st-on   { color: var(--pos); background: rgba(56,193,114,.12); border: 1px solid rgba(56,193,114,.3); }
.mk-status.st-soon { color: var(--txt-dim); background: rgba(255,255,255,.04); border: 1px solid var(--line-strong); }
.mk-status.st-out  { color: var(--neg); background: rgba(229,72,77,.1); border: 1px solid rgba(229,72,77,.28); }
.mk-status.st-excl { color: var(--gold-bright); background: rgba(224,168,46,.13); border: 1px solid rgba(224,168,46,.4); }
.mk-status.st-pre  { color: var(--sand); background: rgba(245,234,215,.07); border: 1px solid rgba(245,234,215,.22); }
.mk-status.st-legends { color: var(--gold-bright); background: linear-gradient(120deg, rgba(243,201,92,.2), rgba(184,134,42,.14)); border: 1px solid rgba(243,201,92,.5); }

/* Pre-launch pill (replaces saldo) */
.prelaunch-pill { display: inline-flex; align-items: center; gap: 9px; align-self: flex-start; background: rgba(12,12,12,.7); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid rgba(224,168,46,.4); border-radius: 999px; padding: 8px 15px 8px 12px; margin-bottom: 16px; }
.prelaunch-pill .pl-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(224,168,46,.6); animation: pulse 1.8s infinite; }
[data-motion="off"] .prelaunch-pill .pl-dot { animation: none; }
.prelaunch-pill .pl-k { font-family: var(--font-cond); font-weight: 700; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); display: block; }
.prelaunch-pill .pl-v { font-family: var(--font-cond); font-size: 11px; letter-spacing: .04em; color: var(--txt-dim); display: block; }

/* O Market está apenas começando */
.comecando { background: linear-gradient(160deg, #14110b, var(--graphite)); border: 1px solid rgba(224,168,46,.22); border-radius: 18px; padding: 22px 20px; }
.comecando .cb-k { font-family: var(--font-display); font-weight: 400; font-size: clamp(22px,7vw,30px); line-height: 1.02; letter-spacing: .01em; text-transform: uppercase; color: var(--accent); margin-bottom: 11px; text-wrap: balance; }
.comecando p { font-size: 14px; line-height: 1.62; color: var(--sand); margin: 0; text-wrap: pretty; }

/* Loja Oficial banner */
.loja-banner { position: relative; height: 210px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line-strong); margin: 6px 0 18px; display: flex; align-items: flex-end; }
.loja-banner image-slot { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 1; }
.loja-banner .lb-skel { position: absolute; inset: 0; z-index: 0; display: grid; place-items: center; align-content: center; gap: 8px; background: linear-gradient(135deg, #1a1a1a, #0c0c0c); color: var(--txt-faint); }
.loja-banner .lb-skel svg { width: 30px; height: 30px; opacity: .4; }
.loja-banner .lb-skel span { font-family: var(--font-cond); font-weight: 700; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; }
.loja-banner .lb-scrim { position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, rgba(0,0,0,.1) 30%, rgba(0,0,0,.5) 62%, rgba(8,6,2,.92)); }
.loja-banner .lb-body { position: relative; z-index: 3; padding: 16px; }
.loja-banner .lb-tag { font-family: var(--font-cond); font-weight: 700; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #0a0a0a; background: var(--accent); padding: 6px 12px; border-radius: 8px; }

/* Legends — área mais premium (Hall of Fame) */
.legends-sec { padding-top: var(--sp-xl); }
.sec-title.legends-title { font-size: clamp(30px, 10vw, 44px); }
.legends-banner { position: relative; height: 230px; border-radius: 20px; overflow: hidden; border: 1px solid rgba(243,201,92,.4); margin: 4px 0 18px; display: flex; align-items: flex-end; box-shadow: 0 24px 60px -28px rgba(224,168,46,.5); }
.legends-banner image-slot { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 1; }
.legends-banner .lgb-skel { position: absolute; inset: 0; z-index: 0; display: grid; place-items: center; background: radial-gradient(120% 90% at 50% 0%, #2a2008, #0c0a05 65%); color: rgba(243,201,92,.5); }
.legends-banner .lgb-skel svg { width: 40px; height: 40px; }
.legends-banner .lgb-scrim { position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, rgba(0,0,0,.1) 35%, rgba(0,0,0,.55) 64%, rgba(10,8,3,.95)); }
.legends-banner .lgb-body { position: relative; z-index: 3; padding: 16px; }
.legends-banner .lgb-tag { display: inline-flex; align-items: center; font-family: var(--font-cond); font-weight: 700; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: #2a1d04; background: linear-gradient(120deg, var(--gold-bright), var(--gold)); padding: 6px 13px; border-radius: 999px; box-shadow: 0 8px 22px -8px rgba(224,168,46,.7); }

/* Legends narrative note */
.legends-note { display: flex; gap: 11px; align-items: flex-start; background: linear-gradient(160deg, rgba(224,168,46,.12), var(--graphite)); border: 1px solid rgba(224,168,46,.32); border-radius: 14px; padding: 15px 16px; margin-bottom: 16px; font-size: 13px; line-height: 1.55; color: var(--sand); text-wrap: pretty; }
.legends-note .ln-ico { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 8px; background: rgba(224,168,46,.16); color: var(--gold-bright); display: grid; place-items: center; }
.legends-note .ln-ico svg { width: 15px; height: 15px; }

/* —— Premium skeleton image (no technical placeholder) —— */
.mk-img { position: relative; overflow: hidden; }
.mk-img.has-skel .skel,
.has-skel .skel {
  position: absolute; inset: 0; z-index: 0; display: grid; place-items: center; align-content: center; gap: 7px;
  background: linear-gradient(135deg, #181818, #0d0d0d); color: var(--txt-faint);
}
.has-skel .skel svg { width: 24px; height: 24px; opacity: .4; }
.has-skel .skel span { font-family: var(--font-cond); font-weight: 600; font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; }
.has-skel > image-slot { position: relative; z-index: 1; width: 100%; height: 100%; display: block; }
image-slot::part(empty) { display: none; }
image-slot::part(ring) { display: none; }
image-slot::part(frame) { background: transparent; }

/* —— Focus rail / timeline (como funciona) —— */
.flux-rail { display: flex; gap: 9px; overflow-x: auto; margin: 0 -20px; padding: 6px 20px 14px; scrollbar-width: none; scroll-snap-type: x mandatory; }
.flux-rail::-webkit-scrollbar { display: none; }
.flux-step {
  flex: 0 0 auto; scroll-snap-align: start; position: relative;
  width: 132px; padding: 16px 14px; border-radius: 14px;
  background: var(--graphite); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 9px; transition: border-color .25s, transform .25s;
}
.flux-step:hover { border-color: var(--accent); transform: translateY(-3px); }
.flux-step.last { background: linear-gradient(160deg, rgba(224,168,46,.16), var(--graphite)); border-color: rgba(224,168,46,.4); }
.flux-step .fs-no { font-family: var(--font-display); font-size: 14px; color: var(--accent); }
.flux-step h4 { font-family: var(--font-display); font-weight: 400; font-size: 16px; margin: 0; letter-spacing: .01em; text-transform: uppercase; color: var(--txt); line-height: 1.05; }
.flux-step::after { content: "→"; position: absolute; right: -8px; top: 50%; transform: translateY(-50%); font-family: var(--font-cond); font-size: 15px; color: var(--accent); z-index: 2; }
.flux-step:last-child::after { display: none; }

/* —— Offer carousel (destaques) —— */
.offer-rail { display: flex; gap: 13px; overflow-x: auto; margin: 0 -20px; padding: 4px 20px 16px; scrollbar-width: none; scroll-snap-type: x mandatory; }
.offer-rail::-webkit-scrollbar { display: none; }
.offer-card { flex: 0 0 auto; scroll-snap-align: start; width: 230px; background: var(--graphite); border: 1px solid var(--line); border-radius: 17px; overflow: hidden; transition: transform .3s, border-color .3s, box-shadow .3s; }
.offer-card:hover { transform: translateY(-5px); border-color: var(--accent); box-shadow: 0 24px 48px -24px #000; }
.offer-card .mk-img { height: 150px; }
.offer-body { padding: 14px 15px 15px; }
.offer-body .of-cat { font-family: var(--font-cond); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--txt-faint); }
.offer-body h4 { font-family: var(--font-cond); font-weight: 700; font-size: 16px; margin: 3px 0 0; color: var(--txt); line-height: 1.2; }
.offer-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 13px; padding-top: 13px; border-top: 1px solid var(--line); }
.mk-detail { font-family: var(--font-cond); font-weight: 700; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); background: transparent; border: 1px solid rgba(224,168,46,.4); padding: 6px 11px; border-radius: 8px; cursor: pointer; transition: background .2s; white-space: nowrap; }
.mk-detail:hover { background: rgba(224,168,46,.12); }

/* —— Generic product/service grid —— */
.mk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.mk-card { background: var(--graphite); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: transform .28s, border-color .28s, box-shadow .28s; }
.mk-card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 18px 36px -22px #000; }
.mk-card .mk-img { height: 104px; }
.mkc-body { padding: 11px 12px 13px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.mkc-body b { font-family: var(--font-cond); font-weight: 600; font-size: 13.5px; color: var(--txt); line-height: 1.25; }

/* Subcategory header (nutrição / equipamentos) */
.mk-subhead { display: flex; align-items: center; gap: 9px; font-family: var(--font-cond); font-weight: 700; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin: 18px 0 12px; }
.mk-subhead:first-child { margin-top: 4px; }
.mk-subhead span { flex: 1; height: 1px; background: var(--line-strong); }

/* —— Experiências (premium emocional) —— */
.exp-sec { background: radial-gradient(120% 80% at 50% 0%, #14110b, var(--bg-base) 60%); }
.exp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.exp-card { position: relative; height: 168px; border-radius: 16px; overflow: hidden; border: 1px solid rgba(224,168,46,.22); display: flex; flex-direction: column; justify-content: flex-end; transition: transform .3s, border-color .3s, box-shadow .3s; }
.exp-card .mk-img { position: absolute; inset: 0; height: 100%; }
.exp-card .exp-scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,.1) 30%, rgba(0,0,0,.55) 62%, rgba(8,6,2,.96)); }
.exp-card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 24px 48px -24px #000; }
.exp-card .exp-body { position: relative; z-index: 2; padding: 14px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.exp-card .exp-body h4 { font-family: var(--font-display); font-weight: 400; font-size: 19px; margin: 0; letter-spacing: .01em; text-transform: uppercase; color: var(--txt); line-height: 1.02; }

/* —— Oportunidades (stacked list) —— */
.opp-row { display: flex; align-items: center; gap: 11px; padding: 14px 15px; background: var(--graphite); border: 1px solid var(--line); border-radius: 13px; transition: border-color .22s, transform .22s; }
.opp-row:hover { border-color: var(--accent); transform: translateX(3px); }
.opp-row .opp-dot { flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.opp-row b { flex: 1; font-family: var(--font-cond); font-weight: 600; font-size: 14.5px; color: var(--txt); }
.opp-row .opp-go { flex: 0 0 auto; color: var(--txt-faint); display: grid; place-items: center; }
.opp-row .opp-go svg { width: 17px; height: 17px; }
.opp-row:hover .opp-go { color: var(--accent); }

/* —— Coleção Legends (exclusiva, glow) —— */
.legends-sec { position: relative; background: radial-gradient(130% 90% at 50% -10%, #221a08, #0a0905 62%); }
.legends-sec::before { content: ""; position: absolute; inset: 0; background: radial-gradient(100% 50% at 50% 0%, rgba(243,201,92,.12), transparent 60%); pointer-events: none; }
.legends-sec .mk-card { background: linear-gradient(165deg, #1d1810, #0c0b08); border-color: rgba(224,168,46,.3); }
.legends-sec .mk-card:hover { border-color: var(--gold-bright); box-shadow: 0 22px 48px -22px rgba(224,168,46,.4); }

/* —— Como utilizar UR Coins: notas —— */
.coin-notes { display: flex; flex-direction: column; gap: 9px; margin-top: 18px; }
.coin-note { display: flex; align-items: center; gap: 11px; background: var(--graphite); border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; font-family: var(--font-cond); font-weight: 600; font-size: 13.5px; color: var(--sand); }
.coin-note .cn-ck { flex: 0 0 auto; width: 24px; height: 24px; border-radius: 7px; background: rgba(224,168,46,.14); color: var(--accent); display: grid; place-items: center; }
.coin-note .cn-ck svg { width: 14px; height: 14px; }

/* ===================================================================
   V1.1 — merchandising premium
   =================================================================== */

/* Hero side panel — DESTAQUES DO MARKET */
.mk-destaques { margin-top: 18px; background: rgba(12,12,12,.66); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--line-strong); border-radius: 16px; padding: 14px 15px; }
.mk-destaques .md-head { font-family: var(--font-cond); font-weight: 700; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.mk-destaques .md-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); font-family: var(--font-cond); font-weight: 600; font-size: 14px; color: var(--sand); }
.mk-destaques .md-row:first-of-type { border-top: 0; }
.mk-destaques .md-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: 0 0 auto; }

/* Merchandising badges (no emoji) */
.mk-badge { position: absolute; top: 11px; left: 11px; z-index: 3; display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-cond); font-weight: 700; font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; padding: 4px 9px 4px 7px; border-radius: 7px; color: #0a0a0a; background: var(--accent); box-shadow: 0 6px 16px -6px rgba(0,0,0,.6); }
.mk-badge svg { width: 12px; height: 12px; }
.mk-badge.bg-desejado    { background: linear-gradient(120deg, #ff7a59, #e5384b); color: #fff; }
.mk-badge.bg-novidade    { background: linear-gradient(120deg, var(--gold-bright), var(--gold)); color: #2a1d04; }
.mk-badge.bg-exclusivo   { background: linear-gradient(120deg, #f3c95c, #b8862a); color: #2a1d04; }
.mk-badge.bg-limitado    { background: linear-gradient(120deg, #ffd166, #e0a82e); color: #2a1d04; }
.mk-badge.bg-recomendado { background: linear-gradient(120deg, #7be8b6, #38c172); color: #07301d; }

/* Vitrine premium — big cards */
.vitrine-rail { display: flex; gap: 16px; overflow-x: auto; margin: 0 -20px; padding: 4px 20px 18px; scrollbar-width: none; scroll-snap-type: x mandatory; }
.vitrine-rail::-webkit-scrollbar { display: none; }
.vit-card { flex: 0 0 auto; scroll-snap-align: start; width: 286px; background: var(--graphite); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: transform .3s, border-color .3s, box-shadow .3s; }
.vit-card:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: 0 28px 54px -26px #000; }
.vit-card .mk-img { height: 214px; }
.vit-body { padding: 16px 17px 17px; }
.vit-body .vit-cat { font-family: var(--font-cond); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--txt-faint); }
.vit-body h4 { font-family: var(--font-display); font-weight: 400; font-size: 24px; margin: 4px 0 7px; letter-spacing: .01em; text-transform: uppercase; color: var(--txt); line-height: .98; }
.vit-body p { font-size: 12.5px; line-height: 1.5; color: var(--txt-dim); margin: 0 0 15px; text-wrap: pretty; }
.vit-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 11px; padding-top: 14px; border-top: 1px solid var(--line); }
.vit-foot .mk-detail { flex: 1 1 100%; text-align: center; }

/* Microdescription inside grid cards */
.mkc-body p { font-size: 11px; line-height: 1.45; color: var(--txt-dim); margin: 0; }

/* Flux icon (como funciona progression) */
.flux-step .fs-ico { width: 34px; height: 34px; border-radius: 9px; background: rgba(224,168,46,.12); color: var(--accent); display: grid; place-items: center; }
.flux-step .fs-ico svg { width: 18px; height: 18px; }

/* Por que existe o UR Market */
.why-block { margin-top: 22px; background: linear-gradient(160deg, #16130c, var(--graphite)); border: 1px solid rgba(224,168,46,.22); border-radius: 16px; padding: 18px; }
.why-block .wb-k { font-family: var(--font-display); font-weight: 400; font-size: 20px; letter-spacing: .01em; text-transform: uppercase; color: var(--accent); margin-bottom: 9px; }
.why-block p { font-size: 13.5px; line-height: 1.6; color: var(--sand); margin: 0; text-wrap: pretty; }

/* Experiências — horizontal (Netflix Sports), emocional */
.exp-grid { display: flex; flex-direction: column; gap: 14px; }
.exp-card { flex-direction: row; height: 150px; align-items: stretch; border-radius: 18px; }
.exp-card .mk-img { position: relative; inset: auto; width: 156px; height: 100%; flex: 0 0 auto; }
.exp-card .exp-scrim { display: none; }
.exp-card .exp-body { position: relative; z-index: 2; flex: 1; justify-content: center; gap: 9px; padding: 16px 17px; background: var(--graphite); }
.exp-card .exp-body h4 { font-family: var(--font-display); font-weight: 400; font-size: 21px; margin: 0; letter-spacing: .01em; text-transform: uppercase; color: var(--txt); line-height: 1; }
.exp-card .exp-body p { font-size: 12px; line-height: 1.45; color: var(--txt-dim); margin: 0; text-wrap: pretty; }

/* Oportunidades — meta with description */
.opp-meta { flex: 1; min-width: 0; }
.opp-meta b { display: block; font-family: var(--font-cond); font-weight: 600; font-size: 14.5px; color: var(--txt); }
.opp-meta span { font-family: var(--font-cond); font-size: 11px; letter-spacing: .02em; color: var(--txt-faint); }
