:root {
  --bg: #08080b;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-hover: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.08);
  --text: #f5f5f7;
  --text-2: rgba(245, 245, 247, 0.62);
  --text-3: rgba(245, 245, 247, 0.4);
  --brand-1: #9d72f8;
  --brand-2: #662ce3;
  --brand: #8150ee;
  --brand-grad: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  --radius-lg: 28px;
  --radius-md: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
.sprite { position: absolute; }
img { display: block; max-width: 100%; }

/* ---------- Brilho desfocado nas bordas ---------- */
.glow { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.glow span {
  position: absolute;
  width: 55vmax;
  height: 55vmax;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.38;
}
.glow span:nth-child(1) { background: var(--brand-1); top: -30vmax; left: -25vmax; }
.glow span:nth-child(2) { background: var(--brand-2); bottom: -32vmax; right: -25vmax; }
.glow span:nth-child(3) { background: #4a1fc4; top: 30%; right: -40vmax; opacity: 0.22; }

/* ---------- Layout ---------- */
.page {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 64px 16px 104px;
}

/* ---------- Cabeçalho ---------- */
.profile { text-align: center; }

.profile__logo {
  width: 120px;
  height: 120px;
  margin: 0 auto;
  border-radius: 50%;
  box-shadow: 0 20px 60px -12px rgba(129, 80, 238, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.08);
  animation: rise 0.9s var(--ease) both;
}

.profile__name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  animation: rise 0.9s 0.08s var(--ease) both;
}

.verified { width: 26px; height: 26px; flex-shrink: 0; }

.profile__bio {
  margin-top: 8px;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.5;
  animation: rise 0.9s 0.14s var(--ease) both;
}

/* ---------- Redes sociais ---------- */
.socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
  list-style: none;
  animation: rise 0.9s 0.2s var(--ease) both;
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--brand-1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.icon-btn svg { width: 20px; height: 20px; fill: currentColor; }
.icon-btn:hover,
.icon-btn:focus-visible {
  background: var(--brand-grad);
  border-color: transparent;
  color: #fff;
  transform: translateY(-3px);
}
.icon-btn:focus-visible { outline: 2px solid var(--brand-1); outline-offset: 3px; }

.icon-btn--sm { width: 40px; height: 40px; }
.icon-btn--sm svg { width: 18px; height: 18px; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 40px; }

.card {
  min-width: 0;
  padding: 20px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(30px) saturate(140%);
  -webkit-backdrop-filter: blur(30px) saturate(140%);
  animation: rise 0.9s var(--ease) both;
}
.card:nth-child(1) { animation-delay: 0.28s; }
.card:nth-child(2) { animation-delay: 0.36s; }
.card:nth-child(3) { animation-delay: 0.44s; }
.card:nth-child(4) { animation-delay: 0.52s; }
.card:nth-child(5) { animation-delay: 0.6s; }

.card__head { display: flex; align-items: center; gap: 16px; }

.card__cover {
  width: 88px;
  height: 88px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  object-fit: cover;
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.card__cover--round { border-radius: 50%; }

.card__eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-1);
}

.card__title {
  margin-top: 2px;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.card__meta { margin-top: 2px; font-size: 13px; color: var(--text-3); }

.card__desc {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-2);
}

.cta {
  border: 0;
  font-family: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--brand-grad);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 8px 24px -8px rgba(129, 80, 238, 0.8);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.cta svg { width: 14px; height: 14px; fill: currentColor; }
.cta:hover { transform: scale(1.04); box-shadow: 0 10px 30px -6px rgba(129, 80, 238, 0.95); }
.cta:focus-visible { outline: 2px solid var(--brand-1); outline-offset: 3px; }

.cta--ghost {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}
.cta--ghost:hover { background: rgba(255, 255, 255, 0.14); box-shadow: none; }

.cta-row { display: flex; flex-wrap: wrap; gap: 8px; }

.card__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 16px;
  background: var(--brand-grad);
  box-shadow: 0 10px 30px -10px rgba(129, 80, 238, 0.9);
}
.card__icon svg { width: 26px; height: 26px; fill: #fff; }

/* ---------- Rodapé ---------- */
.footer {
  margin-top: 40px;
  text-align: center;
  font-size: 12px;
  color: var(--text-3);
}
.footer a:hover { color: var(--text-2); }

/* ---------- Compartilhar ---------- */
.share__fab {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 30;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 50%;
  background: var(--brand-grad);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 12px 32px -8px rgba(129, 80, 238, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.12) inset;
  transition: transform 0.35s var(--ease);
  animation: rise 0.9s 0.6s var(--ease) both;
}
.share__fab svg { width: 24px; height: 24px; }
.share__fab:hover { transform: scale(1.06); }
.share__fab:focus-visible { outline: 2px solid var(--brand-1); outline-offset: 4px; }
.share__fab[aria-expanded="true"] { transform: rotate(-8deg) scale(0.94); }

/* Chamada sutil: anel que se expande e ícone que dá um leve "pulo" a cada 5 s.
   Para depois que a pessoa abre o menu pela primeira vez. */
.share__fab::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--brand-1);
  opacity: 0;
  pointer-events: none;
}
.share__fab:not(.is-seen)::before { animation: fab-ring 5s 2s var(--ease) infinite; }
.share__fab:not(.is-seen) svg { animation: fab-nudge 5s 2s var(--ease) infinite; }

