@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #09090b;
  --card-bg: #141417;
  --card-hover: #1c1c21;
  --card-border: rgba(255, 255, 255, 0.08);
  --card-border-hover: rgba(255, 255, 255, 0.18);
  --text-main: #ffffff;
  --text-muted: #8b8b99;
  --radius-card: 16px;
  --radius-thumb: 12px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

.page-wrapper {
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-bottom: 40px;
}

/* Header & Cover */
.header-cover {
  width: 100%;
  height: 170px;
  position: relative;
  background-color: #141417;
}

.cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 9, 11, 0.1) 0%, rgba(9, 9, 11, 0.7) 70%, var(--bg) 100%);
}

/* Profile Section */
.profile-area {
  padding: 0 20px;
  margin-top: -55px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  margin-bottom: 24px;
}

.avatar-wrapper {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  padding: 3px;
  background: var(--bg);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  margin-bottom: 14px;
}

.avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background-color: #1c1c21;
}

.profile-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 4px;
}

.profile-bio {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
  max-width: 340px;
  font-weight: 500;
}

/* Links List (Linear Cards padrão Bio.site) */
.links-list {
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.link-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px 12px 12px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  text-decoration: none;
  color: #ffffff;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
  min-height: 68px;
}

.link-button:hover {
  background: var(--card-hover);
  border-color: var(--card-border-hover);
  transform: translateY(-1px);
}

.link-button:active {
  transform: scale(0.99);
}

.link-main {
  display: flex;
  align-items: center;
  gap: 14px;
}

.link-thumb {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-thumb);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  background-color: #222228;
}

.link-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.link-thumb svg {
  width: 22px;
  height: 22px;
}

.link-text {
  font-size: 0.925rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.link-arrow {
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.15s ease, color 0.15s ease;
}

.link-button:hover .link-arrow {
  color: #ffffff;
  transform: translateX(2px);
}

/* Destaque sutil para o Google (fiel à marca oficial) */
.link-google {
  background: #17181d;
  border-color: rgba(255, 255, 255, 0.12);
}

/* Rodapé Agência Kodex */
.footer-area {
  margin-top: auto;
  padding-top: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.kodex-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 600;
  color: #6366f1;
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.18);
  padding: 6px 14px;
  border-radius: 999px;
  transition: all 0.15s ease;
}

.kodex-link:hover {
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.35);
  color: #818cf8;
}
