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

body {
  font-family: "Inter", sans-serif;
  background-color: #f9fafb;
  min-height: 100vh;
  padding: 2rem 1rem;
}

.container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
}

.linktree {
  width: 100%;
  max-width: 28rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.card {
  position: relative;
  background: white;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.card:hover {
  transform: scale(1.02);
}

.profile-card {
  height: 20rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #1f2937;
}

.profile-card:hover {
  transform: none;
}

.content-card {
  height: 12rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #1f2937;
}

.menu-btn {
  position: absolute;
  z-index: 10;
  background: rgba(0, 0, 0, 0.2);
  border: none;
  border-radius: 50%;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.menu-btn:hover {
  background: rgba(0, 0, 0, 0.3);
}

.menu-horizontal {
  top: 1rem;
  right: 1rem;
}

.menu-vertical {
  bottom: 1rem;
  right: 1rem;
}

.profile-content {
  position: relative;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 50%);
}

.profile-info {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  color: white;
}

.profile-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.profile-description {
  font-size: 0.875rem;
  color: #d1d5db;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.social-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.card-title {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 4rem; /* Espaço para não bater nos 3 pontinhos */
  z-index: 5;
}

.card-title h3 {
  font-size: 0.875rem;
  font-weight: 600;
  color: white;
  text-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
  line-height: 1.3;
  word-wrap: break-word;
}

/* Responsividade */
@media (max-width: 640px) {
  body {
    padding: 1rem 0.5rem;
  }

  .linktree {
    gap: 1rem;
  }

  .card-title {
    right: 3.5rem;
  }

  .card-title h3 {
    font-size: 0.8rem;
  }
}
