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

body {
  font-family: "Segoe UI", sans-serif;
  background-color: #f3f3b4;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}

.card {
  background-color: white;
  border-radius: 20px;
  overflow: hidden;
  width: 400px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
}
.card-header {
  background: linear-gradient(140deg, #aa1b56, #e44e8b);
  padding: 10px 0 5px;
  border-bottom-left-radius: 55px;
  border-bottom-right-radius: 55px;
  position: relative;
}

.card-header::after {
  content: "";
  /* background: white; */
  position: absolute;
  bottom: -10px;
  left: 30px;
  right: 30px;
  height: 40px;
  border-top-left-radius: 50% 250px;
  border-top-right-radius: 50% 250px;
}

.profile-pic {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 2px solid transparent;
  object-fit: cover;
  top: 20px;
  left: 50%;
  background-color: white;
}

.card-body {
  padding: 60px 20px 20px;
}

h2 {
  margin: -20px 0 5px;
  font-size: 24px;
}

.handle {
  color: gray;
  margin-bottom: 15px;
}

.social-icons i {
  margin: 0 8px;
  color: #555;
  cursor: pointer;
  transition: color 0.3s;
}

.social-icons i:hover {
  color: #e44e8b;
}

.description {
  font-size: 14px;
  color: #555;
  margin: 15px 0;
}

.card-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
}

.follow-btn,
.message-btn {
  padding: 10px 20px;
  border-radius: 25px;
  border: none;
  cursor: pointer;
  font-weight: bold;
}

.follow-btn {
  background: #e44e8b;
  color: white;
}

.message-btn {
  background: transparent;
  border: 2px solid #ccc;
  color: #555;
}

@media (max-width: 768px) {
  body {
    flex-direction: column;
    padding: 20px;
    height: auto;
  }

  .card {
    width: 100%;
    max-width: 90vw;
    margin-top: 20px;
  }

  .card-body {
    padding: 40px 10px 10px;
  }

  h2 {
    font-size: 20px;
  }

  .description {
    font-size: 13px;
  }

  .follow-btn,
  .message-btn {
    padding: 8px 16px;
    font-size: 14px;
  }

  .profile-pic {
    width: 80px;
    height: 80px;
  }

  .social-icons i {
    margin: 0 5px;
  }
}
@media (max-width: 480px) {
  body {
    flex-direction: column;
    padding: 20px;
    height: auto;
  }

  .card {
    width: 100%;
    max-width: 90vw;
    margin-top: 20px;
    border-radius: 15px;
  }

  .card-header {
    padding: 8px 0 4px;
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
  }

  .card-header::after {
    left: 20px;
    right: 20px;
    height: 30px;
  }

  .profile-pic {
    width: 80px;
    height: 80px;
  }

  .card-body {
    padding: 40px 15px 15px;
  }

  h2 {
    font-size: 20px;
  }

  .handle {
    font-size: 14px;
  }

  .description {
    font-size: 13px;
  }

  .follow-btn,
  .message-btn {
    padding: 8px 16px;
    font-size: 13px;
  }

  .social-icons i {
    margin: 0 6px;
    font-size: 18px;
  }

  .card-actions {
    flex-direction: column;
    gap: 8px;
  }
}
