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

:root {
  --background: #f5f5f3;
  --card: #ffffff;
  --border: #e8e8e5;
  --text: #181818;
  --muted: #777;
  --soft: #f0f0ed;
  --shadow: rgba(0, 0, 0, 0.06);
}

body {
  min-height: 100vh;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: radial-gradient(
    circle at 50% 0%,
    #ffffff 0%,
    #f7f7f5 45%,
    #eeeeeb 100%
  );
}

.social-page {
  width: 100%;
  max-width: 520px;
  min-height: 100vh;
  margin: auto;
  padding: 70px 20px 35px;

  display: flex;
  flex-direction: column;
  align-items: center;
}

/* PROFILE */

.profile {
  text-align: center;
}

.avatar {
  width: 86px;
  height: 86px;
  margin: 0 auto 20px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: #181818;
  color: #ffffff;

  font-size: 24px;
  font-weight: 700;
  letter-spacing: -1px;

  box-shadow:
    0 0 0 7px rgba(0, 0, 0, 0.035),
    0 12px 30px rgba(0, 0, 0, 0.12);
}

h1 {
  font-size: 26px;
  font-weight: 650;
  letter-spacing: -0.8px;
}

.handle {
  margin-top: 7px;
  color: #777;
  font-size: 13px;
}

.bio {
  margin-top: 13px;
  color: #777;
  font-size: 13px;
}

/* LINKS */

.links {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-top: 34px;
}

.link {
  position: relative;

  width: 100%;
  height: 64px;

  display: flex;
  align-items: center;

  padding: 8px 14px 8px 8px;

  color: var(--text);
  text-decoration: none;

  background: rgba(255, 255, 255, 0.85);

  border: 1px solid var(--border);
  border-radius: 16px;

  box-shadow: 0 5px 18px var(--shadow);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.link:hover {
  transform: translateY(-3px);

  border-color: #d9d9d5;

  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.09);
}

/* ICON */

.icon {
  width: 48px;
  height: 48px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 12px;

  background: var(--soft);

  font-size: 18px;

  flex-shrink: 0;
}

.text {
  margin-left: 14px;

  font-size: 14px;
  font-weight: 550;
}

.arrow {
  margin-left: auto;
  margin-right: 5px;

  color: #aaa;

  font-size: 11px;

  transition:
    transform 0.25s ease,
    color 0.25s ease;
}

.link:hover .arrow {
  color: #555;
  transform: translateX(3px);
}

/* WEBSITE */

.website {
  margin-bottom: 5px;

  background: #181818;
  color: #ffffff;

  border-color: #181818;

  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
}

.website:hover {
  background: #242424;
  border-color: #242424;
}

.website .icon {
  background: #ffffff;
  color: #181818;
}

.website .arrow {
  color: #999;
}

/* SOCIAL COLORS */

.linkedin i {
  color: #0a66c2;
}

.x-twitter i {
  color: #000000;
}

.github i {
  color: #181818;
}

.email i {
  color: #555;
}

.whatsapp i {
  color: #20b858;
}

.instagram i {
  color: #e1306c;
}

.telegram i {
  color: #229ed9;
}

/* FOOTER */

footer {
  margin-top: 35px;

  display: flex;
  align-items: center;
  gap: 8px;

  color: #aaa;

  font-size: 10px;
}

footer a {
  color: #888;
  text-decoration: none;

  transition: color 0.2s ease;
}

footer a:hover {
  color: #222;
}

.separator {
  color: #ccc;
}

/* MOBILE */

@media (max-width: 480px) {
  .social-page {
    padding: 50px 16px 25px;
  }

  .avatar {
    width: 78px;
    height: 78px;
    font-size: 22px;
  }

  h1 {
    font-size: 23px;
  }

  .links {
    margin-top: 30px;
  }

  .link {
    height: 60px;
    border-radius: 14px;
  }

  .icon {
    width: 44px;
    height: 44px;
  }
}
