:root {
  --preto-fundo: #000000;
  --preto-fundo-2: #0b0b0b;
  --card: #141414;
  --card-hover: #1c1c1c;
  --dourado: #ff7022;
  --dourado-claro: #ffab82;
  --branco: #f5f5f5;
  --cinza: #b7b7b7;
  --sombra: rgba(0, 0, 0, 0.35);
  --radius: 18px;
}

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

html, body {
  height: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: radial-gradient(circle at top, var(--preto-fundo-2) 0%, var(--preto-fundo) 60%);
  color: var(--branco);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  /* área segura para iOS (notch / barra inferior) */
  padding-top: env(safe-area-inset-top);
  padding-bottom: env(safe-area-inset-bottom);
  -webkit-tap-highlight-color: transparent;
}

.app {
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 32px 20px 40px;
  position: relative;
}

/* glow decorativo de fundo, estilo app moderno */
.app::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255, 112, 34, 0.28) 0%, rgba(255, 112, 34, 0) 70%);
  pointer-events: none;
}

.perfil {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 28px;
  z-index: 1;
}

.perfil-avatar {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--dourado);
  box-shadow: 0 0 0 6px rgba(255, 112, 34, 0.16), 0 8px 24px var(--sombra);
  margin-bottom: 14px;
  background: var(--card);
  display: flex;
  align-items: center;
  justify-content: center;
}

.perfil-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.perfil-nome {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.perfil-bio {
  font-size: 0.92rem;
  color: var(--cinza);
  margin-top: 6px;
  max-width: 320px;
  line-height: 1.4;
}

.links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 1;
}

.link-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(145deg, var(--card), var(--preto-fundo-2));
  border: 1px solid rgba(255, 112, 34, 0.3);
  border-radius: var(--radius);
  padding: 16px 18px;
  text-decoration: none;
  color: var(--branco);
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 6px 18px var(--sombra);
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
  -webkit-user-select: none;
  user-select: none;
}

.link-item:active {
  transform: scale(0.97);
  background: linear-gradient(145deg, var(--card-hover), var(--card));
}

@media (hover: hover) {
  .link-item:hover {
    border-color: var(--dourado);
    transform: translateY(-2px);
  }
}

.link-icone {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(255, 112, 34, 0.16);
  color: var(--dourado-claro);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.link-titulo {
  flex: 1;
}

.link-seta {
  color: var(--cinza);
  font-size: 0.9rem;
}

.app-rodape {
  margin-top: auto;
  padding-top: 36px;
  text-align: center;
  z-index: 1;
}

.app-rodape a {
  color: var(--cinza);
  font-size: 0.78rem;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.app-rodape p {
  color: var(--cinza);
  font-size: 0.78rem;
  margin-top: 8px;
}

.app-rodape strong {
  background: linear-gradient(120deg, var(--dourado), var(--dourado-claro));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.vazio {
  text-align: center;
  color: var(--cinza);
  margin-top: 40px;
  font-size: 0.9rem;
  z-index: 1;
}

/* telas bem pequenas */
@media (max-width: 360px) {
  .app { padding: 24px 14px 32px; }
  .link-item { padding: 14px 14px; font-size: 0.95rem; }
}

/* PWA-like: remove bounce excessivo, fonte suave */
::selection {
  background: var(--dourado);
  color: var(--preto-fundo);
}