@keyframes fab-ring {
  0% { transform: scale(1); opacity: 0.7; }
  30%, 100% { transform: scale(1.6); opacity: 0; }
}
@keyframes fab-nudge {
  0%, 24%, 100% { transform: none; }
  6% { transform: translateY(-3px); }
  12% { transform: translateY(0); }
  18% { transform: translateY(-1.5px); }
}

/* Balão de chat ao chegar no fim da página */
.share__bubble {
  position: fixed;
  right: calc(max(20px, env(safe-area-inset-right)) + 68px);
  bottom: calc(max(20px, env(safe-area-inset-bottom)) + 6px);
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 2px;
  max-width: min(280px, calc(100vw - 112px));
  padding: 4px 4px 4px 14px;
  border-radius: 20px 20px 6px 20px;
  background: rgba(36, 32, 48, 0.96);
  border: 1px solid var(--border);
  box-shadow: 0 12px 32px -10px rgba(0, 0, 0, 0.7);
  transform-origin: bottom right;
  animation: bubble-in 0.45s var(--ease) both;
}
.share__bubble.is-leaving { animation: bubble-out 0.3s var(--ease) forwards; }

.share__bubble-text {
  padding: 8px 0;
  border: 0;
  background: none;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
}

.share__bubble-close {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--text-3);
  cursor: pointer;
}
.share__bubble-close svg { width: 14px; height: 14px; }

/* "digitando…" antes da mensagem aparecer */
.share__typing { display: none; gap: 4px; padding: 11px 10px 11px 0; }
.share__typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-3);
  animation: typing 1s infinite;
}
.share__typing i:nth-child(2) { animation-delay: 0.15s; }
.share__typing i:nth-child(3) { animation-delay: 0.3s; }
.share__bubble.is-typing .share__typing { display: flex; }
.share__bubble.is-typing .share__bubble-text,
.share__bubble.is-typing .share__bubble-close { display: none; }

@keyframes typing {
  0%, 60%, 100% { transform: none; opacity: 0.5; }
  30% { transform: translateY(-3px); opacity: 1; }
}
@keyframes bubble-in {
  from { opacity: 0; transform: translateX(8px) scale(0.85); }
  to { opacity: 1; transform: none; }
}
@keyframes bubble-out {
  to { opacity: 0; transform: translateX(8px) scale(0.9); }
}

.share__backdrop {
  position: fixed;
  inset: 0;
  z-index: 28;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}

.share__panel {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: calc(max(20px, env(safe-area-inset-bottom)) + 68px);
  z-index: 29;
  width: 340px;
  padding: 16px;
  border-radius: 24px;
  background: rgba(24, 22, 32, 0.94);
  border: 1px solid var(--border);
  backdrop-filter: blur(40px) saturate(160%);
  -webkit-backdrop-filter: blur(40px) saturate(160%);
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.7);
  transform-origin: bottom right;
  transform: translateY(8px) scale(0.96);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease), visibility 0.35s;
}
.share.is-open .share__panel { transform: none; opacity: 1; visibility: visible; }

.share__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.share__title { font-size: 15px; font-weight: 600; }

.share__close {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-2);
  cursor: pointer;
}
.share__close svg { width: 16px; height: 16px; }
.share__close:hover { color: var(--text); background: rgba(255, 255, 255, 0.14); }

.share__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  list-style: none;
}

.share-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 8px 2px;
  border: 0;
  border-radius: 14px;
  background: none;
  color: var(--text-2);
  font: inherit;
  font-size: 12px;
  text-align: center;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.share-option:hover,
.share-option:focus-visible { background: var(--surface-hover); color: var(--text); outline: none; }

.share-option__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--brand-1);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.share-option__icon svg { width: 20px; height: 20px; fill: currentColor; }
.share-option:hover .share-option__icon,
.share-option.is-done .share-option__icon {
  background: var(--brand-grad);
  border-color: transparent;
  color: #fff;
}

