* {
  box-sizing: border-box;
}

body.linktree {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
}

.linktree-card {
  width: 100%;
  max-width: 24rem;
  text-align: center;
}

.linktree-avatar {
  width: 7rem;
  height: 7rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-primary);
}

.linktree-name {
  margin: 0 0 0.25rem;
  font-size: 1.75rem;
  color: var(--color-primary);
}

.linktree-tagline {
  margin: 0 0 1.25rem;
  color: var(--color-primary-light);
}

.linktree-social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.linktree-social a {
  display: block;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.6rem;
  overflow: hidden;
  line-height: 0;
  transition: transform 0.1s ease-in-out;
}

.linktree-social a:hover {
  transform: scale(1.1);
}

.linktree-social img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.linktree-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.linktree-list a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

.linktree-list a:hover {
  background: var(--color-accent);
  color: #fff;
}

.linktree-list-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.4rem;
  object-fit: cover;
  flex-shrink: 0;
}

.linktree-list span {
  flex: 1;
  text-align: left;
}
