/* ===== ОСНОВНЫЕ СТИЛИ САЙТА ===== */
body {
  font-family: Arial, sans-serif;
  background: #1a1826;
  color: #E9D5CA;
  margin: 0;
  padding: 20px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ===== ШАПКА САЙТА ===== */
.site-header {
  max-width: 900px;
  width: 100%;
  margin: 0 auto 20px auto;
  padding: 0;
}

.header-inner {
  position: relative;
}

/* ===== БАННЕР (верхняя картинка) ===== */
.banner {
  height: 200px;
  overflow: hidden;
  border-radius: 10px 10px 0 0;
}

/* Картинка баннера */
.banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.8);
}

/* Градиент поверх баннера - ИСПРАВЛЕННЫЙ ЦВЕТ */
.banner::after {
  content: '';
  position: absolute;
  top: 160px;
  left: 0;
  width: 100%;
  height: 40px;
  background: linear-gradient(
    to bottom,
    rgba(26, 24, 38, 0) 0%,
    #1a1826 100%
  );
  pointer-events: none;
}

/* ===== АВАТАР ===== */
.avatar-wrap {
  position: absolute;
  left: 30px;
  top: 160px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #1a1826;
  padding: 5px;
  z-index: 20;
  box-shadow: 0 4px 15px rgba(54, 48, 98, 0.5);
}

.avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 3px solid #827397;
}

/* ===== БЛОК С ТЕКСТОМ ===== */
.title-block {
  background: #1a1826;
  padding: 25px 30px 25px 160px;
  border-radius: 0 0 0px 0px;
  margin-top: 0;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  border: none !important;
}

/* Никнейм */
.nick {
  margin: -10px 0 5px 0;
  font-size: 28px;
  color: #E9D5CA;
  font-weight: bold;
  padding-left: 10px;
}

/* Реальное имя */
.realname {
  margin: 0 0 8px 0;
  color: #827397;
  font-size: 16px;
  padding-left: 10px;
}

/* Описание */
.desc {
  margin: 0;
  color: #827397;
  font-size: 15px;
  line-height: 1.5;
  max-width: 600px;
  padding-left: 10px;
}

/* ===== КОНТЕНТ (ссылки) ===== */
.content {
  max-width: 900px;
  width: 100%;
  margin: 30px auto 0 auto;
}

.links {
  background: rgba(54, 48, 98, 0.1);
  border-radius: 10px;
  padding: 25px;
  margin-top: 20px;
  border: 1px solid #4D4C7D;
  box-shadow: 0 5px 15px rgba(54, 48, 98, 0.2);
}

.links h2 {
  color: #E9D5CA;
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 18px;
  border-bottom: 1px solid #827397;
  padding-bottom: 8px;
  text-align: center;
}

.links ul {
  list-style: none;
  padding: 0;
  margin: 0 0 25px 0;
}

.links li {
  margin-bottom: 10px;
}

.links a {
  color: #E9D5CA;
  text-decoration: none;
  display: block;
  padding: 12px 15px;
  background: rgba(77, 76, 125, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(130, 115, 151, 0.2);
  transition: all 0.3s ease;
  text-align: center;
}

.links a:hover {
  background: rgba(130, 115, 151, 0.2);
  transform: translateY(-2px);
  border-color: #827397;
  box-shadow: 0 4px 12px rgba(130, 115, 151, 0.3);
}

/* ===== ФУТЕР ===== */
.site-footer {
  max-width: 900px;
  width: 100%;
  margin: 20px auto 0 auto;
  color: #827397;
  text-align: center;
  font-size: 13px;
  padding: 20px 0;
  
}

/* ===== АДАПТИВНОСТЬ ДЛЯ МОБИЛЬНЫХ ===== */
@media (max-width: 600px) {
  body {
    padding: 15px;
  }
  
  .banner {
    height: 160px;
  }
  
  .banner::after {
    top: 130px;
    height: 30px;
  }
  
  .avatar-wrap {
    width: 80px;
    height: 80px;
    left: 50%;
    transform: translateX(-50%);
    top: 130px;
  }
  
  .title-block {
    padding: 60px 20px 20px 20px;
    text-align: center;
    align-items: center;
    border: 1px solid #4D4C7D;
  }
  
  .nick,
  .realname,
  .desc {
    padding-left: 0;
  }
  
  .nick {
    font-size: 24px;
    margin-top: 0;
  }
  
  .links {
    padding: 20px;
  }
  
  .links a {
    padding: 10px 12px;
  }
.links a {
  background: rgba(42, 39, 64, 0.6); /* Более темный фон */
  backdrop-filter: blur(10px); /* Эффект размытия */
}

.links a:hover {
  background: rgba(77, 76, 125, 0.7); /* Более яркий ховер */
  border: none; /* На всякий случай убираем границу в ховере */
}

/* Убираем нижнюю границу у заголовков */
.links h2 {
  border-bottom: none; /* Убираем линию под заголовками */
  opacity: 0.9; /* Немного прозрачности */
}

/* Делаем аватар без внутренней обводки */
.avatar {
  border: none; /* Убираем обводку аватара */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3); /* Добавляем тень вместо обводки */
}

/* Убираем обводку у wrap аватара */
.avatar-wrap {
  border: none; /* На всякий случай */
  background: transparent; /* Прозрачный фон */
}

/* Делаем градиент фона для body */
body {
  background: linear-gradient(135deg, #1a1826 0%, #1f1d2e 100%);
}
}