/* Apoio via Pix */
.share__support {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.share__label {
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-1);
}

.copy-field {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 6px 6px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
}

.copy-field--spaced { margin: 16px 0 6px; }

.copy-field__value {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 14px;
  color: var(--text);
  user-select: all;
  -webkit-user-select: all;
}

.copy-field__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding: 8px 14px;
  border: 0;
  border-radius: 10px;
  background: var(--brand-grad);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.25s var(--ease);
}
.copy-field__btn svg { width: 15px; height: 15px; }
.copy-field__btn:active { transform: scale(0.96); }
.copy-field__btn:focus-visible { outline: 2px solid var(--brand-1); outline-offset: 2px; }

/* Celular: vira uma folha que sobe da parte de baixo */
@media (max-width: 640px) {
  .share.is-open .share__backdrop { opacity: 1; visibility: visible; }
  .share__panel {
    right: 0;
    left: 0;
    bottom: 0;
    width: auto;
    padding: 20px 16px calc(20px + env(safe-area-inset-bottom));
    border-radius: 28px 28px 0 0;
    border-bottom: 0;
    transform: translateY(100%);
    opacity: 1;
  }
  .share__grid { row-gap: 8px; }
  .share__panel { z-index: 31; background: rgba(22, 20, 30, 0.985); }
  .share__fab { transition: transform 0.35s var(--ease), opacity 0.25s var(--ease); }
  .share.is-open .share__fab {
    opacity: 0;
    transform: scale(0.6);
    pointer-events: none;
  }
  .share-option { font-size: 13px; }
  .share-option__icon { width: 56px; height: 56px; }
  .share-option__icon svg { width: 24px; height: 24px; }
}

/* ---------- Aviso de navegador interno ---------- */
.inapp {
  position: fixed;
  top: calc(env(safe-area-inset-top) + 12px);
  left: 12px;
  right: 12px;
  z-index: 35;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto;
  padding: 10px 8px 10px 14px;
  border-radius: 18px;
  background: rgba(24, 22, 32, 0.9);
  border: 1px solid var(--border);
  box-shadow: 0 12px 32px -10px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(30px) saturate(160%);
  -webkit-backdrop-filter: blur(30px) saturate(160%);
  animation: inapp-in 0.6s 1s var(--ease) both;
}
.inapp.is-leaving { animation: inapp-out 0.35s var(--ease) forwards; }

.inapp__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: none;
  stroke: var(--brand-1);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.inapp__text {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  line-height: 1.3;
  color: var(--text-2);
}
.inapp__text strong { display: block; color: var(--text); font-weight: 600; }

.inapp__open {
  flex-shrink: 0;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--brand-grad);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.inapp__close {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--text-3);
  cursor: pointer;
}
.inapp__close svg { width: 16px; height: 16px; }

@keyframes inapp-in {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: none; }
}
@keyframes inapp-out {
  to { opacity: 0; transform: translateY(-16px); }
}

/* ---------- Puxar para atualizar (celular) ---------- */
.ptr {
  position: fixed;
  top: calc(env(safe-area-inset-top) + 12px);
  left: 50%;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-left: -20px;
  border-radius: 50%;
  background: rgba(24, 22, 32, 0.9);
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  transform: translateY(-60px);
  pointer-events: none;
}
.ptr > svg { grid-area: 1 / 1; }

.ptr__ring { width: 40px; height: 40px; transform: rotate(-90deg); }
.ptr__ring circle {
  fill: none;
  stroke: var(--brand-1);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 100.5;
  stroke-dashoffset: calc(100.5 * (1 - var(--progress, 0)));
}

.ptr__arrow {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--text);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s var(--ease);
}
.ptr.is-ready .ptr__arrow { transform: rotate(180deg); }

.ptr.is-loading .ptr__arrow { opacity: 0; }
.ptr.is-loading .ptr__ring { animation: ptr-spin 0.8s linear infinite; }
.ptr.is-loading .ptr__ring circle { stroke-dashoffset: 70; }

.ptr.is-settling,
.page.is-settling { transition: transform 0.4s var(--ease), opacity 0.4s var(--ease); }

@keyframes ptr-spin {
  from { transform: rotate(-90deg); }
  to { transform: rotate(270deg); }
}

