/* Компактные социальные кнопки */
.social-container {
  max-width: 300px;
  margin: 0 auto;
}

.social-links-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  justify-items: center;
}

.social-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  width: 80px;
}

.social-icon-wrapper {
  width: 50px;
  height: 50px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  margin-bottom: 8px;
  border: 1px solid #f0f0f0;
}

.social-icon {
  width: 26px;
  height: 26px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.social-text {
  color: #2E6D4D;
  font-weight: 500;
  font-size: 0.8rem;
  text-align: center;
  transition: color 0.3s ease;
}

/* Эффекты при наведении */
.social-link:hover .social-icon-wrapper {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(120, 191, 155, 0.2);
  border-color: #78BF9B;
}

.social-link:hover .social-icon {
  transform: scale(1.1);
}

.social-link:hover .social-text {
  color: #FD8D0D;
}

/* Подсказки */
.social-link::after {
  content: attr(data-tooltip);
  position: absolute;
  top: -35px;
  left: 50%;
  transform: translateX(-50%);
  background: #2E6D4D;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 10;
}

.social-link:hover::after {
  opacity: 1;
}