:root {
  --bg: #08080a;
  --card: rgba(255,255,255,.035);
  --card-hover: rgba(255,255,255,.06);
  --line: rgba(255,255,255,.10);
  --line-strong: rgba(255,255,255,.22);
  --text: #f2f2f5;
  --muted: #8c8c99;
  --violet: #7b61ff;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); }
body {
  min-height: 100vh;
  min-height: 100dvh;
  background:
    radial-gradient(620px 360px at 50% -80px, rgba(123,97,255,.16), transparent 70%),
    radial-gradient(900px 500px at 50% 120%, rgba(255,255,255,.035), transparent 70%),
    var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  display: flex;
  justify-content: center;
}
main {
  width: 100%;
  max-width: 460px;
  padding: 56px 16px 40px;
  padding-top: max(56px, env(safe-area-inset-top));
  display: flex;
  flex-direction: column;
  align-items: center;
}
main.sub { padding-top: max(28px, env(safe-area-inset-top)); align-items: stretch; }

/* topo da página inicial */
.avatar {
  width: 96px; height: 96px; border-radius: 50%;
  padding: 2px;
  background: linear-gradient(145deg, #ffffff, #6d6d78 45%, #e9e9ef 60%, #4a4a52);
  box-shadow: 0 0 0 6px rgba(255,255,255,.03), 0 18px 50px rgba(123,97,255,.18);
}
.avatar img { width: 100%; height: 100%; border-radius: 50%; display: block; background: #111114; }
h1 {
  margin-top: 18px;
  font-size: 28px; font-weight: 750; letter-spacing: -.02em;
  background: linear-gradient(180deg, #ffffff 0%, #d9d9e0 45%, #9a9aa6 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.handle { margin-top: 4px; font-size: 14px; color: var(--muted); }
.bio { margin-top: 14px; font-size: 15px; color: #c9c9d2; text-align: center; }

/* topo das páginas internas */
.voltar {
  display: inline-flex; align-items: center; gap: 8px;
  align-self: flex-start;
  padding: 8px 12px 8px 8px; border-radius: 999px;
  color: #c9c9d2; text-decoration: none; font-size: 14px;
  background: var(--card); border: 1px solid var(--line);
}
.voltar:hover { border-color: var(--line-strong); color: #fff; }
.voltar img { width: 24px; height: 24px; border-radius: 50%; }
.titulo { margin-top: 26px; text-align: left; }
.titulo h1 { margin-top: 0; font-size: 26px; }
.titulo p { margin-top: 8px; font-size: 15px; color: #b9b9c4; line-height: 1.45; }

/* botões */
nav { width: 100%; margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.link {
  display: flex; align-items: center; gap: 14px;
  min-height: 70px; padding: 14px 16px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--text); text-decoration: none;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
  -webkit-tap-highlight-color: transparent;
}
.link:hover { background: var(--card-hover); border-color: var(--line-strong); transform: translateY(-1px); }
.link:active { transform: scale(.985); }
.link:focus-visible, .card:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; }
.ico {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 11px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.05); border: 1px solid var(--line);
}
.ico svg { width: 20px; height: 20px; }
.txt { flex: 1 1 auto; min-width: 0; }
.t { display: block; font-size: 16px; font-weight: 650; line-height: 1.3; }
.s { display: block; margin-top: 3px; font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.seta { flex: 0 0 auto; color: #6c6c78; transition: transform .18s ease, color .18s ease; }
.link:hover .seta, .card:hover .seta { transform: translateX(3px); color: #cfcfd8; }

/* destaque metálico */
.produto {
  border: 1px solid transparent;
  background:
    linear-gradient(#111116, #111116) padding-box,
    linear-gradient(135deg, rgba(255,255,255,.55), rgba(255,255,255,.08) 40%, rgba(123,97,255,.55)) border-box;
}
.produto:hover {
  background:
    linear-gradient(#16161c, #16161c) padding-box,
    linear-gradient(135deg, rgba(255,255,255,.75), rgba(255,255,255,.12) 40%, rgba(123,97,255,.75)) border-box;
}
.produto .ico { background: rgba(123,97,255,.14); border-color: rgba(123,97,255,.35); }

/* cards de produto */
.card {
  display: block; padding: 18px; border-radius: 18px;
  color: var(--text); text-decoration: none;
  transition: transform .18s ease;
  -webkit-tap-highlight-color: transparent;
}
.card:hover { transform: translateY(-1px); }
.card:active { transform: scale(.99); }
.card .topo { display: flex; align-items: center; gap: 12px; }
.card .nome { font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.card .tag { margin-left: auto; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #cfc6ff; background: rgba(123,97,255,.16); border: 1px solid rgba(123,97,255,.35); padding: 4px 8px; border-radius: 999px; white-space: nowrap; }
.card .desc { margin-top: 12px; font-size: 14.5px; color: #c4c4cd; line-height: 1.5; }
.card .acao { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; font-size: 14.5px; font-weight: 650; }

.pacote {
  display: flex; align-items: center; gap: 14px;
  padding: 16px; border-radius: 16px;
  border: 1px dashed rgba(255,255,255,.28);
  color: var(--text); text-decoration: none;
  transition: border-color .18s ease, background .18s ease;
}
.pacote:hover { border-color: rgba(255,255,255,.5); background: var(--card); }
.pacote .preco { font-size: 18px; font-weight: 750; white-space: nowrap; }

.aviso {
  margin-top: 18px; padding: 12px 14px; border-radius: 12px;
  font-size: 13px; color: #b9b9c4; line-height: 1.45;
  background: rgba(255,255,255,.03); border: 1px solid var(--line);
}
.aviso b { color: #e8e8ee; font-weight: 650; }

.ponte { margin-top: 26px; }

footer { margin-top: 36px; font-size: 12px; color: #5d5d68; letter-spacing: .02em; text-align: center; }
footer a { color: inherit; text-decoration: none; }
footer a:hover { color: var(--muted); }

@media (prefers-reduced-motion: reduce) { .link, .seta, .card, .pacote { transition: none; } }
