.friend-link-grid {
display: grid;
grid-template-columns: repeat(5, 1fr);
gap: 24px;
}
.friend-card {
background: rgba(255, 255, 255, 0.72);
backdrop-filter: blur(18px);
-webkit-backdrop-filter: blur(18px);
border-radius: 16px;
padding: 28px 20px;
text-align: center;
border: 1px solid rgba(22, 93, 255, 0.12);
box-shadow: 0 8px 32px rgba(22, 93, 255, 0.08);
transition: all 0.35s ease;
}
.friend-card:hover {
transform: translateY(-8px) scale(1.02);
box-shadow: 0 12px 40px rgba(22, 93, 255, 0.18);
border-color: rgba(22, 93, 255, 0.35);
}
.friend-avatar {
width: 64px;
height: 64px;
margin: 0 auto 18px;
border-radius: 50%;
background: linear-gradient(145deg, #165DFF, #60a5fa);
display: flex;
align-items: center;
justify-content: center;
color: #fff;
font-size: 28px;
font-weight: bold;
overflow: hidden;
}
.friend-avatar img {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 50%;
}
.friend-card h4 {
font-size: 18px;
color: #0f2847;
margin-bottom: 8px;
font-weight: 600;
}
.friend-card .friend-desc {
font-size: 13px;
color: #64748b;
line-height: 1.6;
margin-bottom: 18px;
min-height: 42px;
}
.friend-card .friend-btn {
display: inline-block;
padding: 10px 28px;
background: #165DFF;
color: #fff;
font-size: 14px;
border-radius: 999px;
text-decoration: none;
transition: 0.3s ease;
}
.friend-card .friend-btn:hover {
background: #0f4cd8;
transform: translateY(-2px);
box-shadow: 0 8px 20px rgba(22, 93, 255, 0.35);
}

@media (max-width: 992px) {
.friend-link-grid {
grid-template-columns: repeat(3, 1fr);
}
}
@media (max-width: 600px) {
.friend-link-grid {
grid-template-columns: repeat(2,1fr);
}
}