/**
 * 友链页面样式：纵向卡片列表布局。
 */

/* 友链列表容器：纵向排列，卡片间距 20px，自适应水平居中 */
.friends-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* 友链卡片：基于 .card 基类的毛玻璃容器，增加点击交互 */
.friend-card {
    width: 100%;
    max-width: 500px;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.friend-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.35);
}

/* 友链卡片内部布局：纵向排列，所有元素居中 */
.friend-card-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

/* 圆形头像 */
.friend-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.4);
    flex-shrink: 0;
}

/* 无头像时显示名称首字的圆形占位 */
.friend-avatar-placeholder {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 700;
    color: #fff;
}

/* 友链名称 */
.friend-name {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

/* 一句话身份标签 */
.friend-tagline {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.3;
}

/* 简介 */
.friend-bio {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    max-width: 360px;
}

/* 标签行 */
.friend-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
}

/* 单个标签：圆角胶囊，毛玻璃底 */
.friend-badge {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    padding: 2px 8px;
    white-space: nowrap;
}
