.social-link-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 14px;
  min-height: 102px;
  border-radius: 16px;
  border: 1px solid rgba(200, 210, 230, 0.16);
  background:
    radial-gradient(120% 90% at 10% 0%, rgba(164, 184, 214, 0.09) 0%, rgba(164, 184, 214, 0) 58%),
    linear-gradient(160deg, rgba(17, 20, 27, 0.94) 0%, rgba(11, 13, 18, 0.9) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 12px 28px rgba(0, 0, 0, 0.32);
  color: var(--text);
  text-decoration: none;
  overflow: hidden;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.social-link-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.social-link-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 9999px;
  border: 1px solid rgba(204, 217, 238, 0.24);
  background: rgba(210, 222, 242, 0.08);
  color: rgba(221, 233, 251, 0.9);
}

.social-link-card__icon svg {
  width: 100%;
  height: 100%;
}

.social-link-card__arrow {
  position: relative;
  width: 14px;
  height: 14px;
  color: transparent;
  transform: translateY(-1px);
  transition: transform 0.18s ease;
}

.social-link-card__arrow::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-top: 1.5px solid rgba(228, 236, 248, 0.7);
  border-right: 1.5px solid rgba(228, 236, 248, 0.7);
  border-radius: 1px;
}

.social-link-card__name {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  color: rgba(236, 242, 252, 0.94);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.social-link-card:focus-visible {
  outline: 2px solid var(--hypr-cyan);
  outline-offset: 2px;
}

@media (hover: hover) and (pointer: fine) {
  .social-link-card:hover {
    border-color: rgba(214, 225, 245, 0.34);
    background:
      radial-gradient(120% 90% at 10% 0%, rgba(180, 198, 224, 0.13) 0%, rgba(180, 198, 224, 0) 58%),
      linear-gradient(160deg, rgba(19, 23, 32, 0.98) 0%, rgba(12, 15, 21, 0.92) 100%);
    transform: translateY(-1px);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.14),
      0 14px 28px rgba(10, 18, 34, 0.45);
  }

  .social-link-card:hover .social-link-card__arrow {
    transform: translateY(-2px) translateX(1px);
  }
}

.social-link-card--youtube .social-link-card__icon {
  color: #ff7b7b;
  border-color: rgba(255, 123, 123, 0.28);
  background: rgba(255, 123, 123, 0.1);
}

.social-link-card--telegram .social-link-card__icon {
  color: #90c8ff;
  border-color: rgba(144, 200, 255, 0.24);
  background: rgba(144, 200, 255, 0.08);
}

.social-link-card--support .social-link-card__icon {
  color: #7fe9ff;
  border-color: rgba(90, 223, 255, 0.35);
  background:
    radial-gradient(circle at 30% 25%, rgba(75, 212, 255, 0.25), rgba(75, 212, 255, 0.08));
  box-shadow: 0 0 0 1px rgba(75, 212, 255, 0.1), 0 6px 14px rgba(23, 120, 154, 0.24);
}

.social-link-card--support .social-link-card__icon svg {
  width: 18px;
  height: 18px;
}

@media (hover: hover) and (pointer: fine) {
  .social-link-card--support:hover .social-link-card__icon {
    color: #baf6ff;
    border-color: rgba(116, 234, 255, 0.58);
    background:
      radial-gradient(circle at 30% 25%, rgba(75, 212, 255, 0.36), rgba(75, 212, 255, 0.12));
  }
}
