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

body {
  font-family: "Inter", sans-serif;
  color: hsl(0, 0%, 100%);
  font-size: 14px;
  background-color: hsl(0, 0%, 8%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

/* --- Profile Card Container */
.container {
  background-color: hsl(0, 0%, 12%);
  padding: 40px;
  border-radius: 12px;
  width: 90%;
  max-width: 320px;
  text-align: center;
  margin-top: 20px;
}

.profile-header img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin-bottom: 24px;
}

.profile-title {
  margin-bottom: 24px;
}

.profile-title h1 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
}

.profile-title h2 {
  font-size: 14px;
  color: hsl(75, 94%, 57%);
  font-weight: 700;
}

.profile p {
  color: hsl(0, 0%, 100%);
  margin-bottom: 24px;
  font-weight: 400;
}

.social-media {
  list-style: none;
  padding: 0;
}

.social-media li {
  margin-bottom: 16px;
}

.social-media a {
  display: block;
  text-decoration: none;
  background-color: hsl(0, 0%, 20%);
  color: white;
  padding: 12px 0;
  border-radius: 8px;
  font-weight: 700;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.social-media a:hover {
  background-color: hsl(75, 94%, 57%);
  color: hsl(0, 0%, 12%);
}

.attribution {
  font-size: 11px;
  text-align: center;
  margin-top: 20px;
  color: hsl(0, 0%, 50%);
}

.attribution a {
  color: hsl(75, 94%, 57%);
  text-decoration: none;
}

/* --- Media Query for Mobile Optimization --- */
@media (max-width: 400px) {
  .container {
    padding: 30px 20px;
  }
}
