body {
  margin: 0;
  padding: 0;
  background: white;
  font-family: 'Latin Modern Roman', 'CMU Serif', serif;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  line-height: 1.4;
}

.container {
  max-width: 700px;
  padding: 3rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin-bottom: 2rem;
  overflow: hidden;
  border: 2px solid #111;
}

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

.name {
  font-size: 4rem;
  font-weight: 400;
  margin-bottom: 4rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #111;
  text-align: center;
}

.link {
  display: flex;
  align-items: center;
  margin: 2rem 0;
  text-decoration: none;
  color: #111;
  font-size: 1.8rem;
  transition: all 0.2s ease;
  padding: 0.5rem 0;
  width: 100%;
  position: relative;
}

.link:hover {
  color: #888;
}

.link-content {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  position: relative;
}

.icon {
  width: 50px;
  margin-right: 1.5rem;
  text-align: center;
  font-size: 1.8rem;
  color: #555;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.link:hover .icon {
  color: #888;
}

.text {
  font-weight: 400;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  /* Динамический padding для стрелки будет установлен JS */
  padding-right: 0;
}

/* Стрелка позиционируется относительно конца текста */
.link::after {
  content: "⟼";
  position: absolute;
  font-size: 1.8rem;
  opacity: 0;
  transform: translateX(-5px);
  transition: all 0.2s ease;
  /* Позиция будет установлена JS */
  left: 0;
}

.link:hover::after {
  opacity: 0.7;
  transform: translateX(0);
}

.footer {
  margin-top: 6rem;
  font-size: 1rem;
  color: #777;
  font-style: italic;
  text-align: center;
  width: 100%;
}

@media (max-width: 700px) {
  .container {
    padding: 2rem;
  }

  .name {
    font-size: 3rem;
    margin-bottom: 3rem;
  }

  .link {
    font-size: 1.5rem;
    margin: 1.5rem 0;
  }

  .icon {
    width: 40px;
    font-size: 1.5rem;
  }

  .link::after {
    font-size: 1.5rem;
  }
}

@media (max-width: 500px) {
  .container {
    padding: 1.5rem;
  }

  .avatar {
    width: 100px;
    height: 100px;
  }

  .name {
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
  }

  .link {
    font-size: 1.3rem;
    margin: 1.2rem 0;
  }

  .icon {
    width: 35px;
    margin-right: 1rem;
  }

  .link::after {
    font-size: 1.3rem;
  }
}