/* 友链页面样式 */
.links-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.links-title {
    text-align: center;
    font-size: 28px;
    color: #333;
    margin-bottom: 10px;
}

.links-desc {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    font-size: 14px;
}

.links-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.link-card {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    border-color: #007bff;
}

.link-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    margin-right: 15px;
}

.link-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.link-info {
    flex: 1;
    min-width: 0;
}

.link-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.link-desc {
    font-size: 12px;
    color: #888;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .links-container {
        padding: 15px;
    }
    
    .links-title {
        font-size: 24px;
    }
    
    .links-list {
        grid-template-columns: 1fr;
    }
}