Загрузка данных


/* Общие настройки страницы */
body {
  font-family: Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: linear-gradient(135deg, #a1c4fd 0%, #c2e9fb 100%);
  margin: 0;
  padding: 20px 0;
  box-sizing: border-box;
}

/* Контейнеры (Шапка, Основной блок, Подвал) */
header, main, footer {
  display: flex;
  flex-direction: column;
  align-items: center; /* Центрирует содержимое */
  width: 100%;
  max-width: 400px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}

/* Шапка профиля */
header {
  text-align: center;
}

header h1 {
  margin: 10px 0 5px;
  font-size: 24px;
  color: #333;
}

header p {
  margin: 0;
  color: #555;
  font-size: 14px;
}

/* Круглая аватарка */
.avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 4px solid #ffffff;
  object-fit: cover; /* Исключает искажения картинки */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Блок ссылок */
main {
  padding: 20px;
}

.links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

/* Кнопки мультиссылки */
.btn {
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  color: #333;
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 14px 20px;
  border-radius: 12px;
  text-align: center;
  text-decoration: none;
  font-weight: 500;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.btn:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn:active {
  transform: translateY(0);
}

/* Соцсети */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.social-icons a {
  color: #333;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: opacity 0.2s ease;
}

.social-icons a:hover {
  opacity: 0.7;
}