/* 友情链接页面样式 */

.links-content {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 40px;
    margin-bottom: 30px;
}

.links-header {
    text-align: center;
    margin-bottom: 40px;
}

.links-title {
    font-size: 32px;
    color: #333;
    margin-bottom: 15px;
}

.links-description {
    color: #666;
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

.links-section {
    margin-bottom: 40px;
    direction: rtl;
}

.links-section-title {
    font-size: 24px;
    color: #333;
    padding-bottom: 12px;
    margin-bottom: 25px;
    border-bottom: 2px solid #007bff;
    position: relative;
}

.links-section-title:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: #007bff;
}

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

.link-item {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.link-item:hover {
    background: #e9f4ff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: #007bff;
}

.link-info {
    flex: 1;
}

.link-title {
    font-weight: 600;
    color: #333;
    margin: 0 0 5px 0;
    font-size: 16px;
}

.link-desc {
    font-size: 14px;
    color: #666;
    margin: 0 0 8px 0;
}

.link-url {
    color: #007bff;
    font-size: 13px;
    text-decoration: none;
}

.link-url:hover {
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .links-content {
        padding: 25px 20px;
    }
    
    .links-title {
        font-size: 26px;
    }
    
    .links-grid {
        grid-template-columns: 1fr;
    }
}