/* Substitui o puxar-para-atualizar nativo pelo da página, em todos os navegadores */
@media (hover: none) and (pointer: coarse) {
  html, body { overscroll-behavior-y: none; }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ====================================================================
   Achados
   ==================================================================== */

.profile__logo-link { display: block; width: max-content; margin: 0 auto; border-radius: 50%; }
.profile__logo-link:focus-visible { outline: 2px solid var(--brand-1); outline-offset: 4px; }


/* ---------- Seções ---------- */
.section { margin-top: 36px; animation: rise 0.9s 0.34s var(--ease) both; }

.section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0 4px 14px;
}
.section__title { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.section__meta { font-size: 13px; color: var(--text-3); }


.more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 12px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.more svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.more:hover { background: var(--surface-hover); }
.more:active { transform: scale(0.98); }
.more:focus-visible { outline: 2px solid var(--brand-1); outline-offset: 3px; }

.more__count { margin-top: 10px; text-align: center; font-size: 12px; color: var(--text-3); }


/* ---------- Apresentação + busca ---------- */
.intro { margin-top: 40px; padding: 24px 20px 20px; text-align: center; animation-delay: 0.26s; }
.intro__title { margin-top: 4px; font-size: 30px; font-weight: 700; letter-spacing: -0.02em; }
.intro__desc { margin: 8px auto 0; max-width: 420px; font-size: 15px; line-height: 1.5; color: var(--text-2); }

.search { position: relative; margin-top: 18px; }
.search__icon {
  position: absolute;
  left: 16px;
  top: 50%;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  color: var(--text-3);
  pointer-events: none;
}
.search__input {
  width: 100%;
  padding: 14px 48px 14px 46px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font: inherit;
  font-size: 16px;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.search__input::placeholder { color: var(--text-3); }
.search__input::-webkit-search-cancel-button { display: none; }
.search__input:focus { outline: none; border-color: var(--brand-1); background: rgba(255, 255, 255, 0.08); box-shadow: 0 0 0 4px rgba(157, 114, 248, 0.18); }
.search__clear {
  position: absolute;
  right: 8px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-top: -16px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-2);
  cursor: pointer;
}
.search__clear svg { width: 14px; height: 14px; }

/* Categorias: rolam de lado quando não cabem */
.chips {
  display: flex;
  gap: 8px;
  margin: 14px -20px 0;
  padding: 2px 20px;
  overflow-x: auto;
  scrollbar-width: none;
  justify-content: safe center;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex-shrink: 0;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-2);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.chip:hover { color: var(--text); background: rgba(255, 255, 255, 0.09); }
.chip[aria-pressed="true"] { background: var(--brand-grad); border-color: transparent; color: #fff; }
.chip:focus-visible { outline: 2px solid var(--brand-1); outline-offset: 2px; }

/* Categoria em destaque: GTA 6 (degradê de pôr do sol de Vice City) */
.chip--gta6 {
  position: relative;
  border-color: transparent;
  background:
    linear-gradient(rgba(20, 10, 28, 0.82), rgba(20, 10, 28, 0.82)) padding-box,
    linear-gradient(100deg, #ff3d9a, #ff7a3d 55%, #ffc23d) border-box;
  color: #ffb3d6;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 18px -8px rgba(255, 61, 154, 0.8);
}
.chip--gta6:hover {
  color: #fff;
  background:
    linear-gradient(rgba(40, 14, 44, 0.7), rgba(40, 14, 44, 0.7)) padding-box,
    linear-gradient(100deg, #ff3d9a, #ff7a3d 55%, #ffc23d) border-box;
}
.chip--gta6[aria-pressed="true"] {
  background: linear-gradient(100deg, #c2188f, #ff3d9a 35%, #ff7a3d 70%, #ffc23d) border-box;
  color: #fff;
  text-shadow: 0 1px 2px rgba(80, 0, 40, 0.45);
  box-shadow: 0 8px 24px -8px rgba(255, 61, 154, 0.95), 0 0 0 1px rgba(255, 255, 255, 0.15) inset;
}
.chip--gta6:focus-visible { outline-color: #ff3d9a; }

/* ---------- Grade de produtos ---------- */
.products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
}

.product {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 10px 10px 12px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(30px) saturate(140%);
  -webkit-backdrop-filter: blur(30px) saturate(140%);
  animation: rise 0.7s var(--ease) both;
  scroll-margin-top: 24px;
}
.product.is-highlighted { animation: product-highlight 2.4s var(--ease); }

@keyframes product-highlight {
  0%, 100% { box-shadow: 0 0 0 0 rgba(157, 114, 248, 0); border-color: var(--border); }
  20%, 60% { box-shadow: 0 0 0 3px rgba(157, 114, 248, 0.6), 0 20px 50px -12px rgba(129, 80, 238, 0.7); border-color: transparent; }
}

.product__media {
  position: relative;
  aspect-ratio: 1;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}
.product__media img { width: 100%; height: 100%; object-fit: contain; }
.product__media.is-broken { display: grid; place-items: center; background: rgba(255, 255, 255, 0.06); }
.product__media.is-broken img { width: 40%; height: auto; opacity: 0.35; border-radius: 50%; filter: grayscale(1); }

.product__number {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(8, 8, 11, 0.78);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.product__new {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--brand-grad);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.product__share {
  position: absolute;
  right: 8px;
  bottom: 8px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(8, 8, 11, 0.72);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}
.product__share svg { width: 16px; height: 16px; }
.product__share:hover { background: var(--brand); }
.product__share:active { transform: scale(0.92); }
.product__share:focus-visible { outline: 2px solid var(--brand-1); outline-offset: 2px; }
.product__share.is-done { background: var(--brand); }

.product__title {
  margin: 10px 4px 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product__category { margin: 4px 4px 0; font-size: 12px; color: var(--text-3); }

/* ---------- Pílulas das lojas ---------- */
.stores { display: grid; gap: 6px; margin-top: auto; padding-top: 12px; list-style: none; }

.store {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.25s var(--ease), filter 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.store svg { width: 16px; height: 16px; flex-shrink: 0; fill: currentColor; }
.store span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.store .store__arrow { width: 14px; height: 14px; opacity: 0.7; fill: none; }
.store__logo { width: auto; height: 16px; flex-shrink: 0; }
.store:hover { transform: translateY(-1px); filter: brightness(1.06); }
.store:active { transform: scale(0.97); }
.store:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.store--shopee { background: #ee4d2d; color: #fff; box-shadow: 0 6px 18px -8px rgba(238, 77, 45, 0.9); }
.store--mercadolivre { background: #ffe600; color: #2d3277; box-shadow: 0 6px 18px -8px rgba(255, 230, 0, 0.6); }
.store--amazon { background: #fff; color: #131a22; box-shadow: 0 6px 18px -8px rgba(255, 255, 255, 0.5); }
.store--amazon svg:first-child { color: #131a22; }
.store--amazon .store__arrow { color: #ff9900; opacity: 1; }

/* Esqueleto enquanto carrega */
.product.is-skeleton .product__media,
.product.is-skeleton .product__title,
.product.is-skeleton .store { background: rgba(255, 255, 255, 0.06); color: transparent; box-shadow: none; animation: pulse 1.4s ease-in-out infinite; }
.product.is-skeleton .product__title { height: 2.7em; border-radius: 8px; }
.product.is-skeleton .store { height: 34px; }

@keyframes pulse { 50% { opacity: 0.4; } }

/* ---------- Nada encontrado ---------- */
.empty { padding: 32px 16px; text-align: center; }
.empty__title { font-size: 17px; font-weight: 700; }
.empty__text { margin-top: 4px; font-size: 14px; color: var(--text-2); }
.empty .cta { margin-top: 14px; }

/* ---------- Rodapé com aviso de afiliado ---------- */
.disclosure {
  max-width: 440px;
  margin: 0 auto 12px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-3);
}

/* ---------- Celular ---------- */
@media (max-width: 480px) {
  .page { padding-top: 40px; }
  .profile__logo { width: 88px; height: 88px; }
  .profile__name { margin-top: 16px; font-size: 26px; }
  .verified { width: 22px; height: 22px; }
  .profile__bio { font-size: 14px; }
  .socials { gap: 8px; margin-top: 20px; flex-wrap: nowrap; }
  .socials .icon-btn {
    width: clamp(36px, calc((100vw - 32px - 48px) / 7), 48px);
    height: clamp(36px, calc((100vw - 32px - 48px) / 7), 48px);
  }
  .icon-btn svg { width: 18px; height: 18px; }

  .card { border-radius: 24px; }
  .intro { margin-top: 28px; padding: 20px 16px 16px; }
  .intro__title { font-size: 26px; }
  .intro__desc { font-size: 14px; }
  .chips { margin: 12px -16px 0; padding: 2px 16px; }

  .section { margin-top: 28px; }
  .section__title { font-size: 20px; }

  .products { gap: 10px; }
  .product { padding: 8px 8px 10px; border-radius: 20px; }
  .product__media { border-radius: 14px; }
  .product__title { font-size: 13px; }
  .store { padding: 9px 10px; font-size: 12px; gap: 6px; }
}

/* Telas bem estreitas: um produto por linha */
@media (max-width: 330px) {
  .products { grid-template-columns: minmax(0, 1fr); }
}
